Skip to content

Proof-or-Stop v0.3.438 - Validation, Review, and Managed Workflow Reconciliation

Latest

Choose a tag to compare

@Harmonynet Harmonynet released this 21 Sep 04:21
· 964 commits to main since this release

Proof-or-Stop v0.3.438 - Validation, Review, and Managed Workflow Reconciliation

Overview

v0.3.438 integrates two independently developed repair lines after v0.3.433 and corrects an unpublished local author-identity error before publication. The release combines validation reliability, provider quota enforcement, sticky failure verdicts, bounded review processing, managed implementation and review recovery, finding-repair launch contracts, and precise verifier identity diagnostics.

The release range contains 134 commits and changes 113 files with 5,394 insertions and 1,367 deletions. The final merge preserves both pre-merge histories as direct parents instead of replacing either line.

Author identity correction

Twelve unpublished local commits were recorded with the unintended identity Harmony <165200709+Harmonygo@users.noreply.github.com>. Before merging or publishing them, their author and committer fields were corrected to:

Harmonynet <26995688+Harmonynet@users.noreply.github.com>

The rewrite changed attribution only:

  • The old local head was a89c3e1aa4a64bb7f04992895b8df905cf4a824b.
  • The corrected local head was 85127742ea01b33bc1534b10fccdd73bddca69d6.
  • Both heads had the identical tree 1ee8259a517f4fc7995487954149d71823e7bd6c before integration.
  • The local commit count remained 70.
  • Commit messages, authored dates, file contents, and merge topology were preserved.
  • All 70 unpublished local commits now use the Harmonynet identity for both author and committer.
  • Pan Qi's 63 independent commits and attribution were preserved unchanged.
  • No co-author or sign-off trailers are present in the release range.

Why this release was needed

The local line and remote line solved complementary failure modes but both had reached version 0.3.437 independently. Publishing one branch as latest would have omitted the other branch's repairs. The two branches also carried different prompt baselines, static-evidence bindings, and manifest-serialization expectations, so a plain one-sided update would have left release verification stale.

v0.3.438 is the ancestry-complete integration point. It resolves those differences, advances every core version surface together, and revalidates the combined behavior.

Before and after

Area Before v0.3.438 After v0.3.438
Local commit attribution Twelve unpublished commits used the wrong local account identity. All unpublished local commits use Harmonynet; Pan Qi's independent attribution remains unchanged.
Shared provider quota Related launch routes could account for calls independently and exceed the intended cumulative allowance. One explicit quota covers host runs, managed workers, plans, repairs, standalone reviews, bounded adapters, and custom audits.
Failure verdict integrity A later pass or reused result could obscure a failure recorded for the same material and execution identity. Failure remains sticky for an unchanged identity; material or build changes are required before a new result can supersede it.
Validation identity Missing, partial, or stale identity data could produce ambiguous reuse and completion behavior. Full identity is bound before launch, failures carry the same binding as passes, and unreadable or incomplete history fails closed.
Review inventory scale Large Git inventories and dirty-state output could overflow transport or produce imprecise diagnostics. Inventory reads are incremental and bounded, with explicit source-count, byte, and deadline limits plus fail-closed diagnostics.
Cross-wave findings A repeated observation could be collapsed without a signed canonical relationship to the original finding. Duplicate classification requires a signed canonical observation in the same frozen review epoch; originals and evidence remain preserved.
Audit snapshot transport Complete local audit input shared the provider-output ceiling, causing valid large evidence snapshots to fail. Audit input has a separate 64 MiB aggregate bound while provider output remains capped at 8 MiB; per-file, binary, UTF-8, and tamper checks remain enforced.
Managed implementer completion A child implementation session could finish code but fail the owner-lease boundary when completing its exact checklist item. A narrow, one-shot, item-bound capability admits only the exact done transition and remains protected against replay, wrong-item, metadata, takeover, and failed-result misuse.
Managed review recovery Unsupported review dispatch could return guidance that did not lead to an executable signed review flow. Recovery now points to the signed candidate route, review-run start, and managed review commands with complete executable choices.
Finding repair launch A controller could wait without proving that a native repair task was actually launched. The controller must obtain a nonempty task identity; workers remain read-only for blocker state and return committed repair evidence to the owner.
Verifier freshness diagnosis A stale receipt could report a generic mismatch that did not identify whether environment, toolchain, or dependency input changed. Diagnostics identify the exact changed execution component while keeping strict rerun requirements intact.
Prompt and static evidence The merged prompt body, approval hash, UTF-8 manifest format, dependency digests, and version surfaces disagreed. All 18 prompt roles, four exact Story references, 318 static review records, command bindings, package versions, and runtime output are reconciled at 0.3.438.

