You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
coordinate: tracking files in the repo cost one PR per bookkeeping step #79
In the same 4-day coordinator run, 176 of the more than 500 PRs were docs(...) bookkeeping. Examples: "LANES.md reflects the lanes of 15 November", "AV05-S04d box ticked", "docs(ledger): AV07-S06a booked". The human asked why the coordinator only did docs PRs. The coordinator itself estimated that about 4 of 10 docs PRs in a row were needed.
Why
The coordinator's tracking files live in the repository: LANES.md, standing/, questions/, ROADMAP ticks and receipts. On a protected main, every update is a branch, a commit and a PR. State that changes by the minute (row status, next action, claims) costs one PR per step.
Proposals (one design decision needed)
finish-lane writes the lane's row tick, booking and receipt onto the lane branch before the merge, so they ship with the change.
For the volatile coordinator state, one of:
a. Keep it out of the repository in the plugin data dir, keyed by repository like the automatic handoff, with a periodic snapshot into the repository.
b. Use one rolling coord/ledger PR per day that ytstack-frontier set appends to.
ytstack-upkeep reports more than N .ytstack-only PRs per day.
Related: #72 (proposal 3, one standing PR per day).
Decision (maintainer, 2026-11-16): neither of the two options above (state outside the repo with snapshots, or one rolling ledger PR per day). Following the pattern in "Inside OpenAI's agentic software factory" (Gergely Orosz, 2026-09-15), where the state of a change is its PR on the host and the agent's own thread, not a ledger in the repo:
The host is the ledger for lanes. A lane's state is its PR (open, draft, checks, review, merged), read fresh from the host as finish-lane, the PR watch and ytstack-frontier owner already do. Nothing that the host already knows is written to a repo file.
What only the coordinator knows stays out of tree with the session, keyed by repository, in the same place as the automatic handoff and the coordinate marker. That covers who holds a lane, its next action, the review round, and lanes without a PR yet. A successor on the same machine reads it there. One on another machine rebuilds it from the PRs: every implement lane has a PR or a branch on the host.
Durable knowledge (DECISIONS.md, standing/, the spec, plan ticks that belong to a change) goes to main by PR, bundled on the lane's branch by finish-lane, never as a bookkeeping PR of its own.
LANES.md in the repository becomes optional: a snapshot written only when a person asks for it, or at a milestone boundary inside that milestone's last lane PR.
ytstack-upkeep reports more than 3 PRs a day that touch only .ytstack/.
The goal clamp that this long-running mode needs is tracked separately.
Activity
lx-0 commentedon Nov 16, 2026
Decision (maintainer, 2026-11-16): neither of the two options above (state outside the repo with snapshots, or one rolling ledger PR per day). Following the pattern in "Inside OpenAI's agentic software factory" (Gergely Orosz, 2026-09-15), where the state of a change is its PR on the host and the agent's own thread, not a ledger in the repo:
finish-lane, the PR watch andytstack-frontier owneralready do. Nothing that the host already knows is written to a repo file.DECISIONS.md,standing/, the spec, plan ticks that belong to a change) goes to main by PR, bundled on the lane's branch byfinish-lane, never as a bookkeeping PR of its own.LANES.mdin the repository becomes optional: a snapshot written only when a person asks for it, or at a milestone boundary inside that milestone's last lane PR.ytstack-upkeepreports more than 3 PRs a day that touch only.ytstack/.The goal clamp that this long-running mode needs is tracked separately.
docs: research note on the full OpenAI software factory article (#100)
feat: the host is the ledger of a lane, goal mode (#79, #99) (#102)