human: coa-builds repo + dispatch PAT, webhook secret, Android keystore, CONFIG_ADMIN_TOKEN, matou-app tag (phase-3 plan Task 18) #79
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/coa#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
docs/superpowers/plans/2026-08-31-coa-phase-3.mdTask 18 — one-way doors (ADR 0002).Why human
Credential bytes, a new public GitHub repo, a signing keystore and a release tag are irreversible or unprovable by a test.
Checklist
matou-collective/coa-builds(public, empty). Fine-grained PAT:Actions: write+Contents: readon it → mds vaultcoa_github_dispatch_token.openssl rand -hex 32→ mds vaultcoa_webhook_hmac_secretand coa-builds secretBUILD_WEBHOOK_SECRET(same value).keytool -genkeypair -v -keystore coa-upload.jks -alias coa -keyalg RSA -keysize 2048 -validity 10000); base64 → coa-builds secretsANDROID_KEYSTORE_B64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIAS,ANDROID_KEY_PASSWORD; keystore backed up in the vault ascoa_android_keystore_b64.openssl rand -hex 32→ vaultcoa_config_admin_token; MinIO keys →coa_shared_minio_access_key/coa_shared_minio_secret_key.v0.5.0after the matou-app kit plan lands (https://git.matou.nz/Matou/coa/src/branch/main/docs/superpowers/plans/2026-08-31-matou-app-coa-kit.md); write it into coa-buildsMATOU_APP_REF.make host LIMIT=matou -t coa_sharedrun and the first real coa-builds dispatch (Task 19).Proposed default
Do them in the listed order; 18a-i..iv can happen now, 18a-v waits for matou-app.
Values never appear in this tracker, a commit or a chat transcript.
Progress (session with Ben, 2026-08-31)
https://github.com/matou-collective/coa-buildscreated — public, empty, wiki off.openssl rand; 18a-iii Android upload keystore minted withkeytool(Temurin 21, PKCS12, aliascoa, RSA 2048, 10000 days).!: the vault append (addscoa_webhook_hmac_secret,coa_config_admin_token,coa_shared_minio_access_key,coa_shared_minio_secret_key,coa_android_keystore_b64,coa_android_keystore_password,coa_android_key_alias,coa_android_key_password) andgh secret set× 5 on coa-builds (BUILD_WEBHOOK_SECRET,ANDROID_KEYSTORE_B64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIAS,ANDROID_KEY_PASSWORD).matou-collective, repocoa-builds, permissions Actions: read/write, Contents: read, 1-year expiry) and addscoa_github_dispatch_tokento the vault.v0.5.0thenMATOU_APP_REF.#39 is closed (phase 2 proven 05:34 UTC), so #81's other blocker is gone.
No secret value appears here, in a commit, or in a chat transcript.
secrets.yml123 → 134 lines, backupsecrets.yml.bak-2026-08-31); coa-builds Actions secretsBUILD_WEBHOOK_SECRET,ANDROID_KEYSTORE_B64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIAS,ANDROID_KEY_PASSWORDset. Scratch copies shredded.Remaining on this ticket: the dispatch PAT (
coa_github_dispatch_token, Ben by hand), then 18a-v (tag after matou-app #245) and 18b (approvals on #81).matou-collective, repocoa-buildsonly, Actions RW + Contents R), stored as vaultcoa_github_dispatch_token(+ working copy~/.config/coa/coa-github-dispatch-pat, 0600). Verified: authenticatedGET /repos/matou-collective/coa-buildsand/actions/workflows→ 200. Definitive Actions-write proof comes with the first dispatch on #80.18a-i…iv are done. This ticket stays open for:
v0.5.0+ writeMATOU_APP_REF(after matou-app #245)coa_sharedplaybook run and the first real dispatch (on #81)Door 18a-v complete (2026-09-02 23:0x UTC): matou-app kit chain #238–#244 all merged,
v0.5.0tagged (bd8f1a9, on git.matou.nz + the GitHub mirror), and coa-buildsMATOU_APP_REFnow pinsv0.5.0(matou-collective/coa-builds@11307c4). matou-app #245 closed with the full evidence trail (signed release APK acceptance included).Remaining on this ticket: 18b — approve the first
coa_sharedrun + first real dispatch (Ben). Then #81 (deploy + e2e proof).Housekeeping reminder before any future fixture dispatch with
build=1: delete the fixture Releasecoa-ngati-example-v1from coa-builds first.Closing on the phase-3 end-to-end proof (Ben ruled 2026-09-04): deploys live on
matou, matou-smoke builds 1–2 + the fresh ngati-example chain all proven (submit → tenant → dispatch → run 33858085607 → Release coa-ngati-example-v1 → ready flip → installers-ready email delivered). Full record: STATUS.mdd18adac+ the proof comment on #81.