Skip to content

feat(registry): add GPT-6 Luna, Sonnet and the exact Opus 5.5 pin (#54) - #182

Merged
mergify[bot] merged 5 commits into
mainfrom
feat/54-luna-pins-sonnet
Oct 14, 2026
Merged

mergify[bot] merged 5 commits into
mainfrom
feat/54-luna-pins-sonnet

Conversation

@ericlitman

@ericlitman ericlitman commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Registry units U4 and U6 for #54: three new model families, each a registry entry, plus the matching-order change the exact pin needs.

 runner/registry/models.ts
+  luna      codex:gpt-6-luna         efforts low..max, default max
+  sonnet    claude:sonnet            rolling, revisionPrefix "claude-sonnet-"
+  opus-5-5  claude:claude-opus-5-5   exact pin, matched before the opus revision pattern
+  RELEASED_PAIRS += codex:gpt-6-luna, claude:sonnet, claude:claude-opus-5-5
 references/model-catalog.md, agents/pstack-sonnet-<effort>.md, agents/pstack-opus-5-5-<effort>.md   # generated
 provider-dispatch.md, setup-pstack/SKILL.md
-  normalize every claude-fable-N / claude-opus-N to its alias, then match
+  match: exact matrix row, then kept predecessor, then rolling-alias revision
 .claude/skills/verify-open-pstack/
~  features/registry.json   # the ten new agents, listed by path, under catalog
~  features/recipes.ts      # setup new-families case; catalog fixture adds Luna, the pin and a versioned Sonnet

Default roles and panels are unchanged, and setup probes only assigned families. gpt-5.6-luna and gpt-5.6-terra get no entries: Codex 0.162.1 describes both as "Older", and no released sheet used them (#54 scope, rewritten 2026-10-13).

Evidence

  • Pin precedence (registry.test.ts): claude-opus-5-5 resolves to opus-5-5, while claude-opus-5, claude-opus-5-6 and claude-opus-5-5-1 resolve to opus, and claude-sonnet-5-5 resolves to sonnet. Luna and Sonnet reject ultra, which stays on Sol only.

  • Model proof (providers/claude.test.ts): the pin accepts only a claude-opus-5-5 report, and Sonnet only a Sonnet revision.

  • Native full model ID: checked before building. claude -p --agents with an agent whose model is claude-haiku-5-5 ran it on claude-haiku-5-5 beside the Opus parent (modelUsage).

  • Generated files: the ten existing Fable and Opus agents are byte-identical, and the drift test passes.

  • Recipe units (catalog.test.ts): new-families fails if setup keeps the old pin, normalizes the registered pin or drops a role. catalog fails if the parent leaves the Sonnet revision unnormalized or turns the pin into opus.

  • Live gate: passed on head 1 d0d7edd (evidence), failed on head 2 cb51eea on the deleted probe check, passed on head 3 36f58d9 (evidence), and passed on head 4 172086b (evidence) after an expired Claude login was renewed. In head 1's Claude new-families session, setup dispatched pstack:pstack-opus-5-5-max and pstack:pstack-sonnet-max natively, so the generated agents with a full model ID work, and Luna's runner probe receipt was complete. Both runs are from the candidate head, both harnesses, with --self-test: setup, catalog, runner with --runner-route codex:gpt-6-luna@max --runner-route claude:claude-opus-5-5@max --runner-route claude:sonnet@max. A Claude parent runs the Luna route, and a Codex parent runs the pin and Sonnet routes.

  • Head 2 fixed Unfret's four head-1 findings (all real) and added a probe-route check to the new-families case. That check drew nine variants on review, and head 2's own live gate failed an honest Codex run on it (runner-probe-missing:claude:claude-opus-5-5).

  • Head 3 (a step-back on that check) deletes it and proves the new native agents directly:

    • A Claude catalog case, native-agents, dispatches pstack:pstack-sonnet-max and pstack:pstack-opus-5-5-max. Each child writes a fixture nonce it read, and its tool calls are recorded under its Agent call.
    • The Codex mirror check now follows setup's contract exactly: one marker pair, and the sheet's exact bytes after the begin marker's newline.
    • The pin-scan exemption ends only at a character that cannot continue a model ID.
  • Head 4, the last repair round under the step-back rule:

    • the setup fixture feeds a versioned Sonnet, which this PR's migration must write as claude:sonnet;
    • the native-agents case rejects a model override;
    • the mirror check counts a stray begin marker;
    • the second pin scan works for paths with a colon.

    Support Sonnet, GPT-6 Luna, and exact Claude model pins #54's acceptance criteria were corrected: setup's probe routes are not this PR's change.

Merge Danger

Door: two-way

Blast Radius: model resolution

The matching-order wording in setup and dispatch is read by every parent. An old claude-opus-<revision> still normalizes to opus. Only the newly registered pin is kept.

Acceptance criteria

  • "Given a sheet uses codex:gpt-6-luna, claude:sonnet or claude:claude-opus-5-5 at a supported effort, when setup-pstack validates it, then the descriptor is valid. An unsupported effort, such as Luna at ultra, is rejected." registry.test.ts "resolves Sonnet and Luna, and rejects ultra for both", plus the extended default-efforts test.
  • "Given a rerun on a sheet that assigns Luna and the Opus 5.5 pin, plus a versioned claude:claude-sonnet-<revision>@<effort> and an old claude:claude-opus-5@<effort>, when setup writes, then Luna and the pin are kept, and the two revisions are written as claude:sonnet@<effort> and claude:opus@<effort>." Live setup new-families, and its unit test in catalog.test.ts.
  • "Given the generated pstack-sonnet-max and pstack-opus-5-5-max agents, when a Claude parent dispatches each through Agent without a model override, then each runs and returns a value only its child could read." Live catalog native-agents, and its unit test.
  • "Given a configured Luna, Sonnet or pinned role, when the runner dispatches it externally, then the receipt proves the model. A Claude provider report that names another model is rejected." Live runner routes, and providers/claude.test.ts.
  • "Given an existing Fable, Sol, Grok or Opus configuration, when setup or dispatch runs, then its routing is unchanged." The byte-identical agents and the existing route and resolution tests.
  • "Bun tests, strict typecheck, static invariants and plugin validation pass. The registry tests pin the new families' efforts and models deliberately." See Gate results.

Gate results

My run on the committed head 172086b, every command with MASTRA_TELEMETRY_DISABLED=1:

Check Exit
bun install --frozen-lockfile (poteto-mode scripts) 0
bun run test 0 (329 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

  • Codex's native Luna route: the Codex session record does not include spawn_agent calls, so no recipe observes it. The route's code is unchanged; only the model value is new. Luna is proven from a Claude parent through the runner's receipt.
  • The catalog case hard-codes the dispatched descriptor for the three new lanes; only their routes come from the catalog.

Unfret rebuttals

Unfret rebuttal for head 172086bc5ee6b07e6f5834eaa4868340ae4b51b7, findings v1:0a606444, v1:544a529d, v1:3aa8ff55, v1:65d9a9f4, v1:52a02a1f, v1:7161f993
Claim: the new-families setup case does not prove that setup ran each probe, through the right route, at the right effort, to completion, with a valid marker.
Disproof: not change-attributable. This PR changes no setup probing. Its setup edits are the matching order and the generalized rolling-alias migration, and the case checks exactly those through the written sheet. The setup cases already on main (configure, keep-predecessor, first-run) also check only the written sheet. The new routes are proven where this PR changes them: catalog `native-agents` dispatches pstack-sonnet-max and pstack-opus-5-5-max with no model override and checks a nonce only each child read, and `runner` runs Luna, the pin and Sonnet through the runner with recipe-owned receipts. #54's acceptance criteria were corrected on 2026-10-13 to say so.

Closes #54

🤖 Generated with Claude Code

ericlitman and others added 2 commits October 13, 2026 23:17
…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]>
@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 new AI model options to the agent registry.

The PR appears safe to merge, with a non-blocking improvement needed in the static pin check.

Findings

  1. P2 Older pins escape the check ▶

Summary

Adds Luna, rolling Sonnet, and the exact Opus 5.5 pin without changing role defaults.

  • Luna, Sonnet, and Opus 5.5 become optional model choices.
  • Exact model rows stay pinned while rolling revisions map to their aliases.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Configured descriptor] --> B{Exact matrix model?}
  B -->|Yes| E[Keep model and family]
  B -->|No| C{Kept predecessor?}
  C -->|Yes| E
  C -->|No| D{Rolling revision?}
  D -->|Yes| F[Normalize to rolling alias]
  D -->|No| G[Setup rejects unknown model]
  E --> H[Check effort and parent route]
  F --> H
  H --> I[Native agent or external runner]
Loading

Reviews (1) · Last reviewed commit: "docs: describe every Claude family's nat..." · Reviewed by Greptile

Comment thread tests/skill-collision-repro.sh Resolved
@unfret-eal

unfret-eal Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Accepted risk

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

🔴 High · Pending native setup probes count as success

🔴 High · Setup live case accepts writes without any probes

🔴 High · Setup's Claude-native probe route unchecked

🔴 High · Codex-native Luna execution remains unverified

🔴 High · Failed external setup probes still pass

🟡 Medium · External setup probe effort is not validated

🟡 Medium · Validate each probe's unique result marker

Advisories (1)
  • 🟡 Medium · Do not verify sibling models as the exact Opus pin · plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts:70
    Registering this non-rolling family sends its model proof through the exact-or-suffixed matcher. A provider report such as claude-opus-5-5-1 or claude-opus-5-5-preview is therefore accepted as the pin, even though resolveModel classifies claude-opus-5-5-1 as a different rolling-Opus revision; the runner marks the lane modelVerified instead of returning a model mismatch. Also reported for this defect: - Exact pin accepts arbitrary model suffixes (plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts:70): Registering this non-rolling family routes its proof through exactOrSuffixed, which accepts every report beginning with claude-opus-5-5-. I reproduced a production-runner receipt marked complete with modelVerified=true for claude-opus-5-5-preview. The design permits only the identical ID or a dated build suffix, so another model can be certified as the exact pin. This is advisory because it requires a report outside the CLI's documented exact-or-dated form. - Exact pin verifies unrelated suffixed model reports (plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts:70): Registering this non-rolling family sends its model proof through exactOrSuffixed(), which accepts every report beginning with claude-opus-5-5-. I reproduced production-runner receipts marked complete and modelVerified=true for claude-opus-5-5-preview and claude-opus-5-5-1, although resolveModel treats them as unregistered and another rolling Opus revision respectively. The pin thus accepts other model IDs rather than only its own ID or a valid build suffix. The established trigger is an unexpected provider report, not normal CLI output.
    Not blocking because: Preserving the prior advisory: over-acceptance requires an off-contract suffixed provider report for an exact request. The supplied history establishes exact-or-dated CLI output, and no new evidence shows a real lane or gate outcome changes.
Details

Run: GET /unfret/run/panel:172086bc5ee6b07e6f5834eaa4868340ae4b51b7:HYVbpsVJabm:x2CBQi5sRfU.

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

🛑 4 blocking findings
🔴 High · Verify the Codex mirror after deleting it
🔴 High · New-family gate accepts incorrect native probes
🟡 Medium · Pin exemption hides unrelated pin violations
🟡 Medium · Extend the rolling-pin invariant to Sonnet
Check

Comment thread tests/skill-collision-repro.sh Resolved
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: d0d7edd4e66f9e5c19c1077086522884c0ee88cd
  • Base SHA: 40d506ccbfef109373efa5d8bc845815871d04a6
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: d0d7edd4e66f9e5c19c1077086522884c0ee88cd
  • Evidence-set SHA-256: f89a465afac74aa257601ddbb05d946f131a388af85ad7d46500950f3279763d
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate d0d7edd4e66f9e5c19c1077086522884c0ee88cd, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate d0d7edd4e66f9e5c19c1077086522884c0ee88cd, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet; result passed 9 assertions; ids retained privately; 9 assertions machine-checked; transcript SHA-256 90ed2dfb1e97855a46c2216edd83486ee43488ead8e21eaea0e73254a165529b; artifact-set SHA-256 27dccaf5444c83b79d086859d5ea1b2e247c8f9f770268e253a0c60bb7a4784e.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1; result passed: route-1:exit-0 route-1:runner-ran route-1:receipt-complete route-1:route:codex:gpt-6-luna@max route-1:file:lane-1.output.md; 5 assertions machine-checked; transcript SHA-256 ace38a94a26d4d49278d221214397e3b181bc2ee9241df8d8fb25b8618bc490b; artifact-set SHA-256 dff17216ac264076f353dd988d11b97a899729e615d08dab6823bc8cc6094e40.
  • 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 f87401120518dfb73047eb00e7da3fa8402d6dfd8ac53fe42f7c2746d99aa341; artifact-set SHA-256 ee6c51d297cd8f9037bd0d82de76ceaedf7df26a7898b128bc71b3fac29953f6.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 25 assertions; ids retained privately; 25 assertions machine-checked; transcript SHA-256 3b746572c4052d3796246bd3637b4888cfd503b81375b2d914ec819128d29fb1; artifact-set SHA-256 5b0c8e3e592a7fdb34c111583f02b741c4ed5fbc1027088d4cb23dc9d49d278e.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 9 assertions; ids retained privately; 9 assertions machine-checked; transcript SHA-256 7f3ea63d48321854520045bc53b6807073c125a06b508b70493101f5dbc1f113; artifact-set SHA-256 f7834b09fb0a25e810039eb72581be9f926934eaed2b3cda7b183d6f01e8db29.
  • 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 e94381e39be146ce5a221352b82b6aec29e5f5e7346145a4b8103b6bfc165962; artifact-set SHA-256 2f5a726dab9464f75a65dcc682e22074ac4a4eb9cb042bc2c02b7b18e1c38913.
  • 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 49eb96979124a89ee7c784b0553ccd11b266fe7cae14afd000df048cba945692; artifact-set SHA-256 897183ab7bce52faaa01b4dd1b291642e2f7e613ba31ddefaf22944f58ec62af.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 25 assertions; ids retained privately; 25 assertions machine-checked; transcript SHA-256 a7a52b35457e1fda7b269dd4338b224029f5c8e850eebd614b3fffba664d3f76; artifact-set SHA-256 cb2a9f9a8a4656ea709367762bee0d26a5f8a4f97e23d80521dce42e2e7d0fd4.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

…r, and widen the pin scan (#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]>

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

🛑 9 blocking findings
🔴 High · Native probe launches count as completed probes
🔴 High · Codex never proves the Luna native probe
🟡 Medium · Exact-pin stripping exempts longer model names
🟡 Medium · Probe receipts are found only as top-level *.json files
🟡 Medium · Valid extensionless receipts fail verification
🟡 Medium · External probes accept the wrong requested effort
🟡 Medium · Native probe results are not validated
🟡 Medium · Duplicate Codex model blocks pass mirror validation
🟡 Medium · Mirror comparison ignores a missing final newline
Check

Comment thread tests/skill-collision-repro.sh Resolved
… mirror exactly (#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]>
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: cb51eea63c3b8df7f54b18ccaa5e67e144db1390
  • Base SHA: 40d506ccbfef109373efa5d8bc845815871d04a6
  • Result: FAILED — verification did not complete; rerun required
  • Self-test: required in both harnesses
  • Publisher revision: cb51eea63c3b8df7f54b18ccaa5e67e144db1390
  • Evidence-set SHA-256: c596539023cccc004ce9fd1764af0f93d600e95fcff16e7f1142e1bcaf2ed84a
  • 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.

🛑 11 blocking findings
🔴 High · Setup live case accepts writes without any probes
🔴 High · Pending native setup probes still pass
🔴 High · Codex-native Luna remains unverified
🔴 High · Reject model overrides in native-agent proof
🔴 High · Failed external setup probes are ignored
🔴 High · Validate Claude setup's native probe routes
🟡 Medium · Setup fixture bypasses Sonnet migration
🟡 Medium · Check external setup probes' requested effort
🟡 Medium · Completed native probe markers are unchecked
🟡 Medium · Duplicate begin markers without LF evade validation
🟡 Medium · Preserve pin detection for colon-containing source paths
Check

Comment thread tests/skill-collision-repro.sh Resolved
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: 36f58d9da5d2fc287bdf95337b663ba2eef0e701
  • Base SHA: 40d506ccbfef109373efa5d8bc845815871d04a6
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: 36f58d9da5d2fc287bdf95337b663ba2eef0e701
  • Evidence-set SHA-256: b28b41c10c06acb8abd9cad991cfc493e628fed92052bb96d3749fc496adff63
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate 36f58d9da5d2fc287bdf95337b663ba2eef0e701, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate 36f58d9da5d2fc287bdf95337b663ba2eef0e701, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet, native-agents; result passed 12 assertions; ids retained privately; 12 assertions machine-checked; transcript SHA-256 98a863136c4cec70d10d5f181819cdfa766f5a6401fb0b44603cd3da038353b0; artifact-set SHA-256 25e55cfd7382b176093d1bd2d515d9047146bc84a790bdc3600e0aed561dc890.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1; result passed: route-1:exit-0 route-1:runner-ran route-1:receipt-complete route-1:route:codex:gpt-6-luna@max route-1:file:lane-1.output.md; 5 assertions machine-checked; transcript SHA-256 3b4634c87f33d26235ed27b4162af41b666c3f8b2e723b2867bf931d22adbcf5; artifact-set SHA-256 d2b606a7b105a845325b7da573adecb785aa3dd00fdd9c1a131c276da475573e.
  • 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 9b61eaa642af12199c276ca0d3d92f025cfa2fe01e332bf6b64693ddbd264238; artifact-set SHA-256 3113a0bd2a47f90935e6aa6c7f9ca832fe6a67b7cd4f80ddfc7e9597e48ded31.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 25 assertions; ids retained privately; 25 assertions machine-checked; transcript SHA-256 fc2f6aeddc714a0b0c0f5fa69b98de484c6db50951ba60edaef113cf10b6cedf; artifact-set SHA-256 d68a122453c76750419f305b7648a24e3d746fed25cc99b03ef9e5c796d2fb8a.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 9 assertions; ids retained privately; 9 assertions machine-checked; transcript SHA-256 e713d7dd1ab56b4781ed35faab82608ffb1b06e9840200f8a6e50ac455f9af9f; artifact-set SHA-256 00d8808943d388a5bdd22ae516a0690e7f6027402dc8d4d1d13e86b1836374a7.
  • 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 e8ce69f69b8a83a6641d397ee7de77304f733a7ba8c51648ca1309c761df9580; artifact-set SHA-256 3fe5d140546b75b1df862063c929c4c361f80dbdeb36e646d0e0bae5ba7af35a.
  • 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 6d78b8baf5697baac42f5798aa8afc566aafa10ff92d79c5b4e70bb4e48cdbdb; artifact-set SHA-256 1b90ff7530f9b1cf48ef8fe87bedfb0f867baa6b3d8a74dbe9c5d54f7a4794a4.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 28 assertions; ids retained privately; 28 assertions machine-checked; transcript SHA-256 b2621d75540f8b8702de24e1e93c9a5d1ba94096af68893884fe4ff1b184bebc; artifact-set SHA-256 9f21d490d1b463bbe0763b836d2b482d87a139c4bcc23ba5413e3b6dfd449d6d.
  • Policy: every new head requires a fresh run; this verifier does not change PR state, queue, or merge.

…l overrides, tighten the mirror and pin scans (#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. #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]>
@ericlitman

Copy link
Copy Markdown
Owner Author

Live evidence: Open Pstack

  • Candidate SHA: 172086bc5ee6b07e6f5834eaa4868340ae4b51b7
  • Base SHA: 40d506ccbfef109373efa5d8bc845815871d04a6
  • Result: FAILED — verification did not complete; rerun required
  • Self-test: required in both harnesses
  • Publisher revision: 172086bc5ee6b07e6f5834eaa4868340ae4b51b7
  • Evidence-set SHA-256: 19e44fbb561fa89960265f2026aa6ab89aa0acbe22d726b5b630fec969b1c117
  • 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.

🛑 7 blocking findings
🔴 High · Pending native setup probes count as success
🔴 High · Setup live case accepts writes without any probes
🔴 High · Setup's Claude-native probe route unchecked
🔴 High · Codex-native Luna execution remains unverified
🔴 High · Failed external setup probes still pass
🟡 Medium · External setup probe effort is not validated
🟡 Medium · Validate each probe's unique result marker
Check

@ericlitman

Copy link
Copy Markdown
Owner Author

Operator waiver on head 172086b, 2026-10-14. I accepted these as operator, under Eric's instruction to run the registry's later units, after the step-back at head 3. Head 4 was the last repair round.

Accepted: the new-families setup case does not certify setup's own probes. Seven findings, one cause:

  • pending native probes, and missing, failed or wrong-effort external probes;
  • unchecked probe markers, and an unchecked native probe route;
  • Codex's native Luna probe.

Why these are accepted, not repaired:

  • Not caused by this PR. It changes no setup probing. Its setup edits are the matching order and the rolling-alias migration, and new-families checks exactly those through the written sheet and the Codex mirror. The setup cases already on main (configure, keep-predecessor, first-run) also check only the written sheet.
  • The new routes are proven where this PR changes them. The Claude catalog native-agents case dispatches pstack-sonnet-max and pstack-opus-5-5-max with no model override, and checks a nonce only each child read. The runner feature runs Luna, the pin and Sonnet through the runner, with receipts the recipe owns.
  • Codex native Luna is not observable. The Codex session record does not include spawn_agent. The native Codex route's code is unchanged, and only the model value is new.
  • Trying to certify setup's internal probes from transcripts was tried and removed (head 2's probed()): it grew variants, and it failed an honest Codex run.

What is accepted: a regression in setup's probe step itself, such as writing the sheet before a probe finishes, 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: 172086bc5ee6b07e6f5834eaa4868340ae4b51b7
  • Base SHA: 40d506ccbfef109373efa5d8bc845815871d04a6
  • Result: PASSED — named features verified
  • Self-test: completed in both harnesses
  • Publisher revision: 172086bc5ee6b07e6f5834eaa4868340ae4b51b7
  • Evidence-set SHA-256: 8ce03ffe518fb0fe1aac4b08ff25abb4f709681e4122e254053470c3f571017d
  • Installation (claude): CLI 2.1.294 (Claude Code), plugin 1.8.0, candidate 172086bc5ee6b07e6f5834eaa4868340ae4b51b7, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Installation (codex): CLI codex-cli 0.162.1, plugin 1.8.0, candidate 172086bc5ee6b07e6f5834eaa4868340ae4b51b7, tree 9c1421b8f90add586c60e36457a0ee95ed9ea4155df6d1a21909f00478f141da.
  • Observation (claude / catalog): surface claude -p stream-json with the candidate plugin-dir; action recipe catalog: consume-sheet, native-agents; result passed 12 assertions; ids retained privately; 12 assertions machine-checked; transcript SHA-256 e0472cf18e0c31c1d91e826ff4f065ea62acca4a11627565db9d9f4da8f37e5c; artifact-set SHA-256 ac4eaf0b13f1901ed8b3da38118a5a0bf7e279a2e038db4a618044f361868b98.
  • Observation (claude / runner): surface claude -p stream-json with the candidate plugin-dir; action recipe runner: route-1; result passed: route-1:exit-0 route-1:runner-ran route-1:receipt-complete route-1:route:codex:gpt-6-luna@max route-1:file:lane-1.output.md; 5 assertions machine-checked; transcript SHA-256 3526ae9b06ff0d0c7960981b6356f766c515d6bfe6c59c7cb9068d55cd979dfc; artifact-set SHA-256 ea93ff4f71a8e6c2373cb70eca407b99016536fee544d1f8187f393343bfca54.
  • 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 67c3546cdbade6a03cb318e3cbc79b2183d25cda75e6d3ab773f8100bff4f20e; artifact-set SHA-256 3e12a1a4c076c0d74f88088e07ef4613a8d12eeaec009fbed8137b5c89f53a2d.
  • Observation (claude / setup): surface claude -p stream-json with the candidate plugin-dir; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 25 assertions; ids retained privately; 25 assertions machine-checked; transcript SHA-256 e312ab8aa921c245f88804d3345c4b99ececf54303ad80fcadbb8bfb334f7f83; artifact-set SHA-256 574101dc0b944a6256e6fc9e9763405acc6df9b513330ce6727e1acbad584a56.
  • Observation (codex / catalog): surface codex exec --json with the run-owned candidate installation; action recipe catalog: consume-sheet; result passed 9 assertions; ids retained privately; 9 assertions machine-checked; transcript SHA-256 8c8c78b5e055b0dbbd2564eb3070132674585e6630e343ce7197027e92f92cf7; artifact-set SHA-256 4b7e1453e3560ed59a8417177669ab6b1dc47ac4a5a849076605880b4ea4ed54.
  • 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 751bc5e40b0e1b6cc42948a3a6bc6b1330231d084165cf79e81f4a67a3612b95; artifact-set SHA-256 985607ba84bd38dc89af6d9451d15b9d4870ee323c685eee3455b211c7717ed9.
  • 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 766cfe975e88f4f0e43cb0b7f2cadad8f904aafacb3a7c943fe433e9b9571691; artifact-set SHA-256 06c98dda594dc5dbfc8455b650f0e5fc05169c8b7e8198fb726320cdff3fdcdb.
  • Observation (codex / setup): surface codex exec --json with the run-owned candidate installation; action recipe setup: configure, consume, keep-predecessor, new-families, first-run; result passed 28 assertions; ids retained privately; 28 assertions machine-checked; transcript SHA-256 86d7950c4553109ef3d4a5bd3ac504f78d5291cfbcb3a2e3fad0e2741effec16; artifact-set SHA-256 daebba5fb2fc79a757bd7aa5461f9d1a939d81c086a5471f6f566e3125a41396.
  • 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 13:21 UTC · Rule: default · triggered by merge protections
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-10-14 13:21 UTC · at 768d0f0ae8b6e7c624397d96451a126c880f3625 · merge

This pull request spent 9 seconds in the queue, including 1 second running CI.

Required conditions to merge

@mergify
mergify Bot merged commit 768d0f0 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
Brings in ericlitman#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]>
seiei-sogen pushed a commit to seiei-sogen/open-pstack-sogen that referenced this pull request Oct 15, 2026
Brings in PR ericlitman#182'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 Sonnet, GPT-6 Luna, and exact Claude model pins

1 participant