Skip to content

chore: sweep persona exam debris from the shared checkout (#312 tail) - #2135

Merged
joelteply merged 1 commit into
canaryfrom
chore/sweep-checkout-debris
Aug 3, 2026
Merged

joelteply merged 1 commit into
canaryfrom
chore/sweep-checkout-debris

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Removes the exam/gym artifacts that pre-#2134 eval forks committed into the shared checkout (conway_game_of_life/, work-08ece9e8/, reverse_string.*, add.swift, the absolute-path Users/ mirror). The CoW-clone fix (#2134) prevents new debris; this clears the existing attractors — residents' idle loops keep re-fixating on these dirs via workspace perception. Citizen-workspace copies (their own work) are untouched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…#312 tail)

Pre-#2134 eval forks ran tool-bearing exams in the shared checkout (workspace_root
fell back to core cwd) and their artifacts got committed: conway_game_of_life/,
work-08ece9e8/, reverse_string.{rs,py}, add.swift, and an absolute-path Users/
mirror. The CoW-clone fix (17278f5) stops new debris; this removes what already
landed. Persona-owned work in their citizen workspaces is untouched.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 3, 2026 16:29
@joelteply
joelteply merged commit f88e146 into canary Aug 3, 2026
@joelteply
joelteply deleted the chore/sweep-checkout-debris branch August 3, 2026 16:29
joelteply added a commit that referenced this pull request Aug 3, 2026
…esolve gitlinks shared-wins (#49 tail) (#2137)

Glass-boxed 2026-08-03: every resident's citizen-workspace sync failed on every
ensure with 'Recursive merging with submodules currently only supports trivial
cases'. Mechanism: the sync's autosave commits the persona's stale vendored
submodule pointer while the shared checkout advances it — both sides move the
gitlink, and git's recursive merge refuses non-trivial gitlink divergence
regardless of -X theirs. The self-heal built for the stale-clone bug thereby
stranded every workspace stale forever (personas kept perceiving July trees;
the #2135 debris sweep could never reach them).

Fix: when the failed merge left ONLY gitlink (mode 160000) entries unmerged,
resolve each to FETCH_HEAD's recorded sha (shared wins — same doctrine as
-X theirs for files: the framework is not hers to diverge) and conclude the
merge. Any other conflict shape still aborts loud with the workspace intact.
Probe: workspace.sync.gitlink_resolved. Regression test builds the exact
both-sides-moved shape with a real submodule.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
joelteply added a commit that referenced this pull request Aug 3, 2026
…s — modify/delete included (#49 tail, round 2) (#2142)

Round 2 of the stranded-sync glass box: the #2135 debris sweep DELETED
conway/wordstats from shared while every citizen's autosave had modified them —
'-X theirs' never auto-resolves modify/delete, so the sync now failed forever on
the very files it was meant to clear (verified live post-deploy 18:17).

Generalize the gitlink-only salvager to resolve EVERY staged conflict
shared-wins: theirs-stage present -> adopt shared's version (files and gitlinks
via checkout FETCH_HEAD); theirs-stage absent -> shared deleted it, deletion
wins the tree. The persona's versions survive in her autosave history —
preserve-first is the commit, not the tree. Merge-failed-without-staging still
aborts loud. Probe renamed workspace.sync.conflicts_resolved. New regression
pins the modify/delete shape incl. history-preservation.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant