Research: require exact Contract B index at Decision ingress - #50
Draft
camerontjs-dot wants to merge 7 commits into
Draft
camerontjs-dot wants to merge 7 commits into
camerontjs-dot wants to merge 7 commits into
Conversation
This was referenced Sep 8, 2026
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.
Classification
Draft Research Infrastructure / exact-ingress authority prototype. No production promotion, merge, release, tag, Authorization, execution, or maintained-source change.
Exact base
Decision Engine
main@a4425f8eb47449ff6c683222921bbea9483742e2.Why
Pressure PR #49 established that maintained DE currently proves exact Contract C identity and top-level Contract B bundle identity but does not independently re-establish C proposition/evidence references against the contents of that exact B bundle. The released Contract C 1.0.0 validator already supports
contract_b_indexvalidation and rejected every tested internal-reference substitution when supplied the exact real B index.Result
SUPPORTED_WITH_BOUNDARY.
Science head:
cc0bf642a41812dc57a0a0d9b4778199bf03ed69.Hosted evidence on that exact head:
34253951200: SUCCESS;34253982723: SUCCESS;34253982705: SUCCESS;required-contract-b-index-ingress-34253951200, ID10067084160, ZIP SHA-25689323909efc72a4d2d5254e20c3d73838f4d60dc02c20dd92efb5e424d6d9c23.Prototype
The smallest research-only strict ingress tested:
contract_b_index;The implementation is intentionally a research wrapper around maintained ingress so
src/**remains unchanged. A production implementation, if justified, should fold the indexed validator call into the shared ingress rather than duplicate validation.Exact baseline preservation
Exact real CAL Contract C:
sha256:c599e97fd5b4da80ae558d5d57a351fa3b2d37081432013a9dbeaae65a80b5a3Exact real Contract B index:
sha256:a6a7205c67e912e8f929094c4fb50349b19d768e7742ee26163590fd19de7d63Observed through strict ingress:
sha256:db47ebc844c14aa28bbc02524684b1ea7e388e1f1eea7ee8cbc7153af7548200;sha256:1f2ddf98a05d5772833984c3747e6cfda5ef7448d5580a73e077897e60cdfa5b.Therefore the candidate changes ingress authority only, not current positive policy semantics or Contract D bytes.
Reference-substitution pressure
With the exact real B index fixed, every PR #49 substitution was rejected before either policy could run:
Missing index and wrong expected index digest were also rejected.
Main falsifier: colluding index
A fabricated index was constructed to match a mutated C while retaining the exact same B version, bundle ID, and bundle hash.
Fake index SHA:
sha256:4da1cb03d706385aa5a70f8fdb699cc816d233f0e02a64165c93e1aa7c84b8e7With the independently fixed expected real index SHA, the fake index failed closed before indexed C validation.
Negative control: when the fake index was allowed to self-declare its own new SHA, the mutated C + fake index became a self-consistent pair and the released indexed validator accepted it; Policy A could CLEAR.
Therefore index presence is not sufficient authority. The exact index identity must itself be established independently of the party supplying the C/index pair. Copying the correct bundle ID/hash into the index does not provide that independence.
Residual boundary
Current CAL RC0 already creates canonical
CONTRACT-B-INDEX.jsonand uses it to validate each produced Contract C object. Its current pipeline receipt records B bundle ID/hash and C validation state, but does not carry an independently authority-bearing SHA-256 for the index file.So the DE validation shape is supported, but production integration still needs an independent source for the expected index identity, for example a bound upstream receipt or independent reconstruction from exact Contract B. This PR does not choose or implement that upstream authority mechanism.
Durable records
research/required-contract-b-index-ingress/FINDINGS_AND_APPARATUS_MAP.mdrecords the September pressure findings and exact live DE machinery map, including what prior evidence is maintained versus research-only.research/required-contract-b-index-ingress/RESULT.mdrecords this prototype result and boundary.Non-claims
Keep Draft.