agentson
881bbb4240
docs: add Telegram notifications documentation (issue #35 )
...
CI / test (pull_request) Has been cancelled
Update project documentation to include Telegram notification feature
that was added in issues #31-34.
Changes:
- CLAUDE.md: Add Telegram quick setup section with examples
- README.md (Korean): Add 텔레그램 알림 section with setup guide
- docs/architecture.md: Add Notifications component documentation
- New section explaining TelegramClient architecture
- Add notification step to data flow diagram
- Add Telegram config to environment variables
- Document error handling for notification failures
Documentation covers:
- Quick setup instructions (bot creation, chat ID, env config)
- Notification types (trades, circuit breaker, fat-finger, etc.)
- Fail-safe behavior (notifications never crash trading)
- Links to detailed guide in src/notifications/README.md
Project structure updated to reflect notifications/ directory and
updated test count (273 tests).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 23:48:01 +09:00
agentson
254b543c89
Merge main into feature/issue-15-context-tree
...
CI / test (pull_request) Has been cancelled
Resolved conflicts in CLAUDE.md by:
- Keeping main's refactored structure (docs split into separate files)
- Added Context Tree documentation link to docs section
- Preserved all constraints and guidelines from main
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 15:25:13 +09:00
agentson
917b68eb81
feat: implement L1-L7 context tree for multi-layered memory management
...
CI / test (pull_request) Has been cancelled
Implements Pillar 2 (Multi-layered Context Management) with a 7-tier
hierarchical memory system from real-time market data to generational
trading wisdom.
## New Modules
- `src/context/layer.py`: ContextLayer enum and metadata config
- `src/context/store.py`: ContextStore for CRUD operations
- `src/context/aggregator.py`: Bottom-up aggregation (L7→L6→...→L1)
## Database Changes
- Added `contexts` table for hierarchical data storage
- Added `context_metadata` table for layer configuration
- Indexed by layer, timeframe, and updated_at for fast queries
## Context Layers
- L1 (Legacy): Cumulative wisdom (kept forever)
- L2 (Annual): Yearly metrics (10 years retention)
- L3 (Quarterly): Strategy pivots (3 years)
- L4 (Monthly): Portfolio rebalancing (2 years)
- L5 (Weekly): Stock selection (1 year)
- L6 (Daily): Trade logs (90 days)
- L7 (Real-time): Live market data (7 days)
## Tests
- 18 new tests in `tests/test_context.py`
- 100% coverage on context modules
- All 72 tests passing (54 existing + 18 new)
## Documentation
- Added `docs/context-tree.md` with comprehensive guide
- Updated `CLAUDE.md` architecture section
- Includes usage examples and best practices
Closes #15
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 14:12:29 +09:00
agentson
05e8986ff5
refactor: split CLAUDE.md into focused documentation structure
...
CI / test (pull_request) Has been cancelled
- Restructure docs into topic-specific files to minimize context
- Create docs/workflow.md (Git + Agent workflow)
- Create docs/commands.md (Common failures + build commands)
- Create docs/architecture.md (System design + data flow)
- Create docs/testing.md (Test structure + guidelines)
- Rewrite CLAUDE.md as concise hub with links to detailed docs
- Update .gitignore to exclude data/ directory
Benefits:
- Reduced context size for AI assistants
- Faster reference lookups
- Better maintainability
- Topic-focused documentation
Closes #13
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 10:13:48 +09:00
agentson
3dd222bd3b
docs: add common command failures and solutions
...
CI / test (pull_request) Has been cancelled
- Document tea CLI TTY errors and YES="" workaround
- Record wrong parameter names (--body vs --description)
- Add Gitea API hostname corrections
- Include Git configuration errors
- Document Python/pytest common issues
Each failure includes:
- ❌ Failing command
- 💡 Failure reason
- ✅ Working solution
- 📝 Additional notes
Closes #11
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 10:02:41 +09:00
agentson
9c5bd254b5
docs: add agent workflow and parallel execution strategy
...
CI / test (pull_request) Has been cancelled
- Document modern AI development workflow using specialized agents
- Add guidelines for when to use git worktree/subagents vs main conversation
- Define agent roles: ticket mgmt, design, code, test, docs, review
- Include implementation examples with Task tool
- Update test count (35 → 54) with new market_schedule tests
Closes #9
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 09:47:14 +09:00
agentson
1d46cb31fb
docs: add Git workflow policy to CLAUDE.md
...
CI / test (pull_request) Has been cancelled
Add comprehensive Git workflow policy section to ensure all code
changes follow proper process: issue creation, feature branch,
PR, and merge. Explicitly prohibit direct pushes to main branch.
Resolves #4
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 08:50:46 +09:00
9bb7e3ec85
docs: add CLAUDE.md for AI assistant context
...
CI / test (pull_request) Has been cancelled
- Add build & test commands reference
- Document architecture and component interactions
- Include key constraints from docs/agents.md
- Provide configuration and test structure overview
Closes #2
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-04 03:23:43 +09:00