assessment: make assess/fidelity SemIf decisions, drop LLM from decision path
Assessment was an LLM generation step emitting prose. Move it to SemIf: - assess:outcome (success/failure @ tau) and assess:requeue (complete/retry, updated_request = request.text bounded by max_reentries) are logged decisions. - Run summary is deterministic (category.skill + ok/failed + action_log/new_state). - Fidelity gate is a real authoring:fidelity accept/reconsider decision plus static integration findings; it only triggers a rewrite, never a diagnosis. - Corrective regens receive the raw evidence bundle as-is (render_evidence), never an LLM paraphrase. - Every EngineUnavailable is fatal app-wide: Scheduler.fatal is recorded, the worker stops, and the CLI prints 'decision engine not available' and exits non-zero. Remove llm.assess/review_skill_body (keep _parse_json). - Tests: ScriptedEngine double in tests/conftest.py for scheduling mechanics; replace the review_skill_body integration test with a SemIf fidelity test; add deterministic-summary and evidence-renderer unit tests.
This commit is contained in:
1 parent
ddc5cb66c8
commit
3d0cff325c
16 files changed
+610
-463
No files matched your search
@@ -215,8 +215,8 @@ Rules:
|
||||
sub-decisions, mirroring how `calendar.next_event` resolves which calendar
|
||||
to read.
|
||||
- `act` performs the concrete real action and writes a human-readable
|
||||
`action_log` that the self-assessment LLM can judge. Include what the service
|
||||
actually returned.
|
||||
`action_log` that the SemIf assessment step can judge. Include what the
|
||||
service actually returned.
|
||||
- Act like a developer eliciting requirements from a product owner: when the
|
||||
prompt leaves a behavioral or integration choice open, prefer a clarifying
|
||||
`needs_input` over guessing — a clarifying question is cheaper than a wrong
|
||||
|
||||
Reference in new issue
Block a user