Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .claude/agents/os-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ rules that most often get missed:
then `cd` there and `pnpm install`. Never edit the shared checkout — a
PreToolUse hook blocks it. One worktree **per repo** if the fix spans
siblings (`objectui`, `cloud`).
- **Scratchpad-per-issue — the same shape, one level down.** First step
too: create an `issue-<n>/` subdir under your scratchpad dir and write
every temp file inside it only (PR body draft, report draft,
intermediate measurements, probe output). One batch's agents share
**one** scratchpad dir, so the natural names (`pr-body.md`, `notes.md`,
`diff.txt`) are silently overwritten by whoever writes next — both
sides get a success receipt, and the victim reads someone else's
content back under its own name (#5614: #5483's PR body draft came back
as #5176's; the bigger the batch, the likelier the collision). Isolate
by structure, not by memory.
2. **The issue is already claimed by the PM** (your shared GitHub identity).
Do not change assignees. If you discover the issue duplicates or conflicts
with someone else's in-flight work, stop and report `blocked`.
Expand Down
Loading