Repository navigation
Description
Parent
Refs #4047. Unit 9 of 9 (sweep unit for the session-flow plugin, plan Phase 11). Predecessor: #4055 (prototype sweep unit). Start only after #4055 has merged green. This unit also carries the contract-slice prune for the whole effort, per the topic-docs convention.
Agent Brief
Type: Task
Summary: apply the store's integration: suggest for the three export rows (clean-stop, handoff, retro) through the audit-native-overlap apply step, re-phrasing the existing organic /export suggestion sites to the convention's suggest grammar.
Current behavior: clean-stop, handoff, and retro each carry an /export suggestion in body prose gated with the resolves in your session token and an "offer only, never run" rule; none declares an unattended argument; only the clean-stop row existed in the store before the policy unit added rows for handoff and retro.
Desired behavior:
- Each site becomes the suggest sentence
If /export is available in your session (<basis>), run it for <job>., with the basis pointing at a same-file four-part verification record; placement stays at the end of the run, where each site already sits. - Each of the three skills declares the bare
unattendedargument and records the suggestion in output under it instead of offering. baked.suggest_sentenceis set on the threeexportrows, the view is regenerated, the skill-quality check passes for the three skills, andsession-flowtakes its next minor at PR time with a CHANGELOG entry stating the rules.- Close-out: this unit's PR carries the final commit that prunes
docs/topics/audit-native-overlap/per the topic-docs contract-slice lifecycle, after the plan's close-out procedure publishes the approved plan into the PR body and names the pre-prune commit.
Key interfaces:
- The three skill bodies and their
argument-hint(theunattendedargument). - The three
exportstore rows and the generated view.
Acceptance criteria:
-
grep -c "If /export is available in your session (" <skill>prints at least 1 for each ofplugins/session-flow/skills/clean-stop/SKILL.md,plugins/session-flow/skills/handoff/SKILL.md, andplugins/session-flow/skills/retro/SKILL.md. -
bash plugins/skill-quality/scripts/check-skill.sh <skill>passes for the three skills. -
python3 plugins/claude-ops/skills/audit-native-overlap/scripts/overlap.py self-check --upstream-sha ed404106fcd80ba98ecb7c851e531dcb626d13b7exits 0 with no orphan advisory. - The PR is a draft, quotes the three store rows, and flips to ready when green; after it merges, the contract slice no longer exists on the default branch and the container's close ritual runs (every sub-item closed, close-out review passed, closing comment linking the shipping PRs).
Out of scope:
- Any row or skill outside the
session-flowplugin; changing any verdict.
Activity
docs(topics): record the spec container and close Phase 0 of the audi…
kyle-sexton commentedon Sep 11, 2026
Deferred as filed (2026-09-11). Nothing on main changed this unit's scope: the three
/exportsuggestion sites (clean-stop, handoff, retro) are re-phrased to the suggest sentence shape unit 2 defines, the two newexportrows are written by unit 2, and theunattendeddeclaration andbaked.suggest_sentenceflags follow. The/exportreason text in the store is corrected by unit 2 (/exportis a non-prompt command type the Skill tool never lists, which is the per-surface reason; "built-ins are user-invoked only" is false since/initand/security-revieware reachable). Still blocked by #4049.Generated by Claude Code
feat(session-flow): /export suggest grammar on clean-stop, handoff, r…
fix(session-flow): parse the leading unattended argument in handoff, …
kyle-sexton commentedon Sep 29, 2026
This comes from the 2026-09-29 audit of the Cursor run (report:
.work/audit/REPORT.md). No reopen.What #5239 (
fix/audit-session-flow) delivers for the in-group criteria/exportrecords in clean-stop, handoff and retro.unattendedparsed in all three Arguments sections, with evals.overlap.py self-check --upstream-sha ed404106fcd80ba98ecb7c851e531dcb626d13b7(run on the branch worktree):SELF-CHECK degraded: 2 advisory(ies), 22 row(s) checked, exit 0. The advisories are stale extraction versions (recorded 2.1.232 to 2.1.269 vs current 2.1.284) and a recorded upstream commitd7dbd9a09f59that differs from the given SHA; no row failed.docs/topics/audit-native-overlap/is already absent from main.Still open. Criterion 4 (container close ritual under #4047) belongs to the claude-ops group and is requested there. #5239 uses
Refs #4056.fix(session-flow): audit remediation (observer flag gate, export reco…