Skip to content

Proof-or-Stop v0.3.433 - Integrated Validation and Managed Implementation Controls

Choose a tag to compare

@Harmonynet Harmonynet released this 20 Sep 14:28
· 1098 commits to main since this release

Proof-or-Stop v0.3.433 - Integrated Validation and Managed Implementation Controls

Overview

This release integrates the complete local v0.3.429 through v0.3.432 repair line with Pan Qi's remote v0.3.429 and v0.3.430 managed-worker line. It preserves both histories, aligns the package and command-line runtime at version 0.3.433, and strengthens validation, evidence reuse, worker authority, and managed implementation delivery.

The release contains 110 commits after v0.3.428 and changes 72 files with 10,333 insertions and 7,555 deletions. Both pre-merge heads are direct parents of the release merge commit, so neither development line was replaced or omitted.

Why this release was needed

The two development lines addressed complementary parts of the same reliability boundary:

  • Validation work tightened provider budgets, resource accounting, execution-evidence reuse, prompt references, and production timeout behavior.
  • Managed implementation work established canonical worker authority, signed dispatch and completion records, owner-lease enforcement, retry safety, and rollback behavior.

Publishing either line alone would have left the other line absent from the latest release. v0.3.433 is the integration point that carries both sets of fixes and their verification evidence.

Problems fixed

Area Before v0.3.433 After v0.3.433
Provider admission A provider attempt could reach dispatch without every planned-attempt and remaining-time constraint being enforced at the final boundary. Admission checks enforce planned attempts, remaining time, repair ceilings, and prompt-size limits before dispatch.
Usage after transport failure Usage reported before a transport exception could be lost or replaced by an accounting error. Proven usage is retained, unavailable usage remains explicit, and the original transport error remains authoritative.
Production validation budget Three production validation paths still used the earlier 180-second ceiling. All three production paths are verified at exactly 260 seconds.
Evidence reuse Reuse could rely on insufficiently specific intent identity or present unsafe bulk refresh guidance for mixed Stories. Evidence is bound to execution, intent, aggregate, and item-scoped fingerprints; invalid groups fail closed and refresh guidance is narrowed to the safe target.
Prompt reference baseline Current canonical role content could be rejected by stale approval hashes and obsolete Story-reference allowances. The 18-role approval baseline is current, obsolete allowances are removed, and four exact references are checked for missing, duplicate, altered, stale, and cross-role use.
Implementation authority Commit authorship or an unmanaged execution path could be mistaken for lifecycle authority. Only canonical worker identity and signed, target-bound lifecycle records can authorize managed implementation completion.
Managed checklist dispatch Checklist implementation did not have a single end-to-end managed dispatch contract. Managed dispatch now binds Story, checklist item, provider run, worker identity, receipt, and completion outcome.
Retry and transport loss Retries or a lost transport response could create duplicate work or ambiguous completion. Idempotent completion and signed receipts preserve the outcome across retry and transport loss while rejecting duplicate execution.
Rollback and incomplete completion Partial or failed managed completion could leave misleading success state. Atomic receipt handling and rollback rules keep incomplete or failed work fail-closed.
Owner lease Managed workers could continue without a current owner-lease proof. Lease ownership is checked and stale or mismatched ownership is rejected.
Integration metadata The two lines had separate version, registry, static-edge, and baseline states. Package metadata, command-line version, validation registry, prompt baselines, and static-edge evidence are reconciled at 0.3.433.

Detailed changes

Provider budgets and benchmark reliability

  • Enforces attempt, wall-time, repair, shared invocation, and prompt-byte budgets before provider dispatch.
  • Uses shared accounting across related invocations instead of treating each attempt as an isolated allowance.
  • Preserves retries that remain within policy while rejecting exhausted or malformed budget state.
  • Records bounded provider-reported usage even when the transport later throws.
  • Keeps the original failure visible when secondary usage accounting cannot complete.
  • Raises and verifies the production validation ceiling from 180 seconds to 260 seconds on all three registered production paths.

Intent-bound verification evidence

  • Derives execution, intent, aggregate, and item-scoped fingerprints from the Story's actual verification intents.
  • Requires authenticated receipt admission before executable evidence can be reused.
  • Separates pending reuse publication from evidence that is already current.
  • Refuses contradictory, incomplete, tampered, or mismatched execution groups.
  • Avoids unsafe bulk refresh advice when a Story contains mixed evidence states.
  • Preserves documentation attestations and legacy diagnostic metadata without treating them as upgraded executable proof.

Prompt authority baseline

  • Refreshes the approved hash for the current implementation role content.
  • Regenerates the role matrix and measurement baseline from the current sources.
  • Removes nine unused Story-reference allowances and retains four exact references.
  • Verifies all 18 registered roles and rejects missing, duplicated, altered, stale, or cross-role authority.

Canonical implementation-worker authority

  • Separates audit attribution from lifecycle authority.
  • Requires canonical worker identity for implementation actions.
  • Validates target bindings and refuses unmanaged or mismatched completion claims.
  • Protects completion state when provider output, transport status, or worker identity is incomplete.

Managed implementation dispatch

  • Adds an end-to-end managed checklist implementation dispatch path.
  • Binds dispatch to the current Story and checklist item.
  • Persists signed completion evidence and verifies it before lifecycle completion.
  • Handles retries without duplicating implementation work.
  • Preserves a valid completed result across a lost transport response.
  • Uses atomic receipt and rollback behavior so partial failure cannot appear successful.
  • Enforces current owner-lease proof throughout the managed flow.

Release integration

  • Merges both repair histories without rewriting either line.
  • Reconciles validation commands and the managed implementation command in the effective configuration.
  • Regenerates static-edge evidence against the combined command registry.
  • Aligns root package, main package, lock files, brand constant, and runtime output at 0.3.433.
  • Updates the compact changelog with the integrated release entry and links to the detailed design records.

Verification evidence

The integrated release commit was verified with the following checks:

  • Full build: passed for core, utilities, graph components, and final suite binding.
  • Managed implementation dispatch suite: all scenarios passed, including retry, transport-loss, atomic receipt, rollback, and unmanaged completion rejection.
  • Implementation-worker authority verifier: passed.
  • Managed worker owner-lease verifier: passed.
  • Runtime version verifier: passed, including negative mismatch and invalid-metadata cases.
  • Production validation budget test: passed with all three commands fixed at 260,000 milliseconds.
  • Intent fingerprint reuse suite: passed with dynamic intent discovery and item-scoped smoke selection.
  • Prompt baseline suite: passed for all 18 roles and all four exact Story references.
  • Changelog compaction verifier: passed.
  • Validation static-edge verifier: passed with zero unexpanded commands and zero configuration drift.
  • Benchmark release verifier: passed its release contract, including build, type checking, registry binding, shared budgets, adversarial behavior, scheduler assertions, host-run checks, process facts, and runtime checks covered by the verifier.

Integration and ancestry proof

  • Release commit: b91dee167856bf36f7360e7335a38f9c25dec230
  • Local validation parent: 6b59d0dcd56b902c63322e47b7acd45072b0a3fa
  • Pan Qi managed implementation parent: d6e284482bc796a5118ec2f88deb5d50f6949180
  • Both parent commits are ancestors of the release commit.
  • The release range after v0.3.428 contains contributions from Harmonynet and Pan Qi.
  • No co-author or sign-off trailers are present in the release commit range.

Known baseline and maintenance notes

  • The runtime-fact verification still identifies the previously recorded validation snapshot-binding baseline. The benchmark release verifier recognizes this as an existing baseline condition and completed successfully; this release does not claim that unrelated baseline as repaired.
  • The managed asset drift check reports three safe-to-sync items: one ignore-pattern update and two local hook templates. They are not incompatible edits and were intentionally left outside this integrated release rather than silently expanding its scope.
  • This release preserves fail-closed behavior for invalid evidence, stale authority, missing receipts, duplicate execution, unknown usage, incomplete managed completion, and unsafe mixed-Story refresh advice.

Upgrade result

After upgrading to v0.3.433, teams receive both the current validation-performance repairs and the managed implementation workflow in one ancestry-complete release. Existing projects can update from the published tag, rebuild the command-line package, and use the combined controls without choosing between the two development lines.