Repository navigation
Own task layouts and transfer multi-root chats safely - #1944
Open
santoshkumarradha wants to merge 31 commits into
Open
santoshkumarradha wants to merge 31 commits into
santoshkumarradha wants to merge 31 commits into
Conversation
santoshkumarradha
marked this pull request as ready for review
October 25, 2026 21:43
santoshkumarradha
marked this pull request as draft
October 25, 2026 21:48
santoshkumarradha
marked this pull request as ready for review
October 26, 2026 05:41
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.
Summary
Delegated work now owns its private folder layout instead of relying on a model to place files correctly. A chat can use several working roots, exact cooperating tasks share one admitted layout, and unrelated work keeps separate copies. Each receiver maps roots explicitly before taking over.
These paths describe ownership roles. Opaque identities survive relocation; equal names or Git remotes do not combine roots or grant write authority. New conversations persist the private-task policy; legacy conversations retain their placement. Foreground editing keeps the explicitly opened folder, and home/reference tasks do not clone a home directory.
Relay verifies complete carriers, resolves each missing root through the actual folder picker, checks destination conflicts, and acquires against the displayed holder before adoption. Recovery distinguishes immutable incoming provenance from receiver-local checkpoint paths. Forking preserves results/history while detaching inherited execution. Reopened task cards recover their local worker transcript and recorded model, including completed runs without a local plan database.
/task review <number> <root>freezes one root;/task apply <number> <root>applies that snapshot to the admitted destination. The filesystem/Git transaction preserves supported raw bytes, CRLF, permissions, literal links and empty directories, checks affected-path/ref/index conflicts, and preserves unrelated staged/dirty work. Explicit reviewed Apply may targetmain; automatic protected-branch landing stays blocked. Unsupported metadata refuses before destination writes.Evidence
Latest synchronization:
ca7ede171includes deve88e49af2(device-pairing UI). It merged without conflicts; local quick checks and focused pairing regressions pass. The live workflow evidence below remains pinned tod689b1621; it was not rerun for this synchronization. Latest-head CI passes all checks.d689b1621.deepseek/deepseek-v4.1-flash: 336,137 input + 14,664 output tokens, with $0.02407027 known upstream cost. An additional request was canceled before any response/model/usage metadata; this is not an independently audited account total. The worker built the two-root feature; restart, fork, both actual terminal Review/Apply operations and the received resident task card all passed.d689b1621; the documentation-only follow-upb1d3caf34passes local quick/link checks and its GitHub gate passes all checks. Quick/focused checks, the full Windows application cross-build and independent Standards/Spec reviews pass. Local session/TUI suites passed all eight shards each. Two command-fixture native teardown failures passed isolated diagnostic retries; they remain a local validation limitation. Native Windows runtime remains untested.The acceptance matrix separates actual-model work from deterministic replay and platform checks:
Deterministic replay covers the same complete workflow separately; it is not counted as live-model proof. Compatibility and special-metadata limits remain below.
These measurements do not establish a new multi-root savings percentage or a four-month automatic reclamation guarantee. The longer growth experiment was deferred. Generated test fixtures, task worktrees and task-specific build/download caches were removed; originals and shared caches were preserved. Genuine terminal captures and detailed receipts remain local: direct PR media attachment upload was unavailable, so no substitute evidence branch or repository directory was published.
Merge Danger
Door: One-way for new portable metadata.
New records require supported readers at both ends; rolling back the executable does not migrate them. Legacy records are preserved. Guaranteed early refusal by older clients remains unfinished, so mixed-version operation is not claimed safe.
Blast Radius: Storage.
This touches delegated placement, portable history, relay adoption and explicit application to working files. A model can omit a requested root from its proposal; omitted roots are not silently granted. One earlier incomplete proposal was canceled after the sibling-write guard refused it; it is not counted as a passing live run. URI association is separate from application permission. Shell placement is not an OS sandbox. Originals and uncertain writers remain protected; multi-root retirement stays excluded until whole-layout writer fencing and recovery are verified. External-process continuation and every filesystem's special metadata are not guaranteed.
Agent workspace, relay and migration contract.