provision-coilyco-ops-bot.sh: absorb the deploy-runner read-token mint/rotation #469
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/infrastructure#469
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?
The /forgejo/read-token PAT (FORGEJO_READ_TOKEN on the deploy runner, infra#468 + deploy#38) is currently minted ad hoc: an agent fetches the bot password from SSM, basic-auths POST /api/v1/users/coilyco-ops/tokens with scope read:repository, and put-parameters the sha1 - flow documented in docs/cd-runner-private-source-token.md.
Fold that into provision-coilyco-ops-bot.sh so the bot provisioning/rotation script owns it like the api-token and password: idempotent (delete-then-recreate the named token, date-suffixed), same SSM write, same never-echo discipline. Then the doc section shrinks to a pointer at the script.
Provenance: kai-desktop-tower session 2026-07-04, first mint was agent-driven with explicit operator consent.
WARD-RESERVATION: held 🔒
reservation details
Holder: container
engineer-codex-infrastructure-469on hostkais-macbook-pro-2.local.Reserved by
ward agent --harness codex(reserved 2026-07-10T12:22:02Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (1h TTL).--forceoverrides.Do not comment on or edit this issue to steer the run while it is reserved. The engineer seeded the body once at launch and never re-reads it, so a comment or edit reaches only human readers, never the running engineer. A correction goes to a new issue, dispatched fresh. That is the only channel that reaches a run in flight. Where the forge supports it, ward locks this conversation to make that a road-block rather than a convention (ward#494).
run seed context — what this run is carrying (ward#609)
coilyco-flight-deck/infrastructure#469· branchissue-469· harnesscodex· workflowdirect-mainengineer-codex-infrastructure-469· wardv0.580.0· dispatched2026-07-10T12:22:02ZStatic container doctrine and seed boilerplate are identical every run and omitted here (they ride ward v0.580.0).
— Codex, via
ward agentWARD-RESERVATION: held 🔒
reservation details
Holder: container
engineer-codex-infrastructure-469on hostkais-macbook-pro-2.local.Reserved by
ward agent --harness codex(reserved 2026-07-10T12:35:05Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (1h TTL).--forceoverrides.Do not comment on or edit this issue to steer the run while it is reserved. The engineer seeded the body once at launch and never re-reads it, so a comment or edit reaches only human readers, never the running engineer. A correction goes to a new issue, dispatched fresh. That is the only channel that reaches a run in flight. Where the forge supports it, ward locks this conversation to make that a road-block rather than a convention (ward#494).
run seed context — what this run is carrying (ward#609)
coilyco-flight-deck/infrastructure#469· branchissue-469· harnesscodex· workflowdirect-mainengineer-codex-infrastructure-469· wardv0.580.0· dispatched2026-07-10T12:35:05ZStatic container doctrine and seed boilerplate are identical every run and omitted here (they ride ward v0.580.0).
— Codex, via
ward agentWARD-RESERVATION: held 🔒
reservation details
Holder: container
engineer-codex-infrastructure-469on hostkais-macbook-pro-2.local.Reserved by
ward agent --harness codex(reserved 2026-07-10T12:49:26Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (1h TTL).--forceoverrides.Do not comment on or edit this issue to steer the run while it is reserved. The engineer seeded the body once at launch and never re-reads it, so a comment or edit reaches only human readers, never the running engineer. A correction goes to a new issue, dispatched fresh. That is the only channel that reaches a run in flight. Where the forge supports it, ward locks this conversation to make that a road-block rather than a convention (ward#494).
run seed context — what this run is carrying (ward#609)
coilyco-flight-deck/infrastructure#469· branchissue-469· harnesscodex· workflowdirect-mainengineer-codex-infrastructure-469· wardv0.580.0· dispatched2026-07-10T12:49:26ZStatic container doctrine and seed boilerplate are identical every run and omitted here (they ride ward v0.580.0).
— Codex, via
ward agentWARD-OUTCOME: done
details
workflow: direct-main; review summary: skipped (review gate skipped by ~/.ward/config.yaml default)
retrospective: this was mostly token plumbing plus a couple of rebases because origin/main kept moving.
confidence: high
surprises: the public actions API was enough to verify the run state, but the attended AWS helper had no credentials in this container.
follow-ups: none