ShtukbaseStandard
collection/actions.md

Actions

What the factory can run: a script, an agent, a move or an edit of a record. One page is one action and what runs it.

Page fields (6)
icon🛠️
itemTypeAction
items{mode: path,path: /actions,recursive: false}
writeTo/actions
properties{kind: {kind: select,label: Kind,options: [{name: program,label: Program,color: blue},{name: agent,label: Agent,color: purple},{name: assistant,label: Assistant,color: purple},{name: specialist,label: Specialist,color: purple},{name: harness,label: Harness,color: purple},{name: model,label: Model reply,color: pink},{name: cloud,label: Cloud,color: teal},{name: move,label: Move a record,color: gray},{name: set,label: Edit a field,color: gray},{name: create,label: New record,color: gray},{name: task,label: New task,color: gray},{name: notify,label: Message,color: orange},{name: wake,label: Wake,color: orange}]},path: {kind: text,label: Script (path from the project root or the repository root)},command: {kind: text,label: Command},agent: {kind: relation,collection: /agents,label: Agent},mode: {kind: select,label: Mode,options: [{name: manual,label: By hand,color: gray},{name: auto,label: By itself,color: green}]},status: {kind: select,label: Status,options: [{name: active,label: Working,color: green},{name: hold,label: On hold,color: gray},{name: unclear,label: Unclear,color: yellow}]},timeLimit: {kind: number,label: "Limit, minutes"}}
views[{id: actions--table,name: All actions,layout: table,fields: {},sorting: [{propertyId: title,direction: ascending}],properties: [{name: title,visible: true,width: 300},{name: kind,visible: true},{name: path,visible: true},{name: agent,visible: true},{name: status,visible: true}]}]

One page is one factory action: what it does and what runs it. An action is run by a person, an agent or an automation.

  • Program (kind: program) or cloud (cloud): a script in path or a command in command. The path is written from the project root; if the project lies inside a repository, it may be written from the repository root.
  • Agent (agent, assistant, specialist, harness): the agent field holds an agent page from Agents.
  • Move, edit, new record, task, message: what exactly is said in the body of the page.

An action on hold (status: hold) is not checked: its script may be gone by now.

Norm ACT-R01 makes sure an action has something to run it.

The package Actions and automations puts this page at /actions.md.Source text