Repository navigation
feat(prototype): add pressure-test vendor-fit mode and sandbox-only writes - #16554
Conversation
…rites /prototype:pressure-test gains a vendor-fit mode for "does outside service X do Y for us". The logic module stays pure; a thin adapter behind the app's own port is the only file that calls the vendor's sandbox, with sandbox keys from the environment and synthetic records only. The terminal shell shows each check passing or failing, and the durable note records the verdict. /prototype:explore-directions keeps every write stubbed by default and allows a sandbox-only write when the question names that write's behavior, stated at the top of the prototype, on the real stack only. New eval cases pt-vendor-fit-no-sandbox-key and ed-write-behavior-sandbox, plus legacy evals.json entries. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis 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: 8f31c1e8a0
ℹ️ 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".
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: PR #16554, incremental (8f31c1e → 32cbd60)I found no security issues in this push. Because this lane already reviewed an earlier head, this review was blocking only: it reports only CRITICAL and IMPORTANT findings. Scope. I read every hunk of both files listed for this push:
Neither file matches a trusted-path glob. The push changes no workflow, action, token request, trusted-actor list, merge hold or plugin manifest, so there are no Instruction-surface lens.
Settled threads and prior findings. Both settled threads (owner decisions, lines unchanged since resolution) are the points this push fixes, and I am not raising them again. This lane's earlier summary had 0 findings, so nothing carries over. critical-findings: 0 |
|
claude-review reviewed Incremental review: 8f31c1e..32cbd60 (blocking only)This lane already reviewed an earlier head, so this pass reports blocking findings only. I read the whole incremental change in both files: What changed
Both of this lane's earlier advisory findings were addressed in this push, and the owner's replies settle both threads. Neither is raised again. No new blocking findings. No plugin manifest changed, so there are no manifest lines. No embedded instructions turned up in the PR context, the settled threads or the prior findings. Verifier dropped 0 of 0 candidates. |
…leanup pressure-test's "Two shells" routing now opens with vendor-fit taking the terminal shell ahead of the explicit override and the medium resolver, with a one-line note when an HTML demo was asked for. explore-directions reseeds sandbox records before each review pass and removes them when the exercise ends. Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: owner-decided change to the prototype plugin, made directly without a tracking issue
Summary
/prototype:pressure-testhad no place for a call to an outside service: its pure-module rule kept every vendor call out. A newvendor-fitmode answers "does outside service X do Y for us" against the vendor's sandbox./prototype:explore-directionsstubbed every write with no exception, so a question about how a vendor's write behaves (a "mark all", paging) could not be answered; it now allows a sandbox-only write for that case, with stubs still the default.Fix
pressure-test/SKILL.md: new section "Vendor-fit: does an outside service do it". The logic module stays pure; a port in the app's terms sits beside it; a thin adapter is the only file that calls the vendor's sandbox, with a sandbox key read from the environment, synthetic records only, never production credentials or regulated data. With no sandbox key, live checks are markednot drivenand the run asks for one. "Two shells" opens with vendor-fit taking the terminal shell ahead of the explicit override and the medium resolver. The terminal shell shows each check passing or failing, clean state includes the sandbox, and the note records the verdict with the run date. Argument hint, description trigger, decision table, module/shell split table and an anti-pattern row updated.explore-directions/SKILL.md: "Writes are stubbed by default" paragraph. A write may go to the vendor's sandbox only when the question names that write's behavior, declared in the plan line, the mount block's fence comment and each calling variant file; its sandbox records are reseeded before each review pass and removed when the exercise ends. The mockup's CSP stays as is, so a sandbox write needs the real stack. "Synthetic data only" is unchanged.reference/data-controls.mdpoints at the rule.pt-vendor-fit-no-sandbox-keyanded-write-behavior-sandbox(each one judge grader plus one deterministic grader, with pass and fail samples), legacyevals.jsonentries in both skills, README, regenerated cheat sheet, changelog fragment (minor).The mode's name is
vendor-fit(/prototype:pressure-test vendor-fit <scope>).Verification
plugins/skill-quality/scripts/check-skill.sh plugins/prototype/skills:3 passed, 0 failed(pressure-test description 847/1024; explore-directions 479/500 lines, description untouched).python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/prototype/evals: no FAIL; the new cases carry only the WARNs every existing case carries.scripts/check-affected.sh --tests: first run failedvalidate-pluginson a stale cheat sheet; afternode scripts/generate-cheatsheet.mjs,scripts/validate-plugins.sh --only prototypeendsAll plugin manifests and the catalog validated.The pre-pushcheck-affectedhook passed.scripts/check-changelog-fragments.sh --check: valid.claude plugin eval(Claude Code 2.1.325, model claude-opus-5-5, judge opus, 3 runs per arm) onpt-vendor-fit-no-sandbox-keyanded-write-behavior-sandbox, at32cbd6077c's skill text: validity gateverdict: VALID(one warning: no skill-fired grader). With-arm pass count 2 of 2 at threshold 0.8; without-arm 0 of 2. Noise report:verdict: n too small to call(2 cases; 3 or more are needed), so no gain is claimed. Judge votes unanimous in every run; both judge graders calibrated first at 100% agreement (one sample each untested). One with-arm vendor-fit run lost theno-live-key-bashgrader for running the adapter with a dummyPINGLY_LIVE_KEYvalue to show it refuses a production key; the real key was never read. Cost about 2.54 USD (list-price estimate).Related
plugins/prototype.session: AI Hero
🤖 Generated with Claude Code