feat: Integrate Learning Atomizer Core (LAC) and master instructions
Add persistent knowledge system that enables Atomizer to learn from every session and improve over time. ## New Files - knowledge_base/lac.py: LAC class with optimization memory, session insights, and skill evolution tracking - knowledge_base/__init__.py: Package initialization - .claude/skills/modules/learning-atomizer-core.md: Full LAC skill documentation - docs/07_DEVELOPMENT/ATOMIZER_CLAUDE_CODE_INSTRUCTIONS.md: Master instructions ## Updated Files - CLAUDE.md: Added LAC section, communication style, AVERVS execution framework, error classification, and "Atomizer Claude" identity - 00_BOOTSTRAP.md: Added session startup/closing checklists with LAC integration - 01_CHEATSHEET.md: Added LAC CLI and Python API quick reference - 02_CONTEXT_LOADER.md: Added LAC query section and anti-pattern ## LAC Features - Query similar past optimizations before starting new ones - Record insights (failures, success patterns, workarounds) - Record optimization outcomes for future reference - Suggest protocol improvements based on discoveries - Simple JSONL storage (no database required) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -174,6 +174,41 @@ python -c "import optuna; s=optuna.load_study('my_study', 'sqlite:///2_results/s
|
||||
|
||||
---
|
||||
|
||||
## LAC (Learning Atomizer Core) Commands
|
||||
|
||||
```bash
|
||||
# View LAC statistics
|
||||
python knowledge_base/lac.py stats
|
||||
|
||||
# Generate full LAC report
|
||||
python knowledge_base/lac.py report
|
||||
|
||||
# View pending protocol updates
|
||||
python knowledge_base/lac.py pending
|
||||
|
||||
# Query insights for a context
|
||||
python knowledge_base/lac.py insights "bracket mass optimization"
|
||||
```
|
||||
|
||||
### Python API Quick Reference
|
||||
```python
|
||||
from knowledge_base.lac import get_lac
|
||||
lac = get_lac()
|
||||
|
||||
# Query prior knowledge
|
||||
insights = lac.get_relevant_insights("bracket mass")
|
||||
similar = lac.query_similar_optimizations("bracket", ["mass"])
|
||||
rec = lac.get_best_method_for("bracket", n_objectives=1)
|
||||
|
||||
# Record learning
|
||||
lac.record_insight("success_pattern", "context", "insight", confidence=0.8)
|
||||
|
||||
# Record optimization outcome
|
||||
lac.record_optimization_outcome(study_name="...", geometry_type="...", ...)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Error Quick Fixes
|
||||
|
||||
| Error | Likely Cause | Quick Fix |
|
||||
|
||||
Reference in New Issue
Block a user