Let workers check and repair their assigned changes - #104
Merged
Merged
Conversation
arjitj2
marked this pull request as ready for review
September 30, 2026 15:44
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #103
What changed
Writers run suitable local checks, repair failures caused by their edits, and rerun affected checks. External adapters pair tool guidance with invocation flags; every prompt transport receives the same rendered ownership contract. File-only writers request a validated
run-checkshandoff. The parent retains Git mutations and independent acceptance.External Claude writers use session-scoped sandboxed Bash, with no unsandboxed escape or allowed network domains. Project and user settings cannot add command exclusions. A version preflight requires Claude Code 2.1.285 or newer before writer dispatch. Read-only behavior, authentication handling, saved model choices and fallback policy are preserved. Plugin version is 1.10.2.
Verification
Candidate head
b5a5ff7504af9e7d26dcea4645e27e910defe2c8. Both supported local-marketplace installations load plugin 1.10.2. Checkout, loaded marketplace trees and installed caches match SHA-256fd41f4fecdf3a01545bc337ba1c1d5b5643ad4e16f490bea94fc6cc03fd13e30of the sorted relative-path/file-hash map (213 files, generated dependencies excluded).pstack:poteto-mode, dispatched nativepstack:pstack-opus-high$pstack:poteto-mode, dispatched nativecodex:gpt-6.1-sol@highclaude:opus@high,apiSpend: denyclaude-opus-5-5andcompletedevin:swe-2@high,apiSpend: denyexeccall/result pairs before export cleanup: baseline exit 1, recheck exit 0. Receipt iscomplete; exactswe-2-highargv is pinned, backend model identity is not reportedEvery fixture used
python3 -B -m unittest -v. Recorders preserve the observed argv, stdin, stdout and exit status and inject no provider settings. Native observations came from the host transcript, not worker-written logs. Claude also ran permitted read-onlygit status --short; no Git mutation was assigned or observed. Worker prose was treated as advisory.Negative candidate checks:
Operation not permitted; canary unchanged, no retry.https://example.comaccess failed with proxy HTTP 403. The same parent control request succeeded with HTTP 200. No retry or widened network allowance./usr/bin/sandbox-exec. The writer's one Bash attempt failed with exit 126; the in-checkout execution marker was absent, with no unsandboxed retry. This measures sandbox process startup failure, not every unsupported platform.processStarted: false. A synthetic file-only handoff passes fixed task/checkpoint/file/check/HEAD validation and parent acceptance. Unconfigured file-only providers are not claimed as live-verified, and strict Git confinement remains unsupported.All 765 Bun tests pass. Strict typecheck, maintenance/session-start/documentation tests, documentation checker, static invariants, Claude plugin validator, manifest parsing, upstream ledger and verification Doctor pass. CI
verifyis green on the exact head. Copilot review was requested and confirmed; its account quota was exhausted, so no line findings or approval were produced.Failed and incomplete probes remain retained separately outside the checkout. An initial external capture missed recorders because of login-shell PATH setup; fresh fixtures with explicit process instrumentation supplied the successful evidence above. No provider fallback or continuation was used. The independently tracked incomplete Devin export in #60 remains outside this change. No lab reports or private transcripts are packaged.
Documentation impact
Updated the behavior owner
plugins/pstack/skills/poteto-mode/references/provider-dispatch.md, the worker verification recipe, package manifests, changelog, and the version mirror inUPSTREAM.md.