File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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```
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments