Skip to content

feat(skills): add rule classification, no-ops audit and information access to /retrospective, and prune it - #59

Merged
alandomio merged 3 commits into
mainfrom
fm/retro-pocock-ideas
Oct 7, 2026
Merged

alandomio merged 3 commits into
mainfrom
fm/retro-pocock-ideas

Conversation

@alandomio

@alandomio alandomio commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Intent

Improve firstmate's /retrospective skill (.agents/skills/retrospective/SKILL.md, reference.md only for mechanics) with four ideas from Matt Pocock's /retro, folded into existing steps concisely: (1) classify a learning before it becomes a CLAUDE.md/AGENTS.md rule - mechanical violations get a lint/hook/CI check, not prose; a repo with no guardrail, or an unwired existing check, is itself a finding; (2) a no-ops audit proposing deletion/move of always-loaded instructions that changed no behaviour, behind the same show-diff-and-wait gate; (3) prefer giving a rule to the reviewer over always-loaded implementation instructions; (4) information access as its own learning category (receipts: auto-mode production reads blocked pp-postgres and the wake drain; Datadog lacks per-instance RDS metrics for prod Aurora). Credit the source in one line. Also PRUNE the skill so SKILL.md + reference.md is net shorter than before (cut repetition, restated rules owned elsewhere, long worked examples keeping at most one shortened, non-behavioural prose) while keeping every safety gate, memory routing, failure receipts, unattended-path rules and the report template unchanged in meaning. The PR description must list what was removed and why. Skill growth from the four ideas about 40 lines at most; result is net negative overall.

What Changed

  • Added four ideas adapted from Matt Pocock's /retro, credited in one line in SKILL.md:
    • Rule classification (Step 4). Before a learning becomes a CLAUDE.md / AGENTS.md rule, the skill now sorts it into one of three kinds:
      • a mechanical violation becomes a lint rule, hook or CI job, tracked as an Axis A artifact;
      • a check that only matters when a change is judged goes to the reviewer, not the always-loaded file;
      • only a judgement call every session needs becomes a written rule.
    • Missing or unwired checks (Step 2). A repo with no hook or CI job running its own lint, typecheck or tests is reported as a finding. So is an existing check that nothing runs.
    • No-ops audit (Step 4). The skill proposes deleting or moving always-loaded instructions that changed no behaviour. These proposals go through the same Step 5 show-the-diff-and-wait gate as other edits, and stay pending on the unattended path.
    • Information access (Step 3). A new learning category for sources the session lacked or was blocked from, each recorded with its receipt (for example, an auto-mode production-read block, or a metric the monitoring tool doesn't carry).
      • The concrete receipts stay out of the skill on purpose, since it is being pruned: auto-mode production reads blocked pp-postgres and the wake drain; Datadog lacks per-instance RDS metrics for prod Aurora.
  • Removed from SKILL.md, and why:
    • Step 3b worked example: the long mrstat receipt is cut to a two-sentence receipt. The "bar a candidate must clear" and "payoff is correctness" subsections are merged into shorter prose. The three-point promotion bar, "never script judgment" and the routing options are kept.
    • Guardrails: the restated approval-gate bullet is replaced by a pointer to Step 5, which owns those gates. The "improved error handling" example is dropped.
    • Anti-rationalization rows: four rows are removed because the rules they restate already appear elsewhere in the skill (recall, diff over memory, "no id, no claim", org-store blast radius), plus the "quick run" repo-target row.
    • Kill criterion: the cold-start note and the "why redesigned" history are shortened. The bar, the exclusions and the human-verdict rule keep their meaning.
    • Prose that changed no behaviour: shortened in the intro, Step 0 triage, Step 1 and Step 7.
  • Removed from reference.md, and why: the approval paragraph is deleted because SKILL.md owns that gate, and the file said so itself. The intro and the stow-marking, memory_reflect and payload-size notes are shortened.

Overall: 34 lines added and 57 removed across the two files. Safety gates, memory routing, failure receipts, unattended-path rules and the report template keep their meaning.

🤖 Generated with Claude Code

Risk Assessment

✅ Low: The change only edits docs and is net negative (+34/−57). The four ideas are added concisely, and the safety gates, memory routing, unattended-path rules, the report path and the template are all still covered in Step 5 and Step 6; the deleted guardrail and anti-rationalization rows are each restated elsewhere.

Testing

There is no executable code or UI here, and no automated tests cover the skill, so I checked it by hand. I compared line counts between the base and target commits and confirmed the four ideas and the credit are present. I also checked that every gate rule cut from the Rules section (show the diff before CLAUDE.md edits, org-store approval, show feedback/user memories first) is still stated in Step 5's approval gates. Both files are net shorter and nothing found blocks the change. One limit: the requirement that the PR description lists what was removed and why can't be checked here, because the PR doesn't exist yet.

Evidence: Line-count diff and new-content check

Source: Line-count diff and new-content check

 .agents/skills/retrospective/SKILL.md     | 73 ++++++++++++-------------------
 .agents/skills/retrospective/reference.md | 18 +++-----
 2 files changed, 34 insertions(+), 57 deletions(-)
SKILL.md before:      276 after:      261
reference.md before:      108 after:      100
21:  its own work). Same as above: ask the questions, wait for the answers.
86:  Also note the repo's guardrails: a repo with no hook or CI job running its own lint, typecheck or tests is itself a finding, and so is an existing check that nothing runs. Read its check command first, so an unwired check is reported as unwired rather than as missing.
93:- **Information access** is its own category: places the session lacked a source it needed (read-only service access, logs, metrics) or was blocked from one. Record each with the receipt, e.g. an auto-mode production-read block, or a metric the monitoring tool does not carry. The fix is usually access, not a rule.
133:- **Mechanical** (a fixed syntactic pattern, banned API, import shape, file-location rule) -> a lint rule, pre-commit hook or CI job, routed as an Axis A artifact. Prose is the wrong enforcement.
134:- **Review-time** (a check that matters only when a change is judged) -> give it to the reviewer (review standards, a review skill) rather than the always-loaded file, which every session pays for.
137:**No-ops audit.** Scan the always-loaded steering files this session touched for instructions that did not change behaviour (no receipt, already enforced by a check, or only relevant in a nameable situation). Propose deleting them, or moving them to a skill, doc or review standard. Prefer pruning to adding.
138:This audit and any pruning go through the same show-diff-then-wait gate as every other `CLAUDE.md` edit in Step 5, and are left pending on the unattended path.
139:Classification, no-ops audit and information-access ideas adapted from Matt Pocock's `/retro`.
157:**Axis A artifacts are code changes** and follow the same discipline as any other edit. `CLAUDE.md`: show the diff, wait for an answer, then apply — amend an existing rule rather than appending a near-duplicate, link to the org store if it already documents the convention, and never write a rule into a repo this session did not touch. For `.claude/skills/`, `docs/`, `llm/kb/` and ADRs, each has its own contribution convention — see `reference.md`; hand ADRs to `adr-draft`.

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 1 info
  • ℹ️ .agents/skills/retrospective/SKILL.md:94 - Intent lists concrete information-access receipts (auto-mode production reads blocked pp-postgres and the wake drain; Datadog lacks per-instance RDS metrics for prod Aurora), but the new Step 3 bullet only gives generic examples ('an auto-mode production-read block, or a metric the monitoring tool does not carry'). Confirm whether the generic wording is enough, or whether the named receipts should appear in the skill (or only in the PR description).
✅ **Test** - passed

✅ No issues found.

  • git diff --stat cfa4ac9 9d853a6 plus line counts for SKILL.md and reference.md before and after
  • Grepped SKILL.md for the four new ideas (rule classification, guardrail/unwired-check finding, no-ops audit behind the show-diff-and-wait gate, giving checks to the reviewer, the information-access category) and the Pocock credit
  • Grepped the removed lines for safety keywords (never, wait, confirm, unattended, pending) and checked each removed gate rule is still stated in Step 5's approval gates, the unattended-path section or the report template
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Alan Domio and others added 3 commits October 7, 2026 10:15
… and information-access to /retrospective

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@alandomio
alandomio merged commit 1462b91 into main Oct 7, 2026
14 checks passed
alandomio added a commit that referenced this pull request Oct 7, 2026
…kers (#56)

* feat(bin): let the unchanged-pause rule absorb rechecks of exited workers

The deterministic unchanged-pause rule skipped a worker whose agent had exited,
so every parked, exited worker re-surfaced on each recheck. The rule now treats
an exited worker like a live one; captain-held transfers, changed rechecks and
the FM_PAUSE_REMIND_SECS reminder valve are unchanged. Jev and the legacy
absorb still skip exited workers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): Note exited-worker unchanged-pause absorption in architecture doc

* feat(bin): absorb an unchanged dead-agent wait recheck until the daily reminder (#58)

* feat(bin): absorb an unchanged dead-agent wait recheck until the daily reminder

An unchanged recheck of a declared pause or captain-held transfer whose worker had already exited at the last surface woke the supervising session every FM_PAUSE_RESURFACE_SECS, and almost all of them ended in a plain acknowledgement.
config/absorb-unchanged-pause now accepts an optional second line "daily": the rule then also absorbs that recheck, behind absorb_vetoed and counted in the absorption digest as source=rule, until FM_PAUSE_REMIND_SECS since the last surface.
The first recheck, any change of status, open decisions, liveness (alive to dead included) or pane text, and the daily reminder still surface at once; homes without the second line behave as before.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): docs: align absorb-unchanged-pause pointers with daily reminder

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* feat(skills): add rule classification, no-ops audit and information access to /retrospective, and prune it (#59)

* feat(skills): add rule-classification, no-ops audit, review placement and information-access to /retrospective

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(skills): credit /retro wording

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(skills): prune retrospective skill; net shorter than before

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* feat(bin): let the unchanged-pause rule absorb rechecks of exited workers

The deterministic unchanged-pause rule skipped a worker whose agent had exited,
so every parked, exited worker re-surfaced on each recheck. The rule now treats
an exited worker like a live one; captain-held transfers, changed rechecks and
the FM_PAUSE_REMIND_SECS reminder valve are unchanged. Jev and the legacy
absorb still skip exited workers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* no-mistakes(document): Note exited-worker unchanged-pause absorption in architecture doc

* fix(bin): let the daily reminder own exited-worker rechecks when it is on

After rebasing onto main's daily reminder, an exited paused wait could be absorbed
by the daily rule and then again by the unchanged-pause rule's own window, which
would stretch the reminder to twice its length. With the daily line set, the daily
rule now owns every exited-worker recheck; plain on keeps the unchanged-pause rule.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Alan Domio <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Alan Domio <[email protected]>
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