Detailed changes

Shared provider-call governance

  • Enforces one cumulative provider invocation quota across all registered launch routes.
  • Preserves the submitted quota when a worker environment loses inherited context.
  • Accounts for retry allowances without double charging completed or refused attempts.
  • Keeps parent-only quota context out of worker payloads.
  • Preserves structured refusal outcomes, transcripts, and final accounting.
  • Rejects forged transport state, overreported attempts, conflicting worker budgets, and exhausted repair subquotas.

Sticky validation verdicts and identity-bound reuse

  • Treats an executed failure as authoritative for the same command set, committed material, Story files, and compiled artifacts.
  • Refuses pass publication and pass reuse when they would flip an unchanged failed identity.
  • Distinguishes verdict failures from infrastructure-only and coverage-only outcomes.
  • Builds the complete run identity before execution so a later lookup failure cannot erase what ran.
  • Keeps failing terminals as fully bound as passing terminals.
  • Allows a changed material or build identity to release the sticky-failure condition without an override path.

Bounded review rework

  • Reads large review inventories incrementally within the registered transport allowance.
  • Refuses incomplete full-roster selection and unreadable dirty-state transport.
  • Bounds dependency closure by source count, individual bytes, aggregate bytes, and cooperative deadline.
  • Reuses per-call module resolution and emits bounded diagnostic samples.
  • Preserves original open findings while linking proven duplicate families across waves.
  • Keeps required reviewer lanes and independent-host requirements unchanged.
  • Reduces repeated remediation churn by batching applicable findings while maintaining signed final-review evidence.

Audit snapshot input boundary

  • Separates complete local audit snapshot input from provider output.
  • Accepts bounded aggregate input up to 64 MiB while retaining the existing 8 MiB output limit.
  • Rejects oversized aggregate input, oversized individual sources, binary input, invalid UTF-8, and digest tampering.
  • Preserves exact snapshot references and compact initial prompts.

Managed implementation capability

  • Adds a narrow owner-lease admission for the exact assigned checklist item's done transition.
  • Requires the registered implementation worker and the exact live Story/item capability.
  • Revalidates the filtered completion payload before persistence.
  • Binds the result to the managed run and consumes the one-shot invocation only after checklist and event writes succeed.
  • Refuses in-progress changes, metadata mutation, other items, phase changes, takeover, replay, spoofed actors, and failed-result completion.
  • Preserves retry after an interrupted event write without duplicating a successful completion.

Managed review and finding repair

  • Keeps review lanes on their signed review-specific path and returns executable recovery guidance when an unsupported dispatch route is used.
  • Exposes qualified managed-review command choices while retaining the review-run identity as the required prior binding.
  • Requires native finding-repair launch and a nonempty task identity before a controller waits.
  • Keeps repair workers read-only for blocker state and returns committed repair evidence for owner verification.
  • Preserves structured launch contracts through both individual and clustered repair flows.
  • Leaves cluster commit markers inert until owner-gated validation consumes them.

Verifier identity diagnostics

  • Reports whether freshness drift came from the environment, toolchain, or dependency inputs.
  • Keeps behavior-affecting environment and toolchain changes strict: they still require a real rerun.
  • Treats a missing dependency manifest as limited reuse authority, not as a false live-identity mismatch.
  • Adds focused regression coverage for environment and toolchain drift.

Integration and release reconciliation

  • Retains the stronger local topology-critic instructions and refreshes the independent approval hash.
  • Regenerates the prompt registry baseline, overlap matrix, and measurement sidecar.
  • Uses canonical UTF-8 static-evidence serialization so non-ASCII evidence survives version transactions unchanged.
  • Preserves both branches' reviewed static entries and renews only bindings affected by the merge.
  • Reconciles process facts, runtime facts, managed host behavior, review inventory inputs, and effective configuration.
  • Advances the root package, core package, lock files, extension core records, brand constant, and command-line runtime together to 0.3.438.

Verification evidence

The integrated release commit passed the following checks:

  • Full build for core, utilities, graph, web assets, and full-suite build binding.
  • TypeScript build and runtime version output at 0.3.438.
  • Managed implementer end-to-end dispatch, including owner lease, exact completion, retry, replay refusal, wrong-item refusal, spoofing refusal, event-write rollback, and static binding.
  • Shared provider quota route, edge, refusal, coverage, retry, repair, standalone review, and managed-worker checks.
  • Validation verdict stickiness: 96 checks passed.
  • Review rework: static binding, identity binding, large inventory, transport failure, dependency budget, repeated-family control, workspace restoration, native duplicate control, roster safety, dirty transport, and bounded diagnostics passed.
  • Audit snapshot input budget: complete large snapshots, 64 MiB input bound, unchanged 8 MiB output bound, aggregate/per-file/binary/UTF-8 refusals passed.
  • Managed INIT reviewer dispatch and all 16 canonical dispatch roles passed.
  • Finding-repair dispatch registry and structured finding resolution passed.
  • Environment and toolchain identity-drift diagnostic checks passed.
  • Prompt baseline: all 18 exact roles, complete bodies, registry snapshots, assembled outputs, role matrix, ten mutation probes, and four exact Story references passed.
  • Process-fact contract: 562 registered facts, 39 reviewer prompts, 112 inventory files, certification recovery, managed delivery, shared DONE predicates, and execution-assertion reuse passed.
  • Static-edge verification: zero review-needed rows, zero nested registrations, zero unexpanded commands, zero stale exceptions, and zero configuration drift.
  • Command-line runtime version verification, including stale-runtime and invalid-metadata negative controls, passed.
  • Lab version-source evidence transaction, including canonical UTF-8 preservation and complete digest refresh, passed.
  • Changelog compaction and prepend/tamper controls passed.

Ancestry proof

  • Release commit: 0836d73b7c8d8d069abf6ef96ecfed2434733c0a
  • Corrected Harmonynet parent: 85127742ea01b33bc1534b10fccdd73bddca69d6
  • Pan Qi parent: 46fd097c37e908c6793110f228a4cb8264bcdc72
  • Both parent commits are direct parents and ancestors of the release commit.
  • The v0.3.433-to-v0.3.438 range contains 71 Harmonynet commits and 63 Pan Qi commits.
  • Author and committer identities match on every commit in the release range.

Known maintenance notes

  • The managed asset check reports three safe-to-sync items: the runtime ignore block and two generated local hook templates. There are no missing assets, local-edit conflicts, case mismatches, or incompatible assets. These safe template synchronizations remain outside this release rather than silently expanding its scope.
  • Historical Lab entries below the v0.3.438 changelog entry retain their original branch-local descriptions. The v0.3.438 integration entry and this release record define the final combined behavior, including canonical UTF-8 manifest serialization.
  • This release preserves fail-closed behavior for incomplete identity, stale receipts, unknown usage, duplicate execution, missing task launch, unreadable review state, invalid evidence bindings, replay, and partial managed completion.

Upgrade result

Upgrading to v0.3.438 provides the complete post-v0.3.433 repair history from both development lines in one release. Teams receive stricter validation identity and quota controls, scalable review processing, safer managed implementation and repair workflows, actionable freshness diagnostics, and corrected local authorship without losing Pan Qi's independent contributions.