Repository navigation
feat(planning): offer maintained optional planning plugins, install on yes - #12785
Conversation
…n yes The interview's one surface line now names an installed optional planner (html-plan, never required) and offers an optional plugin that is not installed, when its marketplace still lists it under that name and the newest commit on its source path is under 6 months old (the date shown past 3). offers/offerable.json lists the plugins; offers/offer-source.mjs does the lookups, cached 24 hours in plugin data (failures too). Any failure, and an unattended run, means no offer. On a yes the skill runs the offer's install command at user scope and points to /reload-plugins. The page lane's clauses in SKILL.md's gate sections and the exit codes section move to context/lane-page.md, so those sections name no surface value. Re-pinned digests (interview-defenses.test.sh): - Gates: 51a7dec11947 -> d963f5607040 - lane-page.md steps section (new): ae49eb827fea - Step 2: 84dd7366b274 -> abd084e635fc - Step 3: b078b836bde8 -> 077bbe3eb7c4 - Step 4: d81a5c609d8d -> daef77ba68a3 - Action Router: 298e9864e4f8 -> 8e376330c3c7 Why the defenses hold: the moved clauses are page-only wording; the procedure-check exception now applies only on a lane whose spoke says its restatement box offers commitment ticks, any other defect still halts, and the register gate still holds those rows. The lock row, STOP-on-gap, no-silent-resolve, fudge-prohibition, confirmation-gate and auto-guard lines are byte-identical to the branch point. The facts-field phrase pin follows its sentence to lane-page.md, whose new steps section is digested so an appended qualifier cannot widen the exception. The Gates twin says to re-read the lane spoke after a compaction. Closes #12660 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojdnckzkRQMdQRVNbt
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 734e3c3164
ℹ️ 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".
offers/offer-source.mjs runs `claude plugin list --json` to find installed plugins, and an offer's install command needs `claude plugin install --marketplace` (2.1.292+). Declare claude as an optional prerequisite of the interview skill so check-catalog's declared-prerequisites check passes. Refs #12660 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojdnckzkRQMdQRVNbt
The page clauses this PR moved out of SKILL.md's gate sections also live in context/surface.md, which the page lane reads beside lane-page.md. Pin those twins (the confirm-understanding wait, the full recap, the tick exception that still halts every other defect, and the --surface flag on the Brief cross-check) so an edit to surface.md cannot drop a gate the hub no longer states. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojdnckzkRQMdQRVNbt
|
claude-security-review reviewed Security review: PR #12785 (
|
|
claude-review reviewed Code review: PR #12785, offer optional planning plugins and install on a yes (#12660)No blocking or advisory findings. I read every hunk of all 18 changed files in the full diff. None of them matches a trusted-path glob. What I checked
Notes, not findings
Verification: I had no shell, so I ran no tests. The pass counts in the PR body (offer-source 15, surface-registry 16, interview-defenses 181/185) are the author's claims and unverified. Spend: at most two unauthenticated GitHub API requests per offerable plugin per 24 hours, on interview runs where no surface is set. That costs nothing. |
|
Unattended merge: risk MED at head |
Closes #12660
Summary
Slice 6 of epic #12646.
/planning:interviewcan now offer a maintained optional planning plugin and install it on a yes. Withsurfaceunset, the one surface line from #12658 also names an installed optional planner (html-plan, never required) and offers one that is not installed.Fix
plugins/planning/offers/offerable.jsonlists the plugins the interview may offer.offers/offer-source.mjsis the one module that looks them up: the marketplace catalog must still list the name (a renamed or removed plugin gets no offer), and the newest commit on the plugin's source path sets the offer: under 3 months a plain offer, 3 to 6 months an offer with the date, older none. Each lookup is cached 24 hours in plugin data, a failed one too, and any failure means no offer. Installed plugins come fromclaude plugin list --json; without it there is nothing to install with, so no offer.surfaces/registry.mjs resolvetakes--data-dirand--unattended, looks offers up only when the default surface's line will print, and addsplannersandoffersto its JSON. An unattended run looks nothing up. On a yes the skill runs the offer'sclaude plugin install <name> --marketplace <repo> --scope userand points to/reload-plugins.SKILL.md(the Brief cross-check's--surfaceflag and its Gates twin, where the confirmation gate is shown, the facts-field citation, the full recap, the procedure-check exception's tick rows, the terminal-lane wording, the share row's "a page") and the "Page surface exit codes" section move tocontext/lane-page.md. The Step 3 exception now applies only on a lane whose spoke says its restatement box offers commitment ticks; any other defect still halts.interview-unattended-no-plugin-offer; changelog fragment for planning.Acceptance criteria
From the plan Brief (planning-chain-consolidation, Phase 6):
Verification
plugins/planning/tests/offer-source.test.sh: 15 tests pass, against recorded catalog and commit responses (no network). Sabotage checks: a 4-month threshold, a dropped unattended check and--scope projecteach turned a test red.plugins/planning/tests/surface-registry.test.sh: 16 tests pass, including the planner-in-line, offer-in-line and the new "gate sections name no surface value" test, which fails on the baseSKILL.md.interview-defenses.test.sh: PASS=181. Re-pinned Gates, Action Router, Steps 2-4, plus a new digest over lane-page.md's steps section (appending ", or on any lane" to the exception turned it red). The lock row, STOP-on-gap, no-silent-resolve, fudge-prohibition, confirmation-gate and auto-guard lines are byte-identical to the branch point.validate-cases.pyonplugins/planning/evals: no FAIL; no model evals run.Related
SKILL.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01VcupojdnckzkRQMdQRVNbt
session: html-plan