Skip to content

board seams: one owner for the branch review, pre-spec builds in the Architect's session, design approval on the plan route - #141

Merged
SSFSKIM merged 6 commits into
mainfrom
board-seams
Sep 15, 2026
Merged

SSFSKIM merged 6 commits into
mainfrom
board-seams

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

What this changes

A peer session reviewed #138 and found five seams between the interactive method and its board projection. This PR closes four and states the fifth. It is Milestone 6 of docs/doperpowers/specs/2026-09-12-one-spec-sized-by-the-gate-design.md, recorded there with acceptance items 13–19 and the corresponding Decision Log entries.

  • One owner for the whole-branch review on the board. The architect lane reviewed twice: plan-executor ran SDE step 7's review-and-fix loop, then qa-loops reviewed the PR again, while the implement lane tells its worker the loop is the Reviewer's. Now the Architect's brief says the review loop owns the whole-branch review; plan-executor stops after its last frontier review or milestone, writes the spec's retrospective, and opens the PR. An interactive writing-plans dispatch says nothing, so SDE's final review still runs there. Phase 2 (folding the Reviewer into the Architect session) later removes the flag.
  • plan-executor's sequential mode states its exit. A new ## Finishing section: the whole-branch review (SDE's, or review-code at the rung the spec's verification entry names) and its fix loop are the executor's unless the brief assigns them elsewhere; the retrospective is written before the PR. ## Closing no longer presumes "the final review is clean".
  • A sufficient ticket body is the execution document. The down-shortcircuit no longer hands off: the Architect takes the build edge with --plan pre-spec (branch required, leaf only, GitHub binding) and dispatches plan-executor on the saved ticket body, which runs as a plan with no living sections. The API binding still refuses the build edge and uses the handoff fallback; its mirrored guard remains unreachable until the service supports that edge. The ready-for-implementer --plan pre-spec handoff remains as the refused-edge fallback. "One session owns the ticket from design to PR" now holds for the direct shape too.
  • The board form of the design-approval gate. On the spec-plus-execution-plan route, after the spec and its reviews, the Architect parks one needs-human question ("approve the design at @") and continues into writing-plans on the answer. The well-scoped route builds without asking. Recorded as a policy choice, not a mirror.
  • Separate review input from follow-up work. Deferred task-review findings travel in ## Unresolved Review Findings, with their location and deferral reason, for qa-loops to triage. ## Residue remains independent work that the dispatching session registers as tickets. A still-valid deferral is logged rather than automatically ticketed or put into a fix wave.

Files

  • agents/plan-executor.md — intro (ticket body as a file kind, review ownership in the brief), ## Mode, new ## Finishing, ## Closing.
  • skills/issue-tracker/references/architect-worker-protocol.md — design-approval bullet, down-shortcircuit over the build edge, build brief, other-exits paragraph, resume sentence.
  • skills/issue-tracker/scripts/board-transition.sh — both --plan guards: pre-spec on the build edge needs a branch instead of being refused.
  • skills/qa-loops/SKILL.md (anchor for a pre-spec pin minted on the build edge), skills/issue-tracker/SKILL.md (two vocabulary rows), skills/writing-plans/SKILL.md (residue).
  • tests/issue-tracker/test-board-scripts.sh (pre-spec build edge: refused without a branch, accepted with one, sentinel and branch recorded; epic refusal unchanged), tests/issue-tracker/test-protocol-content.sh and tests/qa-loops/test-skill-entrypoint.sh (review ownership, separate findings carrier, and board routing assertions).
  • The 2026-09-12 spec: Milestone 6 in Progress, Plan of Work, Acceptance, Decision Log, Revision Notes.
  • Version 7.92.0 via scripts/bump-version.sh, above main's 7.91.0 release.

Originally stacked on #139; now targets main. The latest main changes are integrated, including #144's reader-based routing: on the board a self-contained ticket body can be the execution document; a separate spec is needed when that body does not suffice. This preserves #141's pre-spec build without treating a zero-context handoff as document-free work.

