Repository navigation
fix(plugin-quality): read plugin_usage from the running-retro ledger - #11453
Conversation
Session mode searched installed plugins for session-flow's parser and ran it by path, which the plugin philosophy forbids. session-flow now stamps plugin_usage into the ledger frontmatter at each checkpoint and documents the ledger as an artifact, and session mode reads that key. With no ledger or no key it tells the operator to run a checkpoint and re-run. Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Incremental review of The change is two prose edits:
The auditor's tool list (Read/Grep/Glob/WebFetch plus Bash) and its stated Bash purpose are unchanged. The README is not an instruction surface, and the diff removes no guardrail. It touches no trust control, manifest, workflow or script. Skip gate 2 applies: this change has no security-relevant surface. The other 14 files are unchanged since the last review and I did not re-review them. critical-findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5b6f775521
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-review reviewed Incremental review of |
A failed write truncated the ledger, so a failed stamp could lose findings; the stamp now writes a sibling file and replaces the ledger only on success. It also parses with the single-session form, which reads no other transcript. Refs: #5819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Three outcome cases for `/plugin-quality:audit session`: the list and its confirmation stop, the missing session-flow stop, and the missing usage record stop. Run them from the plugins directory with `--eval-dir plugin-quality/evals`, because the list case loads session-flow from a sibling path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… test Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane-Activity: pr-refine/fix-docs
Post-merge mutation testingKilled 5, survived 2, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Refs: #5819
Summary
/plugin-quality:audit sessionsearched installed plugins for session-flow's parser and ran it by path, which the plugin philosophy forbids. This builds the owner's recorded option (b): session-flow publishesplugin_usagein the running-retro ledger frontmatter, with the schema the parser emits, and session mode reads it from there.Fix
stamp_plugin_usage.pyin session-flow runs the retro parser and replaces the ledger's one-lineplugin_usagefrontmatter key. Both writers call it: step 4 of the in-session checkpoint, and the observer after each append. A failed stamp leaves the ledger as it was and never costs the findings.running-retrodocuments the ledger's path, name glob andsession_idandplugin_usagekeys as a public artifact.session-mode.mdsteps 1 and 2 read the ledger instead of locating a script. With session-flow absent it reports the missing capability and the by-name form; with no ledger or no key it tells the operator to run/session-flow:running-retroand re-run, the acceptance reading the owner's decision set.Verification
test_observer.py: 87 tests pass, including new tests that a second append replaces the stamp with the whole session's count and that an unstamped append keeps its findings.scripts/check-affected.sh --testson the committed head: 14 passed, 2 skipped; the two selected suites went to their CI lanes, sotest_observer.pywas run directly.claude plugin evalfor the running-retro and plugin-quality skill text (this lane's eval slot is held by another worker); a live/plugin-quality:audit sessionrun.Related
N/A
Remaining
🤖 Generated with Claude Code