Harden proof boundaries and close architecture drift#71
Merged
Conversation
iperev
marked this pull request as ready for review
July 11, 2026 19:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change closes the confirmed architecture-audit gaps across Proofkit's trust, artifact, CLI, agent, planning, and self-hosting boundaries.
Formal justification
For each changed boundary, the implementation follows the same proof form:
x, thenxmust be admitted by the named owner before the decision.The added falsifiers negate each conclusion independently: symlink escape, pre-mutation provider evidence, packed/source drift, wheel/source drift, lossy receipt collisions, dangling agent refs, invalid JSON pointers, unknown evidence vocabulary, descriptor/argv drift, Unicode/string/regex scanner offsets, foreign browser authority, partial PID files, and incomplete CI package coverage.
Breaking contract changes
typescript-public-api-surfacesnow requirespackageManifestPathandexportConditions[].sourcePath; implicitpackages/,src/, and compiled-target inference were removed..ts,.mts, and.ctsare admitted.selectedRouteFamilyand guidance usesrouteFamily, avoiding collision with command-family navigation.requiredEvidencevalues fail admission in every trust mode.Validation
git show --check --format= HEADnpm run checkon committed object59/59requirements bound,111scenarios)go test -racefor requirement browser, agent envelope, package execution record, TypeScript public API, Python package, and release closeout packagesorigin/mainf3e41686849542087ed53863e6d56aaaeac41202Release-closeout package tests decreased from about 9.9 seconds to about 4.3 seconds locally while preserving isolated copies and all existing falsifiers.
Non-claims