Skip to content

fix: admit completed semantic runs before hourly ALL - #359

Merged
acidkill merged 2 commits into
mainfrom
grit/fix-hourly-semantic-handoff
Nov 18, 2026
Merged

acidkill merged 2 commits into
mainfrom
grit/fix-hourly-semantic-handoff

Conversation

@acidkill

@acidkill acidkill commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add an explicit reviewed admission from a completed semantic-only run to one fresh hourly ALL run, retaining the prior blocked receipt, observations and confirmed-success history through resource-version CAS.
  • Validate the new ALL scope and independently computed default CLI fingerprint while preserving strict same-run resume checks and native lease/resource fences. Admission never launches consolidation or resets a checkpoint.

Why

A semantic-only run legitimately completes 1/1 strategies. Starting ALL afterward changes the native options fingerprint, which the hourly postflight previously rejected even for a fresh run. Its historical blocked receipt also needs an explicit audited transition. The new admission binds exact native completion, final CLI-zero output and frozen-coverage proof, successful source Job/Pod/image evidence, and current brain/configuration/resource identity before recording a fresh-ALL intent.

Test plan

  • Ruff 0.16.0: ruff check --fix src/ tests/ and ruff format src/ tests/; no formatting or lint changes required. Hourly script checked separately.
  • Python 3.11 / mypy 2.3.0, clean declared .[dev]: mypy src/ --ignore-missing-imports --config-file pyproject.toml — no issues in 372 files.
  • 54 selected isolated regressions: fresh semantic-to-ALL scope, strict resume failures, actual CLI-to-native fingerprint parity, SDK result decoding, final-attempt proof and optional health advisory, verifier drift, CAS conflict/uncertain-response/replay, and the existing paused ALL bridge. No failures/skips; one pytest-timeout configuration warning under restricted plugin loading.
  • Optional SDK profiles: the SDK-present focused selection passes 54 tests; the two SDK contract cases explicitly skip when the optional package is absent. The real-backend CI matrix installs the SDK and exercises the actual method.
  • Full required pytest tests/ -m "not stress" -n auto suite in current-head GitHub CI; heavy tests were intentionally kept off the workstation.
  • Current-head SurrealDB 3.2.0/3.2.4 integration and production-image gates.

Verified by

@acidkill

@acidkill
acidkill marked this pull request as ready for review November 18, 2026 11:56
@acidkill
acidkill merged commit 1bf296b into main Nov 18, 2026
12 checks passed
@acidkill
acidkill deleted the grit/fix-hourly-semantic-handoff branch November 18, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant