Repository navigation
P6c: EvaluationOrchestrator, baseline establishment, and the first complete fixed-patch loop - #26
Merged
Merged
Conversation
…D_SEQUENCE) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tory writes, the orchestrator coupling check (Doc 03 §15; Doc 09 §26; C-170, C-175) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ts checker (Doc 11 §12, §43, §44, §51.3; Doc 06 §28; C-170 (4), C-172) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s own hash, refusals fail closed (Doc 06 §24; Doc 13 §13; Doc 11 §8, §44; C-171, C-176) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tes a recovered stage error (Doc 03 §15; Doc 09 §26, §40; Doc 11 §43; C-170, C-172, C-173, C-174) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…idempotency and crash windows; the chain ending ignores a recorded error (Doc 12 §14; Doc 11 §51.3; C-170, C-172) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ecide and record_decision ends as a stale rejection (Doc 09 §25; Doc 06 §27; C-166, C-173) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
….3; C-170, C-172) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and carry-forwards (Doc 15 §13.3, §23; C-170 to C-176) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Do not merge. Wait for the external verdict and paste it into the PR (C-28).
P6c: the EvaluationOrchestrator, baseline establishment, and the first complete fixed-patch loop
Branch
feature/p6cfrommainat b9b270a. No gate and no milestone is claimed: the P6c mini-gate, the P6 gate (Doc 15 §13.3) and M3 (Doc 15 §23) are NOT DECIDED and wait for the external review.What it adds
core/application/orchestrator.py:EvaluationOrchestrator.evaluate(request). Coordinates only (AST test pins it); stage order load, build, normalize, identity, graph, impact, scope policy, verify, decide, record, commit if PROMOTE.core/application/baseline.py:establish_baseline(C-171), conservative acceptance protocol, refusals fail closed.core/application/{ids,recorder,chain}.py: derived ids, idempotent stage recorder, anddescribe_chain(...).problems()that defines a complete chain (C-172).save_promotedandsave_baseline) closes the P6b carry-forward; the P6b verdict and row 14b are recorded inPHASE_GATES.mdandBUILD_SEQUENCE.md; aP6 (pending external review)stub lists the evidence map.requirements/.Tests (final tree, Python 3.12)
4106 tests, OK (skipped=1), up from 3941. pytest exit 0; Python 3.14: OK. black, ruff and mypy clean at every commit. 38 of 38 mutants of the new code killed (scratch copies outside the repository). NOT RUN: Python 3.13 (not installed),
dev.py lint(toolchain probe fails; the three tools were run directly),dev.py bootstrap, a full test run at each commit (lint only).Points for the reviewer
decideis given the current state. The prompt's "skip the stages" cannot be built without an inventedImpactReport.to_evidence_submissionstamps the resource-set hash, but P6 compares the state's own hash, so every carry-forward from version 0 would be refused. Baseline evidence is built inbaseline.pywith the state hash.decideandrecord_decision,record_decisionraisedStaleParentErrorout ofevaluate(9 of 28 schedules). The orchestrator now decides again, giving the stale rejection; a deterministic regression test pins it.candidate_sequence(the schema isUNIQUE (lineage_id, candidate_sequence)); verification ids are positional (the engine's id source has no target).evaluateand the P6a pipeline.Limits
Impact and verification reports are not persisted (P8); fixed patches only and the patch text is not applied (C-174, P7b); one SQLite file, the MVP's single promotion worker (Doc 09 §39), nothing claimed for several processes beyond the concurrency tests.
Do not merge. Wait for the external verdict and paste it into the PR (C-28).
🤖 Generated with Claude Code