feat(specify): record in-context fork resolutions as auditable issue comments
The `spec-skeptic` `scope-fork` juror reads only the seeding issue plus the spec. On the legitimate `specify` direct-entry path — a fork settled in a long in-context design discussion — that resolution lives only in ephemeral chat the juror cannot replay. When the issue body lags the discussion (still lists the fork open), the juror correctly blocks, and a design BLOCK escalates without self-correction. The result: auto-sign was structurally almost unreachable for the in-context entry path. Close the blind spot by giving the juror an auditable source instead of weakening the gate. When `specify` enters in-context and a tracker issue still lists a now-resolved fork as open, the orchestrator posts a reconciliation comment recording each fork's resolution WITH provenance (a record of the user's decision, never a fresh orchestrator one) before writing the spec. The comment is persistent and audit-able — unlike a carrier digest — so it, not the orchestrator's confidence, is what the juror checks. Separation of powers keeps it honest: the orchestrator writes the comment, the adversarial juror enforces the provenance requirement. A bare `decision: X` with no provenance does not resolve the fork — the re-dispatched juror blocks on it. The escalation rule and the three-field carrier are untouched; only the juror's information changes. Mechanics: - specify Step 1.5: reconciliation-comment sub-step, provenance format, issue-less fallback (auto-sign -> human sign-off, no weak spec-note). - spec-skeptic: replace the "quoted in the dispatch" drift; juror reads the issue WITH comments via `issue_tracker.show_cmd`; provenance check. - new profile slot `issue_tracker.show_cmd` (must render comments); documented in schema + template. - issue skill: `tea issues <idx>` is body-only; `--comments` required (verified against tea 0.14.1 and Aura #55 — 180 vs 144 lines). - consistency: design.md out-of-scope, README, pipeline.md, boss skill.
This commit is contained in:
+5
-2
@@ -94,7 +94,7 @@ when running outside the repo (the slug lives in
|
||||
| Operation | Command |
|
||||
|---|---|
|
||||
| List open | `tea issues ls --state open` |
|
||||
| View one | `tea issues <idx>` |
|
||||
| View one | `tea issues <idx>` (body only) — add `--comments` to include the discussion thread: `tea issues --comments <idx>` |
|
||||
| Create | `tea issues create -t "<title>" -d "<body>" -L "<labels>"` |
|
||||
| Edit body/title | `tea issues edit <idx> -t "<title>" -d "<body>"` |
|
||||
| Re-label | `tea issues edit <idx> --add-labels a --remove-labels b` |
|
||||
@@ -111,7 +111,10 @@ Notes:
|
||||
`in-progress`).
|
||||
- Before editing, view the issue first (`tea issues <idx>`) — do not
|
||||
edit blind. Status/discussion updates go in a `tea comment`, not by
|
||||
overwriting the body.
|
||||
overwriting the body. Note `tea issues <idx>` prints the **body
|
||||
only**; pass `--comments` to read the existing thread first (the bare
|
||||
form would otherwise prompt for it interactively, which hangs a
|
||||
non-interactive agent).
|
||||
- Routine closing is done by a `closes #N` line in the commit body on
|
||||
push (per `~/dev/CLAUDE.md`); `tea issues close` is for closing
|
||||
without an accompanying commit.
|
||||
|
||||
Reference in New Issue
Block a user