Repository navigation
fix(agent): preserve native custom workflow directory identity - #6813
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review. Summary by CodeRabbit
WalkthroughWorkflow output paths now use native path rendering in generated commands and workflow metadata. Unix CLI smoke tests exercise relative and absolute custom output directories, including slash-path decoys and missing-verification handling. ChangesCustom Workflow Directory
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: 🟡 Moderate · up to The change preserves native characters in custom workflow paths, with focused smoke-test coverage. The reported required qualification has not yet passed; resolve or rerun it before merging. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 3 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 15.79% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 19 functions across 3 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
A rabbit checks the paths at night, Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE — independent exact-head proof-source review for hosted tests-first execution.
Subject: head 3d3f105, tree ca05a3e1a2e62711bc7814c5faf6da9acfcc5709. Read-only reviewer /root/review_cross_interface inspected immutable committed objects independently; root reconciled the result. Root is the author, so this is COMMENT with an explicit disposition, not an approval.
Only three files changed: the new Unix workflow_directory witness, module registration and SPEC0011 traceability. Production/instructions unchanged. Witness Git blob78fe2c7c1a65979a0513060cfcfe786bb7a38d66 matches preliminary canonical LF bytes SHA256 b010a9fa453a2fc9882a8103a3b690abffc4eed6c2957571bc890cf46500b1f3.
No repair required before intended behavioral RED: genuine decoy start/check/verify/no-out receipt precedes the selected native-file discriminator; origin/main default-base setup and descendant HEAD movement reach real producers. Existing drained/deadline-bounded spawn helper executes the emitted POSIX line unchanged; NUL argv custody is separate. The oracle checks native bytes/dev+ino, input digests, receipt locator, regeneration output, artifact inventory and immutable source/decoy custody. Cleanup arms only after exclusive creation. Missing custom verify keeps refusal2/no stdout/no invented hint.
Strong counter-read: valid decoy verify/receipt agreement alone cannot satisfy the selected native-file check. Acceptance correctly limits an absolute selected --root with both relative and absolute custom --out. Arbitrary relative-root and native Windows/PowerShell/installed/full cross-interface qualification remain outside the claim.
Compile/setup runtime, intended RED, unchanged-witness GREEN, production repair, final candidate review and Ready-triggered required checks are NOT_ESTABLISHED. Native carrier run37285865300/job111684482352 is in progress; this review is not REVIEW_READY or merge authorization. No local Cargo/build/install/fetch/write performed by reviewer; reader released.
There was a problem hiding this comment.
Confirmed findings
- Tests-only PR with no production code, no native unsafe, no new I/O surfaces beyond a per-test temp NUL file written by the test's own sh wrapper. No secrets, no PII, no command injection sinks beyond args already passed to spawn_command which the parent module owns. Traceability entries are metadata only. No security-meaningful change to attack surface.
- ub-worker-handoff lane has no in-scope surface for this test-only diff; any review of process spawning across shell()/cli() calls falls under ub-active-view rather than worker-handoff. No public issue to post.
- Native inode check assumes /tmp on a single filesystem; tmpfs vs disk dev difference is asserted but not exercised by RED if dev matches.
Verification questions
- Confirm no production source for shared custom-workflow rendering, metadata, or receipt locator is changed; the diff is a test-only witness plus a TOML traceability entry. PR body language 'writes a custom native directory' is not grounded in this PR diff.
- Confirm production/agent code is unchanged; this is a tests-first witness with
#[cfg(unix)]guard and RIPR-SPEC-0011 traceability. No new UB surface is introduced. Residual risk is the argv-custody reuse pattern, already covered as a candidate finding; trust deferred to scheduled cargo-test receipt. - Confirm cargo-test receipt is scheduled-late, not bundled into the initial sensor wave; ripr sensor failed with exit code Some(2). No production code is touched by this PR, so a cargo-test failure on origin/main would not be a diff regression but would still need a re-run on HEAD before merge to confirm the new test binary links.
- Confirm argv custody file argv_path persists across shell() calls within workflow_case; if a generated command bypasses the ripr shell function (absolute path, command ripr), later shell() reads stale NUL-separated argv from a prior step, making failures misleading rather than indicating the real cause.
- Confirm control_argv at decoy phase is consumed via argv[5] without a preceding exact_argv guard; if the real emitted agent_verify token sequence shifted, the test would fail with a positional-index decode rather than the exact-argv oracle, weakening the negative-control RED claim.
- Confirm argv custody is a separate NUL-terminated file written by the wrapper function; it is not part of the emitted producer command, but a generated command that bypasses the wrapper would read prior bytes. Exact_argv oracles guard every primary subject before native identity checks, so a stale reuse would fail loudly on whole-argv equality before the dev+ino check.
- Confirm argv custody file argv_path is appended-to across shell() calls; if a generated command skips the ripr function (absolute ripr binary call), subsequent exact_argv checks could silently pass or mis-attribute mismatch.
Refuted
- Path traversal or arbitrary file write via the relative --out value (e.g. ../) could escape the repository root and overwrite host files; refuted because: Path is joined onto root via root.join(relative) and used as a directory target for test artifacts; cli() does not perform any chroot or filesystem isolation, but the workflow is only written under root. A malicious --out would still land inside root (or the user's home if absolute) and the test asserts exact argv bytes; no silent host-file overwrite beyond what the test already requests.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE — independent exact published-head source/oracle review; runtime GREEN and required qualification pending.
Subject ec97344/treeae8605fbeb17b0820f641f552fb76c1d62d8e456. Read-only /root/review_cross_interface independently reviewed the full75214606 runtime change and the exact752..ec documentation delta. Root reconciles this COMMENT as author; it is not approval or REVIEW_READY.
The three substitutions use the existing native renderer for custom workflow artifact operands, regeneration --out and manifest directory metadata. Windows separators, empty/plain/leading-./ behavior, emitted command shape, parser/validators/containment/canonical equality/currentness/schemas/completeness are unchanged. Shared producer/consumer paths remain the owners; no parallel validator/route. Docs/traceability align SPEC0011 and SPEC0134 with the tested ordinary absolute-root boundary.
The unchanged witness78fe2c7c1a65979a0513060cfcfe786bb7a38d66 reaches real CLI start/check/verify/receipt producers, fixed origin/main/descendant revisions and exact emitted POSIX commands from foreign CWD. Strong negative: genuine decoy evidence and receipt agreement cannot satisfy the selected native file oracle. argv/dev+ino/content identities, regeneration/inventory and immutable custody/refusal assertions are late GREEN obligations.
Independently retained native REDrun37285865300/job111684482352, checkout5752b85316205aac5a77623a8b0fa3d221daf950/tree77544258fec4c9571fa37128152bb833d5b82b4e. Twelve whole owning/helper/witness/fixture/workflow Git objects equal tests-first3d3f105a; the entire checkout tree differs and is not relabeled candidate execution. Raw1,214,140B SHA25673a830d1543a5ff1db1aecb0d47ed3e817b7a6357509b5986b6b2917e0f21497. cli_smoke341PASS/2intendedFAIL/0ignored, both selected native before-file OS2 after genuine controls. Selected late after/verify/receipt/metadata/custody assertions remain unrun on RED.
No blocking source/oracle finding. Documentation refinement correctly excludes arbitrary relative roots and workflow root names containing a literal Unix backslash; those remain source-only3999 residuals. No nonUTF8, PowerShell/nativeWindows/installed/stockMCP/LSP/cancellation/full-parent/support qualification. Existing accepted6684/6313 evidence unchanged. Rollback is bounded squash revert.
Current native unchanged-witness GREENrun37289707087 and Ready-triggered required checks remain pending. Therefore current late controls and full final readiness are NOT_ESTABLISHED. No localCargo/build/install/shared target/new runner. Reader performed no writes/builds/fetches and released.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE — current exact-head semantic review and genuine unchanged-witness GREEN qualify; required result/artifact and final integration fence remain pending.
Subject ec97344/treeae8605fbeb17b0820f641f552fb76c1d62d8e456. Independent read-only reviewer /root/review_cross_interface verified actual source/oracle/platform boundaries and both retained native executions; root reconciles this author COMMENT.
REDrun37285865300/job111684482352: checkout5752b85316205aac5a77623a8b0fa3d221daf950/tree77544258fec4c9571fa37128152bb833d5b82b4e; twelve whole watched source/helper/witness/fixture/workflow objects equal tests-first3d3f105a. cli_smoke341PASS/2intendedFAIL/0ignored; native selected before-file OS2 after genuine decoy controls. RawSHA73a830d1543a5ff1db1aecb0d47ed3e817b7a6357509b5986b6b2917e0f21497 remains preserved; selected late checks unrun on RED.
GREENrun37289707087/job111697180202 completed SUCCESS. Actual checkout44f1945f650df946cc68630ddabf947719ce06f6/tree18f315f279ed26b17764680742fd935713503d08, parents99ddb9db3ddc3ee02586e5f52ec6dadd641cd64b+ec973. Raw1,214,109B SHA6f37097d3003436a9d67425bf0a2ec8ab89af2eaaa801ce23632eb6f45580d25. cli_smoke343PASS/0FAIL/0ignored, both exact subjects PASS. Unchanged witness78fe2c7c1a65979a0513060cfcfe786bb7a38d66 reached all selected argv/after/verify/receipt, inode/content identity, regeneration/metadata/inventory, immutable source+decoy custody, foreign target absence and missing-custom refusal assertions. Eleven watched objects equal the candidate; config differs solely by added loaded_config_identity, leaving apply/config/root selection unchanged with no fixture ripr.toml. Entire checkout tree differs and is not relabeled candidate execution.
No blocking source/oracle finding. Three shared native renderer substitutions preserve custom-directory identity; admission, schemas, completeness and old Windows presentation remain unchanged. Public contract excludes arbitrary relative roots and literal-Unix-backslash workflow root names;3999/3091 remain open. No nativeWindows/PowerShell/installed/full cross-interface qualification.
Finding4182245151 is optional future custody-failure diagnostic hardening, not a current false-pass defect. Existing bare-ripr emitter refreshes capture; guarded7→9→11→8 shapes and independent native output commitments/custody reject wrong subjects. Before/after shared shape is not an independent after-argv acceptance claim. Root source-backed reply4182660665 confirmed, thread resolved/read back, all six threads resolved.
Ready transitioned on exact head at09:46:45UTC after GREEN. Required run37292284539, GitHub-hosted worker111705359448 is running; full actual-step/artifact/denominator inspection still missing. Classic protection requires app15368 Ripr Rust Small Result, strictfalse, zero approvals; active18845973 rules require resolved threads. No settings/admin bypass/extra gate.
Final REVIEW_READY and normal expected-head protected squash await the required artifact/result and current integration-basis inspection. Reader released/no writes/builds/fetches; no local Cargo/build/install/shared target/new runner. Prior6684/6313 source/proof intact.
There was a problem hiding this comment.
Verification questions
- Confirm final-head native GREEN log on the exact witness is not in the cached evidence; the lane's source-route verdict relies on the tests-first RED log (SHA256 73a830d1…f2ae2e) and the unchanged witness blob 78fe2c7c, both referenced in the PR body. Reviewer-visible GREEN artifact should be requested before merge to close Devin's open observation.
- Confirm crates/ripr/src/agent/loop_commands.rs:343 —
display_pathstill has callers used by generic report/spelling display; confirm those callers do not feed a custom workflowout_dir(or that they intentionally continue to render slash-normalized text). The current diff does not regress them, but the three-site substitution leaves the risk that future callers will mixroot_path_displayinto a generic report path.
Refuted
- Literal Unix backslash or shell quote in --out value could escape the shell wrapper or cause command injection in the generated check/verify/receipt commands.; refuted because: The shell() helper defines
ripr() { printf '%s\000' "$@" > ...; ... "$@"; }and executes the exact producer line via spawn_command('sh', ...). The argv recorded is compared token-by-token via exact_argv against the full expected sequence, including every flag/value position. A successful injected escape would either alter a token (caught by exact_argv) or match the expected token (which means the producer itself emitted the injection, contradicting the unchanged emitter contract). native_identity additionally checks dev+ino on the opened path. - display_path→root_path_display swap could detach/reattach a backing String buffer in a way that leaves a stale view elsewhere; refuted because: Both functions return owned String; no caller retains a view of the previous display_path output across the substitution. The diff replaces the let-binding and the renderer is called exactly once per site. No active-vs-backing-store split exists in the changed Rust code.
- Rust diff containing bytes/Path/OsStr might hide a JS-worker detach or transferable object boundary through some indirect FFI.; refuted because: Repo is pure-Rust CLI; no wasm-bindgen, napi-rs, neon, deno_core, v8, or JS runtime dependency introduced or relied upon. Changes are String and OsStr conversions in the same module, no new crate, no new dependency, no FFI surface. ub-worker-handoff is a no-surface lane for this PR.
- Test could pass on a slash-decoy if the renderer silently normalized literal backslashes/quotes, because decoy/selected may share bytes after normalization.; refuted because: Relative uses literal backslash + shell-quote (selected = target/ripr/work\flow 'quoted'); decoy = target/ripr/work/flow 'quoted' (slash-normalized). Different paths, asserted !selected.exists() pre-selected, distinct (dev,ino), distinct bytes. If renderer normalized, selected-path native_identity fails and exact_argv token comparison fails.
Evidence gaps
- Final-head GREEN and independent required checks remain pending; cargo-test is scheduled-late and ripr failed at exit 2. PR body explicitly marks Draft and GREEN as outstanding.
- No final-head GREEN log is present in the seeded PR thread; only tests-first RED (CI37285865300, 341 PASS / 2 intended FAIL) and an independent proof-source review (REVIEW_INCOMPLETE). Devin's comment explicitly notes final-head proof is pending.
- Model proof intent was rejected by deterministic validation.
Parked follow-ups
- Tests-first witness uses index[3]/[5]/[7] in argv only after exact_argv asserts the complete token sequence at length; reuse risk of argv-custody is bounded and a future alternate emitter is parked, not a current false-positive.
- Parked follow-up: broader #3999 (admission/schema/completeness) and #3091 remain open but are explicitly out of scope for this bounded squash; no helper-group broadening is warranted by this diff.
- Gemini find_arg_after and CodeRabbit pre-script delete are addressed by author: each index guarded by exact_argv; no current false-positive path. Filed as nonblocking diagnostic only.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent current-head qualification review: REVIEW_INCOMPLETE.
Subject ec97344. Read-only reviewer independently verified the three official artifact digests/inventories, native run context, JUnit12585 unique PASS/0FAIL/0XMLskips, both unchanged workflow witnesses PASS, and two console exclusions. Actual required checkout44f1945f/tree18f315f, first parent99ddb9db. Full witness success reaches all selected identity/receipt/regeneration/inventory/custody/refusal assertions. No new workflow source/oracle regression established.
Required37292284539 worker111705359448 and Result111718231840 legitimately failed the three inherited config_identity goldens. Doctests2PASS/1ignored; fixture contracts and PR evidence unrun after failure. Existing owner6818/6819 atb88e8bdd owns the three expected-line/CHANGELOG fixes. Incoming6777 config authority and immutable fixture bytes explain the reported values; independent/root FNV corroboration is distinct from producer stdout. No full actual three check.json documents were retained in official archives, so complete byte equality remains NOT_ESTABLISHED.
Retained exact required capsule044c4dda310a78cc57bbc9bf52181104fb2a76e26437614d5e6f2cb651f3f243 includes log, source bindings, native context, all archive member custody and gate omissions. No duplicate fix or new route. Await the existing owner's independently verified normal landing, then materially reconcile main with the original witness unchanged and refresh affected current required/delta/integration proof. Required success plus a final current-head REVIEW_READY and fresh protection/integration fence are still necessary; no additional approval gate is invented.
Read-only reviewer released; root remains sole writer. No local Cargo/build/install/shared-target or new runner/Windows/installed claim.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: 24b262f
integration_basis: 5ec85aa
claim_boundary: native custom workflow --out identity for ordinary absolute selected root; broader root spellings remain3999 residuals.
Independent exact-head source review found no blocking source/oracle defect. The8file439+/4- residual contains the same3native-renderer substitutions and original witness78fe2c7; all6prerequisite golden/changelog objects match qualifiedb88/landed5ec. Root verifies15whole watched objects match previously tested44f, independently corroborating unchanged stimulus/oracle/producers/config/check/CI instructions. Reviewer followed incoming repo-exposure artifact extraction: kind, producer command, canonical identity are preserved; repo-seams is a distinct route and badge persistence/count branch does not alter this workflow producer. No manual conflict edits or new golden repair.
Retained genuine RED and unchanged-witness GREEN remain valid for unchanged implementation/oracle. Previous required12,585PASS/two console exclusions/both full witnesses followed by inherited-goldens FAIL remains retained with exact raw/ZIP/capsule custody; omitted fixture contracts/PR evidence are not claimed. Full failed actual three check.json byte identity remains NOT_ESTABLISHED. Existing owner6819 is canonically qualified and merged5ec.
Local standalone formatting and whitespace PASS; no Cargo/build/install/target work. Entire new combined tree46a57 differs from previous18f, so execution is not borrowed. Canonical prospectiveb25d7125/local composition46a57 equals source tree; this is not actual worker evidence. Refreshed required37301195953/worker111734158433 is running. Current actualcheckout/artifacts/Result/denominators and fresh protection/integration/thread fence remain missing.
affected_currentness_dimensions: incoming semantic prerequisite/integration basis, entiretree and candidate head; implementation/stimulus/oracle/public scope unchanged.
non_claims: no Windows/PowerShell/installed/nonUTF8/stockMCP/LSP/cancellation/full3999/3091 qualification.
disposition: REVIEW_INCOMPLETE until current combined required proof and final integration fence. No source repair or additional approval gate is identified.
Read-only independent reviewer released; root sole writer. No new route, runner, release, deployment, security/credential/settings or permanent purge action.
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Rust source-ub diff; no JavaScript/Wasm/ArrayBuffer/TypedArray/resizable-buffer surface exists in this PR. ub-active-view jurisdiction is empty; coverage is preserved in internal_audit.
- This PR introduces no new trust boundary, secret material, or attack surface: only path rendering substitution, test module registration, doc/spec tightening and a changelog entry. Existing drained/deadline-bounded spawn helper is unchanged.
Verification questions
- Confirm pR is pure Rust path-renderer fix plus a unix-gated cli_smoke witness; ub-worker-handoff has no JS/async/Worker/MessagePort/Transferable/detach/structured-clone surface to evaluate. Posting would be noise.
Refuted
- Stale PathBuf length after display_path→root_path_display substitution could cause verify/receipt to open a reallocated String slice whose backing buffer was freed, producing use-after-free.; refuted because: root_path_display returns a fresh String (or uses existing path-display renderer that does not reallocate after return); callers bind it to let out_dir = ... and immediately format! or push it into manifest fields. The String is owned for the lifetime of the manifest value, which lives until the JSON envelope is serialized. The test harness reopens the path via Path::new(OsStr::from_bytes(...)) from the recorded argv bytes, which is a fresh allocation. No aliasing, no detach, no transfer.
- No JS/TS in this workspace; the lane's worker/AsyncIterator/transfer/detach/GC surface is genuinely out of scope. Rust diff only changes path stringifier and adds a #[cfg(unix)] test that spawns sh synchronously.
- The fix should have been a new helper that always preserves native workflow directory bytes, leaving display_path untouched for generic report display.; refuted because: Reusing the existing root_path_display at the three sites is strictly smaller: it introduces no parallel route, no second interpretation, and the three sites are the only workflow out_dir string consumers in the diff; display_path remains the owner for generic report/spelling display and the diff does not regress those callers.
- root_path_display is a no-op alias of display_path under cfg(unix), so the substitution cannot fix backslash loss and the GREEN measurement is a decoy coincidence.; refuted because: root_path_display is an independent renderer that retains literal filename bytes; display_path remains for generic report/spelling. Decoy-control pre-phase proves slash-normalization still produces a distinct inode, and native_identity checks opened dev+ino against the selected target after the fix.
Parked follow-ups
- No sibling Windows helper, manifest regeneration route, or hidden custom-workflow out_dir emitter remains slash-normalized; display_path callers for generic report/spelling are intentionally retained.
- Spec/changelog scope is explicitly bounded; no overclaim to arbitrary relative-root, literal-backslash root, Windows, or missing-input recovery.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: 24b262f
integration_basis: 5ec85aa
claim_boundary: native custom workflow --out identity for ordinary absolute selected repository root without literalUnixbackslash; relative/absolute custom output paths. Broader3999/3091/rootspelling/platform claims excluded.
disposition: REVIEW_READY. Independent read-only reviewer/root inspected the current published source, semantic owners/consumers, unchanged stimulus/oracle, native artifacts and current protected fence. No blocking source/oracle/review finding remains. Incoming artifact extraction retains repo-exposure identity/producercommand; separate repo-seams/badge routes do not bypass this workflow evidence owner.
The original witness78fe2c7c1a65979a0513060cfcfe786bb7a38d66 remains unchanged from genuine tests-first RED through the3native-renderer substitutions. Successful slash-decoy producers cannot satisfy selected physical-file/inode/custody assertions; both actual producer paths reach receipt0.5 incomplete/missing semantics, regeneration/inventory and missing-custom refusal. Optional custody diagnostic suggestion is not a current false-pass defect.
Required37301195953 worker111734158433/Result111747103963 fromapp15368 SUCCESS. Actualb25d71253bae511dd46753bb47a76ea9e40ed6bf, parents5ec+24b, tree46a57decc60d7d00dff3b0c62102fb8ca2682340 equals the entire candidate and current prospective squash composition. Native context1.95/Linux/nextest0.9.146 exit0. JUnit12601uniquePASS/zero fail/error/XMLskip,2console exclusions; bothfullworkflowwitnessesPASS,17distinct previously recorded lane subjectsPASS,13sharedloopowner controlsPASS separately (excludesxtaskcopies). Doctests2PASS/1ignored; strictClippy/goldens/fixtures/PRevidencePASS. AdvisorydryrunPASS; advisoryreports/generalreportupload/alternativerunners/scratch stages skipped. No local Cargo/build/install/target work.
Official ZIP/raw digests independently/rootverified; complete nativecapsuleSHA25690e2ce126a63021e5d57893dab24c61cf764c59f4eefe88c8666f030aa15a6e3. OriginalRED/unchangedGREEN/failedpredecessor exact capsules remain preserved; fullhistoricalfailedactualJSONbyteidentity remainsNOT_ESTABLISHED. Existing6818/6819 owns the qualified/landed6golden/changelog prerequisite; no duplicatefix.
Currenthead24b/main5ec unchanged;7threads answered/resolved/readbacktrue/CLEAN, including fulfilledfinal-headproofreply4183748739. Freshclassic protection requires app15368 Result, strictfalse/0approvals; active18845973 requiresresolvedthreads/0approvals andpermitsquash. Requiredtail iscurrent111747103963SUCCESS. Normalprotected squashmayproceed; no bypass/settings/newapprovalgate or merge claimed by thisreview.
Residuals: no arbitraryrelative-root/literalbackslashworkflowroot/nonUTF8/nativeWindows/PowerShell/installed/stockMCP/LSP/cancellation/full3999/3091 qualification. Read-onlyindependentreviewer released; rootsolemergeactor; cleanup waits for actualacceptedlanding.
ripr agent start --outwrites a native custom workflow directory, but its generated artifact paths previously replaced a literal Unix backslash with a slash. The snapshot/verify/receipt chain could then consume a separate directory while agreeing with itself. This change preserves the selected directory in workflow artifact operands, regeneration--out, manifest locators and artifact inventory.Closes #6809; bounded follow-up under #3999. Exact published head
24b262f6facf7800f3665f090092cc0364d398d5, tree46a57decc60d7d00dff3b0c62102fb8ca2682340. Landed config-identity golden prerequisite #6819 is normally merged, preserving the original witness and production delta. Independent current-head source review has no blocking finding; refreshed combined required qualification is GREEN on the entire candidate tree. Final independent readiness and normal protected integration are complete; accepted squash0ef6bb8c has the same qualified tree.Swarm / Source Boundary
ordinary product repair in EffortlessMetrics/ripr-swarm
One production behavior: preserve custom workflow directory identity using the existing native path renderer.
Governing issue fix(agent): preserve the native custom workflow directory in generated artifact commands #6809; parent fix(agent 0.11): carry resolved selected-root authority into generated commands and portable CommandSpec #3999 remains open. SPEC0011 and SPEC0134 plus traceability are updated.
Candidate
codex/cross-interface-custom-workflow-directory; original source basis6dd666d167f8427e638e2eb9f2481bbd83baf084, current integration basis5ec85aaab09ec721db7db25c07af9d59be8d8684. Material inherited golden prerequisite goldens: main red — 3 fixtures drift after #6777 bound config into check identity #6818/fix(goldens): adopt intended config_identity hashes missed by #6777 sweep (#6818) #6819 is landed; no pending stack.Reconciled fix(check): bind the drill-in --root to the resolved repository (#3948) #6759 (check navigation) and fix(pilot): rank the current change first, name the scope, write the packet under --root (#5324) #5480 (pilot), which own different behavior. Accepted fix(cli): preserve native root in missing workflow verify recovery #6684/fix(cli): preserve native paths in workflow verify recovery #6697 and fix(agent): retain native Unix roots through general status and receipt continuation #6313/fix(agent): retain native inventory and receipt identity (#6313) #6626 remain unchanged. No fix(mcp): preserve receipt completeness and open-gap meaning in terminal status #5199 completeness or feat(repair): exact attempt selection and fresh-process resume for agent status (#4798) #5234 read-path duplication.
Acceptance and implementation
With an absolute selected repository root without a literal Unix backslash in its name, both relative and absolute CLI
--outvalues must retain a UTF-8 Unix custom directory containing a literal backslash and shell quote through persisted workflow paths, regeneration, emitted snapshot redirects, verify inputs/output and receipt locator. Copying the exact commands to a foreign CWD must consume the selected native files and leave an independent slash-decoy unchanged.The runtime delta is three substitutions to
root_path_display:loop_commands::workflow_artifact_path, manifestout_dirandAgentWorkflowPaths.out_dir. Windows keeps its existing separator rendering. Generic report display, root spelling, admission/containment/canonical equality/currentness, schemas and completeness semantics are unchanged.Genuine tests-first RED
Tests-first head
3d3f105a7980d72eb553b860a9f88e3513753d7b, witness Git blob78fe2c7c1a65979a0513060cfcfe786bb7a38d66. That exact witness is unchanged on the repair head.Native CI37285865300 / Rust-only job111684482352 executed checkout
5752b85316205aac5a77623a8b0fa3d221daf950, tree77544258fec4c9571fa37128152bb833d5b82b4e, parents2b757783cc3b5204b629702a5c4303a6da55e8cd+ tests-first head. Candidate witness, entire cli_smoke parent/helpers, workflow owners/consumer/parser/config, boundary_gap input tree and CI workflow are all bound by twelve identical whole Git objects. The entire checkout tree differs and is not equated with the candidate.cli_smoke: 341 PASS, exactly 2 intended FAIL, 0 ignored. Both relative/absolute custom-directory cases fail when the selected literal-backslash/quoted
before.repo-exposure.jsonis missing, after successful emitted shell commands and genuine decoy controls. Raw log1,214,140B SHA25673a830d1543a5ff1db1aecb0d47ed3e817b7a6357509b5986b6b2917e0f21497; retained qualified RED capsule SHA256701d4a9140b801230ab65796ae454e8b94fb9d9c91a67c6cf40381e037f2ae2e.Selected late argv/after/verify/receipt, metadata/regeneration and final immutability/refusal assertions did not run on RED. They require GREEN; no pass is borrowed from the independent decoy.
The real built CLI and POSIX sh use the existing drained/deadline-bounded spawn site, fixed origin/main prerequisite and descendant Git commits. NUL argv custody stays separate from redirected JSON. The GREEN oracle checks native bytes/dev+ino, genuine snapshot content identities, receipt0.5
incomplete/missing, inventory state, regeneration and immutable inputs/decoy custody. Missing custom verify still refuses without an invented hint.Review and qualification
Independent exact tests-first proof-source review5412088342 established a coherent oracle; its REVIEW_INCOMPLETE disposition is not final-head readiness. Five low-priority style suggestions were answered with source evidence and confirmed resolved. Standalone rustfmt1.95 and Git whitespace checks pass on the repair.
Retained unchanged-witness RED/GREEN and independent semantic review qualify the unchanged implementation and oracle. The previous required run passed the owned witnesses but failed inherited golden expectations. The existing owner has landed that repair; current-head combined qualification is GREEN. Final independent readiness/protection fence and normal protected integration are complete. No local Cargo doctor/check-fast/compile/tests were run under the explicit resource instruction. Existing hosted routes supply execution; no new runner route.
Limits, rollback and resources
No arbitrary relative-
--root, workflow repository root containing a literal Unix backslash, generic relative redirect-tail, non-UTF8, native Windows/PowerShell/installed, stock MCP/LSP/cancellation/full-parent qualification is claimed. No pilot/check navigation, admission/schema/completeness, releases/deploy/security/settings change. Broad #3999/#3091 remain open. Revert this bounded squash to roll back.Root dedicated cross-interface lane was the sole source writer; parent/sibling HEADs remain unchanged. Initial admission: retained108,249,153B +96MiB source +12MiB proof =forecast221,495,361B below256MiB. After accepted integration,81,415,786B source checkout was released recoverably; source references and all107prior/allnewproof remain retained as recorded below. No local Cargo target/build/install/heavy benchmark/shared-target/newCorsair or permanent purge.
Qualified unchanged-witness GREEN and Ready qualification
Native GREEN37289707087/job111697180202 completed SUCCESS: cli_smoke343PASS/0FAIL/0ignored; both subjects reached all late selected identity/receipt/regeneration/inventory/custody/refusal controls. Actual checkout
44f1945f650df946cc68630ddabf947719ce06f6, tree18f315f279ed26b17764680742fd935713503d08, parents99ddb9db+ec973. Raw1,214,109B SHA2566f37097d3003436a9d67425bf0a2ec8ab89af2eaaa801ce23632eb6f45580d25. Witness unchanged from RED. Eleven watched Git objects match; the sole config delta adds loaded_config_identity and does not change this no-config fixture's inputs. Entire checkout tree differs; no full candidate-tree execution claim.Accepted bounded leaf and retained proof
PR #6813 normally protected-squash merged at12:08:25UTC as
0ef6bb8c428fcaa54578f500aac6f4ebca199361; issue #6809 canonically CLOSED/completed at12:08:26UTC. Final independent exact-head REVIEW_READY5414255323 bound reviewedhead24b262f6facf7800f3665f090092cc0364d398d5before the guarded squash. No bypass, auto-merge or policy/settings change.Actual landed firstparent is5ec85aaab09ec721db7db25c07af9d59be8d8684. Its entire tree
46a57decc60d7d00dff3b0c62102fb8ca2682340equals reviewed24b and executedb25. First-parent delta is exactly the8ownedpaths439+/4-; each complete ownedGitblob matches the reviewed candidate. Original witness78fe2c7 and6existing6819golden/changelog owner objects are unchanged. Landedbindingscapsule SHA2567606422d623ffeeefe63466c1185f8c30de43f0d2b2a46bc1e4c4866a6a81211.Required37301195953/worker111734158433, Result111747103963: SUCCESS onactualb25d71253bae511dd46753bb47a76ea9e40ed6bf. NativecontextLinux1.95/nextest0.9.146 exit0; JUnit12,601uniquePASS/0fail/error/XMLskip,2console exclusions;373cli_smokePASS. Both whole unchanged workflow witnesses,17distinct previously recorded lane subjects and13sharedloopowner controls pass (xtaskduplicates excluded). Doctests2PASS/1ignored; strictClippy/goldens/fixtures/PRevidenceSUCCESS. AdvisorydryrunSUCCESS; advisoryreports/generalreportupload/alternativerunners/scratch stages skipped. This qualifies the whole landedtree, with the bounded product claim below.
Official nextest11343057351 ZIP SHA256c84dbdff802255b0c2854b291f61d349d7ab0be8ec0247c25fd66916a0b29b34 andwildcard11342907468 ZIP SHA256870a37939d5c2482a831ba8706535f30c299780a35248544b43410926f7994f3 independently/rootverified. Raw2855443B SHA2566bec1760c39d4a03572cd729ec3aca3afce242a6f1e5d40545dfbd9b34976281. Complete nativequalificationcapsule SHA25690e2ce126a63021e5d57893dab24c61cf764c59f4eefe88c8666f030aa15a6e3; exact oldRED/unchangedGREEN/failedpredecessor logs/ZIPs remain retained. The previous failedrun's3fullactualcheck.json documents were never uploaded; their fullbyteidentity remainsNOT_ESTABLISHED, and no laterGreen is used to invent it.
Seven substantive/style/proof threads have replies and resolution readbacktrue, including fulfilled final-head proof reply4183748739. Freshmain/head/currentrequiredtail/classic-and-ruleset fence preceded ordinary exacthead-guarded protectedmerge.
Resourcecloseout: isolated
workflow-directory-candidatereleased recoverably after writer/reviewer/currentqualification consumers completed. Directory andGitregistration absent;81,415,786logical source bytes released, measuredCfree delta85,053,440B (hostotherwriters may contribute). Localbranch24b and immutablelanded0ef remain in parentcommonGit, with exact restorecommand inroot-command-proof/custom-workflow-source-released-0ef6bb8c.json. All107prior proofhashes and allnewproof files retained; parent/siblingHEADs unchanged. Retained lane117,982,486B before final canonical records, below256MiB. No Cargo/build/install/sharedtarget/newrunner/newCorsair/permanentpurge.Acceptance is this leaf: ordinaryabsolute selectedrootwithout literalUnixbackslash, relative/absolute custom --out native directory carried through genuine snapshot commands, verify/receipt, regeneration and inventory fromforeignCWD;slashdecoy/inputcustody/missing-custom refusal controls qualified. Broader#3999/#3091 stayOPEN: arbitraryrelative-root and literalbackslash workflowrepositoryroot remainSOURCE_ONLY, and no fullWindows/PowerShell/installed/nonUTF8/stockMCP/LSP/cancellation/fullparent qualification is implied. Accepted6684/6313 and existing5199/5234 work remain separate; no6759/5480 duplication.