@bongos/core 1.25.18 → 1.25.20
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 +113 -83
- package/clients/bongos-client/README.md +1 -1
- package/clients/bongos-client/bongos-client.global.js +4 -0
- package/clients/bongos-client/index.cjs +4 -0
- package/clients/bongos-client/index.d.ts +5 -1
- package/clients/bongos-client/index.mjs +4 -0
- package/docs/adr/0408-a-genesis-stage-is-three-doors-onto-one-record.md +1 -1
- package/docs/api/openapi.json +81 -2
- package/docs/api-reference.md +7 -5
- package/docs/copy-inventory.md +219 -216
- package/docs/copy-registry.json +273 -246
- package/docs/module-api-changelog.md +4 -0
- package/docs/page-readings.json +348 -347
- package/docs/project-context.template.md +1 -1
- package/modules/front-door-guide/handoff.js +120 -0
- package/modules/front-door-guide/module.json +1 -1
- package/modules/front-door-guide/routes/front-door-guide-plan.js +24 -0
- package/modules/hall-ui/public/ai-studio.html +1 -1
- package/modules/hall-ui/public/atlas.html +1 -1
- package/modules/hall-ui/public/blockers.html +1 -1
- package/modules/hall-ui/public/board-room.html +1 -1
- package/modules/hall-ui/public/city.html +1 -1
- package/modules/hall-ui/public/collab.html +1 -1
- package/modules/hall-ui/public/commands.html +1 -1
- package/modules/hall-ui/public/copy-desk.html +1 -1
- package/modules/hall-ui/public/deploy.html +1 -1
- package/modules/hall-ui/public/genesis-home.js +51 -7
- package/modules/hall-ui/public/goal-map.html +1 -1
- package/modules/hall-ui/public/goals.html +1 -1
- package/modules/hall-ui/public/government.html +1 -1
- package/modules/hall-ui/public/home-city-draw.js +14 -1
- package/modules/hall-ui/public/idea.html +1 -1
- package/modules/hall-ui/public/ideas.html +1 -1
- package/modules/hall-ui/public/index.html +1 -1
- package/modules/hall-ui/public/market-watch-item.html +1 -1
- package/modules/hall-ui/public/market-watch-rules.html +1 -1
- package/modules/hall-ui/public/market-watch.html +1 -1
- package/modules/hall-ui/public/modules.html +1 -1
- package/modules/hall-ui/public/money.html +1 -1
- package/modules/hall-ui/public/my-agents.html +1 -1
- package/modules/hall-ui/public/primer.html +1 -1
- package/modules/hall-ui/public/profile.html +1 -1
- package/modules/hall-ui/public/project-settings.html +1 -1
- package/modules/hall-ui/public/roster.html +1 -1
- package/modules/hall-ui/public/settings.html +1 -1
- package/modules/hall-ui/public/shell.js +32 -20
- package/modules/hall-ui/public/street.html +1 -1
- package/modules/hall-ui/public/studio.html +1 -1
- package/modules/hall-ui/public/style.css +9 -4
- package/modules/hall-ui/public/task.html +1 -1
- package/modules/hall-ui/public/thinking.html +1 -1
- package/modules/hall-ui/public/tweak-editor.html +1 -1
- package/modules/hall-ui/public/watch.html +1 -1
- package/modules/hall-ui/public/work.html +1 -1
- package/modules/lifecycle/home-city.js +17 -3
- package/modules/onboarding/founding-mode.js +45 -1
- package/modules/onboarding/genesis-home.js +70 -7
- package/modules/onboarding/genesis-work.js +68 -0
- package/modules/onboarding/guide-handoff.js +109 -0
- package/modules/onboarding/routes/genesis-work.js +11 -4
- package/modules/provisioning/guide-handoff.js +65 -0
- package/modules/provisioning/provisioning.js +2 -2
- package/modules/provisioning/routes/provisioning.js +4 -2
- package/modules/public-landing/public/projects.html +79 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +16 -0
- package/scripts/bongos/genesis.js +8 -1
- package/src/bongos/founding-page-gate.js +67 -0
- package/src/bongos/serve-internal.js +3 -0
- package/src/branding.js +4 -0
- package/src/module-api.js +1 -1
- package/tests/founding_mode.mjs +84 -8
- package/tests/founding_page_gate.mjs +105 -0
- package/tests/front_door_guide_existing.mjs +1 -0
- package/tests/genesis_home.mjs +105 -1
- package/tests/genesis_work.mjs +29 -0
- package/tests/genesis_work_routes.mjs +9 -0
- package/tests/guide_handoff.mjs +322 -0
- package/tests/home_city.mjs +52 -0
- package/tests/nav_permission_atoms.mjs +1 -1
- package/tests/provision_settings_apply.mjs +2 -1
- package/tests/provisioning_settings_env.mjs +2 -2
|
@@ -5,7 +5,7 @@ A **generated**, zero-dependency typed client for the Bongos API — produced fr
|
|
|
5
5
|
by hand; it regenerates when the spec changes, so it can never drift from the routes.
|
|
6
6
|
|
|
7
7
|
- API version: **v1** (served at `/api/bongos/v1`)
|
|
8
|
-
-
|
|
8
|
+
- 731 operations across 88 resource groups
|
|
9
9
|
|
|
10
10
|
## Use it from your project
|
|
11
11
|
|
|
@@ -519,6 +519,8 @@ function createClient(opts = {}) {
|
|
|
519
519
|
getFoundingWorkStageAnswersQuestionHistory: (args) => request("GET", "/founding/work/{stage}/answers/{question}/history", { hasBody: false }, args),
|
|
520
520
|
// GET /founding/work/{stage}/assist — rank: any-builder — GET /founding/work/:stage/assist
|
|
521
521
|
getFoundingWorkStageAssist: (args) => request("GET", "/founding/work/{stage}/assist", { hasBody: false }, args),
|
|
522
|
+
// GET /founding/work/{stage}/document — rank: any-builder — GET /founding/work/:stage/document
|
|
523
|
+
getFoundingWorkStageDocument: (args) => request("GET", "/founding/work/{stage}/document", { hasBody: false }, args),
|
|
522
524
|
// PUT /founding/work/{stage}/door — rank: any-builder — PUT /founding/work/:stage/door
|
|
523
525
|
putFoundingWorkStageDoor: (args) => request("PUT", "/founding/work/{stage}/door", { hasBody: true }, args),
|
|
524
526
|
// PUT /founding/work/{stage}/link — rank: any-builder — PUT /founding/work/:stage/link
|
|
@@ -539,6 +541,8 @@ function createClient(opts = {}) {
|
|
|
539
541
|
postFrontDoorGuideConversationsIdPlan: (args) => request("POST", "/front-door-guide/conversations/{id}/plan", { hasBody: true }, args),
|
|
540
542
|
// GET /front-door-guide/mine — rank: any-builder — GET /front-door-guide/mine
|
|
541
543
|
getFrontDoorGuideMine: (args) => request("GET", "/front-door-guide/mine", { hasBody: false }, args),
|
|
544
|
+
// GET /front-door-guide/mine/handoff.md — rank: any-builder — GET /front-door-guide/mine/handoff.md
|
|
545
|
+
getFrontDoorGuideMineHandoffMd: (args) => request("GET", "/front-door-guide/mine/handoff.md", { hasBody: false }, args),
|
|
542
546
|
// GET /front-door-guide/status — rank: public — GET /front-door-guide/status
|
|
543
547
|
getFrontDoorGuideStatus: (args) => request("GET", "/front-door-guide/status", { hasBody: false }, args),
|
|
544
548
|
},
|
|
@@ -518,6 +518,8 @@ function createClient(opts = {}) {
|
|
|
518
518
|
getFoundingWorkStageAnswersQuestionHistory: (args) => request("GET", "/founding/work/{stage}/answers/{question}/history", { hasBody: false }, args),
|
|
519
519
|
// GET /founding/work/{stage}/assist — rank: any-builder — GET /founding/work/:stage/assist
|
|
520
520
|
getFoundingWorkStageAssist: (args) => request("GET", "/founding/work/{stage}/assist", { hasBody: false }, args),
|
|
521
|
+
// GET /founding/work/{stage}/document — rank: any-builder — GET /founding/work/:stage/document
|
|
522
|
+
getFoundingWorkStageDocument: (args) => request("GET", "/founding/work/{stage}/document", { hasBody: false }, args),
|
|
521
523
|
// PUT /founding/work/{stage}/door — rank: any-builder — PUT /founding/work/:stage/door
|
|
522
524
|
putFoundingWorkStageDoor: (args) => request("PUT", "/founding/work/{stage}/door", { hasBody: true }, args),
|
|
523
525
|
// PUT /founding/work/{stage}/link — rank: any-builder — PUT /founding/work/:stage/link
|
|
@@ -538,6 +540,8 @@ function createClient(opts = {}) {
|
|
|
538
540
|
postFrontDoorGuideConversationsIdPlan: (args) => request("POST", "/front-door-guide/conversations/{id}/plan", { hasBody: true }, args),
|
|
539
541
|
// GET /front-door-guide/mine — rank: any-builder — GET /front-door-guide/mine
|
|
540
542
|
getFrontDoorGuideMine: (args) => request("GET", "/front-door-guide/mine", { hasBody: false }, args),
|
|
543
|
+
// GET /front-door-guide/mine/handoff.md — rank: any-builder — GET /front-door-guide/mine/handoff.md
|
|
544
|
+
getFrontDoorGuideMineHandoffMd: (args) => request("GET", "/front-door-guide/mine/handoff.md", { hasBody: false }, args),
|
|
541
545
|
// GET /front-door-guide/status — rank: public — GET /front-door-guide/status
|
|
542
546
|
getFrontDoorGuideStatus: (args) => request("GET", "/front-door-guide/status", { hasBody: false }, args),
|
|
543
547
|
},
|
|
@@ -620,7 +620,7 @@ export interface PostProvisioningInstancesIdRestartResponse { ok: boolean; queue
|
|
|
620
620
|
export interface PostProvisioningInstancesIdTeardownResponse { ok: boolean; queued: unknown; action: unknown; status: unknown; superseded: unknown; sandbox_key_lent: unknown; message: unknown }
|
|
621
621
|
export interface PostProvisioningInstancesIdUpdateSubscriptionRequest { subscribed: boolean }
|
|
622
622
|
export interface PostProvisioningInstancesIdUpdateSubscriptionResponse { ok: boolean; update_subscribed: unknown; previous: unknown; changed: unknown }
|
|
623
|
-
export interface PostProvisioningInstancesRequest { slug: string; target_ref?: string; hosting_shape?: string; domain?: string; no_address?: boolean; tier?: string; onboard_mode?: string; type?: string; description?: string; detail?: Record<string, unknown>; modules?: string[]; terms_acknowledged?: boolean; demo?: Record<string, unknown>; ship_mode?: "auto" | "manual"; genesis?: boolean; test?: boolean }
|
|
623
|
+
export interface PostProvisioningInstancesRequest { slug: string; target_ref?: string; hosting_shape?: string; domain?: string; no_address?: boolean; tier?: string; onboard_mode?: string; type?: string; description?: string; detail?: Record<string, unknown>; modules?: string[]; terms_acknowledged?: boolean; demo?: Record<string, unknown>; ship_mode?: "auto" | "manual"; genesis?: boolean; test?: boolean; from_guide?: boolean }
|
|
624
624
|
export interface PostProvisioningPhysicsCheckRequest { description?: string; detail?: Record<string, unknown> }
|
|
625
625
|
export interface PostProvisioningPhysicsCheckResponse { stop: boolean; message: unknown; soft_limits: unknown }
|
|
626
626
|
export interface PostProvisioningRenderLookupRequest { key: string; owner_id?: string }
|
|
@@ -1211,6 +1211,8 @@ export interface BongosClient {
|
|
|
1211
1211
|
getFoundingWorkStageAnswersQuestionHistory(args?: RequestArgs): Promise<ApiResponse>;
|
|
1212
1212
|
/** GET /founding/work/{stage}/assist — rank: any-builder */
|
|
1213
1213
|
getFoundingWorkStageAssist(args?: RequestArgs): Promise<ApiResponse>;
|
|
1214
|
+
/** GET /founding/work/{stage}/document — rank: any-builder */
|
|
1215
|
+
getFoundingWorkStageDocument(args?: RequestArgs): Promise<ApiResponse>;
|
|
1214
1216
|
/** PUT /founding/work/{stage}/door — rank: any-builder */
|
|
1215
1217
|
putFoundingWorkStageDoor(args: RequestArgs & { body: PutFoundingWorkStageDoorRequest }): Promise<ApiResponse>;
|
|
1216
1218
|
/** PUT /founding/work/{stage}/link — rank: any-builder */
|
|
@@ -1231,6 +1233,8 @@ export interface BongosClient {
|
|
|
1231
1233
|
postFrontDoorGuideConversationsIdPlan(args: RequestArgs & { body: PostFrontDoorGuideConversationsIdPlanRequest }): Promise<ApiResponse>;
|
|
1232
1234
|
/** GET /front-door-guide/mine — rank: any-builder */
|
|
1233
1235
|
getFrontDoorGuideMine(args?: RequestArgs): Promise<GetFrontDoorGuideMineResponse>;
|
|
1236
|
+
/** GET /front-door-guide/mine/handoff.md — rank: any-builder */
|
|
1237
|
+
getFrontDoorGuideMineHandoffMd(args?: RequestArgs): Promise<ApiResponse>;
|
|
1234
1238
|
/** GET /front-door-guide/status — rank: public */
|
|
1235
1239
|
getFrontDoorGuideStatus(args?: RequestArgs): Promise<ApiResponse>;
|
|
1236
1240
|
};
|
|
@@ -515,6 +515,8 @@ export function createClient(opts = {}) {
|
|
|
515
515
|
getFoundingWorkStageAnswersQuestionHistory: (args) => request("GET", "/founding/work/{stage}/answers/{question}/history", { hasBody: false }, args),
|
|
516
516
|
// GET /founding/work/{stage}/assist — rank: any-builder — GET /founding/work/:stage/assist
|
|
517
517
|
getFoundingWorkStageAssist: (args) => request("GET", "/founding/work/{stage}/assist", { hasBody: false }, args),
|
|
518
|
+
// GET /founding/work/{stage}/document — rank: any-builder — GET /founding/work/:stage/document
|
|
519
|
+
getFoundingWorkStageDocument: (args) => request("GET", "/founding/work/{stage}/document", { hasBody: false }, args),
|
|
518
520
|
// PUT /founding/work/{stage}/door — rank: any-builder — PUT /founding/work/:stage/door
|
|
519
521
|
putFoundingWorkStageDoor: (args) => request("PUT", "/founding/work/{stage}/door", { hasBody: true }, args),
|
|
520
522
|
// PUT /founding/work/{stage}/link — rank: any-builder — PUT /founding/work/:stage/link
|
|
@@ -535,6 +537,8 @@ export function createClient(opts = {}) {
|
|
|
535
537
|
postFrontDoorGuideConversationsIdPlan: (args) => request("POST", "/front-door-guide/conversations/{id}/plan", { hasBody: true }, args),
|
|
536
538
|
// GET /front-door-guide/mine — rank: any-builder — GET /front-door-guide/mine
|
|
537
539
|
getFrontDoorGuideMine: (args) => request("GET", "/front-door-guide/mine", { hasBody: false }, args),
|
|
540
|
+
// GET /front-door-guide/mine/handoff.md — rank: any-builder — GET /front-door-guide/mine/handoff.md
|
|
541
|
+
getFrontDoorGuideMineHandoffMd: (args) => request("GET", "/front-door-guide/mine/handoff.md", { hasBody: false }, args),
|
|
538
542
|
// GET /front-door-guide/status — rank: public — GET /front-door-guide/status
|
|
539
543
|
getFrontDoorGuideStatus: (args) => request("GET", "/front-door-guide/status", { hasBody: false }, args),
|
|
540
544
|
},
|
|
@@ -57,6 +57,6 @@ every stage, not a strategize feature that charter then copies.
|
|
|
57
57
|
- Presentation is left to the game frame (the founding of the government district) and
|
|
58
58
|
the hall version (task 1005285). Today a founder works a stage through their AI session
|
|
59
59
|
and `npx bongos genesis …`.
|
|
60
|
-
- Task 1005115 renders each stage's record as an editable document from this store.
|
|
60
|
+
- Task 1005115 renders each stage's record as an editable document from this store (`documentOf`, `GET /founding/work/:stage/document`), and on a project with no Board Room a stage whose tasks are finished advances by itself.
|
|
61
61
|
- Charter adopted it (task 1005119): how decisions should go and the founder's principles. A question may declare `choices` (a closed answer, stored as its key) where another module reads the answer; the charter stage's read carries the government module's recommendation built from them.
|
|
62
62
|
- Scope adopted it with the project interview (task 1005114): six questions in three groups. `/goal-create` and `/planning-session` read the answers before planning, through `genesis.js context`.
|
package/docs/api/openapi.json
CHANGED
|
@@ -8312,7 +8312,7 @@
|
|
|
8312
8312
|
"founding"
|
|
8313
8313
|
],
|
|
8314
8314
|
"summary": "GET /founding/work",
|
|
8315
|
-
"description": "
|
|
8315
|
+
"description": "**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
8316
8316
|
"x-rank": "any-builder",
|
|
8317
8317
|
"x-source": "modules/onboarding/routes/genesis-work.js",
|
|
8318
8318
|
"responses": {
|
|
@@ -8597,6 +8597,51 @@
|
|
|
8597
8597
|
]
|
|
8598
8598
|
}
|
|
8599
8599
|
},
|
|
8600
|
+
"/founding/work/{stage}/document": {
|
|
8601
|
+
"get": {
|
|
8602
|
+
"operationId": "get_founding_work_stage_document",
|
|
8603
|
+
"tags": [
|
|
8604
|
+
"founding"
|
|
8605
|
+
],
|
|
8606
|
+
"summary": "GET /founding/work/:stage/document",
|
|
8607
|
+
"description": "The stage's document (task 1005115): its record read as one named page, editable through the writes below at any time, without reopening the stage.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
8608
|
+
"x-rank": "any-builder",
|
|
8609
|
+
"x-source": "modules/onboarding/routes/genesis-work.js",
|
|
8610
|
+
"parameters": [
|
|
8611
|
+
{
|
|
8612
|
+
"name": "stage",
|
|
8613
|
+
"in": "path",
|
|
8614
|
+
"required": true,
|
|
8615
|
+
"schema": {
|
|
8616
|
+
"type": "string"
|
|
8617
|
+
},
|
|
8618
|
+
"description": "Path parameter `stage`."
|
|
8619
|
+
}
|
|
8620
|
+
],
|
|
8621
|
+
"responses": {
|
|
8622
|
+
"200": {
|
|
8623
|
+
"description": "Success."
|
|
8624
|
+
},
|
|
8625
|
+
"400": {
|
|
8626
|
+
"$ref": "#/components/responses/BadRequest"
|
|
8627
|
+
},
|
|
8628
|
+
"401": {
|
|
8629
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
8630
|
+
},
|
|
8631
|
+
"403": {
|
|
8632
|
+
"$ref": "#/components/responses/Forbidden"
|
|
8633
|
+
},
|
|
8634
|
+
"404": {
|
|
8635
|
+
"$ref": "#/components/responses/NotFound"
|
|
8636
|
+
}
|
|
8637
|
+
},
|
|
8638
|
+
"security": [
|
|
8639
|
+
{
|
|
8640
|
+
"builderSession": []
|
|
8641
|
+
}
|
|
8642
|
+
]
|
|
8643
|
+
}
|
|
8644
|
+
},
|
|
8600
8645
|
"/founding/work/{stage}/door": {
|
|
8601
8646
|
"put": {
|
|
8602
8647
|
"operationId": "put_founding_work_stage_door",
|
|
@@ -9025,6 +9070,37 @@
|
|
|
9025
9070
|
]
|
|
9026
9071
|
}
|
|
9027
9072
|
},
|
|
9073
|
+
"/front-door-guide/mine/handoff.md": {
|
|
9074
|
+
"get": {
|
|
9075
|
+
"operationId": "get_front_door_guide_mine_handoff_md",
|
|
9076
|
+
"tags": [
|
|
9077
|
+
"front-door-guide"
|
|
9078
|
+
],
|
|
9079
|
+
"summary": "GET /front-door-guide/mine/handoff.md",
|
|
9080
|
+
"description": "my plan as the hand-off file (task 1005274), offered as a download on the creation page. 404 with no plan. The name is only the file's title; it is never stored.\n\n**Rank:** `any-builder` — Any authenticated builder (row-level ownership enforced in-handler).",
|
|
9081
|
+
"x-rank": "any-builder",
|
|
9082
|
+
"x-source": "modules/front-door-guide/routes/front-door-guide-plan.js",
|
|
9083
|
+
"responses": {
|
|
9084
|
+
"200": {
|
|
9085
|
+
"description": "Success."
|
|
9086
|
+
},
|
|
9087
|
+
"400": {
|
|
9088
|
+
"$ref": "#/components/responses/BadRequest"
|
|
9089
|
+
},
|
|
9090
|
+
"401": {
|
|
9091
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
9092
|
+
},
|
|
9093
|
+
"403": {
|
|
9094
|
+
"$ref": "#/components/responses/Forbidden"
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
"security": [
|
|
9098
|
+
{
|
|
9099
|
+
"builderSession": []
|
|
9100
|
+
}
|
|
9101
|
+
]
|
|
9102
|
+
}
|
|
9103
|
+
},
|
|
9028
9104
|
"/front-door-guide/status": {
|
|
9029
9105
|
"get": {
|
|
9030
9106
|
"operationId": "get_front_door_guide_status",
|
|
@@ -43074,6 +43150,9 @@
|
|
|
43074
43150
|
},
|
|
43075
43151
|
"test": {
|
|
43076
43152
|
"type": "boolean"
|
|
43153
|
+
},
|
|
43154
|
+
"from_guide": {
|
|
43155
|
+
"type": "boolean"
|
|
43077
43156
|
}
|
|
43078
43157
|
},
|
|
43079
43158
|
"required": [
|
|
@@ -45543,7 +45622,7 @@
|
|
|
45543
45622
|
"description": "A required dependency/feature is not configured or is temporarily down."
|
|
45544
45623
|
}
|
|
45545
45624
|
},
|
|
45546
|
-
"x-endpoint-count":
|
|
45625
|
+
"x-endpoint-count": 731,
|
|
45547
45626
|
"x-schema-count": 759,
|
|
45548
45627
|
"x-undocumented-bodies": 12,
|
|
45549
45628
|
"x-response-schemas": 473,
|
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. 731 endpoints across 124 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`.
|
|
@@ -333,7 +333,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
333
333
|
| POST | `/api/bongos/first-read/maps/:id/reject` | `metic+archon` | — | .create — the owner's no. |
|
|
334
334
|
| GET | `/api/bongos/first-read/prompt` | `any-builder` | — | the prompt and the shape are instructions, not project data. |
|
|
335
335
|
|
|
336
|
-
## `founding` (
|
|
336
|
+
## `founding` (19)
|
|
337
337
|
|
|
338
338
|
| Method | Path | Rank | Body | Description |
|
|
339
339
|
|---|---|---|---|---|
|
|
@@ -346,17 +346,18 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
346
346
|
| POST | `/api/bongos/founding/skip` | `any-builder` | — | Skip genesis: the owner opens the full hall from any stage, no sitting, no gate. |
|
|
347
347
|
| POST | `/api/bongos/founding/stages/:stage/close` | `any-builder` | — | task 1005121: one call. |
|
|
348
348
|
| POST | `/api/bongos/founding/start` | `any-builder` | — | |
|
|
349
|
-
| GET | `/api/bongos/founding/work` | `any-builder` | — |
|
|
349
|
+
| GET | `/api/bongos/founding/work` | `any-builder` | — | |
|
|
350
350
|
| GET | `/api/bongos/founding/work/:stage` | `any-builder` | — | |
|
|
351
351
|
| PUT | `/api/bongos/founding/work/:stage/answers/:question` | `any-builder` | `state`, `text`, `origin`, `if_empty` | |
|
|
352
352
|
| DELETE | `/api/bongos/founding/work/:stage/answers/:question` | `any-builder` | — | Un-answer: back to empty, which is not the same as skipped. |
|
|
353
353
|
| GET | `/api/bongos/founding/work/:stage/answers/:question/history` | `any-builder` | — | |
|
|
354
354
|
| GET | `/api/bongos/founding/work/:stage/assist` | `any-builder` | — | |
|
|
355
|
+
| GET | `/api/bongos/founding/work/:stage/document` | `any-builder` | — | The stage's document (task 1005115): its record read as one named page, editable through the writes below at any time, without reopening … |
|
|
355
356
|
| PUT | `/api/bongos/founding/work/:stage/door` | `any-builder` | `door` | The founder's writes. |
|
|
356
357
|
| PUT | `/api/bongos/founding/work/:stage/link` | `any-builder` | `url` | |
|
|
357
358
|
| PUT | `/api/bongos/founding/work/:stage/page` | `any-builder` | `page` | |
|
|
358
359
|
|
|
359
|
-
## `front-door-guide` (
|
|
360
|
+
## `front-door-guide` (8)
|
|
360
361
|
|
|
361
362
|
| Method | Path | Rank | Body | Description |
|
|
362
363
|
|---|---|---|---|---|
|
|
@@ -366,6 +367,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
366
367
|
| POST | `/api/bongos/front-door-guide/conversations/:id/messages` | `public` | `token`, `text`, `website`, `starting_point` | one visitor message, one guide reply. |
|
|
367
368
|
| POST | `/api/bongos/front-door-guide/conversations/:id/plan` | `public` | `token`, `website` | the visitor has no account yet. |
|
|
368
369
|
| GET | `/api/bongos/front-door-guide/mine` | `any-builder` | — | my newest chat and plan (the creation wizard's pre-fill reads it). |
|
|
370
|
+
| GET | `/api/bongos/front-door-guide/mine/handoff.md` | `any-builder` | — | my plan as the hand-off file (task 1005274), offered as a download on the creation page. |
|
|
369
371
|
| GET | `/api/bongos/front-door-guide/status` | `public` | — | the landing asks before it offers the chat. |
|
|
370
372
|
|
|
371
373
|
## `github` (8)
|
|
@@ -882,7 +884,7 @@ Base path: `/api/bongos`. Ranks (enforced server-side, [ADR 0016](adr/0016-trust
|
|
|
882
884
|
| GET | `/api/bongos/provisioning/github-app/status` | `public` | — | GET /provisioning/github-app/status?state=<> — the PUBLIC progress read (task 1004548; the checklist since task 1004649). |
|
|
883
885
|
| GET | `/api/bongos/provisioning/health` | `public` | — | GET /provisioning/health — liveness + the core version this module mounted against. |
|
|
884
886
|
| GET | `/api/bongos/provisioning/instances` | `any-builder` | — | GET /provisioning/instances — the caller's own instances + each open intent. |
|
|
885
|
-
| POST | `/api/bongos/provisioning/instances` | `any-builder` | `slug`, `target_ref`, `hosting_shape`, `domain`, `no_address`, `tier`, `onboard_mode`, `type`, `description`, `detail`, `modules`, `terms_acknowledged`, `demo`, `ship_mode`, `genesis`, `test` | POST /provisioning/instances — request a new instance. |
|
|
887
|
+
| POST | `/api/bongos/provisioning/instances` | `any-builder` | `slug`, `target_ref`, `hosting_shape`, `domain`, `no_address`, `tier`, `onboard_mode`, `type`, `description`, `detail`, `modules`, `terms_acknowledged`, `demo`, `ship_mode`, `genesis`, `test`, `from_guide` | POST /provisioning/instances — request a new instance. |
|
|
886
888
|
| GET | `/api/bongos/provisioning/instances/:id` | `any-builder` | — | GET /provisioning/instances/:id — read one instance (the manage page's read). |
|
|
887
889
|
| GET | `/api/bongos/provisioning/instances/:id/core-upgrade` | `archon` | — | GET the same path — step ONE of the two-step (ADR 0293 D4): what a move would do. |
|
|
888
890
|
| POST | `/api/bongos/provisioning/instances/:id/core-upgrade` | `archon` | — | POST /provisioning/instances/:id/core-upgrade — move the core pin. |
|