Validation Evidence

Current fix wave and main integration (2026-09-14)

  • Fixes reviewed inline, without a new review-code dispatch. Versions were 7.90.0 in all four declared manifests at the time, checked with scripts/bump-version.sh --check; the branch now ships at 7.92.0 (see the 2026-09-16 integration below).
  • On the integrated tree: tests/issue-tracker/test-protocol-content.sh (243 PASS), tests/qa-loops/test-skill-entrypoint.sh (192 PASS), tests/skill-links/test-cross-doc-refs.sh (207 references / 17 skills), and tests/version-bump/test-bump-version.sh all pass. Shell lint and explicit ShellCheck on the edited tests pass; git diff --check is clean.
  • Before editing, the six board/QA/API suites (test-protocol-content.sh, test-board-scripts.sh, test-execute-dispatch.sh, test-board-sweep.sh, qa-loops test-skill-entrypoint.sh, board-api test-register-transition.sh) all passed on isolated head 9b6a9244. The unchanged slow infrastructure suites were not repeated after prose/test-assertion changes.
  • Behavior evaluation used fresh, tool-free single-shot Claude CLI consumers (--model opus, resolved model claude-opus-5[1m]), with the full executor or QA protocol as system context, five samples per variant. The mixed finishing scenario carries a fixed finding, a compatibility-based nonblocking finding, accepted low-value debt, and genuinely independent follow-up work. The QA scenario supplies the resulting PR body plus new engine findings.
    • Before: standing debt entered ticket-producing Residue in 4/4 valid executor samples; one of the five attempted tool use instead of producing a body and was excluded, not rerolled. Unresolved findings had inconsistent/ad-hoc carriers. QA routed independent Residue work again in 10/10 samples across the two baseline variants (9 duplicate debt records, 1 duplicate ticket).
    • After: 5/5 executor samples put carried findings and reasons in Unresolved Review Findings, with independent work alone in Residue and the returned residue list. 5/5 QA samples logged still-valid deferrals without fix waves for those items and left independent Residue work to its registering session. New engine findings still follow normal triage. No-follow-up samples: 5/5 return residue: none without inventing review findings.
    • An expired, explicitly mid-task deferral was not uniformly preserved; consumers could choose to fix it. The wording deliberately preserves judgment when the reason no longer holds.
  • Routing integration: five before and five after samples each handled one batch of three tickets (sufficient body, incomplete body, taste-heavy design). Both variants routed all cases as intended: body → pre-spec, incomplete body → executable spec, taste-heavy → spec + plan with approval. This is no-regression evidence, not a demonstrated misroute repair: the old merged protocol contradicted itself, but sampled consumers already followed its operational shortcut.
  • These are text-only handoff/routing evaluations, not live end-to-end board runs. Raw samples and scenarios remain in worktree-local .claude/pr141-evals/.

Integration with main at 7.91.0 (2026-09-16)

Re-merged onto origin/main and re-bumped to 7.92.0. Main's two intervening changes are orthogonal to Milestone 6 and were taken whole: the dependency yield (arkho #49 - in-progress to ready-for-implementer, note-required, outside the convergence count, refused not-blocked without an unfinished blocker) and the reviewer agents' frontmatter blocking Skill alongside Agent, which replaces the prose guard in their bodies.

Neither touches the seams this milestone draws. In _board.py the yield edits the in-progress LEGAL row and the note/convergence sets, while this branch edits the in-design row's build-edge comment. In board-transition.sh the yield's blocked-by guard sits after the legality check, ahead of the --plan block this branch rewrote. The review-ownership flag addresses the session that owns the review loop, not a reviewer agent, so the tool-level block neither weakens nor duplicates it. The two lines meet once and coherently: a pre-spec build that hits a dependency yields into the executor lane carrying plan: pre-spec and the --branch this branch now requires - exactly what a recovery Executor resumes from.

