package page→ /actions.md
pages/actions.md
67 lines, 2.8 KB. As a page.
- ---
- type: Collection
- title: "Actions"
- icon: "🛠️"
- description: "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."
- itemType: Action
- 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](/automations.md).
- - 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](/agents.md).
- - 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](/norms/rules/automations/ACT-R01.md) makes sure an action has something to run it.