Skip to content

feat(prototype): add pressure-test vendor-fit mode and sandbox-only writes - #16554

Merged
kyle-sexton merged 4 commits into
mainfrom
feat/prototype-vendor-fit
Nov 16, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
feat/prototype-vendor-fit

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

No related issue: owner-decided change to the prototype plugin, made directly without a tracking issue

Summary

/prototype:pressure-test had no place for a call to an outside service: its pure-module rule kept every vendor call out. A new vendor-fit mode answers "does outside service X do Y for us" against the vendor's sandbox. /prototype:explore-directions stubbed 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 marked not driven and 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.md points at the rule.
  • Eval cases pt-vendor-fit-no-sandbox-key and ed-write-behavior-sandbox (each one judge grader plus one deterministic grader, with pass and fail samples), legacy evals.json entries 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 failed validate-plugins on a stale cheat sheet; after node scripts/generate-cheatsheet.mjs, scripts/validate-plugins.sh --only prototype ends All plugin manifests and the catalog validated. The pre-push check-affected hook 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) on pt-vendor-fit-no-sandbox-key and ed-write-behavior-sandbox, at 32cbd6077c's skill text: validity gate verdict: 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 the no-live-key-bash grader for running the adapter with a dummy PINGLY_LIVE_KEY value to show it refuses a production key; the real key was never read. Cost about 2.54 USD (list-price estimate).

Related

  • Plugin: plugins/prototype.

session: AI Hero

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits November 16, 2026 10:42
…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]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 16, 2026 15:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T15:49:13.590772Z 8f31c1e Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43900272395

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 32cbd6077c2567fd9d7b48b13ac07fbf6afdb837: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

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:

  • plugins/prototype/skills/explore-directions/SKILL.md
  • plugins/prototype/skills/pressure-test/SKILL.md

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 manifest lines. It also changes no skill frontmatter or allowed-tools.

Instruction-surface lens.

  • explore-directions, sandbox writes. The push adds "Reseed the sandbox records before each review pass, and remove them when the exercise ends." This adds a cleanup duty and removes no constraint. The sandbox-only, no-production, synthetic-data and env-only key rules around it are unchanged.
  • pressure-test, "Two shells". The push adds a rule at the top: vendor-fit always takes the terminal shell, ahead of the explicit-override and audience rules and without running the medium resolver. This tightens the rule. An HTML demo or page medium can no longer override the shell for a vendor-fit run, so no sandbox key can end up in a page that leaves the machine.
  • pressure-test, vendor-fit item 5. The push drops the restated reason and links to the new rule in "Two shells" instead. The rule is now stronger and in one place, so nothing it forbids was lost.

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 2 inline finding(s) on 8f31c1e8a08023af80e752f7d3b0deec08403c52; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 32cbd6077c2567fd9d7b48b13ac07fbf6afdb837: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

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: plugins/prototype/skills/explore-directions/SKILL.md and plugins/prototype/skills/pressure-test/SKILL.md.

What changed

  • pressure-test/SKILL.md: "Two shells" now opens with a rule that vendor-fit always takes the terminal shell. The rule comes ahead of the audience routing, the explicit override and the medium resolver. When an HTML demo or a page medium was asked for, the agent says so in one line and builds the terminal shell. Vendor-fit item 5 now points to that section instead of repeating the reason.
    • The rule says "ahead of every rule below", which makes it win over the "Explicit override wins both ways" bullet and the resolver step. That settles the conflict raised in the earlier finding.
    • The link #two-shells-tui-default matches the heading "Two shells. TUI default".
  • explore-directions/SKILL.md: sandbox writes now carry a clean-state rule: "Reseed the sandbox records before each review pass, and remove them when the exercise ends." It matches pressure-test's "Clean state includes the sandbox".

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]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 4ce45fc Nov 16, 2026
72 checks passed
@kyle-sexton
kyle-sexton deleted the feat/prototype-vendor-fit branch November 16, 2026 16:43
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant