Skip to content

Commit aac921d

Browse files
kyle-sextonclaude
andauthored
feat(session-flow): replace the detached observer with a live-check mod and catch-up (#18976)
Refs: #18959 ## Summary The session-flow observer becomes a hooks module with live checks plus a session-start catch-up, and the detached 24-hour transcript tailer is retired in the same change (ADR 0052, one implementation per behavior). This leaves #18959 open for its last acceptance criterion: measuring the end-of-turn trigger's cost on one real working session before choosing its default. ## Fix - **Live checks** (`plugins/session-flow/hooks/register.tsx`, logic in `observer-live.ts`): on the main thread, every 6th model step of a turn (`observer_step_check`, default on), and at the end of each tool-using turn when `observer_turn_end_check` is on (default off until measured). A check is a `$.model.fork` with only a prompt, so it has no tools and no transcript. It runs one at a time per session; a reply that arrives after the next turn started, or after the session ended, is dropped as stale. The prompt allows four categories (process, decision, verification, instruction), requires a cited rule, and defaults to `finding: none`. A finding is redacted with `$.session.redact`, appended to the session's running-retro ledger, and shown as a band row: `1` Send to Claude (`$.prompt.fill`, append), `2` Noted, `3` Dispute, `0` Dismiss. Seen and disputed findings persist across sessions in `$.store` and are suppressed. Findings typed past back off the next checks 1, 2, 4, 8, then 16. Each check's outcome and token usage is appended to `<plugin data>/session-flow-observer/live-<session>.jsonl`. - **Catch-up**: `hooks/observer-arm.sh` becomes `hooks/observer-catchup.sh`. At an interactive start it launches `observer.py` one-shot, detached, for up to 2 ended sibling sessions, newest first. A session qualifies when it has been idle at least `observer_idle_seconds`, changed within 3 days, has no live-check file, no ledger, and has grown past its stored offset. `observer.py` no longer tails; it reads once from the stored offset, analyzes with the existing headless run, and exits. `observer_poll_seconds` and `observer_max_seconds` are removed. With `observer_analysis_enabled` off, no catch-up runs. - **Retired**: `/session-flow:running-retro arm` and `/plugin-quality:audit arm` (nothing to arm). - **Design notes**: - The catch-up stays a SessionStart settings hook rather than a `$.process.run` from the module. The hook already has the self-trigger guards, the platform shim and the Python probe. A probe showed that either launcher outlives its session (Claude Code 2.1.332: a `setsid -f` child of a mod's `$.process.run` in a `claude -p --plugin-dir` run kept running 41 s after exit). - Live checks run only in interactive sessions and never under `SESSION_FLOW_OBSERVER_ANALYSIS`. Headless lanes get the catch-up. - Docs: `reference/observer.md` rewritten, README, setup and running-retro skills, plugin-quality session mode, options table and cheat sheet regenerated. `engines["claude-code"]` is `>=2.1.331`, the CI pin. ## Verification - `claude plugin test plugins/session-flow`: 18 pass. The tests cover the step trigger on steps 6 and 12 of the main thread only; no second check while one is in flight; stale replies dropped; the turn-end trigger off by default, on for tool-using turns, skipped on aborts; a ledger plus band finding, with Send filling the prompt; nothing filled without Send; cross-session dedup; Dispute; backoff; redaction; usage recording; and off unless enabled or in the analysis run. - `test_observer.py` (pytest 9.2.0): 104 passed, 36 subtests. It covers one-shot analysis, no re-analysis past the stored offset, catch-up selection (the current session, too fresh, too old, a live marker, an existing ledger, already analyzed, the cap of 2), the lock, and every hook guard, including analysis off. The worker applied 18 single-line mutations and each failed the suite. - `validate-plugins.sh --only "session-flow plugin-quality"`: all manifests validated, all mod tests passed. ## Remaining - #18959 AC8: run one working session with both triggers on, read per-check usage and checks per hour from `live-<session>.jsonl`, and report them so the owner decides the end-of-turn default. This needs the released plugin in a real interactive session. ## Related - #18951 (observer size floor and run usage, which the catch-up keeps). - Live-checked sessions get no `plugin_usage` stamp until an in-session checkpoint runs. `/plugin-quality:audit session` already falls back to asking for one. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent 0215bef commit aac921d

28 files changed

Lines changed: 1732 additions & 1212 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
bump: major
3+
---
4+
5+
### Removed
6+
7+
- The `/plugin-quality:audit arm` entry. The session-flow observer runs by itself when session-flow's `observer_enabled` is on, so `arm` now launches nothing and says so.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
bump: major
3+
---
4+
5+
### Added
6+
7+
- The session observer is now a hooks module plus a catch-up. With `observer_enabled` on, a live check runs on every 6th model step of a long turn: a no-tools fork of the main conversation that reports at most one process fault tied to a written rule or owner decision. A finding goes to this session's running-retro ledger and to one row above the prompt (`1` Send to Claude, `2` Noted, `3` Dispute, `0` Dismiss); nothing reaches the conversation unless sent. Repeats across sessions and disputed findings are suppressed, ignored findings back off, and each check's token usage is recorded in a per-session file under the plugin data folder.
8+
- `observer_step_check` (default on) and `observer_turn_end_check` (default off until its cost is measured) choose the live triggers.
9+
- At each interactive session start, a SessionStart hook analyzes up to two ended sessions that got no live checks, such as headless lanes, with the existing headless analysis.
10+
- The plugin now declares `engines["claude-code"]` `>=2.1.331`.
11+
12+
### Changed
13+
14+
- If you already turned `observer_enabled` on, this update starts the live step checks in your interactive sessions, which use your session's model usage. Set `observer_step_check` off to keep only the catch-up.
15+
16+
### Removed
17+
18+
- The detached transcript tailer that polled each session for up to 24 hours, with `observer_poll_seconds` and `observer_max_seconds`. `observer_idle_seconds` now sets how long a transcript must be unchanged before the catch-up treats its session as ended.
19+
- The `/session-flow:running-retro arm` action: the observer needs no arming.

‎docs/skill-cheat-sheet.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ From the stage definitions: A conditional stage runs only when its trigger holds
201201
| [`/harness-ops:audit-mod-posture`](../plugins/harness-ops/skills/audit-mod-posture/SKILL.md) | `harness-ops` | Inventory installed and built-in mods with their hooks and calls, and the guard state | | `[--builtin-json <inventory-report>] [--project <dir>] [--surface desktop]` | | `/harness-config:audit-permission-state` |
202202
| [`/mcp-tools:audit`](../plugins/mcp-tools/skills/audit/SKILL.md) | `mcp-tools` | Audit MCP tool definitions against design quality criteria | | `[path]` | | |
203203
| [`/mcp-tools:audit-posture`](../plugins/mcp-tools/skills/audit-posture/SKILL.md) | `mcp-tools` | Inventory configured MCP servers and flag floating versions and other supply-chain risks | | `[--config <file> ...]` | | `/harness-config:audit` |
204-
| [`/plugin-quality:audit`](../plugins/plugin-quality/skills/audit/SKILL.md) | `plugin-quality` | Behavioral audit of a plugin component ending in a maintainer work item | `session`, `arm` | `[<plugin>[:<component>]...\|session\|arm]` | | `/work-items:work` |
204+
| [`/plugin-quality:audit`](../plugins/plugin-quality/skills/audit/SKILL.md) | `plugin-quality` | Behavioral audit of a plugin component ending in a maintainer work item | `session` | `[<plugin>[:<component>]...\|session]` | | `/work-items:work` |
205205
| [`/review:code-review`](../plugins/review/skills/code-review/SKILL.md) | `review` | Org CI code-review lane command for a GitHub pull request | | | | |
206206
| [`/review:council`](../plugins/review/skills/council/SKILL.md) | `review` | Configurable reviewer panel chosen per change, with optional fix rounds | | `[--yes] [--unattended]` | | `/review:fanout`, `/verification:confirm` |
207207
| [`/review:explain-change`](../plugins/review/skills/explain-change/SKILL.md) | `review` | Change digest for a pull request, markdown record plus an interactive view | `pr-number` | `[pr-number\|this branch] [--event ready] [--policy off\|offer\|always] [--quiz]` | | `/review:quality-gate`, `/review:reviewer-media` |
@@ -237,7 +237,7 @@ From the stage definitions: A conditional stage runs only when its trigger holds
237237
| [`/session-flow:audit-friction`](../plugins/session-flow/skills/audit-friction/SKILL.md) | `session-flow` | Mine sessions for permission and autonomy friction and end in one decision brief | | `[remeasure] [--days <n>] [--project <text>] [--source <dir>] [--verify consequential\|full\|probes]` | | `/session-flow:audit-friction` |
238238
| [`/session-flow:audit-sessions`](../plugins/session-flow/skills/audit-sessions/SKILL.md) | `session-flow` | Cross-session audit of transcripts with routed, never-applied findings | `sweep`, `pr`, `trends` | `[sweep\|pr\|trends…] [--scope machine\|project] [--since <day>] [--until <day>] [--write-report]` | [pstack `automate-me`](upstream/cursor-pstack.md#attribution-table) | `/corrections:codify`, `/session-flow:audit-friction` |
239239
| [`/session-flow:retro`](../plugins/session-flow/skills/retro/SKILL.md) | `session-flow` | Structured session retrospective with codified learnings | `session`, `quick`, `ci-runs` | `[session [--pattern '<regex>']\|quick\|ci-runs <run>…] [--sink <dir>] [--unattended]` | [Pocock `retro`](upstream/mattpocock-skills.md#attribution-table), [Pocock `chief-of-staff`](upstream/mattpocock-skills.md#attribution-table) | `/corrections:codify`, `/session-flow:audit-sessions`, `/session-flow:recommend-skills` |
240-
| [`/session-flow:running-retro`](../plugins/session-flow/skills/running-retro/SKILL.md) | `session-flow` | In-flight retro checkpoint appended to a running ledger | `topic`, `arm` | `[topic\|arm]` | [Pocock `retro`](upstream/mattpocock-skills.md#attribution-table) | `/session-flow:retro` |
240+
| [`/session-flow:running-retro`](../plugins/session-flow/skills/running-retro/SKILL.md) | `session-flow` | In-flight retro checkpoint appended to a running ledger | | `[topic]` | [Pocock `retro`](upstream/mattpocock-skills.md#attribution-table) | `/session-flow:retro` |
241241

242242
## Ship: PR lifecycle (after stage 11)
243243

‎plugins/plugin-quality/README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ their repo mid-session.
1616
5. Optional review integrations, used only when present and each with a stated fallback, including a research gate: a claim or
1717
remediation without a checked research line is emitted as `needs-decision`, never `agent-ready`.
1818
6. Emit to the resolved sink behind an unconditional draft+confirm gate.
19-
Two further modes, both operator-invoked only: `/plugin-quality:audit session` discovers the
19+
One further mode, operator-invoked only: `/plugin-quality:audit session` discovers the
2020
plugins and skills the session used (from its `session-flow` running-retro ledger), confirms the list with
21-
you, and audits the union; `/plugin-quality:audit arm` starts the `session-flow` running-retro
22-
observer at session start. A finding with no session artifact is listed as `unfiled`, and a
21+
you, and audits the union. A finding with no session artifact is listed as `unfiled`, and a
2322
suggested change is filed agent-ready only after a research pass, otherwise as needs-decision.
2423
`/session-flow:workflow` offers the `session` mode at wrap-up when a plugin skill ran.
2524
- **Auditor agent** (`agents/auditor.md`), the fresh-context specialist for steps 2–3. Tools:

‎plugins/plugin-quality/evals/pq-session-lists-and-waits/session-flow-stub/skills/running-retro/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Mid-session retro checkpoint: a subagent files findings from the transcript so far into a running ledger, never applied; `arm` runs it after the session ends. Use when: 'running retro', 'watch this session in the background', or on a /loop."
3-
argument-hint: "[topic|arm]"
2+
description: "Mid-session retro checkpoint: a subagent files findings from the transcript so far into a running ledger, never applied. Use when: 'running retro', 'checkpoint this session', or on a /loop."
3+
argument-hint: "[topic]"
44
user-invocable: true
55
disable-model-invocation: false
66
---

‎plugins/plugin-quality/evals/pq-session-no-capability-stops/case.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ graders:
2424
arm: both
2525
- name: names-by-name-form
2626
type: regex
27-
pattern: '/?plugin-quality:audit[`*]*\s+[`*]*(?!(?:session|arm)\b(?!-))[\\<]*[\w-]+[\\>]*\[?:[\\<]*[\w-]+|/?plugin-quality:audit\b[^\n]{0,60}<plugin>|by name[^\n]{0,60}plugin-quality:audit|plugin-quality:audit[^\n]{0,60}by name'
27+
pattern: '/?plugin-quality:audit[`*]*\s+[`*]*(?!session\b(?!-))[\\<]*[\w-]+[\\>]*\[?:[\\<]*[\w-]+|/?plugin-quality:audit\b[^\n]{0,60}<plugin>|by name[^\n]{0,60}plugin-quality:audit|plugin-quality:audit[^\n]{0,60}by name'
2828
flags: 'i'
2929
target: last_message
3030
arm: both

‎plugins/plugin-quality/evals/pq-session-no-usage-artifact-stops/session-flow-stub/skills/running-retro/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Mid-session retro checkpoint: a subagent files findings from the transcript so far into a running ledger, never applied; `arm` runs it after the session ends. Use when: 'running retro', 'watch this session in the background', or on a /loop."
3-
argument-hint: "[topic|arm]"
2+
description: "Mid-session retro checkpoint: a subagent files findings from the transcript so far into a running ledger, never applied. Use when: 'running retro', 'checkpoint this session', or on a /loop."
3+
argument-hint: "[topic]"
44
user-invocable: true
55
disable-model-invocation: false
66
---

‎plugins/plugin-quality/skills/audit/SKILL.md‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
description: "Post-use behavioral audit of a Claude Code plugin component, a skill, agent, hook, command, or config, after using or setting it up, ending in a work item emitted to the plugin's maintainers. Covers errors, improvements, and quality of life for each audited component. Use when vetting, reviewing, stress-testing, or hardening a plugin component, when the ask is 'audit this plugin/skill/hook', 'review this plugin component', 'vet this plugin', 'is this plugin (or hook) well-designed', 'find bugs or gaps in this plugin', right after invoking a plugin skill/command and wanting to check whether it behaves correctly and is well-architected, after setting up a plugin and wanting to review it, or when producing a handoff/work item for plugin maintainers. Not for: static skill QA in isolation (skill-quality:check), general code review (review), or MCP-server audits (mcp-tools:audit, when installed)."
3-
argument-hint: "[<plugin>[:<component>]...|session|arm]"
3+
argument-hint: "[<plugin>[:<component>]...|session]"
44
user-invocable: true
55
disable-model-invocation: false
66
metadata:
77
workflow-stage: review
88
summary: Behavioral audit of a plugin component ending in a maintainer work item
99
---
1010

11-
**Arguments.** `[<plugin>[:<component>]...|session|arm]`. One or more plugins, or a phrase naming several (e.g. source-control:commit, or guardrails). `session` and `arm` are whole arguments, never combined with a target; see [Session mode and arm](#session-mode-and-arm-operator-invoked-only).
11+
**Arguments.** `[<plugin>[:<component>]...|session]`. One or more plugins, or a phrase naming several (e.g. source-control:commit, or guardrails). `session` is a whole argument, never combined with a target; see [Session mode](#session-mode-operator-invoked-only).
1212

1313
# Plugin audit
1414

@@ -160,15 +160,12 @@ sanitizes to a slug matching no directory the run ever created, so a post-compac
160160
re-derives the slug from the argument concludes the findings are missing from a run that wrote
161161
several packets.
162162

163-
## Session mode and arm (operator-invoked only)
163+
## Session mode (operator-invoked only)
164164

165-
Two more entries to this same audit, not new skills. No hook starts either and the model never
166-
selects one; a model that thinks a session earns the pass offers it in one line and waits. Read
167-
[`reference/session-mode.md`](reference/session-mode.md) before running either.
165+
One more entry to this same audit, not a new skill. No hook starts it and the model never
166+
selects it; a model that thinks a session earns the pass offers it in one line and waits. Read
167+
[`reference/session-mode.md`](reference/session-mode.md) before running it.
168168

169-
- **`arm`**, at session start: invoke `/session-flow:running-retro arm` (if enabled) when session-flow is
170-
enabled (absent: say the observer cannot be armed here and stop), then record the armed state
171-
in this plugin's data directory. Nothing is audited.
172169
- **`session`**, at session end: read `plugin_usage` from the session's running-retro ledger,
173170
session-flow's documented artifact (no ledger or no key: tell the operator to run
174171
`/session-flow:running-retro` (if enabled) and re-run, never a second parser), show the discovered plugin and
@@ -459,7 +456,7 @@ the gate does not cover, because it produces no external effect; there is still
459456
460457
## What this composes
461458

462-
This audit calls, and replaces none of: `/session-flow:running-retro` (if enabled) (`arm`, and the ledger
459+
This audit calls, and replaces none of: `/session-flow:running-retro` (if enabled) (the ledger
463460
`session` reads), `/discovery:research` (if enabled) (the research gate), `skill-quality:check`,
464461
`review:fanout` / `review:quality-gate`, and the role-resolved seams of step 5. Each is used
465462
presence-gated with the fallback stated where it is invoked. Every one keeps its own owner and
@@ -490,7 +487,7 @@ record in [evidence-packet.md](reference/evidence-packet.md#layout-and-files).
490487
| `reference/evidence-packet.md` | Before step 1 writes the packet, and before any step reads it. |
491488
| `reference/categories.md` | Before step 2 writes findings, and before step 3 grades the ledger. |
492489
| `reference/recurring-concerns.md` | Every audit, walked before finalizing findings: the design-failure checklist (silent bypass surfaces, enforcement scope/tiers including a claimed property the producer can break, SSOT/drift, coupling, cross-platform, escape hatches, observability). |
493-
| `reference/session-mode.md` | Running `session` or `arm`, applying the evidence bar or research gate, or resolving step 5's role seams. |
490+
| `reference/session-mode.md` | Running `session`, applying the evidence bar or research gate, or resolving step 5's role seams. |
494491
| `reference/component-types/hook.md` | Auditing a hook (PreToolUse/PostToolUse/lifecycle). |
495492
| `reference/component-types/skill-component.md` | Auditing a skill (frontmatter, disclosure, triggering). |
496493
| `reference/component-types/agent.md` | Auditing an agent/subagent definition. |

‎plugins/plugin-quality/skills/audit/evals/evals.json‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,16 +219,15 @@
219219
},
220220
{
221221
"id": 17,
222-
"name": "arm-starts-observer-and-records-armed-state",
222+
"name": "arm-is-not-an-action",
223223
"prompt": "Start of a new session. Run /plugin-quality:audit arm.",
224-
"expected_output": "The audit invokes /session-flow:running-retro arm, and when the launcher reports the observer armed writes an armed-state file in the plugin data dir beside evidence/ with armed_at, session_id and the launcher's result. It audits nothing. If the file already exists it reports that and stops; if session-flow is absent it says the observer cannot be armed and stops.",
224+
"expected_output": "arm is not an argument of this audit. The audit says the session-flow observer needs no arming: it runs by itself when session-flow's observer_enabled option is on. It launches nothing, writes nothing, audits nothing, and stops.",
225225
"files": [],
226226
"expectations": [
227-
"Invokes /session-flow:running-retro arm rather than building its own observer",
228-
"Records the armed state (armed_at, session_id, launcher result) in the plugin data dir, outside the evidence packet tree",
229-
"Does not audit any component or start the pipeline",
230-
"Does not launch a second observer when an armed-state file already exists for the session",
231-
"Writes nothing when the launcher reports it did not arm, and relays the launcher's message"
227+
"Says the session-flow observer needs no arming and runs by itself when observer_enabled is on",
228+
"Does not invoke /session-flow:running-retro or launch any observer or background process",
229+
"Writes no armed-state or other file",
230+
"Does not audit any component or start the pipeline"
232231
]
233232
},
234233
{

‎plugins/plugin-quality/skills/audit/reference/session-mode.md‎

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,28 @@
1-
# Session mode, arm, evidence bar, research gate, review seams
1+
# Session mode, evidence bar, research gate, review seams
22

33
The bulk behind the short pointers in [`../SKILL.md`](../SKILL.md). Every entry here feeds the
44
existing pipeline; none adds a step.
55

66
## Contents
77

88
- [Entry rules](#entry-rules)
9-
- [`arm`](#arm)
109
- [`session`](#session)
1110
- [Evidence bar](#evidence-bar)
1211
- [Research gate](#research-gate)
1312
- [Review seams by role](#review-seams-by-role)
1413

1514
## Entry rules
1615

17-
- `session` and `arm` run only when the operator types them. No hook starts either, no schedule
18-
does, and the model never selects one. A model that judges a session worth the pass says so in
19-
one line and waits; it does not run the mode.
20-
- Each is a whole argument. Beside any other token, stop and name the accepted set
21-
(`<plugin>[:<component>]`, `session`, `arm`); never guess which one was meant.
16+
- `session` runs only when the operator types it. No hook starts it, no schedule does, and the
17+
model never selects it. A model that judges a session worth the pass says so in one line and
18+
waits; it does not run the mode.
19+
- It is a whole argument. Beside any other token, stop and name the accepted set
20+
(`<plugin>[:<component>]`, `session`); never guess which one was meant.
21+
- `arm` is not an argument: the session-flow observer needs no arming. Say it runs by itself
22+
when session-flow's `observer_enabled` is on, launch nothing, and stop.
2223
- Nothing here changes step 6. An unattended `session` run falls to rung 4 like any other
2324
unattended run.
2425

25-
## `arm`
26-
27-
Run at session start. It audits nothing.
28-
29-
1. If `<plugin-data-dir>/armed/<session_id>.json` already exists, report it and stop before any
30-
launch; never start a second observer for one session. `<plugin-data-dir>` and `<session_id>`
31-
resolve exactly as the evidence packet's layout resolves them.
32-
2. Invoke `/session-flow:running-retro arm` when the session-flow plugin is enabled. Absent:
33-
say the observer cannot be armed here and stop. Do not build a substitute observer.
34-
3. When the launcher reports the observer armed, write that file with `armed_at` (UTC),
35-
`session_id`, and the launcher's one-line result verbatim. The directory sits beside
36-
`evidence/`, never under it, so retention and the resume rule never read it as a packet.
37-
4. If the launcher reports it did not arm, write nothing and relay its message.
38-
39-
The observer files its findings into the session's running-retro ledger only after the session
40-
ends, so a `session` run inside the live session does not find them from the observer.
41-
4226
## `session`
4327

4428
Run at session end, over what the session used.
@@ -54,9 +38,10 @@ Run at session end, over what the session used.
5438
skill invocations only, because `plugin_usage` counts skills and attributes no hook run to a
5539
plugin. No ledger, or no such key: tell the operator to run
5640
`/session-flow:running-retro` and re-run this mode, name the by-name form above, and stop, with
57-
no second parser: no count over the transcript by any tool. An
58-
armed observer writes the ledger only after the session ends, so inside the live session the
59-
key comes from a checkpoint.
41+
no second parser: no count over the transcript by any tool. With
42+
session-flow's `observer_enabled` on, live checks write the ledger during the session but do
43+
not stamp `plugin_usage`, and a later session start's catch-up stamps it only for a session
44+
that got no live checks, so inside the live session the key comes from a checkpoint.
6045
3. **Build the list.** One row per used skill (`<plugin>:<skill>`, count), ordered by count. Drop
6146
this audit's own row unless the operator adds it back. A plugin whose hooks ran but whose
6247
skills did not is added by hand at the confirm step.

0 commit comments

Comments
 (0)