Skip to content

coordinate: the core loop is bypassed (manual merges, no isolation, no rotation, PRs closed to fit the cap) #83

Closed

Description

@lx-0

Experience

In a 4-day coordinator run, beyond what #76 lists:

  • Merges: 509 gh pr merge by hand and 0 ytstack-finish-lane (coordinate Step 6/7 says never to run gh pr merge by hand).
  • No isolation: 603 Agent dispatches, none with isolation: worktree.
  • No rotation: 0 rotations across 23 compactions, 8 of them after coordinate was loaded (Step 12 rotates after one).
  • No lessons: 0 ytstack:lesson / ytstack:incident runs, although main was red 57 times and the human asked to always learn from incidents.
  • Closed PRs: the coordinator closed 14 PRs (and reopened 8). Some were closed to fit under the open-PR cap and some to retrigger CI. One batch closed three PRs of open work without asking, and the human had them reopened.
  • Own guard: a home-built Stop-hook guard did the PR watch's job (the "build none of your own" rule of Step 7).

Proposals (coordinator mode only, advisory unless stated)

  1. A PreToolUse hint on gh pr merge in Bash: "use ytstack-finish-lane merge --at <head>".
  2. A PreToolUse hint on an Agent dispatch without isolation.
  3. A HARD-GATE in coordinate and finish-lane: never close, reopen-to-retrigger or delete the branch of a lane PR. A cap waits; CI reruns via gh run rerun. A PreToolUse hint on gh pr close in coordinator mode. ytstack-frontier set --status parked keeps a PR open while it waits.
  4. The open-PR cap counts PRs ready for review, not drafts.
  5. On SessionStart after a compaction: "compaction N of this coordinator: Step 12, rotate now". From the second compaction on, a Stop reminder.
  6. A PostToolUse note "run ytstack:lesson" when a gh run list --branch <default> read shows a failure.

Related: #76 (the dispatch-brief hint and the operating checklist are built there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions