Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
f2fe342
Add plugin-style custom tools architecture with QuickReview tool
williaby Aug 8, 2025
6cdf623
Merge remote-tracking branch 'origin/main'
williaby Aug 8, 2025
03967d1
Clean up file organization for professional fork workflow
williaby Aug 8, 2025
42cc0f3
Relocate documentation files to proper structure
williaby Aug 8, 2025
a337559
Implement comprehensive codecov coverage tracking system
williaby Aug 8, 2025
25c8da7
Trigger codecov workflows for initial coverage report
williaby Aug 8, 2025
c938fd0
Merge remote-tracking branch 'upstream/main'
williaby Aug 11, 2025
58a0eee
Implement comprehensive centralized band framework for model selection
williaby Aug 12, 2025
05dda06
Add remaining development files and model configuration updates
williaby Aug 12, 2025
9460acc
$(cat <<'EOF'
williaby Aug 12, 2025
212cdc8
feat(tools): add PR preparation and review custom tools with comprehe…
williaby Aug 12, 2025
cf66847
Deprecate old consensus tools and consolidate documentation
williaby Aug 12, 2025
ff0a89b
feat: implement Phase 1 rate limit detection and intelligent fallback…
williaby Aug 12, 2025
07d2186
docs: update model_evaluator documentation to reflect WorkflowTool ar…
williaby Aug 12, 2025
a5ef352
refactor: consolidate model_evaluator and cleanup related components
williaby Aug 12, 2025
9d171a7
docs: reduce project CLAUDE.md context by 77% to optimize token usage
williaby Aug 15, 2025
998240f
refactor: apply code formatting and add new tools/tests
williaby Aug 15, 2025
b199842
feat: streamline tool schemas and reduce verbose field descriptions
williaby Aug 15, 2025
d6183e0
feat: consolidate system prompt instructions to reduce redundancy
williaby Aug 15, 2025
21d5ccc
style: apply Black/Ruff formatting to custom tools
williaby Aug 15, 2025
c9bbadf
feat(hub): implement Zen MCP Hub for 80-90% context reduction in Clau…
williaby Aug 16, 2025
83376a1
docs: add Claude Code integration guide and configuration details
williaby Aug 16, 2025
61a7f53
test: verify dynamic tool selection and MCP server routing functionality
williaby Aug 17, 2025
34f94bb
feat: implement dynamic model routing with layered consensus protection
williaby Aug 21, 2025
5e425f9
Merge upstream/main into main
williaby Aug 21, 2025
53c1ac2
Merge upstream/main - resolve conflicts in tool descriptions
williaby Aug 23, 2025
fcf4026
fix: resolve google.genai dependency and zen server integration
williaby Aug 23, 2025
d5bbe8e
feat: add comprehensive PromptCraft integration system
williaby Sep 5, 2025
8e2cc75
refactor: archive hub implementation and integrate plugin system
williaby Sep 5, 2025
1c0a387
Merge upstream/main - resolve conflicts in tool descriptions
williaby Sep 5, 2025
514b201
feat: add PromptCraft MCP stdio integration alongside HTTP API
williaby Sep 5, 2025
1c5f429
style: apply code formatting and linting fixes
williaby Sep 5, 2025
60f8141
chore: cleanup obsolete smart_consensus files and prepare for upstrea…
williaby Nov 3, 2025
5c9d232
Merge upstream/main (9.1.3) into local fork
williaby Nov 3, 2025
70f08f5
fix: remove references to deleted smart_consensus test files
williaby Nov 3, 2025
4dce6f1
feat(tiered_consensus): implement real model API calls with retry logic
williaby Nov 10, 2025
3b01b3f
test(tiered_consensus): add comprehensive test suite and user documen…
williaby Nov 10, 2025
c7a65eb
docs(adrs): add three foundational ADRs for tiered consensus architec…
williaby Nov 10, 2025
317f8ff
docs(fork): update inventory and tool analysis for tiered consensus m…
williaby Nov 10, 2025
680d3c8
docs(planning): add Phase 2 implementation plan and migration details
williaby Nov 10, 2025
7018b7f
chore(consensus): remove deprecated tools moved to to_be_deprecated/
williaby Nov 10, 2025
7ca9abe
docs(phase2): add comprehensive Phase 2 completion summary
williaby Nov 10, 2025
6a6232d
docs(validation): add comprehensive validation summary for tiered_con…
williaby Nov 10, 2025
2cdd164
fix(tiered_consensus): add required abstract methods and cost tracking
williaby Nov 10, 2025
a0fee5b
docs(tiered_consensus): comprehensive test results and documentation …
williaby Nov 10, 2025
ee11244
docs(consensus): comprehensive analysis of external review findings
williaby Nov 10, 2025
d39a670
fix: Make Gemini provider optional to enable custom tool discovery
williaby Nov 10, 2025
ee1fd11
fix(tiered_consensus): correct execute() signature for MCP protocol c…
williaby Nov 10, 2025
4ea351d
docs(tiered_consensus): comprehensive MCP protocol fix documentation
williaby Nov 10, 2025
0415353
analysis(tiered_consensus): comprehensive test review with issues and…
williaby Nov 10, 2025
22197bd
fix(tiered_consensus): Phase 1 critical fixes - model count, cost est…
williaby Nov 10, 2025
5d31b67
feat(tiered_consensus): implement smart failover system for reliable …
williaby Nov 10, 2025
d4c35c6
docs(models): add OpenRouter data policy requirements guide
williaby Nov 10, 2025
f805bd3
feat(models): optimize model portfolio - remove Opus 4.1, add 4 high-…
williaby Nov 10, 2025
c616a8c
docs(models): add provider attribution note and configuration change log
williaby Nov 10, 2025
9496c3e
test: add custom_tools marker for tools/custom/ directory tests
williaby Nov 10, 2025
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
120 changes: 120 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: Code Coverage

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coverage[toml]

- name: Run unit tests with coverage
run: |
coverage run -m pytest tests/ -v -m "not integration" --tb=short
coverage xml -o coverage-unit.xml

- name: Upload unit test coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage-unit.xml
flags: unit
name: unit-tests-${{ matrix.python-version }}
fail_ci_if_error: false

integration-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install Ollama
run: |
curl -fsSL https://ollama.com/install.sh | sh
ollama serve &
sleep 10
ollama pull llama3.2

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coverage[toml]

- name: Run integration tests with coverage
env:
CUSTOM_API_URL: "http://localhost:11434"
run: |
coverage run -m pytest tests/ -v -m "integration" --tb=short
coverage xml -o coverage-integration.xml

- name: Upload integration test coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage-integration.xml
flags: integration
name: integration-tests
fail_ci_if_error: false

simulator-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coverage[toml]

- name: Run simulator tests with coverage (quick mode)
env:
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
run: |
coverage run communication_simulator_test.py --quick
coverage xml -o coverage-simulator.xml

- name: Upload simulator test coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage-simulator.xml
flags: simulator
name: simulator-tests
fail_ci_if_error: false
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,25 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-dev.txt

- name: Run unit tests
- name: Run unit tests with coverage
run: |
# Run only unit tests (exclude simulation tests and integration tests)
# Integration tests require local-llama which isn't available in CI
python -m pytest tests/ -v --ignore=simulator_tests/ -m "not integration"
python -m pytest tests/ -v --ignore=simulator_tests/ -m "not integration" --cov=. --cov-report=xml --cov-report=term-missing
env:
# Ensure no API key is accidentally used in CI
GEMINI_API_KEY: ""
OPENAI_API_KEY: ""

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unit
name: unit-tests-${{ matrix.python-version }}
fail_ci_if_error: false

lint:
runs-on: ubuntu-latest
steps:
Expand Down
Loading
Loading