Skip to content

feat(runner): add a read-only Devin provider with SWE-2 and SWE-1.6 (#69) - #183

Merged
mergify[bot] merged 5 commits into
mainfrom
feat/69-devin-provider
Oct 14, 2026
Merged

mergify[bot] merged 5 commits into
mainfrom
feat/69-devin-provider

Conversation

@ericlitman

@ericlitman ericlitman commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Registry unit U5 (#69): a read-only Devin provider with SWE-2 and SWE-1.6, built from captures of the real Devin CLI (3000.10.21).

 runner/registry/
~  contract.ts, family.ts, index.ts   # Lane.cliModel, an effort-to-model-ID map, launch.supports, an optional provider sidecar, an inconclusive preflight verdict
~  providers.ts, models.ts            # + devin; + swe-2 (medium|high|max -> swe-2-<effort>) and swe-1.6 (default -> swe-1-6), optional
 runner/providers/
+  devin.ts, devin.test.ts, fixtures/devin/*   # sanitized capture shapes
~  shared.ts (base env allowlist), adapter-suite.ts, claude.ts, codex.ts, grok.ts
~  run.ts                             # reserves <receipt>.provider/ (0700) with a run-owned lockdown config (0600); reads the export after exit
 references/model-catalog.md          # regenerated: Devin routes, read-only access, notes
 references/provider-dispatch.md, setup-pstack/SKILL.md, docs/reference.md
 .claude/skills/verify-open-pstack/   # ROUTE and descriptor patterns accept any provider; setup read-only-provider case; catalog Devin lane

What the captures changed from the design:

  • Devin's --sandbox forces its autonomous mode and lets shell commands write in the cwd, so read-only is --permission-mode auto without --sandbox. No mode is a bounded writer, so launch.supports is ["read-only"], and an isolated-write lane is refused before launch.
  • Devin loads the host's CLAUDE.md, MCP servers, web search and subagents by default, and no flag turns them off. Each lane gets a fresh --config lockdown file, which Devin rewrites.
  • The reply and the model proof come from the --export ATIF file, not stdout. Stdout can open with a first-use banner.
  • devin auth status exits 0 when logged out, so the preflight reads stdout.

Setup refuses a read-only-only provider for every writer role: the four playbook roles, hardest tasks, arena runners, architect runners and swarm workers. A live setup case, writer-refusal, proves the refusal.

Head 2 also refuses a Devin lane whose cwd, or any parent up to the git root, holds .devin/. A project's .devin/config.json, config.local.json and mcp_config.json can define hooks, permissions and MCP servers, which Devin loads once workspace trust is bypassed, and no setting turns that off.

Evidence

  • Real Devin lane (build lane, on this Mac): pstack-runner --parent claude --provider devin --model swe-2 --effort medium --mode read-only read a fresh UUID file. The receipt was complete, argv carried --model swe-2-medium, the export reported swe-2-medium (provider-report), the output matched the marker, the provider directory was 0700 with the config at 0600, and no agentation-mcp or devin acp process was left.
  • Classification against sanitized capture fixtures (devin.test.ts, run.test.ts):
    • logged out at exit 0 → unauthenticated;
    • an unknown status → child-failed/70;
    • an unknown model → unavailable-model/69;
    • SIGINT (export written) and SIGTERM 143 → cancelled/130;
    • a rejected tool with an empty final message → child-failed/70.
  • Environment: a Devin lane gets the shared base allowlist, with no DEVIN_PERMISSION_MODE, DEVIN_SANDBOX, DEVIN_MODEL or DEVIN_REFUSAL_FALLBACK.
  • Existing providers: every existing argv and receipt assertion still passes.
  • Live gate: passed on head 1 508fb29 (evidence), with real Devin lanes from both parents, passed on head 2 c50514a (evidence), and passed on head 3 156578d (evidence), including the writer-refusal case. Both run from the candidate head, with --self-test, in both harnesses: runner with --runner-route devin:swe-2@max --runner-route devin:swe-1.6@default, setup (read-only-provider) and catalog (a Devin lane, reported as external).

Captures and decisions: the #69 comments and devin-captures/report.md in the private records folder. The raw captures stay local, because they carry account identity.

Merge Danger

Door: two-way

Blast Radius: runner

The contract additions touch run.ts for every provider: reserved paths, the preflight verdict and the parse input. Claude, Codex and Grok declare no sidecar, so their argv and receipts are unchanged, as the existing tests pin. Devin is optional and assigned to no role by default.

Acceptance criteria

  • "Given a sheet uses devin:swe-2@<medium|high|max> or devin:swe-1.6@default, when the runner dispatches it read-only from either parent, then argv carries the full variant ID ... the receipt's model proof is the export's generation_model ... and the reply comes from the export, not stdout." devin.test.ts, run.test.ts and the live runner routes.
  • "Given an isolated-write Devin lane, when it resolves, then it is refused before launch." devin.test.ts, run.test.ts, and the adapter suite's unsupported-mode test.
  • "Given a Devin lane, when it runs, then it uses a run-owned lockdown --config ... and its environment omits DEVIN_PERMISSION_MODE, DEVIN_SANDBOX, DEVIN_MODEL and DEVIN_REFUSAL_FALLBACK." devin.test.ts and run.test.ts.
  • "Given the captured shapes, when the adapter classifies them, then ..." The fixture tests in Evidence.
  • "Given setup, when a role whose playbook delegates with isolated-write is assigned to a read-only-only provider, then setup refuses it and says why. A read-only role such as how explorer accepts devin:swe-2@max and probes it through the runner." registry.test.ts derives the four roles from the playbooks, and the live setup read-only-provider case covers the acceptance.
  • "Existing Claude, Codex and Grok argv and receipts are unchanged. Bun tests, strict typecheck, static invariants and plugin validation pass." See Gate results.

Gate results

My run on the committed head 156578d, every command with MASTRA_TELEMETRY_DISABLED=1:

Check Exit
bun install --frozen-lockfile (poteto-mode scripts) 0
bun run test 0 (360 pass, 0 fail)
bun run typecheck (strict) 0
Manifest JSON parse 0
bun install --frozen-lockfile --ignore-scripts (verifier) 0
PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh (includes the verifier's tests and typecheck) 0
claude plugin validate plugins/pstack 0

Not verified

  • Network isolation for a Devin lane. Shell network access and the webfetch and Fetch(...) denials were not measured, and the catalog says so.
  • Each run's fresh config makes Devin print ✓ Logged in as <email> on stderr. That line lands in the private 0600 .stderr file, and a failure receipt's bounded evidence can quote it.

Unfret rebuttals

Unfret rebuttal for head 156578d70e8f0d09cad02cdcd4e465a732885041, finding v1:0bad4176
Claim: the read-only-provider setup case passes without running the Devin probe.
Disproof: not change-attributable; the same class was waived on PR #182 (GH-54). The setup cases on main check the written sheet, and on Codex the mirror, not setup's internal probes. The Devin route is proven by the runner feature with recipe-owned receipts, and the head-1 live gate passed with real Devin lanes from both parents.
Unfret rebuttal for head 156578d70e8f0d09cad02cdcd4e465a732885041, finding v1:40a63d3a
Claim: a rejected tool followed by final text parses as complete.
Disproof: the final agent reply is the model's answer, as the Claude and Grok adapters read final text after a denied call. Only the captured failure shape, a rejected tool with an empty final message, is child-failed/70, and devin.test.ts pins it.

Closes #69

🤖 Generated with Claude Code

ericlitman and others added 3 commits October 13, 2026 23:45
Brings in #54's head 4. The read-only-provider setup case now follows the same
rule as new-families: it checks the written sheet and, on Codex, the mirror
block, and drops its command-text check that the session ran pstack-runner. The
runner feature proves the Devin route.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in PR #182's merge commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mergify

mergify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 2 merge protections satisfied — ready to merge.

Show 2 satisfied protections

🟢 Queue ready pull requests

Automatically queue non-draft pull requests targeting main after verify, Unfret, and live-gate pass on the head and every review thread is resolved.

  • #review-threads-unresolved = 0
  • -draft
  • check-success=Unfret
  • check-success=live-gate
  • check-success=verify

🟢 🚦 Auto-queue

When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.

  • -files~=^\.github/
  • base = main

@greptile-apps

greptile-apps Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[Medium impact] Adds a new provider to the model runner system.

The PR appears safe to merge, with non-blocking fixes for cancellation details and setup probe evidence.

Findings

  1. P2 Cancelled receipts lose model proof ▶
  2. P2 Answer text triggers cancellation ▶
  3. P2 Setup gate misses skipped probes ▶

Summary

Adds an optional read-only Devin provider with effort-specific SWE-2 models and SWE-1.6.

  • Devin runs through the pstack runner in read-only mode.
  • Setup checks that each role can use its provider’s access mode.
  • Existing providers state their supported access modes in the runner contract.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Resolve requested lane] --> B{Supported access mode?}
  B -->|No| C[Refuse before launch]
  B -->|Yes| D[Reserve private files and provider directory]
  D --> E[Write lockdown config]
  E --> F[Check login]
  F --> G[Launch Devin with full model ID]
  G --> H[Read export after exit]
  H --> I[Classify result and check model proof]
  I --> J[Write answer or failure receipt]
Loading

Reviews (1) · Last reviewed commit: "Merge main into feat/69-devin-provider b..." · Reviewed by Greptile

@unfret-eal

unfret-eal Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Accepted risk

Accepted by ericlitman: GH-69 (authority 48fa77b)

🔴 High · Setup live gate passes without running the Devin probe

🔴 High · Writer-refusal gate ignores Claude integration changes

🔴 High · Writer-refusal gate permits forbidden probes

🟡 Medium · Rejected tool turns can be reported as complete

Details

Run: GET /unfret/run/panel:156578d70e8f0d09cad02cdcd4e465a732885041:eTYPeY1UJZN:AGa35s2maH4.

@unfret review · @unfret status · @unfret help

@unfret-eal unfret-eal 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.

🛑 6 blocking findings
🔴 Critical · Native project hooks run after trust is bypassed
🔴 Critical · Project permissions bypass Devin's read-only mode
🔴 High · Setup live gate passes without running the Devin probe
🟡 Medium · Devin parse reports a tool-rejected turn as complete when the last step has text
🟡 Medium · Agent reply text can be mistaken for cancellation
🟡 Medium · Setup accepts a read-only provider for `hardest tasks`, which is a writer role
Check

…and widen setup's writer roles (#69)

A Devin lane bypasses workspace trust, and Devin loads a project's
.devin/config.json hooks and permissions and its .devin/mcp_config.json servers,
with no key to turn them off. The runner now refuses a Devin lane whose cwd or
any parent up to the git root holds .devin/, through an adapter-declared
projectConfigDir checked before launch. An interruption is a cancellation only
when Devin writes it as a system step. Setup refuses a read-only provider for
every writer role: the four playbook roles, hardest tasks, arena runners and
swarm workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: 508fb296a339210ec7554e97dcd5150d4c60363f
  • Base SHA: 768d0f0ae8b6e7c624397d96451a126c880f3625
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: 508fb296a339210ec7554e97dcd5150d4c60363f
  • Evidence-set SHA-256: 20cf1581d8ea41a73fd9530bccb9c47f54112814b463c7b4962465eb9ce507d2
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate 508fb296a339210ec7554e97dcd5150d4c60363f, tree c37ed6a18ffecf3f4e6384fd5cebd69772787c2a6881f100216518421d56ad11.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate 508fb296a339210ec7554e97dcd5150d4c60363f, tree c37ed6a18ffecf3f4e6384fd5cebd69772787c2a6881f100216518421d56ad11.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1, route-2; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 b89a3f88a9d9be93332553927b46d448b61c2f68efa5795975ddb9102b7414ef; artifact-set SHA-256 77876fc330806994983cceb345b4a371b3f54ba1e9d6d64bc97eb7da931ac25c.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet, native-agents; result passed 13 assertions; ids retained privately; 13 assertions machine-checked; transcript SHA-256 1e0fb0b3adad08f17dc25bbb4c3701fe18cfd5de05bb44279642883bddbf8a37; artifact-set SHA-256 7ddf91d65ac417aa619aa3417c8fc5273a07b4f03b7399ff297d1ec15b69767d.
  • Observation (claude / project-skill): surface claude -p stream-json with the candidate plugin-dir; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 4397622a22ef9bded457b9363332019f65301e062887e1f2256391e2f1f3638d; artifact-set SHA-256 3732f1902097dbb4069f93d9c4ed33ed213f5a9c070661181c90a676c6831c23.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, first-run; result passed 29 assertions; ids retained privately; 29 assertions machine-checked; transcript SHA-256 eb91beb7e198ba4ce6c6ca3c223983d0de891c213dd43321ffccd6f5fe701c25; artifact-set SHA-256 a76dc753fa9aa3a3a6d23a5fc4c42fc374ddaa5077dcf85c5149ea60f2297289.
  • Observation (codex / runner): surface codex exec --json with the run-owned candidate installation; action recipe runner: route-1, route-2, linked-worktree-writer; result passed 15 assertions; ids retained privately; 15 assertions machine-checked; transcript SHA-256 22e2280be40a70f4cd9bd4d945a204baccb6b794b29638cdd60893e7afd7e79c; artifact-set SHA-256 010fca86c2a1f64842ef917bfae29b43431b419d80efc9ee8c23dbee6d05d326.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 8df8c250bb48bf9fef23619010039ec19ceea387d8b8aff6d94583420a369bb4; artifact-set SHA-256 cfdcfbc460d6ed448dc436f5ba3d6e33444635eb4785b32ea6ac4f3419ae14fb.
  • Observation (codex / project-skill): surface codex exec --json with the run-owned candidate installation; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 6b7ee96bdb68e2772a4fb085c664b713a67293f212694eda16bc2f2fffa41b94; artifact-set SHA-256 fcc4aa3011ea8ab7dfcc92d7af5082a8e0bca82cabab5bd29d1696000b23d9a1.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, first-run; result passed 33 assertions; ids retained privately; 33 assertions machine-checked; transcript SHA-256 605a5a8f5b29f72e61d3917994e767cda9355109878bc5dc6da284664e54362d; artifact-set SHA-256 f31016263703d93404464ea8b54939be3802e3d527768141d8a8a16cada6a8a5.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

@unfret-eal unfret-eal 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.

🛑 5 blocking findings
🔴 High · Setup live gate passes without running the Devin probe
🔴 High · Live setup coverage never tests writer-role rejection
🟡 Medium · Devin parse reports a rejected-tool turn as complete when the step has text
🟡 Medium · A plain `.devin` file incorrectly blocks the lane
🟡 Medium · Writer-role validation still omits architect runners
Check

…he refusal live, and guard only .devin directories (#69)

Architect runs Arena with its own runners, which write to their own output
locations, so setup's writer roles include architect runners. A new setup case
assigns bug-fix to Devin and requires setup's refusal with no configuration
change, so the live gate tests the new rule. The project-config guard refuses
only a .devin directory; a plain file holds no Devin config.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: c50514a147051a69f8242f3c090258628a6a177b
  • Base SHA: 768d0f0ae8b6e7c624397d96451a126c880f3625
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: c50514a147051a69f8242f3c090258628a6a177b
  • Evidence-set SHA-256: 98cc1b2445a4b5b2a4b402ba2b900f96257101688934fc10faa6aa52e612b19d
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate c50514a147051a69f8242f3c090258628a6a177b, tree cfbcbe6c38d3489d0dac70ebda297bbd500ae8e4c3d8dfc7b97b8d9304fd05c0.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate c50514a147051a69f8242f3c090258628a6a177b, tree cfbcbe6c38d3489d0dac70ebda297bbd500ae8e4c3d8dfc7b97b8d9304fd05c0.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1, route-2; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 a6d24f8bb498319fd21c9333d87dd47142673e47eb8f7f92518465e885d8507d; artifact-set SHA-256 a726688fe7c71f831cc62854f9ecd3da8150a1a0b62978e53178383a6d1754ee.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet, native-agents; result passed 13 assertions; ids retained privately; 13 assertions machine-checked; transcript SHA-256 8900d3ad708ea01c1663057b984034549d1eff6e642409f5c861f5fe75559083; artifact-set SHA-256 49aa82dda752d1e426642ad0f7713d68038ed85c2ad919ee8eb93227c0dcfb2d.
  • Observation (claude / project-skill): surface claude -p stream-json with the candidate plugin-dir; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 7c031a13278f8f10f2e0aa9094f6cc114e4fca1baa9810410a1c5b8bb98badeb; artifact-set SHA-256 7f98feacd360715c707762e9f81d7f4b437286b20b73f87fe473d56f6138b783.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, first-run; result passed 29 assertions; ids retained privately; 29 assertions machine-checked; transcript SHA-256 4a99f3536e025d83e630400ee812854c211894847a96b9d19be84afc409970d8; artifact-set SHA-256 58ef1d2737b25ab6bf5d9340bd25e9cf0526a68bbd8971910b2adcf2081e35f9.
  • Observation (codex / runner): surface codex exec --json with the run-owned candidate installation; action recipe runner: route-1, route-2, linked-worktree-writer; result passed 15 assertions; ids retained privately; 15 assertions machine-checked; transcript SHA-256 b9ed9304b87b927cc3a727bb0bc97dc219bedb646d919db9a469ed7fdf7cac69; artifact-set SHA-256 6c73fb1b55618717cc7d4b634b678c9a5a933d202c46bcdde14bb494367bcdc2.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 3e58bd8340e525eec2a8d2c598acd8402d6cbed20dd7be18586a16e91c2417e4; artifact-set SHA-256 6bc23eb58dccab0dabac8e9777772f9886113f539347bd815de43ad8b3be6056.
  • Observation (codex / project-skill): surface codex exec --json with the run-owned candidate installation; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 804ca601367e88945da9ef6ca32f7f084f276bf0b6e8705877346271d6cff0e8; artifact-set SHA-256 846946bd80030f2ebc1eb6dfe5e599102d3664a05b6c8518a21f6faf30ba81a9.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, first-run; result passed 33 assertions; ids retained privately; 33 assertions machine-checked; transcript SHA-256 743c3d5e38f2b1e71ee8663adddd36ae57dbf5ace4b8e4f54390f1ada99e3c60; artifact-set SHA-256 8d8ef853b9dbb130dd5c4f0db7a5fa1ade6453be300a3c2fe901910bfaa38769.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

@unfret-eal unfret-eal 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.

🛑 4 blocking findings
🔴 High · Setup live gate passes without running the Devin probe
🔴 High · Writer-refusal gate ignores Claude integration changes
🔴 High · Writer-refusal gate permits forbidden probes
🟡 Medium · Rejected tool turns can be reported as complete
Check

@ericlitman

Copy link
Copy Markdown
Owner Author

Operator waiver on head 156578d, 2026-10-14. I accepted these as operator at the head-3 step-back, under Eric's instruction to run the registry's later units. Unfret dismissed every change-attributable defect raised on heads 1 and 2 as repaired, including both security findings, which the .devin/ guard closed.

Accepted: how deeply the setup cases verify setup's own behavior. Four findings, one class:

  • read-only-provider does not observe setup's Devin probe;
  • writer-refusal does not check that Claude's CLAUDE.md integration is unchanged;
  • writer-refusal does not check that setup ran no probe before refusing;
  • the parser reads a rejected-tool step that ends with agent text as a complete reply.

Why these are accepted, not repaired:

  • The setup cases check the outcome a user sees. That is the written sheet, the Codex mirror, and for the refusal, the unchanged sheet and a refusal naming the role and provider. The cases already on main (configure, keep-predecessor, first-run) have the same depth. The same class was waived on PR feat(registry): add GPT-6 Luna, Sonnet and the exact Opus 5.5 pin (#54) #182 (GH-54), after an attempt to certify setup's internal steps from transcripts grew variants and failed an honest run.
  • The Devin route is proven where this PR changes it. The runner feature runs devin:swe-2@max and devin:swe-1.6@default from both parents with receipts the recipe owns, and the head-1 and head-2 live gates passed with real Devin lanes.
  • A final agent reply after a rejected tool is the model's answer, as with the other adapters. The captured failure shape, an empty final message, is child-failed.

What is accepted: a regression inside setup's probe or refusal steps that still writes the right files, or none, is not caught by the live gate. That was true before this PR.

Follow-up: none built. Under AGENTS.md, a ticket that comes from a waived finding is built only after the failure is seen in real use.

@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: 156578d70e8f0d09cad02cdcd4e465a732885041
  • Base SHA: 768d0f0ae8b6e7c624397d96451a126c880f3625
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: 156578d70e8f0d09cad02cdcd4e465a732885041
  • Evidence-set SHA-256: 97746d0dbe6672febfd34113e1e5d98d248d5b2f4f18a5c33b36dc7482b046a9
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate 156578d70e8f0d09cad02cdcd4e465a732885041, tree 9f588fa0bd940ee23aa32bc0522acdd27497018ae99762166064c1de7250adc9.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate 156578d70e8f0d09cad02cdcd4e465a732885041, tree 9f588fa0bd940ee23aa32bc0522acdd27497018ae99762166064c1de7250adc9.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1, route-2; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 265341d996bc446519a29cdcf7f02809f7a82639d087590f5b8b2fb22b376216; artifact-set SHA-256 db45f1c40e0ea1ad75232161dedfc40561d53b4d3a3027014931741e680ae639.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet, native-agents; result passed 13 assertions; ids retained privately; 13 assertions machine-checked; transcript SHA-256 c8d5a532d2bdefa7f18354dfa727459f8b3bb36986ac333d527ce6d2d87fa5f7; artifact-set SHA-256 df0a12021ab020243d997a1ff2ea554556d151e07b26ca4156e840823a428be0.
  • Observation (claude / project-skill): surface claude -p stream-json with the candidate plugin-dir; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 b87096dc056212c6bed77f4df174911038ae123af07866bca0b6fa33ea7606e3; artifact-set SHA-256 a8b758fb1e157a046338036e6c0996a49f4c6041bf1f17a839bfb1f3910cde11.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, writer-refusal, first-run; result passed 32 assertions; ids retained privately; 32 assertions machine-checked; transcript SHA-256 8baa2a8e8a6fda678bb06f8a40a8543b998542ca8a981b57ebcb9240f21f9f0b; artifact-set SHA-256 9b0cebf2d8efef6e281fae1117af28902db10d60c339120206fbf934696e3dae.
  • Observation (codex / runner): surface codex exec --json with the run-owned candidate installation; action recipe runner: route-1, route-2, linked-worktree-writer; result passed 15 assertions; ids retained privately; 15 assertions machine-checked; transcript SHA-256 7f78f9296b0b077634e55f031a123a6358fce398cbc1c64e59711f4cde2e672b; artifact-set SHA-256 78a2701fea8152d541da5d7ba291e75d190ff2ef8aecb336cb4fa58a53e60399.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 10 assertions; ids retained privately; 10 assertions machine-checked; transcript SHA-256 194a55a07c3d5ee89ff2ed9cad59153299e8f1c678e0c7645391315bb5722342; artifact-set SHA-256 538569d1528065ac4ec727fb079b5da638d469c8b15b8e9318e724b412e5bae5.
  • Observation (codex / project-skill): surface codex exec --json with the run-owned candidate installation; action recipe project-skill: doctor; result passed: doctor:exit-0 doctor:skill-loaded doctor:doctor-ran doctor:doctor-canonical-pass; 4 assertions machine-checked; transcript SHA-256 559aafd35d54dc83dfedc5e3f9c3106ef6426c989627a4b348d52d19fb3252f8; artifact-set SHA-256 39a3992ff045d24eaaaab7d8863386e842f94a8c2f14eeb27b6bee81e2ba7a3f.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, read-only-provider, writer-refusal, first-run; result passed 36 assertions; ids retained privately; 36 assertions machine-checked; transcript SHA-256 3cd580b09e6aa1c3717d8243388f0e0763c99c00a110bff08cdba657f75f35ff; artifact-set SHA-256 7f09c81f8633d81ccce4d62ae4a594a868947240efcfc80106193fbb37587192.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

@mergify

mergify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-14 15:27 UTC · Rule: default · triggered by merge protections
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-10-14 15:27 UTC · at ecd24c407ff7f32a376ba655b3ea39ddd5e0a93f · merge

This pull request spent 13 seconds in the queue, including 2 seconds running CI.

Required conditions to merge

@mergify
mergify Bot merged commit ecd24c4 into main Oct 14, 2026
6 checks passed
seiei-sogen pushed a commit to seiei-sogen/open-pstack-sogen that referenced this pull request Oct 15, 2026
…riter

Brings in ericlitman#69's heads 2 and 3: the .devin/ guard and projectConfigDir, the
widened writer roles, and the writer-refusal setup case. The keep-setting case
now checks the Codex mirror like every case that removes it, and the refusal
case's role constant is renamed to REFUSED_ROLE beside ericlitman#80's WRITER_ROLE.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
seiei-sogen pushed a commit to seiei-sogen/open-pstack-sogen that referenced this pull request Oct 15, 2026
Brings in PR ericlitman#183's merge commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
danpal35 pushed a commit to danpal35/open-pstack that referenced this pull request Oct 18, 2026
… and Codex full access (ericlitman#190)

Bumps the manifests, marketplace entry and version lines to 1.9.0 and adds
the 1.9.0 CHANGES.md section, written from PRs ericlitman#182 (ericlitman#54), ericlitman#183 (ericlitman#69) and
ericlitman#184 (ericlitman#80), with one line for PR ericlitman#186 (ericlitman#185). The Cursor sync point stays
at pstack 0.15.20.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fitziboy3-source added a commit to fitziboy3-source/open-pstack that referenced this pull request Oct 20, 2026
* feat(registry): add GPT-6 Luna, Sonnet and the exact Opus 5.5 pin (ericlitman#54)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs: describe every Claude family's native agents and the exact pin (ericlitman#54)

docs/reference.md and the README described the native agents as Fable and Opus
only, using the rolling alias. Each Claude family in the catalog now ships
agents, and a registered exact pin keeps its own model.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only Devin provider with SWE-2 and SWE-1.6 (ericlitman#69)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(verify): prove the new families' probe routes and the Codex mirror, and widen the pin scan (ericlitman#54)

The new-families setup case checked only the rewritten sheet, so a run that
probed Sonnet or the pin through the rolling Opus agent still passed. It now
requires the Claude Agent calls to pstack-opus-5-5-max and pstack-sonnet-max,
and a complete runner receipt for each external probe in its own empty probes
directory. The three setup cases that remove Codex's AGENTS.md mirror now check
that setup wrote it back as the sheet's exact bytes. The Claude pin scan covers
Sonnet, and it removes only the registered pin's token before matching, so
another pin on the same line still fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): let a model-sheet setting give Codex writer lanes full access (ericlitman#80)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(verify): prove the new native agents directly and check the Codex mirror exactly (ericlitman#54)

Step back on head 2's probe check, which inferred setup's internal probes from
transcripts and kept growing variants (nested or extensionless receipts, wrong
effort, undrained background agents). It is gone. A catalog case on Claude now
dispatches pstack-sonnet-max and pstack-opus-5-5-max, and each child writes a
fixture nonce it read, with its tool calls recorded under its Agent call.
The Codex mirror check follows setup's contract exactly: one marker pair, and the
sheet's exact bytes after the begin marker's newline. The pin scan's exemption
ends only at a character that cannot continue a model ID.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(verify): test Sonnet migration in setup, reject native-agent model overrides, tighten the mirror and pin scans (ericlitman#54)

The new-families setup case now feeds a versioned Sonnet, which this PR's
setup migration must write as claude:sonnet. The native-agents case rejects an
Agent call that overrides the model. The mirror check counts a stray begin
marker even without its newline, and the second pin scan no longer depends on
the file path having no colon. ericlitman#54's acceptance criteria are corrected: setup's
probe routes are not this PR's change, and the new routes are proven by the
native-agents and runner cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): refuse Devin lanes in repositories with .devin/ config, and widen setup's writer roles (ericlitman#69)

A Devin lane bypasses workspace trust, and Devin loads a project's
.devin/config.json hooks and permissions and its .devin/mcp_config.json servers,
with no key to turn them off. The runner now refuses a Devin lane whose cwd or
any parent up to the git root holds .devin/, through an adapter-declared
projectConfigDir checked before launch. An interruption is a cancellation only
when Devin writes it as a system step. Setup refuses a read-only provider for
every writer role: the four playbook roles, hardest tasks, arena runners and
swarm workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(setup): refuse read-only providers for architect runners, prove the refusal live, and guard only .devin directories (ericlitman#69)

Architect runs Arena with its own runners, which write to their own output
locations, so setup's writer roles include architect runners. A new setup case
assigns bug-fix to Devin and requires setup's refusal with no configuration
change, so the live gate tests the new rule. The project-config guard refuses
only a .devin directory; a plain file holds no Devin config.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(verify): quote the browser case's paths, and prove setup and parents keep writers bounded unless opted in (ericlitman#80)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(verify): dispatch a bounded Codex writer live, control configure's setting, and parse quoted paths with newlines (ericlitman#80)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* build: add root check scripts so Unfret registers and shares them (ericlitman#185)

Unfret registers one check per root package.json script and runs it with the
packageManager named there. open-pstack had no root package.json, so each
focal review lane ran bun install and the tests through run_command.

The root scripts are CI's verify steps: test, typecheck and static. CI now
calls them, so the reviewers and CI run one definition, and setup-bun reads
the Bun version from packageManager instead of a second pin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* verify: map the root package.json and ci.yml to project proof (ericlitman#185)

Both paths were unmapped, so a PR touching either failed closed before any
install. CI now runs the root scripts, which include the verifier's own
tests, so both are verifier enforcement like tests/skill-collision-repro.sh:
a change to either selects project-skill and cannot pass as no runtime
change. The fail-closed case for unregistered workflows keeps a new
workflow path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* verify: give the unit tests a real account when USER and LOGNAME are unset (ericlitman#185)

Unfret runs a registered check with only PATH, HOME, TMPDIR and locale
variables, so run_check static failed 23 verifier tests on isolatedEnv's
"Real USER and LOGNAME are required". The test script now supplies the
account from id -un when the environment has none. The live verifier's
guard is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.9.0 with Luna, Sonnet, the Opus 5.5 pin, Devin and Codex full access (ericlitman#190)

Bumps the manifests, marketplace entry and version lines to 1.9.0 and adds
the 1.9.0 CHANGES.md section, written from PRs ericlitman#182 (ericlitman#54), ericlitman#183 (ericlitman#69) and
ericlitman#184 (ericlitman#80), with one line for PR ericlitman#186 (ericlitman#185). The Cursor sync point stays
at pstack 0.15.20.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(verify): keep fixture git out of the host's global config (ericlitman#172)

The host's global git config routes trace2 events to the git-ai daemon,
which writes .git/ai and refs/notes/ai into each fixture repository after
the git command exits. In provenance.test.ts that write recreated the
fixture root after the test renamed it, so the symlink at line 132 failed
with EEXIST. Fixture git calls in the provenance, harness and publisher
tests now run with GIT_CONFIG_GLOBAL=/dev/null and GIT_CONFIG_NOSYSTEM=1.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* skills: import in-your-own-words and sharpen from Cursor pstack 0.15.25 (ericlitman#191, ericlitman#187)

Upstream added two typed-only skills after the 0.15.20 sync point:
in-your-own-words (7d8d909, reworded in dbf4981) and sharpen (79afd75).
Both are verbatim at 0.15.25 and keep disable-model-invocation, like the
port's other typed-only skills.

This commit carries soulmachine's PR ericlitman#188 as written: the two skills,
their poteto-help rows, the typed-only list, the recipes, the README and
reference rows, and the verifier feature registry entries.

Co-authored-by: soulmachine <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* sync: port Cursor pstack 0.15.21-0.15.25 skill content (ericlitman#191)

Applies the 17 upstream pstack commits from 1b6d44f to 99743e9 through
scripts/upstream-audit.py and scripts/upstream-merge.py (11 verbatim,
11 clean merges, 28 hand-resolved, 3 unmapped and excluded).

- poteto-mode takes ce649c0's "Match the model to the job" rule as
  upstream wrote it, adapted to the port's descriptors: the starting
  level is the role's configured effort, an unlisted effort moves to the
  row's nearest listed one, a configured ultra stays, and the speed
  sentences go because the port has no speed selector. Every routed
  skill and playbook points at the rule. provider-dispatch.md says the
  parent may move the effort per spawn and a child never does.
- e5136d8's restated principles replace the port's local corrections to
  test-behavior-not-implementation, attack-the-premise and correct step 3.
- Shipping keeps its nine landing steps and takes upstream's new rules
  and reasons. Autopilot-full takes upstream's seven steps with the
  port's guarded rebase and push in step 2, its step 5 merge prep, and
  the affirmative-failure stuck rule. Autopilot-stack takes upstream's
  four steps with the fork and topology rules folded into step 2. The
  landing invariants follow the moved text.
- orch frontier reads the PR base chain instead of Graphite; watch-pr
  treats an owner-approval Code Review Gate as the gate; worktree-audit
  reads Origin PRs; ketchup, swarm, interrogate, the principles, and
  poteto-agent take upstream's cuts with the port's substitutions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: sync Cursor pstack 0.15.25 as Open Pstack 1.10.0 (ericlitman#191)

Records the 0.15.25 sync point (99743e9) in UPSTREAM.md, NOTICE.md,
README.md and docs/reference.md, sets 1.10.0 in the three manifests, and
adds the 1.10.0 CHANGES section.

UPSTREAM.md retires the 00b14f1 test-principle and 9511e60 correct
exclusions, which e5136d8 supersedes; rewrites the 23e4138 trunk-move
exclusion for ce649c0's revision; extends the expected-runtime and
family-fallback exclusions to ce649c0; records the Cursor manifest,
docs/guide and poteto-agent path-search exclusions; and adds the ericlitman#191
ledger entry for the landing playbooks and the per-spawn effort rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): let adapters set run-owned environment and lane config (ericlitman#68, ericlitman#159, ericlitman#158, ericlitman#37)

The next four providers need values the contract cannot express: OpenCode
and Amp turn off host context only through environment variables, dsh
carries the model and effort in a per-lane config file, agy takes its
prompt as one JSON line and needs its agent file under a subdirectory,
and agy and Amp refuse more than one project config path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only OpenCode provider with DeepSeek V4.1 Flash (ericlitman#68)

Add the opencode adapter and the deepseek-v4.1-flash-free family
(opencode/deepseek-v4.1-flash-free on OpenCode Zen, efforts low, high and
max, default max). The OpenCode 1.19.1 captures changed the original
request:

- No bounded writer. OpenCode has no OS sandbox, and a shell write escaped
  the cwd with external_directory denied, so the adapter supports only
  read-only. A run-owned opencode.json denies every tool except read,
  glob, grep, list and todowrite.
- Provider keys are not passed. The child environment is the base
  allowlist plus run-owned values, with no OPENCODE_* variable from the
  parent (OPENCODE_PERMISSION turned bash and edit back on) and no
  OPENROUTER_API_KEY. A lane uses OpenCode's stored logins or a free Zen
  model.
- Project config is off by environment: XDG_CONFIG_HOME and
  OPENCODE_CONFIG point at the lane's provider directory, and
  OPENCODE_DISABLE_PROJECT_CONFIG, _CLAUDE_CODE, _EXTERNAL_SKILLS and
  _AUTOUPDATE are set. A live lane showed OpenCode still imports
  .opencode/plugins/*.js, running its top-level code, with --pure and the
  disable switch, so the runner refuses a cwd holding .opencode/.
- Pinned-argv proof. No JSON event names the served model.

The preflight is `opencode models <provider>`. The lane passes --title so
OpenCode makes no second model call, and --print-logs --log-level ERROR so
an unknown model's cause reaches stderr.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only DeepSeek Harness (dsh) provider (ericlitman#159)

Adds the dsh adapter and the deepseek-flash and deepseek-v4-pro families
(efforts low, high, max; default max). What the dsh 0.2.0-rc.2 captures
changed in the design:

- Model and effort are config, not flags. Each lane gets a run-owned
  --patch file that pins agent-default-model, a read-only sandbox-policy
  with the lane's cwd, approval ask (which overrides DSH_PERMISSION_MODE),
  and turns off rules, skills, web, subagent and workflow tools, the title
  call, the plugin inventory and the session-log upload.
- dsh has no status command. The preflight is a turn against a closed
  loopback port with retries off: TRANSPORT means a key is stored or
  exported (not validated), MISSING_CREDENTIAL is unauthenticated.
- dsh reports no served model, so the proof is the pinned argv and patch.
- SIGTERM exits 0 with a partial final and no turn_end, so a lane is
  complete only after a completed turn_end; exit 0 without one is never
  complete.
- Read-only only for now: the Seatbelt workspace-write writer waits for a
  writer route in the live gate.

DeepSeek's real unknown-model refusal is matched as unavailable-model.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only Amp provider with DeepSeek V4.1 Flash (ericlitman#158)

Add the Amp adapter and its first family, amp-deepseek-v4.1-flash, from the
2026-10-15 Amp CLI captures:

- The model is an official Amp agent mode from Amp's own official-modes
  plugin, which Amp serves to every user. The mode carries the effort, so the
  family maps its one effort to the mode name.
- The preflight is `amp usage` without a terminal, because other logged-out
  Amp commands can start a browser device login on their own. It records a
  fixed summary, because the output holds the account email and credits.
- Failed and cancelled turns can exit 0, so the stream's result event decides:
  is_error with the SIGINT/SIGTERM text is cancelled, any other is_error is
  child-failed with its error text.
- A cwd .amp overrides the run-owned settings and runs plugin code at startup,
  so the runner refuses a workspace that holds it.
- The stream never names the model, so the proof is the pinned mode in the
  argv. The thread export's served IDs are hosting-specific and are not used.
- Amp has no sandbox and a shell write escaped the cwd, so there is no
  bounded writer: the lane is read-only, with a run-owned settings file that
  enables only Read and rejects every other tool, and
  AMP_IGNORE_GUIDANCE_FILES=* in an allowlisted environment.

The adapter suite now checks that argv carries the effort's CLI model ID
anywhere, not only after --model, because Amp selects the mode with -m.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only Antigravity (agy) provider with Gemini 3.8 Flash (ericlitman#37)

Adds the agy adapter and the gemini-3.8-flash family (low, medium, high; default
high). The agy captures changed the design from ericlitman#37:

- Gemini 3.7 Flash is unavailable: `agy models` does not list it for this
  account. The family registers Gemini 3.8 Flash explicitly and no 3.7 request
  maps to it.
- The prompt goes to stdin as one stream-json line,
  {"event":"user","message":{"role":"user","content":...}}, through the
  stdinEnvelope hook; agy has no prompt-file flag.
- Each lane writes a run-owned agent file, .agents/agents/pstack-read-only.md,
  in its private provider directory and runs --add-dir <dir> --agent
  pstack-read-only. It declares only view_file, no MCP servers and no skills, so
  web search, subagents, schedule, send_message and the browser are gone. A
  missing file fails closed with "unknown agent".
- The runner refuses a cwd whose path up to the git root holds .agents, .agent,
  _agents or _agent: agy runs their hooks and MCP servers with no trust check.
- An exit-0 result with an empty response and denied_actions is child-failed.
  An "interrupted" result is cancelled; "invalid model selection" is
  unavailable-model.
- agy never reports the served model, so the proof is the pinned argv.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): refuse a dsh other than the measured 0.2.0-rc.2 (ericlitman#159)

dsh 0.2.0-rc.2 ignores a --patch row it does not have, so a later dsh
that renamed the sandbox or approval row would run a read-only lane under
its default workspace-write sandbox without an error. The runner now
checks `dsh --version` before the preflight and refuses any other version
until the adapter is measured against it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add a read-only Cursor CLI provider with Composer 2.5 and Gemini 3.7 Flash (ericlitman#71)

The Cursor captures changed the design in these ways:

- The executable is `cursor-agent`. Cursor also installs `agent`, which
  resolved to Grok's CLI on the measured host and gave the empty status
  in ericlitman#94.
- The preflight is `cursor-agent models`, not `status`: `status` reports
  a stored login as authenticated while every model call fails, and it
  ignores CURSOR_API_KEY. The lane's CLI model ID must start a listed
  line. Exit 1 with `Error: Authentication required` is unauthenticated;
  any other output, including empty output, is inconclusive, never
  unauthenticated (ericlitman#94).
- Each lane sets CURSOR_CONFIG_DIR to its private provider directory and
  writes a cli-config.json there that denies Write(**), Shell(*) and
  Mcp(*:*), with approvalMode allowlist, the sandbox on and web
  approvals off. Without it every -p run rewrites
  ~/.cursor/cli-config.json. The allowlist adds only CURSOR_API_KEY and
  CURSOR_AUTH_TOKEN.
- The runner refuses a cwd holding .cursor/, .claude/settings.json or
  .claude/settings.local.json up to the git root: a project
  .cursor/cli.json replaces the deny list, and those hooks run.
- The reply is the last assistant event's text, because the result
  field joins every assistant text segment.
- The proof is the pinned argv: the stream names only a display label.
- Read-only only: `--mode ask --sandbox enabled --trust` refused every
  edit and shell request, and no mode is a bounded writer.
- `Cannot use this model:` is unavailable-model.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): keep home config out of read-only lanes (ericlitman#68, ericlitman#37, ericlitman#158, ericlitman#71)

Unfret round 1 on ericlitman#196. OpenCode 1.19.1 merged ~/.opencode/opencode.json
after the run-owned lockdown and imported ~/.opencode/plugins, so a home
config allowing bash and edit let a read-only lane write files. The
adapter now sets OPENCODE_TEST_HOME to the lane's sidecar directory, which
is where OpenCode looks for the home .opencode/; OPENCODE_CONFIG_CONTENT
and OPENCODE_CONFIG_DIR did not win over the home config.

The project-config walk now stops below the home directory, so a lane no
longer refuses on the user's own ~/.cursor/ or ~/.claude/settings.json; it
still stops at the git root and at /. A file where a parent directory
should be (a plain file named .claude) reads as absent instead of
throwing ENOTDIR. agy's .agents, .agent, _agents and _agent and Amp's
.amp match only directories.

An OpenCode text event with empty text no longer counts as a reply: the
joined reply must be non-empty.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): pin every dsh sandbox and approval row in the lane patch (ericlitman#159)

A dsh user layer applies before the adapter's --patch, and the patch wins
only for rows it names. It named sandbox-policy and approval, so a user
layer could still disable bash-sandbox, fs-sandbox or sandbox, or widen
the read-only preset. The patch now pins each of those rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): run dsh lanes on a run-owned dsh home; fail agy turns that end on a denial (ericlitman#159, ericlitman#37)

Unfret round 2 on ericlitman#196. The dsh user layer composes under the lane's
--patch and could redirect inference and credentials, change the
preflight's provider route and move the file sandbox's cwd. Each lane now
uses its own DSH_HOME and reads the stored login in place, so no user
layer loads, and the row pins that defended against it are gone. An agy
turn that ended on a denied tool is child-failed even with a preamble.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): refuse a dsh lane whose cwd holds .env; resolve DSH_HOME as dsh does (ericlitman#159)

Unfret round 3 on ericlitman#196. dsh loads the invoking directory's .env into
bash's environment at boot, so a repository could set
GIT_CONFIG_PARAMETERS and run its own script from a read-only lane. The
runner now refuses a dsh lane whose cwd holds .env. The credentials path
now expands ~ and ignores a blank DSH_HOME, as dsh does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): refuse lanes whose project-config walk would reach the home directory (ericlitman#68, ericlitman#159, ericlitman#158, ericlitman#37, ericlitman#71)

Unfret round 4 on ericlitman#196. Round 1 stopped the runner's walk below the home
directory, but the CLIs' own walks reach it when no git root stops them:
OpenCode then loads ~/.opencode plugins, and a dsh lane whose cwd is the
home loads ~/.env. A lane for a provider with project config now runs
under the home directory only inside a git repository rooted below it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(runner): refuse an OpenCode lane whose effective permissions exceed the lockdown (ericlitman#68, ericlitman#159)

Unfret round 5 on ericlitman#196. OpenCode merges a managed config after the
run-owned one, the third layer to override the read-only lockdown. The
runner now reads OpenCode's effective permissions with the lane's
environment before launch and refuses the lane if anything beyond reading
is allowed, whichever layer set it. The check generalizes dsh's version
pin into one pre-launch guard per adapter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(runner): move OpenCode, Amp and Cursor out of this PR (ericlitman#68, ericlitman#158, ericlitman#71)

Eric split ericlitman#196 after five review rounds. It keeps the runner contract
changes plus the dsh and Antigravity adapters. OpenCode, Amp and Cursor
return in their own PRs with more containment work: OpenCode's account
and organization config, Amp's managed settings and plugins, and
Cursor's npx language-server worker. Their last versions are in this
branch's history at 08556cd. The verifier changes that only they needed
are reverted, so this PR no longer changes the verifier. The
directory-or-file entry form and its ENOTDIR handling leave with Cursor,
the only adapter that used them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(runner): compare config-carried effort line by line (ericlitman#159)

Unfret round 6 on ericlitman#196. The adapter suite's default-effort check searched
the whole dsh patch for "high", so a DSH_HOME such as /tmp/high-dsh made
the credentials path fail it. The check now requires exactly one added
line carrying the effort between the default and high configs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(runner): check dsh's default effort on its own line (ericlitman#159)

Unfret round 7 on ericlitman#196. The default-effort assertion searched the whole
patch for "reasoningEffort", so a DSH_HOME such as
/tmp/reasoningEffort-dsh failed it through the credentials path. It now
matches only the setting's own line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.11.0 with the DeepSeek Harness and Antigravity providers (ericlitman#198)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* verify: enforce live-gate feature selection (ericlitman#200)

verify.sh run now refuses a named feature outside the PR's classified
reach, prints the planned session count before any install, and refuses
more than 12 sessions without --wide "<reason>", which the evidence
comment records. A manifest change that only bumps the version reaches
hook:startup in that manifest's harness.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add OpenCode as a read-only external provider (ericlitman#68)

Restores the OpenCode adapter from 08556cd. Before the authentication
preflight, the runner now reads OpenCode's merged configuration with
`opencode debug config --pure` under the lane's environment and refuses
the lane unless it equals the run-owned read-only lockdown, so a managed,
remote, home or project layer cannot add MCP servers, LSP commands,
plugins, provider routing or agent changes. The verifier's route patterns
accept OpenCode's `/` model IDs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(review): read-only means pstack's own CLI settings, with no refusals for the operator's setup (ericlitman#203)

Eric's rule, 2026-10-16: a read-only runner lane means the read-only
settings pstack passes to the provider CLI. The operator's host, account,
repository and organization configuration applies as they set it up; the
runner adds no refusal, guard or account check because of it, and the
catalog notes disclose what it can do. A failure that needs such
configuration to widen a lane is out of scope for review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(runner): drop OpenCode's pre-launch guard and .opencode/ refusal (ericlitman#68)

Read-only means the read-only settings pstack passes to OpenCode (ericlitman#203).
OpenCode lanes no longer refuse a repository holding .opencode/ or a host
whose merged configuration differs from the lockdown; the guard's tests
and recorded fixtures go with it (approved by Eric, 2026-10-16). The
catalog notes say what managed, remote, stored-login and repository
configuration still load and what each was measured to do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.12.0 with the OpenCode provider (ericlitman#206)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add Amp as a read-only external provider (ericlitman#158)

Restores the Amp adapter from 08556cd. A lane runs Amp's official
deepseek-v4.1-flash mode with a run-owned settings file that enables only
Read, private threads and ignored guidance files. Under ericlitman#203, it runs in
any repository; the catalog notes say what plugins and managed, workspace
and repository settings still load and what each was measured to do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.13.0 with the Amp provider (ericlitman#209)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(runner): add Cursor CLI as a read-only external provider (ericlitman#71)

Restores the Cursor adapter from 08556cd with Composer 2.5 and Gemini 3.7
Flash (low, medium, high). A lane runs cursor-agent in ask mode with the
sandbox on and a run-owned config that denies writes, shell and MCP
calls. Under ericlitman#203, it runs in any repository; the catalog notes say what
the language-server worker and enterprise, team, user and repository
hooks still run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.14.0 with the Cursor CLI provider (ericlitman#213)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(runner): drop the Devin, agy and dsh repository refusals (ericlitman#204)

Read-only means the read-only settings pstack passes to each CLI (ericlitman#203).
Devin, agy and dsh lanes now run in any repository; the runner no longer
refuses .devin/, .agents/ and its siblings, or a cwd .env, and the
project-config walk and home-directory rule go with them. The catalog
notes say what each CLI loads from a repository.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(runner): disclose the agy and Devin config walk, and name the providers whose notes cover it (ericlitman#204)

Unfret round 1 on ericlitman#215. The agy and Devin notes now say the CLI loads its
config directories from the cwd and each parent up to the git root, or up
to / outside a repository, so a lane under the home directory outside a
repository also loads the home directory's own. docs/reference.md names
the providers whose catalog notes describe the configuration they load.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* release: Open Pstack 1.15.0 without the Devin, agy and dsh repository refusals (ericlitman#216)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fix fork verification coverage and Windows flag fixture

* Route native verification and exercise formal model maintenance

* Require native consent for formal fixture skill writes

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Eric Litman <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Eric A. Litman <[email protected]>
Co-authored-by: soulmachine <[email protected]>
Co-authored-by: Adam Vellequette <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Devin CLI workers using SWE-2 and SWE-1.6

1 participant