Single-goal v3 requests, prompt diet, on-request eval (0.9.0) - #81
Merged
Conversation
Applies wave 1 of the simplification designs (design/designs/): return assignments to one authored prose goal, put loop mechanics back at the workflow-set prompt level, and stop paying a ~20k-token ceremony floor on every harness turn. - Child requests accept schema_version 3: request_id, workflow_set, one free-text goal, origin. No criteria/constraints/deliverables arrays, no hashed inputs, no dispatch snapshots. v2 stays accepted for in-flight sessions. - Rendered iteration header is now goal + six key paths + a paths.json pointer (full path map, rosters, scheduler view, and previous_worker_sessions for resuming continued work), CI-enforced at 2 KB before the workflow body -- down from 28-38 KB of inlined paths and frozen roster JSON. - Eval runs on request: run_when_requested gates eval workflows on project_state/eval_request.md written by the orchestrator; run_on_start still lets eval_reviewer author the initial check set. - Stock templates rewritten judgment-first: every role prompt <=64 lines (outer was 344 at 0.6.0), shared rules single-sourced in an auto-included per-set preamble.txt, goal files product-only, fixed team recipes and model-name mandates removed, deterministic-check ban lifted (judge checks for semantics, scripts for objective facts). - Eval-receipt ceremony retired from the stock v3 contract (check_runner_roles: [outer]); verdicts flow as advisory project_state/eval_results.md. The receipt machinery stays contract-gated so older sessions finish unaffected. - New passthrough knobs team_harness_compact_above_tokens and team_harness_prompt_cache (require team-harness >= 0.6.0 to take effect; skipped gracefully on older versions). Also adds the flaw analysis and four design docs under design/. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPYwF6cRYs2mfsfHF1hibc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wave 1 of the simplification designs (
design/designs/, added in this PR along with the flaw analysisdesign/analysis/protocol-v3-flaws.md). The founding idea — delegate high-level outcomes to capable harnesses, guide lightly — had inverted into a compliance protocol between 0.6.0 and 0.8.0; this PR walks the assignment contract, the per-iteration render, and the stock prompts back to it.{request_id, workflow_set, goal, origin}— one authored prose brief, no criteria/constraints/deliverables arrays, no hashed inputs, no dispatch snapshots. v2 remains accepted so in-flight sessions finish unchanged.paths.jsonpointer (full path map, rosters, scheduler view,previous_worker_sessionsfor resuming continued work), CI-enforced ≤2 KB before the workflow body. Previously 28–38 KB (53 inlined absolute paths + an 18 KB frozen roster/scheduler JSON dump) — the ~20k-token floor under every turn of every 20–37-turn harness run.run_when_requestedgates eval workflows onproject_state/eval_request.md;run_on_startstill authors the initial check set. Replaces the every-10-successes ritual (eval was 31% of program tokens).preamble.txt(atomic publication, free-form delegation with tier defaults, worker-session resume, result cards); goal files product-only; model-name mandates and fixed team recipes removed; deterministic-check ban lifted.check_runner_roles: [outer]): verdicts flow as advisoryproject_state/eval_results.md; the receipt machinery stays contract-gated for older sessions.team_harness_compact_above_tokens/team_harness_prompt_cache(take effect with team-harness ≥ 0.6.0, Context economy: prompt caching, reachable compaction, bounded outputs (0.6.0) team-harness#88; skipped gracefully otherwise). Companion: Bound report.json judge output and run checks in parallel (0.4.0) eval-banana#71 bounds report.json.Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_01EPYwF6cRYs2mfsfHF1hibc