mirror of
https://github.com/bdbrown4/peltier.io.git
synced 2026-11-07 10:58:28 +00:00
phase2: close out — all SPEC §5 exit criteria met
20 audited attempts, 0 shipped false accepts, 3 verified auto-accepted wins (tokei class-5: +10.7%, +3.7%, +9.9%; ~1.25x vs upstream with Phase-0 wins). Independent 20-way adversarial re-audit (phase2-final-audit workflow) confirmed every verdict follows its evidence, correct equivalence tier, no harness-gaming, ledger append-only intact. Closeout changes: - case study: full 20-row attempt table, scoreboard, corrected comrak-010 CI upper bound (+12.1%, was +12.2%), exit-criteria section flipped to ALL MET, OS-isolation gap marked closed. - CLAUDE.md Current-phase line: Phase 2 complete, next Phase 3. - verdict: derive the ledger 'phase' column from the run_id namespace (phaseN-*) instead of the hardcoded 1 the re-audit flagged; historical rows are immutable and stay as written (run_id prefix is authoritative). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EcKPWQ3MQD4NdEHwar96u2
This commit is contained in:
@@ -296,12 +296,22 @@ fn main() -> Result<()> {
|
||||
Some(p) => std::fs::read_to_string(p)?,
|
||||
None => "(no source patch)".into(),
|
||||
};
|
||||
// Derive the phase from the run_id namespace (phaseN-*) so the column
|
||||
// matches the run_id prefix; the historical hardcoded `1` left every
|
||||
// verdict-written row tagged phase 1 regardless of namespace (found in
|
||||
// the phase2-final-audit sweep). Falls back to 1 for un-prefixed ids.
|
||||
let phase = cli
|
||||
.run_id
|
||||
.strip_prefix("phase")
|
||||
.and_then(|r| r.split('-').next())
|
||||
.and_then(|n| n.parse::<u8>().ok())
|
||||
.unwrap_or(1);
|
||||
let attempt = Attempt {
|
||||
run_id: cli.run_id.clone(),
|
||||
timestamp: now_utc(),
|
||||
target: cli.target.clone(),
|
||||
target_commit: spec.source.commit.clone(),
|
||||
phase: 1,
|
||||
phase,
|
||||
hotspot: cli.hotspot,
|
||||
playbook_class: cli.playbook_class,
|
||||
hypothesis: cli.hypothesis,
|
||||
|
||||
Reference in New Issue
Block a user