Repository navigation
Description
Current scope (maintainer, 2026-10-13)
Registry unit U5, read-only. See the captures and design-pass comment below for the evidence and the accepted and rejected points.
Acceptance criteria
-
Given a sheet uses
devin:swe-2@<medium|high|max>ordevin:swe-1.6@default, when the runner dispatches it read-only from either parent, then argv carries the full variant ID (swe-2-max,swe-1-6). The receipt's model proof is the export'sgeneration_model, equal to that ID, and the reply comes from the export, not stdout. -
Given an
isolated-writeDevin lane, when it resolves, then it is refused before launch. -
Given a Devin lane, when it runs, then it uses a run-owned lockdown
--configthat turns off subagents, MCP, web search and host rules, and its environment omitsDEVIN_PERMISSION_MODE,DEVIN_SANDBOX,DEVIN_MODELandDEVIN_REFUSAL_FALLBACK. -
Given the captured shapes, when the adapter classifies them, then:
- logged out at exit 0 is
unauthenticated; - an unknown status is inconclusive and maps to
child-failed; - an unknown model is
unavailable-model; - SIGINT and SIGTERM are
cancelled; - a rejected tool with an empty final message is a failure.
Unit tests use sanitized capture fixtures.
- logged out at exit 0 is
-
Given setup, when a role whose playbook delegates with
isolated-writeis assigned to a read-only-only provider, then setup refuses it and says why. A read-only role such ashow exploreracceptsdevin:swe-2@maxand probes it through the runner. -
Existing Claude, Codex and Grok argv and receipts are unchanged. Bun tests, strict typecheck, static invariants and plugin validation pass.
Live checks
Both harnesses, from the candidate head, with --self-test:
runnerwith--runner-route devin:swe-2@max --runner-route devin:swe-1.6@default;setup:how explorerassigned to SWE-2;catalog: a Devin lane, reported as external.
Original request
Add an optional Devin CLI provider to pstack's external runner so Codex and Claude Code can delegate selected roles to SWE-2 or SWE-1.6 while retaining the parent coordinator.
Scope: explicit model and effort mapping, authentication checks, non-interactive invocation, bounded access modes, result receipts, setup documentation, and runner tests. Existing default panels remain unchanged. Devin is an external provider, not a new parent harness.
This belongs in open-pstack's provider adapters because it connects an additional CLI to the existing cross-harness runner without changing Cursor's upstream workflows.
Activity
ericlitman commentedon Oct 1, 2026
Prior art: #70. Waits on the registry design in #103.
ericlitman commentedon Oct 12, 2026
The #103 registry design was approved on 2026-10-11 (design, PR #154). Devin is unit U5:
runner/providers/devin.ts, one line inregistry/providers.ts, and family entries for SWE-2 (efforts: { medium: "swe-2-medium", high: "swe-2-high", max: "swe-2-max" }) and SWE-1.6.default, sodevin:swe-1.6@defaultruns--model swe-1-6.--exportATIF file, which the runner reserves inside a private directory.HOME), a failed turn, a cancelled turn, and tool approval inautoandaccept-edits. An access mode that the captures do not show to be bounded is left out oflaunch.supports.--sandboxcounts as bounded.This issue now waits on #155, #156 and #157.
ericlitman commentedon Oct 12, 2026
Recorded from the registry design review (Greptile on PR #154, #154 (comment)): the
model-idbranch ofFamilyEntrycannot keep a predecessor's effort-to-model map. If a released Devin family later changes its model slug,RELEASED_PAIRSwould require the old pair to keep resolving, and this shape cannot store the old mapping. U5 should add a predecessor shape formodel-idfamilies with a resolution test, or state why SWE-2 and SWE-1.6 do not need one.ericlitman commentedon Oct 14, 2026
Captures and design pass (2026-10-13)
Captures of Devin 3000.10.21 on the operator's Mac:
~/projects/docs/projects/open-pstack/records/2026-10-13-batch-54/devin-captures/report.md(private docs repo). The raw files stay local, because they carry account identity. Design pass by Astra (high, read-only at40d506c):design-69.mdin the same folder.What the captures changed
--sandboxforces Devin's autonomous mode and lets shell commands write in the cwd, soauto --sandboxis not read-only. Read-only isautowithout--sandbox, enforced by Devin's approval policy, as Claude'splanmode is.--sandboxOS-bounds shell writes but rejects the edit tools, andaccept-editswithout--sandboxis bounded only by approval. So, by the design's rule, the adapter lists read-only only. This answers "whether--sandboxcounts as bounded": not as a writer mode.CLAUDE.md, MCP servers, web search and subagents by default, and no flag turns them off. A run-owned--configlockdown file does (subagents_enabled: false,read_config_fromsources false, andpermissions.denyformcp__*,web_search,webfetch,run_subagent,Fetch(http*://*)). Devin rewrites that file, so the runner creates it fresh in the lane's private provider directory.--respect-workspace-trust false.devin auth statusexits 0 when logged out. The preflight reads stdout:^Logged in \(via Devin\)\.passes,^Not logged in\.is unauthenticated, and anything else is inconclusive.steps[-1].extra.generation_modelequals the CLI model ID. Stdout can start with a first-use welcome banner.unavailable-model/69;DEVIN_PERMISSION_MODE,DEVIN_SANDBOX,DEVIN_MODELandDEVIN_REFUSAL_FALLBACK(a model fallback).Accepted from the design pass
launch.supports: ["read-only"], with argv-p --prompt-file <prompt> --model <cliModel> --permission-mode auto --respect-workspace-trust false --export <absent path> --config <run-owned lockdown>.Lane.cliModelwith an effort-to-model-ID map for model-ID providers, one optional provider sidecar directory per lane holding the lockdown config and the export, and aninconclusivepreflight verdict mapped tochild-failed/70.DEVIN_*variables are dropped.ROUTEand setup descriptor patterns beyond claude, codex and grok.Added by the orchestrator
isolated-write:feature, refactoring,bug-fix,perf-issueandhillclimb. Otherwise the probe passes and the role fails later at dispatch. The catalog states each provider's supported modes.Rejected
Live checks (both harnesses, from the candidate head, with
--self-test)runnerwith--runner-route devin:swe-2@max --runner-route devin:swe-1.6@default.setup: one case assigning the read-only rolehow explorertodevin:swe-2@max. Setup probes it through the runner and keeps it.catalog: the fixture sheet adds a Devin lane, and the parent reports it as external.Order: after PR #182 (#54), which shares
registry/models.ts, the catalog and the recipes.fix(runner): refuse Devin lanes in repositories with .devin/ config, …
fix(setup): refuse read-only providers for architect runners, prove t…
Merge pull request #183 from ericlitman/feat/69-devin-provider
feat(runner): add a read-only Devin provider with SWE-2 and SWE-1.6 (e…
Merge PR ericlitman#183's final head into feat/80-codex-full-access-w…
release: Open Pstack 1.9.0 with Luna, Sonnet, the Opus 5.5 pin, Devin…
[MEDIUM] Update pstack and add formal verification skills (#2)