Skip to content

Improve checkpoint recovery preparation and validation efficiency #577

Closed

Description

@lastobelus

Checkpoint recovery can require repeated long validation passes. Adopt the existing validation and orchestration building blocks while preserving candidate identity, complete coverage, and publication safeguards.

Work

  • Repair checkpoint observer terminal correlation (tracked separately in fix(actions): Wait for Checkpoint can miss terminal supervisor state #529).
  • Prepare the entire integrated repair diff before another Full CI pass, including complete format/lint scope and affected checks.
  • Pilot per-file caching for advisory repair checks; keep publication validation uncached.
  • Evaluate an uncached, duration-balanced two-runner server-test pilot with complete discovery, exact candidate identity, and reliable failure/cancellation handling.
  • Reconcile worker, review-wait, model-selection, and retained-recovery guidance with current behavior.
  • Compare Sol and Terra review policies on resolved semantic conflicts, routine fixture repairs, and clean controls; record useful findings, false positives, elapsed time and available usage evidence, then make a qualified recommendation.
  • Coordinate child-owned resumable Action adoption with Delegated tasks finish before resumable Action continuations complete #482; source availability alone is not installed acceptance.

Completion

Each implementation links its PR and scoped validation here. Keep exact-candidate checks, immutable tags, retained human repairs, and guarded promotion. Pilot results must distinguish measured outcomes from projections. Closing this umbrella requires the implementation outcomes and final model-evaluation recommendation; individual PRs should reference it without closing it prematurely.

Activity

  1. lastobelus commented on Nov 2, 2026

    @lastobelus
    OwnerAuthor

    Publication-safety follow-up landed in #580 as af9a00eaae88a03601fff917b8533e17dd66210d, closing #578. Carry bootstrap and ordinary carry revision pushes now run their pre-push hooks from the same candidate checkout used by the publication guard.

    Both existing real-Git scenarios demonstrated the wrong-checkout failure before the repair. Afterward, 86 focused tests, changed-file checks, managed Quick CI, carry admission and exact-head GitHub CI passed. The one Codex newline-escaping finding was disproved by directly evaluating and executing the committed hook template, replied to with the evidence, and resolved; the final guard reported no unresolved review threads. The merged tree matches the reviewed tree.

    This is a publication-correctness repair, not measured checkpoint speedup evidence. The remaining observer, complete-repair preflight, advisory-cache, hosted-shard pilot and guidance work remain unfinished under this issue. Phase 3 child-owned Action adoption remains unaccepted under #482/#579; parent mediation remains in force. No checkpoint, install, restart or service operation was requested.

  2. lastobelus commented on Nov 2, 2026

    @lastobelus
    OwnerAuthor

    Guidance reconciliation is prepared as draft #583, with three cases loading the edited guidance from source. Formatting, eval typecheck and dry-runs passed. Both baseline and candidate behavior runs failed before model calls because the documented Codex proxy configuration is unavailable. No behavioral improvement or baseline failure is established.

    Current runner/README inspection confirms that Codex evals require the configured vibeproxy transport; the managed Codex runtime is a separate path, and no supported fixture-tool eval entry point for that session was found. No credentials, model provider or billing route was changed. Removing this blocker requires a supported eval transport or an explicit acceptance decision; the PR stays draft meanwhile. Other implementation tracks retain their independent delivery gates.

  3. lastobelus commented on Nov 2, 2026

    @lastobelus
    OwnerAuthor

    Checkpoint observer repair #584 merged as e864910bae68e7e1c1b99091b9ccca09c29b9089, closing #529. The waiter now correlates the observed wrapper/scheduler/supervisor identities and process start times, while continuing to reject unrelated or never-observed terminal records.

    The existing regression failed before the fix; 11 focused tests and controlled success/failure process runs passed afterward. Changed-file checks and managed Quick CI passed on the same source tree. Corrected source ownership passed local same-base carry compilation; exact-head GitHub CI and Codex review passed with zero unresolved review threads. The merged tree matches the reviewed tree. No checkpoint, installation, restart or service operation was requested.

    #577 stays open for complete-repair preflight, the advisory-cache and hosted-shard pilots, and guidance reconciliation. The guidance PR remains draft at its explicitly unexecuted behavior-eval gate.

  4. lastobelus commented on Nov 2, 2026

    @lastobelus
    OwnerAuthor

    Complete integrated-repair preflight landed in #585 as 3ea01e4b9165f1de18d31ffecfc9adfc526d16bb. The existing check:changed command now accepts paired --baseline <commit> --candidate <commit> options and compares endpoint trees directly. The candidate must remain the exact clean completed checkout before and after checks. Ordinary positional-ref behavior, checkpoint fail-fast lint, final Full CI and publication remain unchanged.

    The regression demonstrates earlier integrated repairs being omitted by a last-patch comparison, then all three repair paths reaching the existing checks across rewritten history. Focused helper/command checks passed, including a fresh 27-test changed-file run after rebasing onto #584. Exact same-base carry compilation, required GitHub CI and exact-head Codex review passed with zero unresolved threads. The merged tree matches the reviewed tree. No extra checkpoint, build, installation or restart was requested.

    #577 remains open for the advisory-cache and hosted-shard pilots, and guidance reconciliation. No whole-checkpoint speedup is inferred from this source delivery.

  5. lastobelus commented on Nov 3, 2026

    @lastobelus
    OwnerAuthor

    PR #586 is merged as 90e72415d65bf281dc14dec9e93a3564b5a54f0d. It adds opt-in advisory caching for 1–16 server test files, isolated receipts, environment/runtime invalidation, and an uncached cache-hit audit. Regression coverage includes interrupted launchers, surviving worker ownership, stale startup refusal, and fixture invalidation. Nine affected tests and same-base carry compilation passed; exact-head GitHub CI and Codex review passed with zero unresolved threads.

    Final checkpoint Full CI and publication stamps remain unchanged. The small preliminary timing sample establishes no whole-checkpoint speedup. #577 stays open for the guidance behavior evaluation and hosted server-shard pilot.

  6. lastobelus commented on Nov 3, 2026

    @lastobelus
    OwnerAuthor

    PR #587 is merged as 4b5dda57851ed5cbac56d39e17e198e5e98e0b17. The advisory hosted pilot completed its serial baseline, two isolated shards, and evidence aggregation on the exact candidate. Parent assessment verified Node 24.13.1 in the driver and Vitest, all 550 files covered by disjoint 274/276 shards, matching test totals, and required transfer outputs. Exact-head CI and Codex review passed with zero unresolved threads.

    Protocol evidence is complete, but the timing comparison is explicitly inconclusive because CPU models differed. No speedup or checkpoint/publication acceptance is claimed, and checkpoint Full CI remains unchanged. Historical Node 26 results remain rejected. #577 stays open for PR #583 behavior-eval assessment and guidance delivery.

  7. lastobelus commented on Nov 3, 2026

    @lastobelus
    OwnerAuthor

    The scoped implementation and evaluation work is complete.

    The 12-run review-policy pilot supports retaining Sol/high by default and using Terra/xhigh selectively for an independent publication/validation-safety opinion. Both policies found the semantic defect in both samples; Sol found the fixture defect twice, Terra once plus an additional independently supported publication defect, now repaired in #580. Neither policy produced an adjudicated false positive. The sample does not establish a reliable speed/cost advantage or broad model superiority; usage and monetary cost were not available.

    Actual guidance evaluation is complete. The deadline case changed from baseline 0/3 to focused candidate 3/3 and full-run candidate 2/2. Both model guards passed baseline and focused runs. Two valid full-run refusals were lexical false negatives; the narrow tested matcher correction gives all seven affected full-run samples passing while preserving raw responses and scores. Original full sweep: 248 passed, 34 failed and eight errored across 137 cases / 290 samples. Separate matcher-only assessment: 250 passed, 32 failed and eight errored. The broader suite is not green; residual historical evidence is tracked in #589, without claiming a current production defect or a guidance regression unsupported by a matched baseline.

    The actual sweep remains bound to its frozen harness revision. After refreshing the PR, guidance hashes and all three complete initial request bodies were unchanged; this is not a claim that the older whole sweep ran on the newer harness. No validation waiver was used.

    Child-owned Action adoption stays with #482's installed acceptance. This coordinator continues parent mediation; this issue does not grant adoption or close #482. No extra checkpoint, package build, installation, restart or service operation was requested by these merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions