roadmap PARTIAL

128. The automation gets its own identity, and the agents get their own voice

Partial as of 2026-10-03 (UTC): steps 1 through 6 are built; step 4 (deleting the PAT secret and revoking the PAT) was done by calef the same day. The App exists and is installed: scheduled workflows author as nife-smelter[bot], and the toolchain-bump pull requests since at least 2026-09-28 (#1436, #1439, #1523) carry that author. toolchain-bump.yml tries an App installation token first, falls through to github.token, and prints which rung it took. TOOLCHAIN_BUMP_PAT was the only repository secret gh secret list showed until calef deleted it on 2026-10-03. Minted 2026-08-15 at calef's request, the same day he set TOOLCHAIN_BUMP_PAT on the transferred repository and asked what other developers would need (answer: nothing, and that answer is what surfaced this).

What is left is the agent sessions. Since 2026-10-07 (UTC) the mechanism that moves a session onto the App is built, opt-in and inert until calef widens the App and installs its key on patagonia (notes/session-identity.md). On 2026-10-24 (UTC) he ruled to run those steps himself soon (see Follow-on). The secret names were ratified the same day. The App secrets are no longer organization-level; see the 2026-10-03 line under the Done items below.

In brief. The toolchain-bump workflow authenticates as a fine-grained personal access token (PAT) on calef's account, because a PR opened by the ephemeral GITHUB_TOKEN triggers no CI (GitHub's anti-recursion rule; the workflow's own comment records it). A PAT works and has two structural flaws: it expires on a personal timer, with "bump PRs silently stop getting checks" as the only symptom, and it couples the project's automation to one person's account, so the automation breaks the day that account leaves the organization. A GitHub App owned by crickertech, installed on nife, fixes both: installation tokens are minted fresh per workflow run (nothing stored expires), and the identity belongs to the organization rather than to a person. This is the needs-architect principle applied to credentials: name the role, not the person.

The second deliverable: attribution, added 2026-08-16

calef, reading a repository whose every pull request, comment and review carries his name: "it looks like I'm talking to myself a lot and the record would be nice to clarify who is talking." That is a documentation defect as much as a vanity one. This project's whole claim is that a system of this size can be built by one architect and many agents. A timeline in which the architect appears to write, review and merge his own work in a single voice is evidence against the claim it should be evidence for. The provenance tenet applies to authorship the same way it applies to names: the record should say who did a thing where a reader meets it.

Same App, so the setup is shared. An installation token authors as <app-name>[bot] with its own avatar and badge, so a lane's pull request is visibly not the architect's. What exists today is half a mechanism: commits carry Co-Authored-By: Claude ... and pull request bodies carry the Claude Code footer, but the author of every pull request and comment is calef's account, and that is the half a reader actually sees.

The alternatives, recorded so the choice is one:

What it does not fix, and should say so plainly: an App cannot make the commits authored by the agent, only the pull request and its comments; commit authorship stays with whoever holds the git identity. Co-Authored-By remains the record there, and that split is honest rather than awkward: the human owns the change, the agent is named as its co-author, and the conversation around it is visibly the agent's.

The work, which is small

  1. Create the App under the crickertech organization (calef; Settings → Developer settings → GitHub Apps). No webhook, no public listing. Repository permissions: Contents read/write, Pull requests read/write, the same pair the PAT carries.

  2. Install it on nife only, and store the App ID and private key as repository secrets (AUTOMATION_APP_ID, AUTOMATION_APP_KEY).

  3. Done 2026-09-23. In toolchain-bump.yml, mint the installation token per run (the maintained actions/create-github-app-token action does exactly this, and taking it is a workflow-only dependency, not one in the shipping graph). Use it where TOOLCHAIN_BUMP_PAT is used today. Note it in the §46 (thin primitives or whole subsystems) spirit anyway. Keep the || github.token fallback: a fork without the App still opens PRs.

  4. Delete the TOOLCHAIN_BUMP_PAT secret and revoke the PAT, in that order, and update the workflow's own explanatory comment, which is where this mechanism is documented for the next reader. Not done, and deliberately sequenced after a run has been observed taking the App rung: revoking a credential the workflow may still be reaching for turns a preparation into an outage. notes/automation-identity.md carries the order and the reason. Update 2026-10-03 UTC: every workflow now takes the App rung only (plus github.token in toolchain-bump.yml); none reads the secret. Deleting it and revoking the PAT is calef's.

  5. Any future workflow needing to trigger CI on its own PRs reuses the same App rather than minting another personal token; that reuse is the milestone's compounding value. The two steps to copy are in notes/automation-identity.md's EXAMPLES.

  6. Added 2026-09-23, because an inert change and a broken change look identical. The job prints which of the three identities it authenticated as and proves that token is live. Without it, a reader cannot tell an App run from a PAT run from a fallback run, and the PAT's expiry stays as quiet as the milestone says it is. This is the step that made the fallback observable rather than argued: dispatched on the lane's branch with no App secrets present, the job reported identity: TOOLCHAIN_BUMP_PAT and token check: OK, which is the fallback working.

Why not now, and what the 2026-09-23 audit of that found

The original deferral, written 2026-08-15 and kept here because it is the reasoning the audit below tests. With one architect, the PAT and the App fail in the same circumstances and the PAT already exists. The App earns its setup cost at the first of a second architect joining, the PAT's first silent expiry, or a second workflow needing the same authority.

Audited 2026-09-23, each trigger against the tree rather than against a recollection. None has fired outright; the third is half-fired, and the audit's own difficulty is the finding.

Verdict: still parked as a forced move, and no longer parked as a cheap one. No trigger compels the work today. The preparation that does not need owner rights was done anyway, because it costs nothing to carry (the App rung is inert without its secrets). It also converts the expiry from an outage into a fifteen-minute procedure someone can run without reading this block.

BUGS

Follow-on

Index row

The toolchain-bump PAT expires on a personal timer and couples the project's automation to one account; an org-owned App names the role, not the person. Deliberately parked until a second architect, the PAT's first expiry, or a second workflow needing the authority