You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bug issue filed against the previous repository on 2026-06-27 (Vault record TSK-1325, CAGE-BUG-005) was lost when the public repository was recreated, so the current issue set does not carry it.
Binary artifacts produced in the sandbox cannot be synced: diffs are extracted with plain git diff (no --binary), so git apply fails with cannot apply binary patch to '<file>' without full index line. The legacy extraction sites are cage-demo/src/sync/diff.rs:163-171 and 192-200. FR-3 (artifact sync) does not restrict artifacts to text, so this is a functional gap, not an edge case.
Scope
Extract diffs with git diff --binary so patches carry full index data for binary files.
Apply binary patches through the existing git apply path while keeping hooks-path and traversal validation unchanged.
In previews, show binary changes as a summary line (e.g. Binary file changed (1.2 MiB)) instead of hunks; approval stays file-level.
Background
A bug issue filed against the previous repository on 2026-06-27 (Vault record TSK-1325, CAGE-BUG-005) was lost when the public repository was recreated, so the current issue set does not carry it.
Binary artifacts produced in the sandbox cannot be synced: diffs are extracted with plain
git diff(no--binary), sogit applyfails withcannot apply binary patch to '<file>' without full index line. The legacy extraction sites arecage-demo/src/sync/diff.rs:163-171and192-200. FR-3 (artifact sync) does not restrict artifacts to text, so this is a functional gap, not an edge case.Scope
git diff --binaryso patches carry full index data for binary files.git applypath while keeping hooks-path and traversal validation unchanged.Binary file changed (1.2 MiB)) instead of hunks; approval stays file-level.Acceptance Criteria
References
01-Projects/Cage/TSK-1325(lost issue: "cage sync cannot apply binary file changes because diffs are extracted without --binary")cage-demo/src/sync/diff.rsextraction and recovery pathscage-demo/docs/PRD.mdFR-3.2, FR-3.3, FR-3.4