Skip to content

contributing: a workspace lives beside the checkout, never under /tmp - #231

Merged
foxnne merged 1 commit into
mainfrom
contributing/workspace-location
Oct 8, 2026
Merged

foxnne merged 1 commit into
mainfrom
contributing/workspace-location

Conversation

@foxnne

@foxnne foxnne commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

What changes

CONTRIBUTING.md's workspace rule now says where a workspace goes: ../fizzy-<task>, beside the main checkout, and never under /tmp or a session scratchpad.

A session's scratchpad is under /private/tmp on macOS, and the OS clears files there that go untouched for a few days. On 2026-10-08 that took build.zig and most of src/ out of a workspace mid-task, and jj's next snapshot recorded the 159 deletions into the working-copy change. Committed changes survived in the main store.

The rule had been written to one agent's local memory. This PR moves it to CONTRIBUTING.md, where #230 says such rules belong.

SDK impact

  • None

Verified

  • Markdown only. This is the first live run of ci.yml's docs-only path: expect Changes → code=false, the builds skipped, and ci-ok passing.

Follow-ups

None.

🤖 Generated with Claude Code

The workspace rule said where to work but not where to put the workspace. A session's scratchpad
is under /private/tmp on macOS, where the OS clears files left untouched for a few days; on
2026-10-08 that took `build.zig` and most of `src/` out of a workspace mid-task, and jj's next
snapshot recorded the deletions into the working-copy change. The rule moved from one agent's
memory into the file the policy says it belongs in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@foxnne
foxnne merged commit 4dc4d51 into main Oct 8, 2026
4 checks passed
@foxnne
foxnne deleted the contributing/workspace-location branch October 8, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant