@bongos/core 1.19.1057 → 1.19.1059
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.
- package/.bongos-core.json +88 -28
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +10 -0
- package/clients/bongos-client/index.cjs +10 -0
- package/clients/bongos-client/index.d.ts +11 -0
- package/clients/bongos-client/index.mjs +10 -0
- package/docs/api/openapi.json +235 -2
- package/docs/api-reference.md +7 -2
- package/docs/architecture.md +2 -1
- package/docs/file-map.md +1 -1
- package/docs/module-api-changelog.md +4 -0
- package/docs/page-inventory.json +1178 -0
- package/docs/page-readings.json +4108 -0
- package/modules/copy-desk/flags.js +84 -9
- package/modules/copy-desk/migrations/copy_desk_002_page_asks.sql +62 -0
- package/modules/copy-desk/page-data.js +79 -0
- package/modules/copy-desk/page-status.js +357 -0
- package/modules/copy-desk/pages.js +238 -0
- package/modules/copy-desk/routes/copy-desk.js +357 -4
- package/modules/copy-desk/tests/copy_flags.mjs +52 -2
- package/modules/copy-desk/tests/copy_no_cms.mjs +63 -17
- package/modules/copy-desk/tests/copy_page_status.mjs +240 -0
- package/modules/copy-desk/tests/fixtures/page-tweak.cjs +154 -0
- package/modules/lifecycle/lifecycle.js +14 -0
- package/modules/lifecycle/page-tweak-claim.js +184 -0
- package/modules/lifecycle/page-tweak-reads.js +87 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +12 -0
- package/scripts/gds/publish-manifest.js +7 -0
- package/src/module-api.js +1 -1
- package/tests/copy_desk_flags_db.mjs +44 -0
- package/tests/copy_desk_page_claim.mjs +334 -0
- package/tests/copy_desk_page_reads.mjs +194 -0
package/docs/api/openapi.json
CHANGED
|
@@ -5091,6 +5091,195 @@
|
|
|
5091
5091
|
]
|
|
5092
5092
|
}
|
|
5093
5093
|
},
|
|
5094
|
+
"/copy-desk/pages": {
|
|
5095
|
+
"get": {
|
|
5096
|
+
"operationId": "get_copy_desk_pages",
|
|
5097
|
+
"tags": [
|
|
5098
|
+
"copy-desk"
|
|
5099
|
+
],
|
|
5100
|
+
"summary": "GET /copy-desk/pages",
|
|
5101
|
+
"description": "------------------------------------------------------------------------- GET /copy-desk/pages — every page's status, count and drift, plus the per-surface rollup, Artist Review Status (\"N of M tweaked\"). rank: any signed-in builder. Page status is a work list, like the queue; an artist is a craft, not a rank. -------------------------------------------------------------------------\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
5102
|
+
"x-rank": "any-builder",
|
|
5103
|
+
"x-source": "modules/copy-desk/routes/copy-desk.js",
|
|
5104
|
+
"responses": {
|
|
5105
|
+
"200": {
|
|
5106
|
+
"description": "Success."
|
|
5107
|
+
},
|
|
5108
|
+
"400": {
|
|
5109
|
+
"$ref": "#/components/responses/BadRequest"
|
|
5110
|
+
},
|
|
5111
|
+
"401": {
|
|
5112
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
5113
|
+
},
|
|
5114
|
+
"403": {
|
|
5115
|
+
"$ref": "#/components/responses/Forbidden"
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
5118
|
+
"security": [
|
|
5119
|
+
{
|
|
5120
|
+
"builderSession": []
|
|
5121
|
+
}
|
|
5122
|
+
]
|
|
5123
|
+
}
|
|
5124
|
+
},
|
|
5125
|
+
"/copy-desk/pages/{pageId}": {
|
|
5126
|
+
"get": {
|
|
5127
|
+
"operationId": "get_copy_desk_pages_pageId",
|
|
5128
|
+
"tags": [
|
|
5129
|
+
"copy-desk"
|
|
5130
|
+
],
|
|
5131
|
+
"summary": "GET /copy-desk/pages/:pageId",
|
|
5132
|
+
"description": "------------------------------------------------------------------------- GET /copy-desk/pages/:pageId — one page: status, changelog, the lines changed since its last tweak and the ships that changed them, and the open round with its state (ADR 0341 D7). An id the inventory does not know is `unknown_page` (ADR 0341 D1). -------------------------------------------------------------------------\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
5133
|
+
"x-rank": "any-builder",
|
|
5134
|
+
"x-source": "modules/copy-desk/routes/copy-desk.js",
|
|
5135
|
+
"parameters": [
|
|
5136
|
+
{
|
|
5137
|
+
"name": "pageId",
|
|
5138
|
+
"in": "path",
|
|
5139
|
+
"required": true,
|
|
5140
|
+
"schema": {
|
|
5141
|
+
"type": "string"
|
|
5142
|
+
},
|
|
5143
|
+
"description": "Path parameter `pageId`."
|
|
5144
|
+
}
|
|
5145
|
+
],
|
|
5146
|
+
"responses": {
|
|
5147
|
+
"200": {
|
|
5148
|
+
"description": "Success."
|
|
5149
|
+
},
|
|
5150
|
+
"400": {
|
|
5151
|
+
"$ref": "#/components/responses/BadRequest"
|
|
5152
|
+
},
|
|
5153
|
+
"401": {
|
|
5154
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
5155
|
+
},
|
|
5156
|
+
"403": {
|
|
5157
|
+
"$ref": "#/components/responses/Forbidden"
|
|
5158
|
+
},
|
|
5159
|
+
"404": {
|
|
5160
|
+
"$ref": "#/components/responses/NotFound"
|
|
5161
|
+
}
|
|
5162
|
+
},
|
|
5163
|
+
"security": [
|
|
5164
|
+
{
|
|
5165
|
+
"builderSession": []
|
|
5166
|
+
}
|
|
5167
|
+
]
|
|
5168
|
+
}
|
|
5169
|
+
},
|
|
5170
|
+
"/copy-desk/pages/{pageId}/asks": {
|
|
5171
|
+
"post": {
|
|
5172
|
+
"operationId": "post_copy_desk_pages_pageId_asks",
|
|
5173
|
+
"tags": [
|
|
5174
|
+
"copy-desk"
|
|
5175
|
+
],
|
|
5176
|
+
"summary": "POST /copy-desk/pages/:pageId/asks",
|
|
5177
|
+
"description": "------------------------------------------------------------------------- POST /copy-desk/pages/:pageId/asks — ask for a page (task 1004317 / TW06, ADR 0341 D6). Body: { reason } — one line, the flag's own floor (10 characters). rank: any signed-in builder, any craft. A page ask is a copy_desk_flags row with scope 'page'; it carries a judgement and a page id, never text. 201 a new ask · 200 the caller's open ask on this page already (the first one comes back; a double ask is not a second signal) Both carry `askers`: distinct builders with an open ask on the page. -------------------------------------------------------------------------\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
5178
|
+
"x-rank": "any-builder",
|
|
5179
|
+
"x-source": "modules/copy-desk/routes/copy-desk.js",
|
|
5180
|
+
"parameters": [
|
|
5181
|
+
{
|
|
5182
|
+
"name": "pageId",
|
|
5183
|
+
"in": "path",
|
|
5184
|
+
"required": true,
|
|
5185
|
+
"schema": {
|
|
5186
|
+
"type": "string"
|
|
5187
|
+
},
|
|
5188
|
+
"description": "Path parameter `pageId`."
|
|
5189
|
+
}
|
|
5190
|
+
],
|
|
5191
|
+
"requestBody": {
|
|
5192
|
+
"required": true,
|
|
5193
|
+
"content": {
|
|
5194
|
+
"application/json": {
|
|
5195
|
+
"schema": {
|
|
5196
|
+
"$ref": "#/components/schemas/PostCopyDeskPagesPageIdAsksRequest"
|
|
5197
|
+
}
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
"x-validated": true
|
|
5201
|
+
},
|
|
5202
|
+
"responses": {
|
|
5203
|
+
"200": {
|
|
5204
|
+
"description": "Success."
|
|
5205
|
+
},
|
|
5206
|
+
"400": {
|
|
5207
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
5208
|
+
},
|
|
5209
|
+
"401": {
|
|
5210
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
5211
|
+
},
|
|
5212
|
+
"403": {
|
|
5213
|
+
"$ref": "#/components/responses/Forbidden"
|
|
5214
|
+
},
|
|
5215
|
+
"404": {
|
|
5216
|
+
"$ref": "#/components/responses/NotFound"
|
|
5217
|
+
}
|
|
5218
|
+
},
|
|
5219
|
+
"security": [
|
|
5220
|
+
{
|
|
5221
|
+
"builderSession": []
|
|
5222
|
+
}
|
|
5223
|
+
]
|
|
5224
|
+
}
|
|
5225
|
+
},
|
|
5226
|
+
"/copy-desk/pages/{pageId}/claim": {
|
|
5227
|
+
"post": {
|
|
5228
|
+
"operationId": "post_copy_desk_pages_pageId_claim",
|
|
5229
|
+
"tags": [
|
|
5230
|
+
"copy-desk"
|
|
5231
|
+
],
|
|
5232
|
+
"summary": "POST /copy-desk/pages/:pageId/claim",
|
|
5233
|
+
"description": "------------------------------------------------------------------------- POST /copy-desk/pages/:pageId/claim — claim a page's tweak (task 1004317 / BV2.TW06, ADR 0341 D2 and D5). Also Resume and \"Take next\". Body: {} (nothing — who claims is the session, what is claimed is the path). rank: any signed-in builder; the gate is the CRAFT, read server-side (builders.preferred_disciplines includes artist), never the request. One call finds the page's open round or creates it (source_ref page-tweak/<page_id>/r<n>, 30 credits, the building version's catch-all goal) and WEB-claims it: no worktree, no session. The lifecycle port runs it in one transaction under an advisory lock on the page, so two artists cannot both open a round. 201 created a new round, held by the caller 200 claimed an unheld round still being written (a draft released without submitting) taken over; the draft stays 200 resumed the caller already holds it 409 page_held another builder holds it; the holder is named 409 page_in_flight the round is past writing (submitted, applying, waiting for the artist, landing) 403 not_an_artist the caller's crafts do not include artist; they are offered the ask -------------------------------------------------------------------------\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
5234
|
+
"x-rank": "any-builder",
|
|
5235
|
+
"x-source": "modules/copy-desk/routes/copy-desk.js",
|
|
5236
|
+
"parameters": [
|
|
5237
|
+
{
|
|
5238
|
+
"name": "pageId",
|
|
5239
|
+
"in": "path",
|
|
5240
|
+
"required": true,
|
|
5241
|
+
"schema": {
|
|
5242
|
+
"type": "string"
|
|
5243
|
+
},
|
|
5244
|
+
"description": "Path parameter `pageId`."
|
|
5245
|
+
}
|
|
5246
|
+
],
|
|
5247
|
+
"requestBody": {
|
|
5248
|
+
"required": false,
|
|
5249
|
+
"content": {
|
|
5250
|
+
"application/json": {
|
|
5251
|
+
"schema": {
|
|
5252
|
+
"type": "object",
|
|
5253
|
+
"additionalProperties": true
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5256
|
+
},
|
|
5257
|
+
"x-validated": true
|
|
5258
|
+
},
|
|
5259
|
+
"responses": {
|
|
5260
|
+
"200": {
|
|
5261
|
+
"description": "Success."
|
|
5262
|
+
},
|
|
5263
|
+
"400": {
|
|
5264
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
5265
|
+
},
|
|
5266
|
+
"401": {
|
|
5267
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
5268
|
+
},
|
|
5269
|
+
"403": {
|
|
5270
|
+
"$ref": "#/components/responses/Forbidden"
|
|
5271
|
+
},
|
|
5272
|
+
"404": {
|
|
5273
|
+
"$ref": "#/components/responses/NotFound"
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5276
|
+
"security": [
|
|
5277
|
+
{
|
|
5278
|
+
"builderSession": []
|
|
5279
|
+
}
|
|
5280
|
+
]
|
|
5281
|
+
}
|
|
5282
|
+
},
|
|
5094
5283
|
"/copy-desk/proposals": {
|
|
5095
5284
|
"post": {
|
|
5096
5285
|
"operationId": "post_copy_desk_proposals",
|
|
@@ -5202,6 +5391,37 @@
|
|
|
5202
5391
|
]
|
|
5203
5392
|
}
|
|
5204
5393
|
},
|
|
5394
|
+
"/copy-desk/tally": {
|
|
5395
|
+
"get": {
|
|
5396
|
+
"operationId": "get_copy_desk_tally",
|
|
5397
|
+
"tags": [
|
|
5398
|
+
"copy-desk"
|
|
5399
|
+
],
|
|
5400
|
+
"summary": "GET /copy-desk/tally",
|
|
5401
|
+
"description": "------------------------------------------------------------------------- GET /copy-desk/tally — the caller's corner tally in the studio: credits from approved pages, pages tweaked, and this week's gain (trailing 7 days). Always the CALLER's own tally; there is no builder parameter to widen it. Needs no inventory: it reads the ledger only. -------------------------------------------------------------------------\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
5402
|
+
"x-rank": "any-builder",
|
|
5403
|
+
"x-source": "modules/copy-desk/routes/copy-desk.js",
|
|
5404
|
+
"responses": {
|
|
5405
|
+
"200": {
|
|
5406
|
+
"description": "Success."
|
|
5407
|
+
},
|
|
5408
|
+
"400": {
|
|
5409
|
+
"$ref": "#/components/responses/BadRequest"
|
|
5410
|
+
},
|
|
5411
|
+
"401": {
|
|
5412
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
5413
|
+
},
|
|
5414
|
+
"403": {
|
|
5415
|
+
"$ref": "#/components/responses/Forbidden"
|
|
5416
|
+
}
|
|
5417
|
+
},
|
|
5418
|
+
"security": [
|
|
5419
|
+
{
|
|
5420
|
+
"builderSession": []
|
|
5421
|
+
}
|
|
5422
|
+
]
|
|
5423
|
+
}
|
|
5424
|
+
},
|
|
5205
5425
|
"/core-update": {
|
|
5206
5426
|
"get": {
|
|
5207
5427
|
"operationId": "get_core_update",
|
|
@@ -24619,6 +24839,19 @@
|
|
|
24619
24839
|
"flag"
|
|
24620
24840
|
]
|
|
24621
24841
|
},
|
|
24842
|
+
"PostCopyDeskPagesPageIdAsksRequest": {
|
|
24843
|
+
"type": "object",
|
|
24844
|
+
"properties": {
|
|
24845
|
+
"reason": {
|
|
24846
|
+
"type": "string",
|
|
24847
|
+
"minLength": 1
|
|
24848
|
+
}
|
|
24849
|
+
},
|
|
24850
|
+
"required": [
|
|
24851
|
+
"reason"
|
|
24852
|
+
],
|
|
24853
|
+
"additionalProperties": false
|
|
24854
|
+
},
|
|
24622
24855
|
"PostCopyDeskProposalsRequest": {
|
|
24623
24856
|
"type": "object",
|
|
24624
24857
|
"properties": {
|
|
@@ -28121,8 +28354,8 @@
|
|
|
28121
28354
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
28122
28355
|
}
|
|
28123
28356
|
},
|
|
28124
|
-
"x-endpoint-count":
|
|
28125
|
-
"x-schema-count":
|
|
28357
|
+
"x-endpoint-count": 448,
|
|
28358
|
+
"x-schema-count": 484,
|
|
28126
28359
|
"x-undocumented-bodies": 9,
|
|
28127
28360
|
"x-response-schemas": 331,
|
|
28128
28361
|
"x-generated-by": "scripts/gds/gen-api-docs.js"
|
package/docs/api-reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Bongos API reference
|
|
4
4
|
|
|
5
|
-
> **Generated from the live route files** — the route file is authoritative.
|
|
5
|
+
> **Generated from the live route files** — the route file is authoritative. 448 endpoints across 76 route files.
|
|
6
6
|
> Machine-readable spec: [`docs/api/openapi.json`](api/openapi.json) (OpenAPI 3.1). Rendered docs site: **`/docs`** (e.g. `cloudbongos.com/docs`).
|
|
7
7
|
|
|
8
8
|
Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust-boundary-server-enforced-permissions.md)): `public` < `any-builder` < `metic+archon` < `archon`.
|
|
@@ -210,15 +210,20 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
210
210
|
| GET | `/api/bongos/connections/requests` | `any-builder` | — | MY pending requests, both directions (own data). |
|
|
211
211
|
| GET | `/api/bongos/connections/suggestions` | `any-builder` | — | "builders you may know" (R21, task 1002297; ADR 0202 D5). |
|
|
212
212
|
|
|
213
|
-
## `copy-desk` (
|
|
213
|
+
## `copy-desk` (10)
|
|
214
214
|
|
|
215
215
|
| Method | Path | Rank | Body | Description |
|
|
216
216
|
|---|---|---|---|---|
|
|
217
217
|
| POST | `/api/bongos/copy-desk/flags` | `any-builder` | `scope`, `surface`, `string_id`, `reason`, `kind` | ------------------------------------------------------------------------- POST /copy-desk/flags — file a flag. |
|
|
218
218
|
| POST | `/api/bongos/copy-desk/flags/:id/close` | `any-builder` | `status`, `resolution_note`, `resolved_task_id` | ------------------------------------------------------------------------- POST /copy-desk/flags/:id/close — resolve or dismiss. |
|
|
219
|
+
| GET | `/api/bongos/copy-desk/pages` | `any-builder` | — | ------------------------------------------------------------------------- GET /copy-desk/pages — every page's status, count and drift, pl… |
|
|
220
|
+
| GET | `/api/bongos/copy-desk/pages/:pageId` | `any-builder` | — | ------------------------------------------------------------------------- GET /copy-desk/pages/:pageId — one page: status, changelog, the… |
|
|
221
|
+
| POST | `/api/bongos/copy-desk/pages/:pageId/asks` | `any-builder` | `reason` | ------------------------------------------------------------------------- POST /copy-desk/pages/:pageId/asks — ask for a page (task 10043… |
|
|
222
|
+
| POST | `/api/bongos/copy-desk/pages/:pageId/claim` | `any-builder` | validated | ------------------------------------------------------------------------- POST /copy-desk/pages/:pageId/claim — claim a page's tweak (tas… |
|
|
219
223
|
| POST | `/api/bongos/copy-desk/proposals` | `any-builder` | `string_id`, `proposed_text`, `why`, `file`, `line`, `flag_id` | ------------------------------------------------------------------------- POST /copy-desk/proposals — an artist proposes new wording, and… |
|
|
220
224
|
| GET | `/api/bongos/copy-desk/queue` | `any-builder` | — | ------------------------------------------------------------------------- GET /copy-desk/queue — the artist's working list. |
|
|
221
225
|
| GET | `/api/bongos/copy-desk/strings` | `any-builder` | — | ------------------------------------------------------------------------- GET /copy-desk/strings — search the inventory, to find somethin… |
|
|
226
|
+
| GET | `/api/bongos/copy-desk/tally` | `any-builder` | — | ------------------------------------------------------------------------- GET /copy-desk/tally — the caller's corner tally in the studio:… |
|
|
222
227
|
|
|
223
228
|
## `core-update` (1)
|
|
224
229
|
|
package/docs/architecture.md
CHANGED
|
@@ -122,7 +122,8 @@ tasks(id, version_id, title, description, status, touches text[], est_minutes, e
|
|
|
122
122
|
'task.shipped' — ADR 0120 pays on land, not on confirm; which streams
|
|
123
123
|
actually pay depends on the instance reward mode, ADR 0146)
|
|
124
124
|
indexes: (version_id, status), (priority), GIN(touches), (goal_id), (parent_task_id),
|
|
125
|
-
(created_by), (shipped_by) WHERE needs_rebase
|
|
125
|
+
(created_by), (shipped_by) WHERE needs_rebase,
|
|
126
|
+
(source, source_ref) WHERE source IS NOT NULL (idx_tasks_source_ref, core_240)
|
|
126
127
|
task_blockers(task_id, blocker_ref) -- markdown anchors are canonical
|
|
127
128
|
claims(id, task_id, builder_id, worktree_name, claimed_at, released_at, outcome)
|
|
128
129
|
UNIQUE INDEX uniq_active_claim_per_task ON (task_id) WHERE released_at IS NULL
|
package/docs/file-map.md
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
│ ├── status-ui/ ← CORE-DOMAIN WEB-SURFACE carve (BV1.R84, default-on): the public status dashboard at status.<apex>, moved from public-status/. NO routes/db/port — declares contributes.webSurfaces:[{host:"status.",dir:"public"}], served by the loader web-surface seam (moduleWebSurfaces → serve-internal). CLAUDE.md, module.json, public/{index.html,status.js,style.css,cursors/,snapshots/}.
|
|
132
132
|
│ ├── hall-ui/ ← CORE-DOMAIN WEB-SURFACE carve (BV1.R85, default-on): the authenticated builders' hall at builders.<apex>, moved from public-builders/ (~13k LOC, the largest). NO routes/db/port — declares contributes.webSurfaces:[{host:"builders.",dir:"public"}] for discovery, but UNLIKE status-ui keeps its DEDICATED serving block in serve-internal (the /builders shim + canonical redirects + citizen/Archon page gates + asset-stamping + hall-widget injection), partitioned out of the generic web-surface loop and served from BUILDERS_DIR. CLAUDE.md, module.json, records/ (one file per page family — what each family's redesign settled; CLAUDE.md points at them, and a new record is a new file there so concurrent hall tasks stop colliding on one insertion point, task 1003499), public/{index.html,builders.js,style.css,work,watch,gate,settings,ranks,sessions,primer,diagrams,atlas,...}.{html,js},cursors/,chime.wav. Four ARCHETYPE sheets sit beside the per-page ones: `record.css` (the task + idea records, task 1003305), `room.css` (the READING ROOMS — the primer + the diagrams index, task 1003306: the reading measure and rhythm, the table of contents, the progress hairline and the framed figure diagram-viewer.js upgrades on both pages), `oversight.css` (the OVERSIGHT family — government, watch, gate, task 1003469 (harbor was its fourth until task 1003890 removed the dev box): the row, the figure band inside a panel, the group head, the inline form, the grant toggle and the shared confirm modal; named oversight because the vocabulary wall bans "governance" on the government surface) and `panel.css` (the PANEL family — settings, profile, task 1003308 (pair was its third until task 1003890 removed the dev box): the row, the switch, the field with its label above, the chip control, the four voices and the sign-in gate; the hall's my-projects page was DELETED in the same task — "my projects" is the hub's user-level page, and the hall keeps no link or redirect; the family's fourth page `not-ready.html` was deleted by task 1003450, along with the emptied `requireNonXenosPage` gate that was the only thing redirecting to it). A page sheet then holds only what one page has and the others do not — `primer.css` the acknowledge gate, `diagrams.css` the legend strip, `gate.css` the hold reasons and file chips, `watch.css` the severities, the report reader and the grade trend, `settings.css` the rail layout, the group head, the token ladder and the voices grid, `profile.css` the identity band and the shelf, `roster.css` the Builders roster's identity cell (was `people.css`, shared with the cross-project `/people` directory until task 1003444 deleted that page — `/people` and its legacy door `/scouting` now 302 to `/roster`), `thinking.css` THE SKY's one sheet (task 1004231 / sky part 3 — `thinking.html` at `/thinking` is the prototype the owner adopted as the design of record, `docs/design/mocks/sky/`, built over `GET /sky` + `GET /sky/mine`; its script is the seven `sky-*.js` files on one shared `window.OTBSky`; it replaced THE ROOM of task 1004098, which survives as the list drawer, and the old `/sky` page, whose URL 301s here; `idea-objects.js` beside it is the shared five-object vocabulary).
|
|
133
133
|
│ ├── lifecycle/ ← CORE-DOMAIN carve (BV1.R86, default-on): the build state machine — tasks · claims · versions · done-when · goals · dependencies · claim→ship→grade→credit · github-push + merge-lock + conflict-resolve + publish-reconciler. The LAST, most-coupled carve; registers the `lifecycle` kernel port (createTask, classifyTaskKind, tallyPeerVotes, work-tracking reads). CLAUDE.md, module.json, routes/{tasks,claims,versions,done-when,goals,dependencies,gate-approvals,analytics}.js, lifecycle.js, github-push.js, merge-lock.js, conflict-resolve.js, publish-reconciler.js, task-visuals.js + task-visual-db.js + routes/visuals.js (the optional ship-time visual, task 1003109 — the route file is NOT named task-*.js on purpose; see the module CLAUDE.md).
|
|
134
|
-
│ ├── copy-desk/ ← CORE-DOMAIN module (task 1003113 / R02 of goal 1000074, default-on): the COPY half of the design contract — ADR 0081 gave design TOKENS a repo-owned source of truth, text had none. Owns the FLAG (anyone in any role marks a string or a whole surface as needing an artist's attention, with a reason required in BOTH the route and a CHECK constraint) and the QUEUE an artist reads it from. READS R01's committed registry (docs/copy-registry.json, generated by scripts/gds/copy-inventory.js) and never writes it. NO LIVE CMS is the hard non-goal: no column here could hold replacement text, and copy_no_cms.mjs pins that. Key is `copy-desk`, not `copy` — the branding contract already owns a `copy` block, so the bare word reds the "core carries no module code" fitness check. R03 (task 1003114, ADR 0233) added the PROPOSAL: an artist writes the replacement wording and it becomes a Bongos task carrying a fenced copy-proposal patch — no row, NO second migration (a proposals table is the forbidden column with extra steps), and scripts/gds/copy-apply.js lands it as a real diff under a claim. CLAUDE.md, module.json, registry.js, flags.js, proposals.js, routes/copy-desk.js, migrations/copy_desk_001_flags.sql, tests/{copy_flags,copy_queue,copy_no_cms,copy_proposals}.mjs. Its hall surface lives with hall-ui (public/copy-desk.{html,js,css}), per the one-key-per-web-surface precedent.
|
|
134
|
+
│ ├── copy-desk/ ← CORE-DOMAIN module (task 1003113 / R02 of goal 1000074, default-on): the COPY half of the design contract — ADR 0081 gave design TOKENS a repo-owned source of truth, text had none. Owns the FLAG (anyone in any role marks a string or a whole surface as needing an artist's attention, with a reason required in BOTH the route and a CHECK constraint) and the QUEUE an artist reads it from. READS R01's committed registry (docs/copy-registry.json, generated by scripts/gds/copy-inventory.js) and never writes it. NO LIVE CMS is the hard non-goal: no column here could hold replacement text, and copy_no_cms.mjs pins that. Key is `copy-desk`, not `copy` — the branding contract already owns a `copy` block, so the bare word reds the "core carries no module code" fitness check. R03 (task 1003114, ADR 0233) added the PROPOSAL: an artist writes the replacement wording and it becomes a Bongos task carrying a fenced copy-proposal patch — no row, NO second migration (a proposals table is the forbidden column with extra steps), and scripts/gds/copy-apply.js lands it as a real diff under a claim. BV2.TW05 (task 1004316, ADR 0341 D8) added Tweak Mode's three derived READS — GET /copy-desk/pages, /copy-desk/pages/:pageId, /copy-desk/tally: page status and count, changelog, drift, "N of M tweaked" per surface, and the artist's tally — over the page-tweak tasks (lifecycle port), docs/page-inventory.json and docs/page-readings.json (both now in the publish manifest), with no status table. BV2.TW06 (task 1004317, ADR 0341 D2, D5, D6) added its first two page WRITES: POST /copy-desk/pages/:pageId/claim (an artist-craft builder opens or takes the page's tweak round as a web-claimed task, through the lifecycle port's webClaimPageTweak, under an advisory lock on the page) and POST /copy-desk/pages/:pageId/asks (anyone files a page ask, a copy_desk_flags row with scope 'page', added by copy_desk_002_page_asks.sql). CLAUDE.md, module.json, registry.js, flags.js, proposals.js, pages.js (the page-tweak block format), page-status.js (the pure derivation), page-data.js (the page artifacts' read side), routes/copy-desk.js, migrations/copy_desk_001_flags.sql, migrations/copy_desk_002_page_asks.sql, tests/{copy_flags,copy_queue,copy_no_cms,copy_proposals,copy_page_status}.mjs + tests/fixtures/page-tweak.cjs. Its hall surface lives with hall-ui (public/copy-desk.{html,js,css}), per the one-key-per-web-surface precedent.
|
|
135
135
|
│ ├── npm-release/ ← the deploy page for a project that publishes an npm package from GitHub (task 1002622, default-OFF — on only in the Bongos hall, which publishes @bongos/core). "Where the work is": every task finished in the last 14 days, placed in the stage it has actually reached (not merged · merged, no version yet · published, not running here · running here, not released · released · in no version), plus the version history — each version's tasks. The version↔task join reads the release-notes.json the package itself carries (scripts/gds/release-notes.js writes it at pack time), streamed out of the NEWEST version's npm tarball in-process (no child process, no sync call) when the running core's own copy stops short. module.json, work.js (the reading + the stage placement — the packument, tarball stream and tar reader it uses are the core's src/bongos/package-registry.js, reached through the doorway's readPackageRegistry since task 1004296), routes/work.js (GET /npm-release/work, gated core.pin.move like the page), public/work.{js,css} (the two sections /deploy lends it: #nr-work, #nr-versions). Task 1004301 added the same line on a task's own page: routes/task-where.js (GET /npm-release/task/:id, any signed-in builder — it shows nothing not already public) + public/task-widget.js, injected into task.html by the loader's uiSections seam (hallWidgetScripts file task-widget.js) to fill #task-contrib on otb:task-shown. Tests sit at the repo root — tests/npm_release_{work,page}.mjs — because a default-off module's own tests/ is skipped by the unit runner.
|
|
136
136
|
│ ├── ui-design/ ← CORE-DOMAIN module (task 1003324 / ADR 0197, default-on): the design capability every builder on every instance gets — ships METHOD, never a world. Absorbs ADR 0081's layer: adapters/{claude-design,figma}/index.js (moved from src/ui/adapters/), scripts/{design-sync,figma-design-sync,validate-design}.js (moved from scripts/gds/, which keeps thin shims), docs/design-contract.md (moved from docs/). Declaration-only: contributes.skills design (the /design playbook, new) + design-sync + figma-design-sync; no routes/port/migrations, so disabling it touches no served surface. CLAUDE.md separates the platform FLOORS (the Fifteen Rule, the dark twins, no page :root, the 24px floor, AA in both modes, the kill switch) from the instance's WORLD (its packs + DESIGN.md). kit/ (task 1003320) is the look-before-you-ship kit: lib.js (the floors, the states/probes contracts, the action + expectation vocabularies, the WCAG maths, the stub spawner), serve.js (any surface through the doorway's real transforms + fixtures/), render.js (states × 1440/390/320 × dark/light, audited), probe.js (PASS/FAIL contracts), check-mock.js (platform rules + the instance's DESIGN.md taste bans, then the detector), tells.js (task 1003329 / ADR 0223: the anti-pattern detector as two tiers — floors FAIL, craft tells WARN, kit-ignore waivers per file; the rendered twins live in lib.js factsInPage), contrast.js + png.js; a page's <page>.states.json / <page>.probes.json sit BESIDE the surface (modules/public-landing/public/, modules/hall-ui/public/). Recipe: docs/recipes/ui-look-before-you-ship.md. skills/ (task 1003321 / ADR 0198) is the vendoring policy: policy.json (licence allowlist, verdicts that may land, sidecar fields, preamble markers), PREAMBLE.md (the platform preamble every vendored SKILL.md opens with), README.md (the roster — both origins scanned dangerous on 2026-08-28, landed as rebuild specs; nothing vendored — and the landing recipe); a landable copy goes under skills/vendor/<name>/ with PROVENANCE.md + LICENSE and is materialised into an instance's .claude/skills/ by claude-materialize.js step 1b. skills/<name>/ (task 1003325 / ADR 0220) are the in-house rebuilds from the specs, first-party and counted: design-taste-frontend (the default taste skill), design-taste-frontend-v1 (the earlier generation, kept distinct), high-end-visual-design (the polish pass), redesign-existing-projects (the in-place upgrade); each opens with the same preamble and carries a "Rebuilt from" section instead of a sidecar. impeccable/ (task 1003326 / ADR 0221) is the design-craft method as ONE skill with sub-commands: SKILL.md (the router, the menu, the craft floor, the bounded finish) + reference/<sub-command>.md (eighteen playbooks, one loaded per request); no hooks, no bypass agent, no telemetry, no live server. minimalist-ui/, industrial-brutalist-ui/, gpt-taste/, stitch-design-taste/ (task 1003327 / ADR 0230) are the four looks, composition grammars with no colours of their own: the palette is the instance's pack and the texture is a named entry in styles/; a substrate is an archetype that still ships both modes, gpt-taste's selection is derived from the route rather than rolled, and stitch-design-taste writes a DESIGN.md-shaped contract document whose thirteen are transcribed from the pack. image-to-code/, imagegen-frontend-web/, imagegen-frontend-mobile/, brandkit/ (task 1003328 / ADR 0222) are the image family under the hero-only rule: plates and hero objects only, the pair (JPEG dark plate + WebP alpha cutout) with a <file>.json sidecar beside each, through the instance's art pipeline key; the grove specimen's styles/grove/assets/ is the worked example. style/ (task 1003475 / ADR 0231) is the module's first FIRST-PARTY skill (no upstream, so a `## First party` section instead of `## Rebuilt from`): the /style session in which an owner authors their own look in four bounded steps, rendering the nearest library entries before asking, drafting inside the contract, retuning by measurement, and handing over the one-step adoption without ever writing config/branding.json. styles/ (task 1003323 / ADR 0219) is the style library: <name>/pack.json (the theme.ui overlay, exactly the fifteen) + DESIGN.md (the look's derived recipes, thirteen in lockstep with the pack) + mock.html (the specimen); chrome-world (pinned to the neutral pack), expedition, grove, blueprint (the first cool look, authored through /style at task 1003475); STYLE=<name> on the kit lays a look over the instance's pack through GDS_BRANDING_FILE; tests/ui_design_styles.mjs runs the world/cosmos/hall token suites once per alternate (UI_DESIGN_PACK). config/design-tokens.* + design-sources.json STAY in config/ as the host boundary; public-landing keeps its own key (first customer, not owner).
|
|
137
137
|
│ ├── character-anim/ ← consistent-character generative animation (ADR 0088) — graded painterly frame sets + manifest, the otb-character-review skill. CLAUDE.md, module.json.
|
|
@@ -2601,5 +2601,9 @@ is load-bearing: the script throws rather than guess if it is missing, and
|
|
|
2601
2601
|
landed since 1.19.1055 with no explicit bump. run 36382270561. (task 1002620)
|
|
2602
2602
|
1.19.1057 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2603
2603
|
landed since 1.19.1056 with no explicit bump. run 36387147130. (task 1002620)
|
|
2604
|
+
1.19.1058 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2605
|
+
landed since 1.19.1057 with no explicit bump. run 36390971623. (task 1002620)
|
|
2606
|
+
1.19.1059 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
|
|
2607
|
+
landed since 1.19.1058 with no explicit bump. run 36415558760. (task 1002620)
|
|
2604
2608
|
---------------------------------------------------------------------------
|
|
2605
2609
|
```
|