Conflicts were the four declared version manifests only. The merge also reflows one sentence in skills/issue-tracker/SKILL.md so which no park state does is not split across a line break: tests/issue-tracker/test-protocol-content.sh asserts that phrase, and main's rewrite of the paragraph broke the assertion on main itself. The reflow restores it without changing main's wording.

All eight suites pass on the merged tree: tests/issue-tracker/test-protocol-content.sh, test-board-scripts.sh, test-execute-dispatch.sh, test-board-sweep.sh; tests/qa-loops/test-skill-entrypoint.sh; tests/claude-code/board-api/test-register-transition.sh; tests/skill-links/test-cross-doc-refs.sh (207 references / 17 skills); tests/version-bump/test-bump-version.sh. scripts/lint-shell.sh exits 0, shellcheck -x -S warning is clean on the edited shell files, and git diff --check is clean. No new behavior evaluation was run - the merge changed no behavior-shaping text beyond the reflow.

Earlier branch validation and review history

The following records the earlier iterations; the current fix wave replaces Residue as the carrier for deferred review findings.

  • tests/issue-tracker/test-protocol-content.sh, test-board-scripts.sh, test-execute-dispatch.sh, test-board-sweep.sh — all tests passed.
  • scripts/lint-shell.sh — 3 shell files, exit 0.
  • Review at doperpowers:reviewer-medium (first commit): seven findings, all addressed in the second commit — (P1) the design approval could be outrun by planning's spec revisions, now covered by the exceptions rule (a decision-changing revision re-parks, wording does not); (P2) qa-loops ignored the spec's recorded review rung, now a floor on its engine-run count; (P2) an Architect-minted pre-spec pin anchored on the weaker architect-lane gate pass, now on the build-edge comment; (P2) task reviews' deferred Minor findings were lost when SDE's final review was skipped, now dispositioned before the PR or carried in ## Residue; (P2) the retrospective was written before the loop's fix waves, now refreshed by the loop after a wave that changed behavior; (P3) the API binding's mirrored guard is unreachable behind its blanket refusal, now documented as such in the spec instead of claimed as covered; (P3) build-edge diagnostics and _board.py's edge comment still said the edge needs a real pin. It also found two stale assertions in tests/qa-loops/test-skill-entrypoint.sh, one dating from feat(methodology): one spec, sized by the gate — fold the ExecPlan track into the living spec #138, both updated.
  • Review of the fix commit at doperpowers:reviewer-low: four consistency findings in the new text, applied in the third commit without a further review round (the loop-stopping rule): the retrospective refresh now rides the closing wave as a fixer item, since the Reviewer worker authors no commits of its own; the spec's verification entry is a reason to fan out engine runs rather than a numeric floor, since review-code rungs do not map to run counts; re-approval is limited to product, taste, or substantive-design changes the approval covered; the Architect-minted pre-spec anchor is named in ORIENT and the timestamp-drift rule, not only in the audit paragraph.

Residue

  • The interactive direct route stays "implement in this session" by the human partner's choice; the board's direct route is the one-session projection of it.
  • Phase 2, the Reviewer fold, is the change that makes the review-ownership flag unnecessary.

…in the Architect's session; design approval on the plan route; bump 7.86.0
…nors the spec's rung and refreshes the retrospective, deferred findings reach the PR, sentinel anchors and diagnostics
…e; verification entry fans out runs; re-approval scoped to the gate; one audit anchor
@SSFSKIM
SSFSKIM changed the base branch from fold-plans to main September 13, 2026 03:36
Main's two intervening changes are orthogonal to Milestone 6 and were taken
whole:

- the dependency yield (arkho #49) — `in-progress` → `ready-for-implementer`,
  note-required, deliberately outside the convergence count, refused
  `not-blocked` without an unfinished blocker on record;
- the reviewer agents' frontmatter blocking `Skill` alongside `Agent`, which
  replaces the prose guard that used to carry that rule in their bodies.

Neither touches the seams this milestone draws. In `_board.py` the yield edits
the `in-progress` LEGAL row and the note/convergence sets; the branch edits the
`in-design` row's build-edge comment. In `board-transition.sh` the yield's
blocked-by guard sits after the legality check, ahead of the `--plan` block the
branch rewrote. The review-ownership flag addresses the session that owns the
review loop, not a reviewer agent, so the tool-level block neither weakens nor
duplicates it.

The two lines meet once, coherently: a pre-spec build that hits a dependency
yields into the executor lane carrying `plan: pre-spec` and the `--branch` this
branch now requires, which is exactly what a recovery Executor resumes from.

Conflicts were the four declared version manifests only. Resolved to main's
7.91.0, then re-bumped to 7.92.0 with scripts/bump-version.sh; the spec's
revision note for the fix wave now names the version it actually ships under.

Also reflows one sentence in issue-tracker/SKILL.md so "which no park state
does" is not split across a line break. The phrase is asserted by
tests/issue-tracker/test-protocol-content.sh, and main's rewrite of that
paragraph broke the assertion on main itself — this restores it without
changing the wording.

Suites on the merged tree: issue-tracker test-protocol-content, test-board-scripts,
test-execute-dispatch; qa-loops test-skill-entrypoint; board-api
test-register-transition; skill-links test-cross-doc-refs (207 refs / 17 skills);
version-bump test-bump-version. scripts/lint-shell.sh exit 0, shellcheck -x -S
warning clean on the edited shell files, git diff --check clean.
@SSFSKIM
SSFSKIM merged commit 3833012 into main Sep 15, 2026
@SSFSKIM
SSFSKIM deleted the board-seams branch September 15, 2026 16:23
SSFSKIM added a commit that referenced this pull request Sep 15, 2026
… 7.93.0

This branch's base, `board-seams`, merged as #141, so the PR is re-pointed at
main. The branch already carried board-seams through its round-three head
(9b6a924), so only two commits from that line are new here, plus main's own
two.

What arrived, and why none of it disturbs the native-review port:

- `## Unresolved Review Findings` (#141's last fix) adds a self-contained
  paragraph to TRIAGE describing how the build's carried findings arrive in the
  PR body. It is about what TRIAGE reads, not about how the engine runs, so it
  sits beside the rewritten START ENGINE section without touching it.
- The dependency yield (arkho #49) edits the implement protocol's park
  paragraph; this branch edits that file's pre-PR self-review clause. Different
  paragraphs, no overlap.
- The reviewer agents now block `Skill` as well as `Agent` in frontmatter. That
  constrains a reviewer AGENT. START ENGINE calls the workflow from the Reviewer
  WORKER's own session, which is not a reviewer agent, so the port's mechanism
  is untouched — and the block reinforces the same no-recursion boundary the
  workflow already drew by running each reviewer in its own worktree.

Conflicts were the four declared version manifests and the 2026-09-12 spec's
Revision Notes, where both lines appended. Both sides' notes are kept; this
branch's supersession note (the verification entry is the review's LEVEL, not a
reason to fan out codex runs) stays last, since it is what amends Acceptance
16's fan-out clause.

Versions resolved to main's 7.92.0, then re-bumped to 7.93.0 with
scripts/bump-version.sh. The qa-loops design spec's own version references move
with it, and a revision note records this rebase.

Suites on the merged tree: qa-loops test-skill-entrypoint, test-bootstrap-parity;
issue-tracker test-protocol-content; review-bench test-review-engine (at its
moved path); skill-links test-cross-doc-refs (210 refs / 17 skills); version-bump
test-bump-version. scripts/lint-shell.sh exit 0, whitespace check clean. The
retired-binding sweep over skills/agents/scripts/tests/docs still returns only
the tests' own assert_not_contains lines.
@SSFSKIM
SSFSKIM restored the board-seams branch September 15, 2026 16:32
@SSFSKIM
SSFSKIM deleted the board-seams branch September 15, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant