Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7ccf43e
Remove log files from git tracking
claude 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
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
819d1d6
Fix critical code quality issues in gamma branch
claude 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
70d4632
Add OllamaProvider for local LLM support
claude Jan 25, 2026
12e0af0
Merge pull request #16 from SL-Mar/claude/clarify-project-goals-BIbRA
SL-Mar Jan 25, 2026
4160c35
Merge pull request #19 from SL-Mar/claude/cleanup-repository-x7aPR
SL-Mar Jan 26, 2026
9f1113d
Merge: Add CodeValidator class and comprehensive unit tests to gamma
claude Jan 26, 2026
a3a1dd6
Merge pull request #22 from SL-Mar/claude/merge-tests-to-gamma-Yvvvl
SL-Mar Jan 26, 2026
dc34863
Change license from MIT to Apache 2.0
claude Jan 26, 2026
23ff156
Merge pull request #32 from SL-Mar/claude/update-license-readme-6MD9p
SL-Mar Jan 26, 2026
5abba09
Update version to 2.0.0 and add testing warning
claude Jan 26, 2026
e18607b
Merge pull request #35 from SL-Mar/claude/update-gamma-v2.0.0-fR2Y1
SL-Mar Jan 26, 2026
835535c
Merge main into gamma - sync branches (keeping gamma content)
claude Jan 26, 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