feat(model-divergence): full enforcement — manifest, transition, claim, audit, loop gates, detect script
Completes all 3 model-divergence enforcement subtasks:
- scripts/detect_models.py: probes opencode.json + localhost endpoints,
builds models.json with --json/--write/--force
- scripts/status.py: CONFLICT_MATRIX, --model flag, --transition --model,
--claim --model, --audit Category 6, model-divergence brake gate in
--check-gate, helpers for manifest loading and conflict checking
- scripts/loop-runner.py: _role_model() helper + {model} passed via extras
dict to _invoke_harness for implement, verify, orchestrate roles
- tests/test_model_divergence.py: 33 tests covering all enforcement layers
- Single-LLM mode: record model advisory, no conflict check
- Multi-LLM mode (2+ models): conflict matrix enforced at transition, claim,
and loop brake gate
- Project-level models.json preferred over global ~/.automaton/models.json
This commit is contained in:
@@ -51,6 +51,17 @@ To disable auto-detection and use manual values:
|
||||
- **Override context window**: 128k
|
||||
```
|
||||
|
||||
## Available Models
|
||||
|
||||
Models available for model-divergence enforcement. This file is managed by `scripts/detect_models.py`. In single-LLM mode (0-1 models), no hard blocks are enforced. In multi-LLM mode (2+ models), the conflict matrix enforces role-model separation.
|
||||
|
||||
- **Default**: omlx/Ornith-1.0-35B-4bit-mlx # Used when no role-specific binding is set
|
||||
- **Advised**: true # Recommend a second model in single-LLM mode
|
||||
|
||||
No additional models are configured in the manifest. To add models:
|
||||
1. Run `python3 ~/.automaton/scripts/detect_models.py --write` to auto-detect from opencode.json and localhost endpoints.
|
||||
2. Or manually create `~/.automaton/models.json` (see `design/framework/technical.md` §2 for schema).
|
||||
|
||||
## System Requirements
|
||||
|
||||
Requirements for the environment the framework runs in.
|
||||
|
||||
Reference in New Issue
Block a user