Repository navigation
Description
Problem
The core promise of Continuum is personas that get better by building their own tools and fixing their own bugs. None of this works reliably right now. Coding is broken across every layer.
Root Cause Found (2026-03-23 investigation)
Local models (Candle 3B) don't use tools AT ALL. They think they're a regular chatbot without file access. Cloud models (Fireworks) use tools correctly.
Same question to 5 personas: "Read TrainingJobEntity.ts and count the fields"
| Persona | Provider | Used Tools? | Result |
|---|---|---|---|
| Fireworks AI | fireworks (cloud) | YES — code/read | Correct — read file, detailed breakdown |
| Local Assistant | candle 3B | NO | Hallucinated — made up fields |
| Teacher AI | candle 3B | NO | Refused — "I don't have file access" |
| Helper AI | candle 3B | NO | Refused — suggests using VSCode |
The XML tool format isn't registering with small local models despite the behavioral nudge. The ToolGroupRegistry and tool injection infrastructure is actually solid — the models just ignore it.
The Real Fix: Per-Task Model Routing (#371)
The persona is the IDENTITY (personality, LoRA adapters, memory). The model should be selected PER TASK:
- Coding task → Claude Code (if available) or best cloud model
- Conversation → local Candle is fine
- Tool use → cloud model (local 3B can't do it)
Sub-Issues
- CodingAgent step: dispatch to Claude Code unreliable, needs error handling and retry #367 — CodingAgent step: workspace bootstrap fails when called as tool from chat
- PersonaToolExecutor: tool selection, routing, and execution failures #368 — PersonaToolExecutor: tool infra is solid but local models ignore tools
- Academy RealClassEval produces trash code with local models — quality baseline needed #369 — Academy RealClassEval produces trash with local models — quality gate needed
- End-to-end coding pipeline: write → test → fix → commit loop never proven #370 — End-to-end coding pipeline never proven
- Per-task model routing: pick BEST available model for each task, not fixed per-persona #371 — Per-task model routing: pick BEST model for each task, not fixed per-persona
Attack Order
- Per-task model routing: pick BEST available model for each task, not fixed per-persona #371 first — Per-task routing so coding goes to capable models
- CodingAgent step: dispatch to Claude Code unreliable, needs error handling and retry #367 next — Fix CodingAgent workspace params for tool-call path
- End-to-end coding pipeline: write → test → fix → commit loop never proven #370 then — Wire write→test→fix→commit as sentinel pipeline
- Academy RealClassEval produces trash code with local models — quality baseline needed #369 finally — Quality gate for training data (only successful code becomes training data)
- PersonaToolExecutor: tool selection, routing, and execution failures #368 ongoing — Improve local model tool prompting (longer term, may need larger local models)
Priority
Critical. This is the headline feature. "Local AI that can actually code" is what makes people download this.
Activity
Training & Grid widgets, job persistence, grid/send fix, event infras…
Update gap analysis: #341 PARTIAL, #366 PARTIAL — Phase 3 progress
Update gap analysis: #341 PARTIAL, #366 PARTIAL — Phase 3 progress (#406
joelteply commentedon Mar 25, 2026
Sub-issue progress this session:
Remaining for this meta-issue: prove e2e coding loop via persona in chat (#370), quality gate (#369).
joelteply commentedon Mar 25, 2026
All sub-issues resolved: #367 (CodingAgent dispatch — tested e2e), #368 (tool executor — PR #400), #371 (per-task routing — PR #401+#404), #324 (parser per model — Rust). Remaining scope (quality gate #369, e2e chat→code #370) tracked in separate issues.
fix(bench): zero-diff retry contract + deliverable inference — the gr…
feat(benchmark): the ROUND owns who drives its cards — WorkDriver{Det…
fix(benchmark): the restart reaper NAMES the instance it killed (#266 …
fix(benchmark): benchmark/runs says MATCHED vs returned — a page must…
KV cache as a shared base layer — stop paying for repetition between …