coa-builds: set MATOU_CONFIG_SERVER_TOKEN in the app env from kit.json configWriteToken (#121, ADR 0008) #131

Open
opened 2026-09-04 20:07:14 +00:00 by matou-build-agent · 0 comments

Source: #121 / ADR 0008. The build-repo env plumbing that puts the kit's write token into the app.

What (in matou-collective/coa-builds, the thin build repo — GitHub, ADR 0004)

  • The coa-builds workflow reads configWriteToken from the community's kit.json and sets MATOU_CONFIG_SERVER_TOKEN in the built app's backend env/config, so the shipped app carries its bootstrap write token.
  • No-op cleanly when the field is absent (self-hosted / static kits).

Acceptance

  • A kit with configWriteToken produces an app whose backend env has MATOU_CONFIG_SERVER_TOKEN set to it.
  • A kit without the field builds unchanged (no empty/placeholder token).
  • Token value is not printed in the Actions log.

Depends on

  • #130 (kit carries configWriteToken).

Note

  • coa-builds is on GitHub (not this Forgejo); this needs a session with GitHub standing + the coa-builds checkout, tracked here on coa per the #80 precedent. Labelled ready-for-session.

Filed by the coa standing session turning Ben's #121 ruling into the cross-repo breakdown.

**Source:** #121 / **ADR 0008**. The build-repo env plumbing that puts the kit's write token into the app. ## What (in `matou-collective/coa-builds`, the thin build repo — GitHub, ADR 0004) - The coa-builds workflow reads `configWriteToken` from the community's `kit.json` and sets `MATOU_CONFIG_SERVER_TOKEN` in the built app's backend env/config, so the shipped app carries its bootstrap write token. - No-op cleanly when the field is absent (self-hosted / static kits). ## Acceptance - [ ] A kit with `configWriteToken` produces an app whose backend env has `MATOU_CONFIG_SERVER_TOKEN` set to it. - [ ] A kit without the field builds unchanged (no empty/placeholder token). - [ ] Token value is not printed in the Actions log. ## Depends on - #130 (kit carries `configWriteToken`). ## Note - `coa-builds` is on GitHub (not this Forgejo); this needs a session with GitHub standing + the coa-builds checkout, tracked here on coa per the #80 precedent. Labelled `ready-for-session`. _Filed by the coa standing session turning Ben's #121 ruling into the cross-repo breakdown._
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/coa#131
No description provided.