ShtukbaseStandard
package page→ /actions.md

pages/actions.md

67 lines, 2.8 KB. As a page.

  1. ---
  2. type: Collection
  3. title: "Actions"
  4. icon: "🛠️"
  5. 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."
  6. itemType: Action
  7. items: {mode: path, path: /actions, recursive: false}
  8. writeTo: /actions
  9. properties:
  10. kind:
  11. kind: select
  12. label: "Kind"
  13. options:
  14. - {name: program, label: "Program", color: blue}
  15. - {name: agent, label: "Agent", color: purple}
  16. - {name: assistant, label: "Assistant", color: purple}
  17. - {name: specialist, label: "Specialist", color: purple}
  18. - {name: harness, label: "Harness", color: purple}
  19. - {name: model, label: "Model reply", color: pink}
  20. - {name: cloud, label: "Cloud", color: teal}
  21. - {name: move, label: "Move a record", color: gray}
  22. - {name: set, label: "Edit a field", color: gray}
  23. - {name: create, label: "New record", color: gray}
  24. - {name: task, label: "New task", color: gray}
  25. - {name: notify, label: "Message", color: orange}
  26. - {name: wake, label: "Wake", color: orange}
  27. path: {kind: text, label: "Script (path from the project root or the repository root)"}
  28. command: {kind: text, label: "Command"}
  29. agent: {kind: relation, collection: /agents, label: "Agent"}
  30. mode:
  31. kind: select
  32. label: "Mode"
  33. options:
  34. - {name: manual, label: "By hand", color: gray}
  35. - {name: auto, label: "By itself", color: green}
  36. status:
  37. kind: select
  38. label: "Status"
  39. options:
  40. - {name: active, label: "Working", color: green}
  41. - {name: hold, label: "On hold", color: gray}
  42. - {name: unclear, label: "Unclear", color: yellow}
  43. timeLimit: {kind: number, label: "Limit, minutes"}
  44. views:
  45. - id: actions--table
  46. name: All actions
  47. layout: table
  48. fields: {}
  49. sorting:
  50. - {propertyId: title, direction: ascending}
  51. properties:
  52. - {name: title, visible: true, width: 300}
  53. - {name: kind, visible: true}
  54. - {name: path, visible: true}
  55. - {name: agent, visible: true}
  56. - {name: status, visible: true}
  57. ---
  58. 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).
  59. - 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.
  60. - Agent (`agent`, `assistant`, `specialist`, `harness`): the `agent` field holds an agent page from [Agents](/agents.md).
  61. - Move, edit, new record, task, message: what exactly is said in the body of the page.
  62. An action on hold (`status: hold`) is not checked: its script may be gone by now.
  63. Norm [ACT-R01](/norms/rules/automations/ACT-R01.md) makes sure an action has something to run it.