Commit 0a44f4c
committed
docs: fix CLAUDE.md casing, refresh root, add per-package guides
- Rename claude.md -> CLAUDE.md. Git tracked it lowercase, which works
on macOS (case-insensitive filesystem) but means agents on Linux/CI
never load it — they look for the uppercase name. The instructions
were invisible on Linux.
- Refresh the root file against the current codebase: Node 24 (was
18+), fix the typesync script name and the linker path, add
`pnpm format`, split env vars by CLI vs worker, and add a short
"Working with Projects" section covering the project subcommand.
- Correct a misleading testing note. It claimed all tests run against
dist/. In fact each package tests against its own src/ via
@swc-node/register; only engine-multi (which runs its workers from
dist/) and cross-package deps need a build first.
- Add per-package CLAUDE.md for runtime, engine-multi and ws-worker —
the packages with the least obvious invariants (VM sandboxing, the
multi-process serialization boundary, strict event ordering). Kept
short and focused on gotchas, not a rehash of the READMEs.
These get loaded only when the agent is working with files in that package,
keeping the context window leaner.
- Remove .claude/command-refactor.md: looked like a plan for a refactor
that already shipped, had drifted.
- Trim .claude/event-processor.md to behavioural description, dropping
variable-level detail that goes stale. Still accurate; stays as a
doc companion to the worker's CLAUDE.md.1 parent 89a41ed commit 0a44f4c
6 files changed
Lines changed: 111 additions & 266 deletions
File tree
- .claude
- packages
- engine-multi
- runtime
- ws-worker
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
128 | 117 | | |
129 | 118 | | |
130 | 119 | | |
| |||
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
175 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
176 | 167 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
43 | 59 | | |
44 | | - | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
| |||
51 | 67 | | |
52 | 68 | | |
53 | 69 | | |
| 70 | + | |
54 | 71 | | |
55 | 72 | | |
56 | 73 | | |
| |||
68 | 85 | | |
69 | 86 | | |
70 | 87 | | |
| 88 | + | |
71 | 89 | | |
72 | 90 | | |
73 | 91 | | |
74 | 92 | | |
| 93 | + | |
| 94 | + | |
75 | 95 | | |
| 96 | + | |
76 | 97 | | |
77 | 98 | | |
78 | 99 | | |
79 | 100 | | |
80 | 101 | | |
81 | 102 | | |
82 | | - | |
| 103 | + | |
83 | 104 | | |
84 | 105 | | |
85 | 106 | | |
| |||
109 | 130 | | |
110 | 131 | | |
111 | 132 | | |
112 | | - | |
113 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
114 | 136 | | |
115 | 137 | | |
116 | 138 | | |
117 | 139 | | |
118 | 140 | | |
119 | | - | |
120 | | - | |
| 141 | + | |
| 142 | + | |
121 | 143 | | |
122 | 144 | | |
123 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments