@bongos/core 1.20.44 → 1.20.45

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 (64) hide show
  1. package/.bongos-core.json +103 -63
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +4 -0
  4. package/clients/bongos-client/index.cjs +4 -0
  5. package/clients/bongos-client/index.d.ts +5 -0
  6. package/clients/bongos-client/index.mjs +4 -0
  7. package/docs/api/openapi.json +56 -3
  8. package/docs/api-reference.md +7 -1
  9. package/docs/copy-inventory.md +46 -16
  10. package/docs/copy-registry.json +351 -20
  11. package/docs/module-api-changelog.md +2 -0
  12. package/docs/onboarding/slash-commands.md +12 -56
  13. package/docs/page-inventory.json +33 -4
  14. package/docs/page-readings.json +992 -957
  15. package/modules/hall-ui/public/atlas.html +1 -1
  16. package/modules/hall-ui/public/blockers.html +1 -1
  17. package/modules/hall-ui/public/board-room.html +1 -1
  18. package/modules/hall-ui/public/collab.html +1 -1
  19. package/modules/hall-ui/public/commands-lib.js +142 -0
  20. package/modules/hall-ui/public/commands.css +98 -0
  21. package/modules/hall-ui/public/commands.html +65 -0
  22. package/modules/hall-ui/public/commands.js +52 -0
  23. package/modules/hall-ui/public/commands.states.json +14 -0
  24. package/modules/hall-ui/public/copy-desk.html +1 -1
  25. package/modules/hall-ui/public/deploy.html +1 -1
  26. package/modules/hall-ui/public/diagrams.html +1 -1
  27. package/modules/hall-ui/public/drachmae.html +1 -1
  28. package/modules/hall-ui/public/fleet.html +1 -1
  29. package/modules/hall-ui/public/gate.html +1 -1
  30. package/modules/hall-ui/public/goals.html +1 -1
  31. package/modules/hall-ui/public/government.html +1 -1
  32. package/modules/hall-ui/public/idea.html +1 -1
  33. package/modules/hall-ui/public/ideas.html +1 -1
  34. package/modules/hall-ui/public/index.html +1 -1
  35. package/modules/hall-ui/public/modules.html +1 -1
  36. package/modules/hall-ui/public/primer.html +1 -1
  37. package/modules/hall-ui/public/profile.html +1 -1
  38. package/modules/hall-ui/public/project-settings.html +1 -1
  39. package/modules/hall-ui/public/ranks.html +1 -1
  40. package/modules/hall-ui/public/roadmap.html +1 -1
  41. package/modules/hall-ui/public/roster.html +1 -1
  42. package/modules/hall-ui/public/sessions.html +1 -1
  43. package/modules/hall-ui/public/settings.html +1 -1
  44. package/modules/hall-ui/public/shell.js +3 -0
  45. package/modules/hall-ui/public/studio.html +1 -1
  46. package/modules/hall-ui/public/task.html +1 -1
  47. package/modules/hall-ui/public/thinking.html +1 -1
  48. package/modules/hall-ui/public/tweak-editor.html +1 -1
  49. package/modules/hall-ui/public/watch.html +1 -1
  50. package/modules/hall-ui/public/work.html +1 -1
  51. package/modules/hall-ui/records/commands.md +11 -0
  52. package/modules/specialities/skills.js +6 -0
  53. package/package-lock.json +2 -2
  54. package/package.json +1 -1
  55. package/release-notes.json +6 -0
  56. package/src/bongos/routes/cli-commands.js +49 -0
  57. package/src/bongos/routes.js +3 -0
  58. package/src/bongos/serve-internal.js +4 -1
  59. package/src/module-api.js +1 -1
  60. package/tests/hall_commands.mjs +162 -0
  61. package/tests/hall_nav.mjs +3 -1
  62. package/tests/hall_page_gate_map.mjs +3 -0
  63. package/tests/hall_tweak_editor.mjs +1 -1
  64. package/tests/nav_permission_atoms.mjs +1 -1
@@ -12,7 +12,7 @@ When you type `/` in Claude Code you get one list, but the commands in it come f
12
12
  | Where it lives | Inside the app — nothing in this repo | [`.claude/skills/<name>/`](../../.claude/skills/) |
13
13
  | What it acts on | Your *session* — context, model, config, account | The *build system* — tasks, claims, ships, ideas |
14
14
  | Works in any repo? | Yes, everywhere | No — only in a folder that holds this code |
15
- | Authoritative list | Type `/help` | The folder listing linked above |
15
+ | Authoritative list | Type `/help` | The hall's [Commands](https://example.com/builders/commands) page |
16
16
 
17
17
  **The short version:** if it changes your Claude session, it's Claude's. If it changes project state — a task, a claim, a ship — it's ours. If you can run it in an unrelated repo, it's Claude's.
18
18
 
@@ -20,67 +20,23 @@ When you type `/` in Claude Code you get one list, but the commands in it come f
20
20
 
21
21
  ## This project's commands
22
22
 
23
- Every one of these talks to the build system. They're grouped by when you'd reach for them, not alphabetically.
23
+ **The full list lives in the Builders Hall, on the [Commands](https://example.com/builders/commands) page** (Docs → Commands in the hall's sidebar). It shows every slash command this project has and every `bongos` terminal command, with what each does, when to reach for it and what it costs, grouped by when you'd reach for them. The page reads the list from the project itself — the `SKILL.md` files a session on this project is actually given, and the CLI's own command table — so it is always current; this file deliberately keeps no second copy that could drift (task 1004473).
24
24
 
25
- ### The work loop — the ones you'll use every session
25
+ The ones you'll use every session are the work loop: `/builder-start` → `/builder-claim N` → the work → `/builder-ship` (or `/builder-release` to give a task back), with `/status` and `/recall` to find things out on the way.
26
26
 
27
- | Command | What it does |
28
- |---|---|
29
- | `/builder-start` | List the tasks you can claim right now, filtered for parallel-safety |
30
- | `/builder-claim N` | Lock task N to your session |
31
- | `/builder-ship` | Grade, merge, and deploy your claimed task (credits land here) |
32
- | `/builder-release` | Cancel a claim — the task returns to `ready`, no credits |
33
- | `/builder-stage` | Preview your work-in-progress on your own sandbox before shipping |
34
- | `/builder-end` | Close out the session safely — resolve the claim, seal the log |
35
- | `/status` | Version / criterion progress — "what's left for `wa6-kernel-and-packs`?" (a criterion's slug is its name; `C8` is its current position and moves) |
36
- | `/recall` | Search the docs + project knowledge before re-solving something |
37
-
38
- ### Your account and your machine
39
-
40
- | Command | What it does |
41
- |---|---|
42
- | `/builder-setup` | One-time enrolment — signs you in and registers you |
43
- | `/builder-reauth` | Refresh an expired session |
44
- | `/builder-key` | Check / set your own API key status |
45
- | `/builder-cost` † | Log or read project spend |
46
- | `/builder-backup` † | Check or trigger a database backup before risky work |
47
- | `/builder-exit` † | Offboard or reactivate a builder *(Archon only)* |
27
+ ### Typed-only commands
48
28
 
49
- ### Triage and planning *(Metic and above)*
29
+ On the Commands page some rows are marked **Type it yourself**. Those are **hidden from Claude's own menu but still work when you type them**. Every listed command's description sits in every session's context whether it is used or not, so the rarely used admin ones carry `disable-model-invocation: true` in their `SKILL.md`: Claude Code leaves them out of what the model sees, and only a person typing `/name` runs them (task 1004471). The catch: plain English will not reach them, and Claude will not start one on its own — type the slash form.
50
30
 
51
- | Command | What it does |
52
- |---|---|
53
- | `/owner-review` | One walk through everything waiting on a decision: backlog → bugs → ideas → priorities. Say *"triage ideas"* or *"review the backlog"* and it opens at that step |
54
- | `/blocker-review` · `/blocker-solve` | Walk open blockers, or drive one to done |
55
- | `/goal-create` | Plan and create one goal — scope wall, criteria, seed tasks |
56
- | `/goal-close` † | Close a goal's criteria: test them on the live site and sign off, then decide the ones nothing was delivered for |
57
- | `/planning-session` † | Scope an upcoming version and seed its task list |
58
- | `/grade-sweep` † | Check the grader is healthy, then audit what shipped past it |
59
- | `/merge-mode` | Manual fallback when a confirmed task didn't land |
60
-
61
- The four steps of `/owner-review` still answer to their old names — `/backlog-review`, `/bug-triage`, `/idea-triage`, `/priority-session` — and so do `/goal-uat` · `/goal-review` (now the two parts of `/goal-close`) and `/grader-health` · `/grade-audit` (now the two parts of `/grade-sweep`). All of those are typed-only (†).
31
+ The four steps of `/owner-review` still answer to their old names — `/backlog-review`, `/bug-triage`, `/idea-triage`, `/priority-session` — and `/goal-close` and `/grade-sweep` each bundle two older commands that still work on their own (`/goal-uat` · `/goal-review`, and `/grader-health` · `/grade-audit`).
62
32
 
63
33
  ### Discipline modes — not slash commands any more
64
34
 
65
- The three core crafts no longer have a slash command. `/dev`, `/paint` and `/ideate` were **deleted** when the root instructions split into a role-neutral kernel (`CLAUDE.md`) plus one **role pack** per craft: `docs/packs/engineer.md`, `docs/packs/artist.md`, `docs/packs/ideator.md`. A claimed task's discipline routes you to your pack — the Conductor injects its path into your session on the next prompt, and `claim.js` prints a one-line reminder — and you read it. A module-contributed discipline can still ship a skill, which is how `ui` → `/design` below works.
66
-
67
- ### Design and art pipeline
68
-
69
- `/design` is the ui-discipline playbook (world-first, show-first — shipped by the `ui-design` module, ADR 0197); `/design-sync` † and `/figma-design-sync` † round-trip the UI design system. `/tweak` † applies the next page an artist rewrote in the studio; it ships in the `copy-desk` module, where the studio lives. The `/otb-*` family — `otb-tile-generate`, `otb-design-review`, `otb-character-review`, `otb-feedback-capture`, `otb-figma-sync` — is the reference instance's pixel-art pipeline; it's only meaningful on an instance that runs that pipeline, so it ships in the `pixel-art` module, which is off unless the project turns it on. The design-style skills (`/impeccable`, `/style`, the taste and look skills) are the same: the `design-styles` module, off unless turned on — `/design` tells you which.
70
-
71
- ### Session and meta
72
-
73
- | Command | What it does |
74
- |---|---|
75
- | `/session-handoff` | Emit a paste-ready prompt to start a fresh session with |
76
- | `/read-session-export` | Read a past session's `/export` zip |
77
- | `/feedback` | Pull in the latest recorded walkthrough bundle |
78
- | `/new-project` † | Zero-to-live runbook for a brand-new instance |
79
- | `/builder-redteam` | File a security / vulnerability report |
35
+ The three core crafts no longer have a slash command. `/dev`, `/paint` and `/ideate` were **deleted** when the root instructions split into a role-neutral kernel (`CLAUDE.md`) plus one **role pack** per craft: `docs/packs/engineer.md`, `docs/packs/artist.md`, `docs/packs/ideator.md`. A claimed task's discipline routes you to your pack — the Conductor injects its path into your session on the next prompt, and `claim.js` prints a one-line reminder — and you read it. A module-contributed discipline can still ship a skill, which is how `ui` → `/design` works.
80
36
 
81
- ### † Typed-only commands
37
+ ### Commands that come with a module
82
38
 
83
- A command marked † is **hidden from Claude's own menu but still works when you type it**. Every listed command's description sits in every session's context whether it is used or not, so the rarely-used admin ones carry `disable-model-invocation: true` in their `SKILL.md`: Claude Code leaves them out of what the model sees, and only a person typing `/name` runs them (task 1004471). The catch: plain English will not reach them, and Claude will not start one on its own — type the slash form.
39
+ Some commands ship inside an optional module and only exist on a project that turns it on — the `/otb-*` pixel-art pipeline (the `pixel-art` module) and the design-style skills such as `/impeccable` and `/style` (the `design-styles` module) are off unless the project enables them. The Commands page lists a module's commands only where that module is on, and names the module beside each one.
84
40
 
85
41
  ## Claude Code's own commands
86
42
 
@@ -121,8 +77,8 @@ These are the ones that actually cause confusion.
121
77
 
122
78
  ## Two more things worth knowing
123
79
 
124
- **Every listed command has a plain-English twin.** Each skill lists trigger phrases, so *"what can I work on"* reaches `/builder-start` and *"ship it"* reaches `/builder-ship`. You never have to memorise the slash form — except for the typed-only † commands above.
80
+ **Every listed command has a plain-English twin.** Each skill lists trigger phrases, so *"what can I work on"* reaches `/builder-start` and *"ship it"* reaches `/builder-ship`. You never have to memorise the slash form — except for the typed-only commands above.
125
81
 
126
- **Same commands, outside Claude.** The work-loop commands are also a terminal CLI: `bongos start`, `bongos claim N`, `bongos ship`. Same actions, same API — usable from any terminal, a Chromebook, or CI. Run `bongos help` for the verb list.
82
+ **Same commands, outside Claude.** The work-loop commands are also a terminal CLI: `bongos start`, `bongos claim N`, `bongos ship`. Same actions, same API — usable from any terminal, a Chromebook, or CI. Run `bongos help` for the verb list; the hall's Commands page lists them too.
127
83
 
128
- **Rank gates are real.** Some commands above refuse below a certain rank — that's enforced by the server on every request, not by the presence of the file on your disk. See [`canonical-permissions.md`](../canonical-permissions.md).
84
+ **Rank gates are real.** Some of this project's commands refuse below a certain rank — that's enforced by the server on every request, not by the presence of the file on your disk. See [`canonical-permissions.md`](../canonical-permissions.md).
@@ -10,10 +10,10 @@
10
10
  "An id changes only when the host prefix, the data-page value or the file name changes; that is a rename, and records keyed on the old id move with it."
11
11
  ],
12
12
  "counts": {
13
- "pages": 39,
13
+ "pages": 40,
14
14
  "surfaces": 3,
15
- "with_states": 32,
16
- "states": 182
15
+ "with_states": 33,
16
+ "states": 184
17
17
  },
18
18
  "surfaces": [
19
19
  {
@@ -22,7 +22,7 @@
22
22
  "at": "modules/hall-ui/public",
23
23
  "answers_at": "host prefix builders.",
24
24
  "origin": "https://builders.{apex}",
25
- "pages": 31
25
+ "pages": 32
26
26
  },
27
27
  {
28
28
  "id": "landing",
@@ -159,6 +159,35 @@
159
159
  "out"
160
160
  ]
161
161
  },
162
+ {
163
+ "id": "builders:commands",
164
+ "surface": "builders",
165
+ "module": "hall-ui",
166
+ "page": "commands",
167
+ "id_from": "data-page",
168
+ "title": "Commands",
169
+ "document_title": "Commands — {{worldName}}",
170
+ "path": "/commands",
171
+ "url": "https://builders.{apex}/commands",
172
+ "files": [
173
+ "modules/hall-ui/public/commands.html",
174
+ "modules/hall-ui/public/style.css",
175
+ "modules/hall-ui/public/commands.css",
176
+ "modules/hall-ui/public/shell.js",
177
+ "modules/hall-ui/public/palette.js",
178
+ "modules/hall-ui/public/dom-utils.js",
179
+ "modules/hall-ui/public/hall-kit.js",
180
+ "modules/hall-ui/public/commands-lib.js",
181
+ "modules/hall-ui/public/commands.js"
182
+ ],
183
+ "states_files": [
184
+ "modules/hall-ui/public/commands.states.json"
185
+ ],
186
+ "states": [
187
+ "in",
188
+ "out"
189
+ ]
190
+ },
162
191
  {
163
192
  "id": "builders:copy-desk",
164
193
  "surface": "builders",