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
Copy file name to clipboardExpand all lines: CLAUDE.md
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,17 @@
1
1
# Claude Development Notes
2
2
3
+
## Structure
4
+
5
+
Typically begin by reading README.md.
6
+
7
+
Key files:
8
+
- persistproc/cli.py
9
+
- persistproc/tools.py
10
+
- persistproc/process_manager.py
11
+
3
12
## Running Tests
4
13
5
-
Use `uv run python -m pytest` to run tests.
14
+
Use `uv run python -m pytest` to run tests. For development, use `uv run python -m pytest -x --maxfail=3` to stop after 3 failures.
6
15
7
16
## Linting and Type Checking
8
17
@@ -18,4 +27,29 @@ Instead:
18
27
- Use the test helpers in `tests/helpers.py` for programmatic testing
19
28
- Debug issues through test output and logging
20
29
21
-
**NEVER background a process with an `&` suffix.**
30
+
**NEVER background a process with an `&` suffix.**
31
+
32
+
**ALWAYS use `git --no-pager diff` for all diffs, never `git diff`.**
33
+
34
+
If you get a timeout in tests while running locally, it is NOT a "timing issue" or "race condition." It is as REAL BUG. You are running on a fast computer that is not under load. The correct response to a test timeout is to ADD DEBUG LOGGING and THINK HARD.
35
+
36
+
## Workflow guidelines
37
+
38
+
For EVERY programming task assigned, you are NOT FINISHED until you can produce a message in the following format:
39
+
40
+
<ReportFormat>
41
+
After-action report for (task title here)
42
+
43
+
Relevant files found:
44
+
- (list them)
45
+
46
+
(1-3 paragraphs justifying why the change is both correct and comprehensive)
47
+
48
+
Steps taken to verify:
49
+
- (list them)
50
+
51
+
Web links supporting my changes:
52
+
- (list them)
53
+
54
+
I solemnly swear there are no further steps I can take to verify the changes within the boundaries set for me.
0 commit comments