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
- PDT checksum (`2fc9e86...`) pinned in `Dockerfile` -- update if upstream changes `pdt_lite.tgz`
24
24
- LLVM build: 150-200 min cold, ~4 min with ccache; `ARG PHASED_BUILD=true` enables OOM-aware phased build
25
25
- Intel IFX APT repo has signature verification issues on Debian 13+ (sqv rejects Intel's OpenPGP format); `install-intel-ifx.sh` detects and prompts for `[trusted=yes]`
26
+
-`docker commit` captures the running command as the new `CMD`. After committing a container that ran `install-intel-ifx.sh`, reset `CMD` with: `docker commit --change='CMD ["/bin/bash"]' <container> <image:tag>`
27
+
28
+
## Working Style
29
+
30
+
Behavioral guidelines (adapted from [andrej-karpathy-skills](https://github.com/forrestchang/andrej-karpathy-skills/blob/main/CLAUDE.md)) to reduce common LLM coding mistakes. These bias toward caution over speed; use judgment for trivial tasks.
- State assumptions explicitly. If uncertain, ask.
37
+
- If multiple interpretations exist, present them -- don't pick silently.
38
+
- If a simpler approach exists, say so. Push back when warranted.
39
+
- If something is unclear, stop. Name what's confusing. Ask.
40
+
41
+
### Simplicity First
42
+
43
+
Minimum code that solves the problem. Nothing speculative.
44
+
45
+
- No features beyond what was asked.
46
+
- No abstractions for single-use code.
47
+
- No "flexibility" or "configurability" that wasn't requested.
48
+
- No error handling for impossible scenarios.
49
+
- If you write 200 lines and it could be 50, rewrite it.
50
+
51
+
Test: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
52
+
53
+
### Surgical Changes
54
+
55
+
Touch only what you must. Clean up only your own mess.
56
+
57
+
- Don't "improve" adjacent code, comments, or formatting.
58
+
- Don't refactor things that aren't broken.
59
+
- Match existing style, even if you'd do it differently.
60
+
- If you notice unrelated dead code, mention it -- don't delete it.
61
+
- Remove imports/variables/functions that YOUR changes made unused.
62
+
- Don't remove pre-existing dead code unless asked.
63
+
64
+
Every changed line should trace directly to the user's request.
65
+
66
+
### Goal-Driven Execution
67
+
68
+
Define success criteria. Loop until verified.
69
+
70
+
- "Add validation" -> "Write tests for invalid inputs, then make them pass"
71
+
- "Fix the bug" -> "Write a test that reproduces it, then make it pass"
72
+
- "Refactor X" -> "Ensure tests pass before and after"
73
+
74
+
For multi-step tasks, state a brief plan with verification per step. Strong success criteria let you loop independently; weak criteria ("make it work") require constant clarification.
0 commit comments