CI Pipeline / best-practices (push) Successful in 11s
CI Pipeline / documentation (push) Successful in 5s
CI Pipeline / rust-surface (push) Failing after 20s
CI Pipeline / go-surface (push) Failing after 22s
CI Pipeline / gitea-offline (push) Successful in 16s
Auto-version and Release / release (push) Successful in 50s
CI Pipeline / type-check (push) Failing after 54s
CI Pipeline / lint (push) Failing after 1m25s
CI Pipeline / canary (push) Failing after 2m26s
CI Pipeline / required-checks (push) Canceled after 0s
CI Pipeline / CI Pipeline / notify-event-bridge (push) Canceled after 0s
CI Pipeline / unit-tests (push) Canceled after 6m21s
deploy / deploy (push) Canceled after 6m25s
48 lines
2.3 KiB
Python
48 lines
2.3 KiB
Python
#!/usr/bin/env python3
|
|
"""Close the #2479 dichotomy-wave construction contract for
|
|
research_budget with SHA evidence."""
|
|
import json
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
|
|
|
|
from rune.construction_interface import ConstructionInterface
|
|
|
|
cid = "BUILDER-2026-10-13T07:29:38Z-b4cb51-factory-batch-i"
|
|
iface = ConstructionInterface(builder="factory-batch-i")
|
|
|
|
c = iface.close(cid, observed_evidence=[{
|
|
"kind": "port_evidence",
|
|
"detail": "research_budget dichotomy completion — parity 55a347db "
|
|
"feat(research_budget): port to FULL Rust — dichotomy wave; "
|
|
"Phase B 719954c4 refactor(research_budget): Phase B "
|
|
"language-advantage pass — dichotomy wave (positional "
|
|
"budget slots); store register 6accb278 (all pushed "
|
|
"gitea/master). Battery 2 tests replay the 16-case frozen "
|
|
"oracle truth VERBATIM (new_budget defaults/explicit/zero/"
|
|
"negative; spend within/boundary/overrun for query and tool "
|
|
"kinds, non-query kinds on the tool path, n=0/negative, "
|
|
"already-stopped refusals, stopped=0 falsy edge, exact "
|
|
"overrun/stop_reason strings); live parity 1641/1641 "
|
|
"(16 frozen + 500 fuzz seeds with chained-state spends, "
|
|
"kernel vs RUNE_RB_CORE=python); pytest test_adapt_quartet "
|
|
"10 passed BOTH ways (kernel auto + python pin); clippy -D "
|
|
"warnings clean. Side effect: this push repaired master's "
|
|
"store — commit a829834f had injected 14 conflict markers "
|
|
"into store/scaffold/current.json; the register's "
|
|
"union-merge re-based onto the last clean store and dropped "
|
|
"the markers.",
|
|
}], scope_files=[
|
|
"src/rune/research_budget.py",
|
|
"src/rune/rb_loader.py",
|
|
"src/rust/research_budget/src/lib.rs",
|
|
"src/rust/research_budget/src/branch_battery.rs",
|
|
"src/rust/research_budget/frozen_rb_truth.json",
|
|
"scripts/gen_research_budget_truth.py",
|
|
"scripts/walk_contract_research_budget.py",
|
|
"scripts/close_contract_research_budget.py",
|
|
])
|
|
print("close:", json.dumps(c)[:300])
|
|
print("CONTRACT", cid, "closed" if c.get("success") else "CLOSE_FAILED")
|