Repository navigation
feat(runner): add Amp as a read-only external provider (#158) - #208
Conversation
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 #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]>
Merge Protections🟢 All 2 merge protections satisfied — ready to merge. Show 2 satisfied protections🟢 Queue ready pull requestsAutomatically queue non-draft pull requests targeting main after verify, Unfret, and live-gate pass on the head and every review thread is resolved.
🟢 🚦 Auto-queueWhen all merge protections are satisfied and these conditions match, this pull request will be queued automatically.
|
|
[High impact] No actionable defect was found in the changed code; the required exact-head live gate still governs merge readiness. SummaryAdds Amp as an opt-in external provider for Claude Code and Codex, with
Reviews (1) · Last reviewed commit: "feat(runner): add Amp as a read-only ext..." · Reviewed by Greptile |
Live evidence: Open Pstack
|
✅ No blocking findingsWalkthroughAdds Amp as a new read-only external provider for pstack-runner, with one opt-in model family
Details
First review of this pull request. @unfret review · @unfret status · @unfret help |
|
@Mergifyio refresh |
Merge Queue Status
This pull request spent 9 minutes 56 seconds in the queue, including 9 minutes 38 seconds running CI. Required conditions to merge
|
✅ Pull request refreshed |
Live evidence: Open Pstack
|
Summary
Adds Amp as a read-only external provider, restored from
08556cd(reviewed in #196). Under #203, a read-only lane means the read-only settings pstack passes to Amp; the runner adds no refusal or guard because of the operator's own host, account, repository or organization configuration, and the catalog notes say what that configuration can do. Closes #158.amp-deepseek-v4.1-flash: Amp's officialdeepseek-v4.1-flashmode, effortdefault, on the personal ampcode.com login. Proof is the pinned mode in the argv..amp/refusal. The catalog notes state what still loads and what it was measured to do: Amp's ownofficial-modesplugin (no version pin), system plugins underXDG_CONFIG_HOME, personal and workspace plugins from ampcode.com, machine and workspace managed settings, and a repository's.amp/settings and plugins.Evidence
0.0.1792123242-g03edc7, personal login, through this branch's launcher before the rebase ontomain(pstack-runner --parent claude --provider amp --model deepseek-v4.1-flash --effort default --mode read-only):complete, preflight passed, output equal to the fixture's marker..amp/settings.json: exit 0,complete, no refusal, output equal to the marker.amp.test.ts(argv, settings file, environment, preflight, parser,adapterSuite);run.test.tslanes, including one in a workspace holding.amp/.cbc2734from trustedmain1e8e2c6, 10 planned sessions: evidence comment. The Claude and Codex parents each dispatchedamp:deepseek-v4.1-flash@defaultread-only through the installed launcher; both lane receipts readcompletewith preflightpassed, and both parents resolved the regenerated catalog.Merge Danger
Door: two-way. A new provider that no default role uses; reverting removes it.
Blast Radius: opt-in. Only a model sheet that names
amp:...reaches it. Each lane is a private ampcode.com thread and spends Amp credits.Live gate
Run from trusted
main, because the PR does not change the verifier. 10 planned sessions.claude:runner,codex:runnerwith--runner-route amp:deepseek-v4.1-flash@defaultclaude:catalog,codex:catalogNo
setup: setup's behavior does not change.Acceptance criteria
deepseek-v4.1-flashmode with a run-owned--settings-filethat enables onlyRead,AMP_IGNORE_GUIDANCE_FILES, private threads and the personal ampcode.com login, and no.amp/refusal"amp.test.ts; the two direct live lanes; the exact-head live gate..amp/settings and plugins, and Amp's ownofficial-modesplugin, and that these can enable tools, change modes or run code in a lane."references/model-catalog.mdAmp notes, from the batch-158 Amp captures.-x --stream-json; the pinned official mode; the run-owned settings file;pinned-argvproof (Amp's stream never names the model).Gate results
On head
cbc2734(rebased ontomain1e8e2c6):bun run testbun run typecheckbun run staticclaude plugin validate plugins/pstackNot verified
🤖 Generated with Claude Code