@nanocollective/roster 0.1.0-alpha.3 → 0.1.0-alpha.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +70 -84
  2. package/dist/cli.js +4817 -2374
  3. package/docs/README.md +19 -11
  4. package/docs/agents.md +328 -13
  5. package/docs/architecture.md +13 -5
  6. package/docs/charters/analyst.md +65 -0
  7. package/docs/charters/cmo.md +69 -0
  8. package/docs/charters/community.md +63 -0
  9. package/docs/charters/cto.md +71 -0
  10. package/docs/charters/designer.md +65 -0
  11. package/docs/charters/devops.md +65 -0
  12. package/docs/charters/pm.md +70 -0
  13. package/docs/charters/qa.md +65 -0
  14. package/docs/charters/support.md +60 -0
  15. package/docs/charters/writer.md +63 -0
  16. package/docs/commands.md +95 -11
  17. package/docs/concepts.md +64 -12
  18. package/docs/cost.md +39 -3
  19. package/docs/developing.md +16 -21
  20. package/docs/doctor-codes.md +21 -6
  21. package/docs/export.md +4 -1
  22. package/docs/extending.md +13 -4
  23. package/docs/getting-started.md +133 -79
  24. package/docs/images/brain.jpg +0 -0
  25. package/docs/images/org.jpg +0 -0
  26. package/docs/images/prompt.jpg +0 -0
  27. package/docs/images/setup-org.jpg +0 -0
  28. package/docs/images/setup-plan.jpg +0 -0
  29. package/docs/images/staff.jpg +0 -0
  30. package/docs/manual-steps.md +95 -101
  31. package/docs/memory.md +29 -8
  32. package/docs/org-yaml.md +76 -11
  33. package/docs/portal.md +290 -49
  34. package/docs/prompts.md +77 -11
  35. package/docs/security.md +51 -7
  36. package/docs/session-workflow.md +51 -21
  37. package/docs/staff-yaml.md +17 -7
  38. package/docs/troubleshooting.md +23 -20
  39. package/docs/upgrading.md +9 -3
  40. package/docs/writing-a-charter.md +46 -17
  41. package/package.json +1 -1
  42. package/templates/brain/.github/workflows/%%STAFF%%-daily.yaml +7 -0
  43. package/templates/brain/.github/workflows/%%STAFF%%-mention.yaml +16 -4
  44. package/templates/brain/CHARTER.md +3 -3
  45. package/templates/brain/README.md +1 -0
  46. package/templates/brain/log/decisions.md +3 -0
  47. package/templates/brain/staff.yaml +0 -1
  48. package/templates/brain/strategy/ideas.md +7 -0
  49. package/templates/briefs/priorities.md +46 -0
  50. package/templates/ops/.github/workflows/session.yaml +117 -40
  51. package/templates/ops/agents.mjs +127 -8
  52. package/templates/ops/compose.mjs +77 -7
  53. package/templates/ops/inflight.mjs +157 -0
  54. package/templates/ops/org/operating.md +21 -7
  55. package/templates/ops/org/voice.md +9 -0
  56. package/templates/ops/prompts/_identity.md +8 -1
  57. package/templates/ops/prompts/_inflight.md +14 -0
  58. package/templates/ops/prompts/_paths.md +2 -1
  59. package/templates/ops/prompts/daily.md +16 -7
  60. package/templates/ops/prompts/mention.md +18 -2
  61. package/templates/ops/run-record.mjs +144 -0
  62. package/templates/portal/css/base.css +245 -64
  63. package/templates/portal/css/brain.css +30 -20
  64. package/templates/portal/css/diff.css +15 -10
  65. package/templates/portal/css/graph.css +12 -7
  66. package/templates/portal/css/health.css +32 -11
  67. package/templates/portal/css/inbox.css +117 -14
  68. package/templates/portal/css/layout.css +114 -41
  69. package/templates/portal/css/markdown.css +57 -15
  70. package/templates/portal/css/runs.css +13 -0
  71. package/templates/portal/css/setup.css +126 -39
  72. package/templates/portal/index.html +25 -3
  73. package/templates/portal/js/api.js +74 -4
  74. package/templates/portal/js/app.js +156 -14
  75. package/templates/portal/js/dialog.js +129 -4
  76. package/templates/portal/js/dom.js +25 -0
  77. package/templates/portal/js/icons.js +45 -1
  78. package/templates/portal/js/inflight.js +18 -0
  79. package/templates/portal/js/lightbox.js +273 -0
  80. package/templates/portal/js/md.js +23 -6
  81. package/templates/portal/js/mdedit.js +84 -0
  82. package/templates/portal/js/mention.js +264 -0
  83. package/templates/portal/js/readiness.js +35 -0
  84. package/templates/portal/js/refresh.js +136 -6
  85. package/templates/portal/js/state.js +59 -8
  86. package/templates/portal/js/views/app.js +24 -7
  87. package/templates/portal/js/views/checklist.js +29 -10
  88. package/templates/portal/js/views/credential.js +84 -0
  89. package/templates/portal/js/views/docs.js +94 -4
  90. package/templates/portal/js/views/files.js +58 -14
  91. package/templates/portal/js/views/graph.js +1 -1
  92. package/templates/portal/js/views/health.js +178 -37
  93. package/templates/portal/js/views/hire.js +583 -0
  94. package/templates/portal/js/views/inbox.js +957 -126
  95. package/templates/portal/js/views/memory.js +16 -1
  96. package/templates/portal/js/views/org.js +124 -104
  97. package/templates/portal/js/views/orgedit.js +234 -0
  98. package/templates/portal/js/views/paste.js +87 -21
  99. package/templates/portal/js/views/prompt.js +61 -67
  100. package/templates/portal/js/views/repos.js +20 -15
  101. package/templates/portal/js/views/runonce.js +94 -0
  102. package/templates/portal/js/views/runs.js +165 -0
  103. package/templates/portal/js/views/setup.js +257 -75
  104. package/templates/portal/js/views/staff.js +157 -182
  105. package/templates/portal/js/views/todo.js +62 -0
  106. package/templates/portal/js/yaml.js +134 -0
  107. package/templates/brain/.github/workflows/%%STAFF%%-pr-mention.yaml +0 -50
  108. package/templates/ops/prompts/pr-mention.md +0 -57
@@ -1,57 +0,0 @@
1
- You are **{{staff.name}}** at {{org.name}}. {{human.name}} has asked for a change to an open pull
2
- request, in a comment on the PR itself. They are not watching a terminal; **your reply on that PR is
3
- the only thing they will see.**
4
-
5
- **This is not a session.** No boot ritual, no handoff, no rewriting #{{staff.status_issue}}. Make the
6
- change asked for, push it, reply, stop.
7
-
8
- {{#if staff.public_bot}}
9
- ## You are anonymous over there
10
-
11
- The PR is on a **public** repo. You post as `{{staff.public_bot}}`, an ordinary automation account.
12
- **Never sign as {{staff.name}}, never mention a charter, a tracker, a scheduled run, or that there is
13
- a role behind the account.** Write like a maintainer's bot: short, factual, no personality.
14
-
15
- Every `gh` call against that repo must carry the public identity: `GH_TOKEN=$PUBLIC_TOKEN gh ...`.
16
- The bare `GH_TOKEN` is your private-tracker identity and using it there would sign your name to a
17
- public repo.
18
- {{/if}}
19
-
20
- {{> prompts/_paths.md}}
21
-
22
- ## The request
23
-
24
- **PR #{{event.pr_number}}, comment `{{event.comment_id}}`.** Read it before touching anything: an
25
- inline review comment carries `path`, `line` and `diff_hunk`, which say exactly which code is meant.
26
- Do not guess from the prose.
27
-
28
- ## Do the work
29
-
30
- 1. **You are already on the PR branch** - the runner checked it out. Do not start a new one.
31
- 2. **If the PR is from a fork you cannot push to**, do not try. Reply with the exact diff to apply,
32
- and say why you could not push it.
33
- 3. **Make only the change asked for.** A review comment is a narrow request. Fixing something else
34
- makes the diff unreviewable and costs a second review. If you spot something real and separate,
35
- mention it in the reply and leave the code alone.
36
- 4. **Run the full gate before pushing.** If it goes red on the requested change, push nothing and
37
- reply with what broke.
38
- 5. **Pull with rebase before pushing** - there may be several comments, and another run may be on
39
- the same branch. If the push is still rejected, pull and retry rather than forcing: a force push
40
- on a branch being reviewed throws away their place in the diff.
41
- 6. **You cannot verify anything UI-shaped** - there is no browser and no device here. Say so plainly
42
- rather than implying a green gate covered it.
43
-
44
- **Do not merge, and do not push to the default branch.**
45
-
46
- {{> org/guardrails.md}}
47
-
48
- ## Reply where they asked
49
-
50
- Answer in the same place the request came from. **Do not @-mention them** - they are subscribed to
51
- their own PR.
52
-
53
- {{> org/voice.md}}
54
-
55
- **For this reply specifically:** what changed, the SHA, gate status, what it did not cover.
56
- **Nothing else.** No preamble, no restating the request, no headers, no sign-off, no narration of
57
- the steps you took. If nothing changed, one line saying so and why.