Repository navigation
Description
Epic: graph-2026-10-ergonomics Tier: judgment Execution: split Blocked by: #1603, #1604, #1605 (the plugin freeze lifted 2026-11-06)
- Blocked by: feat(doctor,init): one hook channel per checkout —
doctorfails when repo hooks and a sequant plugin are both active;init/updateskip the hooks group when the plugin is enabled #1603 - Blocked by: feat(cli):
sequant mutation begin | check | render— mutation verification refuses a dirty tree, requires a real failing run, restores by patch, and is the only producer ofSEQUANT_MUTATIONmarkers #1604 - Blocked by: feat(comments):
renderIssueCommentowns comment layout — headline and AC table visible, everything else in one<details>block; adopted by the QA verdict, merge-check and review-residue builders; hiddensequant comment renderfor skills #1605
Problem
Of 125 human turns in 12 audited sessions, ~30 were approvals, and ~18 of the enumerated items already carried "I recommend yes". The owner asked twice for an interactive prompt instead of a prose list. Only 3 of 20 skills allow AskUserQuestion. Interactive sessions blocked 48.7 minutes in foreground sleeps while exec §3 (correctly, #1032) forbids background waits under the orchestrator and no skill states the interactive rule. 6 of 17 corrections were "Merged?" / "where is it". §5 D-3.2..D-3.5 and §4 D-2.4.
Decisions
| ID | Decision | Rejected alternative |
|---|---|---|
| S-1 | .claude/skills/_shared/references/human-surface.md holds: decisions (one AskUserQuestion, recommended first, act on what you already recommend; merge consent, live writes and open calls stay questions), waiting per mode (orchestrator: foreground, bounded, once; interactive: background + notification or sequant merge --watch, never a foreground sleep over 60 s), completion (final message names the PR/issue/run URL) |
one rule written into each skill (drift) |
| S-2 | spec, qa, exec, merger, release, fullsolve, assess, verify cite it in one line; lint:skill-gates carries one exact phrase per rule |
trusting the citation to stay |
| S-3 | spec and interactive qa pipe their comment through sequant comment render; exec and qa replace the hand-typed marker steps with sequant mutation begin/check/render |
keeping the old text as fallback |
| S-4 | AskUserQuestion added to allowed-tools of every skill that presents decisions |
leaving prose lists |
Acceptance Criteria
- AC-1: The reference exists with the three rule sections. Evidence:
grep -cE '^## (Decisions|Waiting|Completion)' .claude/skills/_shared/references/human-surface.md→3 - AC-2: The eight skills cite it. Evidence:
for s in spec qa exec merger release fullsolve assess verify; do grep -l 'references/human-surface.md' .claude/skills/$s/SKILL.md; done | wc -l | tr -d ' '→8 - AC-3:
lint:skill-gatesfails when a citing skill drops the waiting phrase. Evidence:npx vitest run scripts/lint-skill-gates.test.ts -t "human-surface"→≥ 1 passed, 0 failed(mutation: delete the phrase from one skill → that test fails; restore; record in the PR body) - AC-4:
/qa§6i and/execno longer instruct the agent to write aSEQUANT_MUTATIONline; they call the CLI. Evidence:grep -c 'sequant mutation' .claude/skills/qa/SKILL.md .claude/skills/exec/SKILL.md | awk -F: '{s+=$2} END{print s}'→≥ 2andgrep -c '<!-- SEQUANT_MUTATION' .claude/skills/exec/SKILL.md→0 - AC-5:
/specposts throughsequant comment render. Evidence:grep -c 'sequant comment render --kind spec' .claude/skills/spec/SKILL.md→≥ 1 - AC-6: Skills that present decisions list
AskUserQuestionin allowed-tools. Evidence:for s in spec qa merger release fullsolve assess verify; do grep -l 'AskUserQuestion' .claude/skills/$s/SKILL.md; done | wc -l | tr -d ' '→7 - AC-7: Mirrors are in sync. Evidence:
npm run lint:skill-sync→ exit 0
May touch
.claude/skills/**, templates/skills/**, plugin/skills/** (through sync:skills), scripts/lint-skill-gates.ts and test, CHANGELOG.
Non-Goals
- Changing orchestrator waiting (fix(exec): phase agent that backgrounds the test suite and waits for a notification strands uncommitted work — block Monitor/run_in_background under the orchestrator, WIP-commit on the no-commit guard #1032 stands).
- Any TS change beyond the lint.
Done when
An interactive session driven through sequant skills asks its open questions in one prompt, waits in the background, posts a comment whose visible part is the verdict and AC table, and ends with a link.
Activity
docs(#1602): graph-2026-10-ergonomics — founding doc, evidence, issue…