Skip to content

Commit 308507c

Browse files
committed
cleanup
1 parent ee5871d commit 308507c

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.claude/rules/architecture.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ codeflash/
1515
├── api/ # AI service communication
1616
├── code_utils/ # Code parsing, git utilities
1717
├── models/ # Pydantic models and types
18+
├── languages/ # Multi-language support (Python, JavaScript/TypeScript)
19+
├── setup/ # Config schema, auto-detection, first-run experience
20+
├── picklepatch/ # Serialization/deserialization utilities
1821
├── tracing/ # Function call tracing
22+
├── tracer.py # Root-level tracer entry point for profiling
1923
├── lsp/ # IDE integration (Language Server Protocol)
2024
├── telemetry/ # Sentry, PostHog
2125
├── either.py # Functional Result type for error handling
22-
└── result/ # Result types and handling
26+
├── result/ # Result types and handling
27+
└── version.py # Version information
2328
```

.claude/rules/source-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ paths:
55

66
# Source Code Rules
77

8-
- Use libcst, not ast - always use `libcst` for code parsing/modification to preserve formatting.
8+
- Use `libcst` for code modification/transformation to preserve formatting. `ast` is acceptable for read-only analysis and parsing.
99
- NEVER use leading underscores for function names (e.g., `_helper`). Python has no true private functions. Always use public names.
1010
- Any new feature or bug fix that can be tested automatically must have test cases.
1111
- If changes affect existing test expectations, update the tests accordingly. Tests must always pass after changes.

0 commit comments

Comments
 (0)