Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5aa02b0
Add comprehensive --help documentation and --version flag
SL-Mar Nov 10, 2025
182bffe
Merge pull request #10 from SL-Mar/claude/add-enhanced-help-main-JwrsM
SL-Mar Dec 15, 2025
7ccf43e
Remove log files from git tracking
claude Dec 16, 2025
16d3b0d
Update quantcli.log
SL-Mar Dec 16, 2025
06e5254
Add comprehensive architecture comparison between Gamma and OpenCode
claude Dec 18, 2025
673d49a
Expand comparison to include Mistral Vibe CLI architecture
claude Dec 18, 2025
06c9a9b
Add architecture adaptation designs for Research Assistant and Tradin…
claude Dec 18, 2025
abba8f3
Add comprehensive architecture documentation with flowcharts
claude Jan 1, 2026
ee364ac
Update architecture documentation for gamma branch (v2.0)
claude Jan 1, 2026
7fa0c49
Add version guide and changelog documentation
claude Jan 1, 2026
6e17c52
Add production setup instructions
claude Jan 1, 2026
c30ced2
Add production readiness assessment for QuantCoder CLI
claude Jan 9, 2026
80e1ee5
Update assessment for v0.4.0 AlphaEvolve branch
claude Jan 9, 2026
e616a59
Assess gamma branch - Most advanced v2.0.0 rewrite
claude Jan 9, 2026
7ea9fe6
Add AlphaEvolve-inspired evolution module to QuantCoder v2.1.0
claude Jan 9, 2026
f1b2a71
Add quality assessment for evolve-to-gamma branch
claude Jan 9, 2026
cb579e9
Revise assessment to align with gamma baseline (88%)
claude Jan 9, 2026
dd578e9
Wire QuantConnect MCP to CLI, chat, and autonomous pipeline
claude Jan 25, 2026
e64a5c1
Add comprehensive gamma branch upgrade proposal
claude Jan 25, 2026
819d1d6
Fix critical code quality issues in gamma branch
claude Jan 25, 2026
3ac0f77
Replace placeholder TODOs with real implementations in autonomous pip…
claude Jan 25, 2026
4501cd6
Merge fixes: replace TODOs with real implementations in autonomous pi…
claude Jan 25, 2026
94b8ce9
Merge MCP wiring (keep TODO fixes)
claude Jan 25, 2026
dde9283
Merge remote-tracking branch 'origin/claude/add-evolve-to-gamma-Kh22K…
claude Jan 25, 2026
76af02e
Merge pull request #14 from SL-Mar/claude/assess-gamma-quality-qhC6n
SL-Mar Jan 25, 2026
673a59f
Add Zed editor integration with --open-in-editor flag
claude Jan 25, 2026
2b310d4
Merge pull request #15 from SL-Mar/claude/review-gamma-branch-QGXVH
SL-Mar Jan 25, 2026
99ac0ff
Merge: quality assessment docs
claude Jan 25, 2026
9b747c6
Merge: gamma quality fixes
claude Jan 25, 2026
a762bc0
Merge: production readiness assessment
claude Jan 25, 2026
88e43c5
Merge: credential leak fixes
claude Jan 25, 2026
a66e4f6
Merge: architecture comparison docs
claude Jan 25, 2026
b75ca14
Merge: flowcharts and documentation
claude Jan 25, 2026
eb70430
Clean up repository: consolidate docs, fix versions, sync dependencies
claude Jan 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 0 additions & 62 deletions .git-branches-guide.md

This file was deleted.

216 changes: 216 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
# Changelog

All notable changes to QuantCoder CLI will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---

## [Unreleased] - v2.0 (develop branch)

### Added
- **Multi-Agent Architecture**: Specialized agents for algorithm generation
- `CoordinatorAgent` - Orchestrates multi-agent workflow
- `UniverseAgent` - Generates stock selection logic (Universe.py)
- `AlphaAgent` - Generates trading signals (Alpha.py)
- `RiskAgent` - Generates risk management (Risk.py)
- `StrategyAgent` - Integrates components (Main.py)
- **Autonomous Pipeline**: Self-improving strategy generation
- `AutonomousPipeline` - Continuous generation loop
- `LearningDatabase` - SQLite storage for patterns
- `ErrorLearner` - Analyzes and learns from errors
- `PerformanceLearner` - Tracks successful patterns
- `PromptRefiner` - Dynamically improves prompts
- **Library Builder**: Batch strategy generation system
- 13+ strategy categories (momentum, mean reversion, factor, etc.)
- Checkpointing for resumable builds
- Coverage tracking and reporting
- **Multi-LLM Support**: Provider abstraction layer
- OpenAI (GPT-4, GPT-4o)
- Anthropic (Claude 3, 3.5)
- Mistral (Mistral Large, Codestral)
- DeepSeek
- **Tool System**: Pluggable tool architecture (Mistral Vibe pattern)
- `SearchArticlesTool`, `DownloadArticleTool`
- `SummarizeArticleTool`, `GenerateCodeTool`
- `ValidateCodeTool`, `ReadFileTool`, `WriteFileTool`
- **Rich Terminal UI**: Modern CLI experience
- Interactive REPL with command history
- Syntax highlighting for generated code
- Progress indicators and panels
- Markdown rendering
- **Parallel Execution**: AsyncIO + ThreadPool for concurrent agent execution
- **MCP Integration**: QuantConnect Model Context Protocol for validation
- **Configuration System**: TOML-based configuration with dataclasses

### Changed
- Package renamed from `quantcli` to `quantcoder`
- Complete architectural rewrite
- CLI framework enhanced with multiple execution modes
- Removed Tkinter GUI in favor of Rich terminal interface

### Removed
- Tkinter GUI (replaced by Rich terminal)
- Legacy OpenAI SDK v0.28 support

---

## [1.1.0] - Beta Release

### Added
- **LLM Client Abstraction** (`llm_client.py`)
- `LLMClient` class with modern OpenAI SDK v1.x+ support
- `LLMResponse` dataclass for standardized responses
- Token usage tracking
- `simple_prompt()` convenience method
- **QuantConnect Static Validator** (`qc_validator.py`)
- `QuantConnectValidator` class for code analysis
- Division by zero detection
- Missing `.IsReady` indicator checks
- `None` value risk detection in comparisons
- `max()/min()` on potentially None values
- Portfolio access pattern validation
- Severity levels (error, warning, info)
- Formatted report generation
- **Unit Tests** (`tests/test_llm_client.py`)
- LLMClient initialization tests
- Chat completion tests
- Error handling tests
- **Documentation**
- `TESTING_GUIDE.md` - Comprehensive testing documentation
- `MAIN_VS_BETA.md` - Branch comparison guide
- `.env.example` - Environment variable template

### Changed
- `processor.py`: Refactored to use `LLMClient` instead of direct OpenAI calls
- `processor.py`: Enhanced code generation prompts with defensive programming requirements
- Added runtime safety check requirements
- Added `IsReady` check reminders
- Added None guard requirements
- Added zero-division protection patterns
- `cli.py`: Added verbose flag handling improvements
- `setup.py`: Updated dependencies for OpenAI v1.x+
- `requirements.txt`: Added explicit dependency versions

### Fixed
- Lazy loading for Tkinter imports (better startup performance)
- Improved error handling in PDF download

### Dependencies
- Upgraded OpenAI SDK from v0.28 to v1.x+
- Added pytest for testing

---

## [1.0.0] - Legacy Release

### Features
- **Article Search**: CrossRef API integration
- Search by query keywords
- Configurable result count
- HTML export of results
- **PDF Download**: Multiple download methods
- Direct URL download
- Unpaywall API fallback for open access
- Manual browser fallback
- **NLP Processing**: spaCy-based text analysis
- PDF text extraction (pdfplumber)
- Text preprocessing (URL removal, normalization)
- Heading detection (title-cased sentences)
- Section splitting
- Keyword analysis for trading signals and risk management
- **Code Generation**: OpenAI GPT-4 integration
- Strategy summarization
- QuantConnect algorithm generation
- AST validation
- Iterative refinement (up to 6 attempts)
- **Tkinter GUI**: Desktop interface
- Search panel with results table
- Summary display with copy/save
- Code display with syntax highlighting (Monokai theme)
- **CLI Commands**
- `search <query>` - Search articles
- `list` - Show cached results
- `download <id>` - Download PDF
- `summarize <id>` - Generate summary
- `generate-code <id>` - Generate algorithm
- `open-article <id>` - Open in browser
- `interactive` - Launch GUI

### Dependencies
- Python 3.8+
- OpenAI SDK v0.28 (legacy)
- pdfplumber 0.10+
- spaCy 3.x with en_core_web_sm
- Click 8.x
- python-dotenv
- Pygments
- InquirerPy

---

## Branch History

```
main ────●──────────────────────────────●──────────────▶
│ │
v1.0 v1.1
(legacy) (LLM client +
validator)
beta ───────────────────────────────────┘

develop ──────────────────────────────────────────────▶
▲ (v2.0)
gamma ─┘
```

---

## Migration Notes

### v1.0 → v1.1

1. Update OpenAI SDK:
```bash
pip uninstall openai
pip install openai>=1.0.0
```

2. Ensure `OPENAI_API_KEY` environment variable is set

3. No CLI command changes required

### v1.1 → v2.0 (future)

1. Package renamed:
```bash
pip uninstall quantcli
pip install quantcoder
```

2. CLI command prefix changes:
```bash
# Old
quantcli search "query"

# New
quantcoder search "query"
```

3. New commands available:
```bash
quantcoder auto start --query "..."
quantcoder library build
```

---

## Links

- [Version Guide](VERSIONS.md)
- [Architecture Documentation](ARCHITECTURE.md)
- [GitHub Repository](https://github.com/SL-Mar/quantcoder-cli)
Loading
Loading