Skip to content

Commit 1f914c5

Browse files
github-actions[bot]KRRT7claude
committed
docs: update architecture.md with new Python optimizer files
Add languages/python/function_optimizer.py and languages/python/optimizer.py to the directory tree and Key Entry Points table. Co-authored-by: Kevin Turcios <KRRT7@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6a916ac commit 1f914c5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.claude/rules/architecture.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ codeflash/
1515
├── code_utils/ # Code parsing, git utilities
1616
├── models/ # Pydantic models and types
1717
├── languages/ # Multi-language support (Python, JavaScript/TypeScript)
18+
│ └── python/
19+
│ ├── function_optimizer.py # PythonFunctionOptimizer (Python-specific hooks)
20+
│ └── optimizer.py # Python module preparation & AST resolution
1821
├── setup/ # Config schema, auto-detection, first-run experience
1922
├── picklepatch/ # Serialization/deserialization utilities
2023
├── tracing/ # Function call tracing
@@ -32,7 +35,7 @@ codeflash/
3235
|------|------------|
3336
| CLI arguments & commands | `cli_cmds/cli.py` |
3437
| Optimization orchestration | `optimization/optimizer.py``run()` |
35-
| Per-function optimization | `optimization/function_optimizer.py` |
38+
| Per-function optimization | `optimization/function_optimizer.py` (base), `languages/python/function_optimizer.py` (Python subclass) |
3639
| Function discovery | `discovery/functions_to_optimize.py` |
3740
| Context extraction | `languages/<lang>/context/code_context_extractor.py` |
3841
| Test execution | `verification/test_runner.py`, `verification/pytest_plugin.py` |

0 commit comments

Comments
 (0)