steve
7dab4112ff
feat: agent run loop, Generate[T], reflect-derived schemas
...
Phase 5:
- agent/: model + system prompt + toolboxes composition; bounded
tool-dispatch loop (default 10 steps); panic-proof tool execution;
unknown-tool and duplicate-name handling; history continuation; step
observers; partial results on ErrMaxSteps/errors (ADR-0012)
- llm.SchemaFor[T]: strict-compatible JSON schemas from Go types
(nullable pointers, description/enum tags, recursion rejected)
- majordomo.Generate[T]: typed structured output with fence-stripping
decode and model-naming errors
- README agents/structured-output sections + matrix synced
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-10 13:10:18 +02:00
steve
dcd004289f
feat: foundations — canonical types, Parse grammar, env DSNs, health, chains
...
Phase 1 of the majordomo build:
- llm/ canonical contract (messages, parts, tools, capabilities, streaming,
Model/Provider, error classification)
- health/ clock-injected tracker (threshold bench, exponential capped
cooldown, reset-on-success)
- root Registry + Parse (verbatim model ids, inline recursive alias
expansion with cycle detection, chain dedup), LLM_* env-DSN providers
(go-llm parity: lazy fallback + eager LoadEnv), health-aware chain
executor behind the Model interface
- provider/fake scriptable test provider; hermetic test suite incl. the
trailing-thinking chain and foreman:// env loading
- ADRs 0001-0008, CLAUDE.md, README (honest matrix), CI workflow,
docs/phase-1-design.md
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-10 12:35:34 +02:00