Repository navigation
feat(managed)!: require managed Evidence fields that were defaulted only for historical Evidence - #10952
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
[Medium impact] The reviewed changes appear safe to merge. SummaryRequires current managed Evidence fields and removes historical bare-name comparison.
Reviews (3) · Last reviewed commit: "docs(managed): drop the remaining histor..." · Reviewed by Greptile |
morluto
force-pushed
the
feat/evidence-format-revision
branch
from
November 15, 2026 09:04
a4a1c49 to
feeb546
Compare
morluto
force-pushed
the
feat/managed-evidence-current-format
branch
from
November 15, 2026 09:05
3ad39c2 to
c8632ff
Compare
22 tasks
…nly for historical Evidence Member inspections, comparisons, verification results and application graphs require every field their producers write. nesting_read is boolean and the bare-name comparison mode for historical observations is deleted; signature_resolution loses type-names-v1. The unavailable-metadata member result now writes assembly: null instead of relying on a default. BREAKING CHANGE: managed records missing these fields are refused as malformed; recreate the observation.
morluto
force-pushed
the
feat/managed-evidence-current-format
branch
from
November 15, 2026 09:34
c8632ff to
fb9458a
Compare
Davmunrey
added a commit
to Davmunrey/rea
that referenced
this pull request
Nov 15, 2026
morluto#10952 made managed Evidence fields required where they were defaulted only for historical Evidence. parameter_defaults follows the same rule: it is required and nullable, the historical-omission sentence is gone from the schema and the guide, the member-comparison disclosure reads the field directly, the workflow example writes an empty list, and the historical-omission test now checks that a member record without the field is refused.
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
Require the managed Evidence fields that were optional or defaulted only for historical Evidence, and delete the historical bare-name comparison mode that served them.
Refs #10510. Stacked on #10861, which now carries #10946 (per-site decision row
managed/*in #10861).Problem and expected behavior
Managed member inspections, comparisons, verification results and application graphs defaulted many fields to
null(or omitted them) because "Evidence recorded before this field existed" lacked them. Comparison then switched to an "explicitly limited bare-name mode" whenever either side hadnesting_read: null. #10861 already refuses every REA 6.x bundle, so only current producers' records reach these readers.Producer check (source-derived):
ManagedMemberInspector,ManagedMemberInspectorCore,ManagedMemberRows,ManagedMemberRecovery, the comparison owner,managedNativeVerificationMatchandmanagedApplicationGraphwrite every field below, typed against the schema's output type.nesting_readboolean | null, defaultnull("historical")boolean; the bare-name comparison mode and its limitation are deletedsignature_resolutiontype-names-v1 | type-names-v2 | null, defaultnulltype-names-v2 | null, required;nullonly when member decoding exceeded capacity (no members)assembly,exported_types,user_strings,selection,method_rowsnullname_sha256,enclosing_type_token; signatureresolved_sha256; exception-clause class facts; locals signature; declaring-type names; call-edge/field-accessil_offsetandtarget_identity_sha256; member-refparent_namenullconstantexactOptional("omission means historical Evidence")resource_limitsnative_implementations.runtime_providednulldefaultcounts.calls,counts.field_accessesnulldefault ("projected before")Views:
managedMemberViewSchemas.tsno longer strips defaults from page columns or re-extendsil_offset.Change and scope
src/domain/managed/managedArtifact.ts,managedMemberComparison.ts,managedMemberComparisonCoverage.ts,managedMemberComparisonMatch.ts(DeclaredNameis only the tagged nominal digest),managedMemberSignatureIdentity.ts(wording),managedNativeVerificationSchemas.ts,managedApplicationGraph.ts;src/domain/analysisView/managedMemberViewSchemas.ts.docs/guides/managed/managed-code-analysis.md(every historical-omission claim for member Evidence replaced by the current meaning ofnull).Not included:
comparableSides/hasSignatureResolutionkeep their raw-digest fallback when one side hassignature_resolution: null. With current producers that side has no members, so the fallback is inert; removing it needs a schema invariant (null attestation ⇒ empty members) and is left as follow-up cleanup. Reconstruction decompilerversion/executable_sha256defaults are caller input, not historical Evidence, and are unchanged.Contract and boundary impact
type-names-v1value, the historical view default stripping.inspect_managed_members,compare_managed_members, managed/native verification, managed application graph andinspect_analysis_view(managed members) change as in the table.Expected effects:
Evidence and regression coverage
Tests replaced (historical admission → refusal or current meaning):
ManagedMemberInspector.test.ts(rows withoutparent_name, inspections withoutexported_typesrefused),ManagedFieldConstants.test.ts(field withoutconstantrefused),ManagedSignatureResolution.test.ts(type-names-v1refused),managedMemberComparison.test.ts(bare-name historical tests removed; comparison withoutresource_limitsrefused),managedMemberComparisonFromMetadata.test.ts(unscoped/unresolved/absent cases use explicitnull, the selected-identity case usesnesting_read: false),managedApplicationGraph.test.ts(graph without relation counters refused; pre-selection test removed),managedMemberView.test.ts(summary refuses a parent withoutnesting_read; edge rows requireil_offset),managedMemberSummaryMcp.test.ts(unexamined collections as explicitnull).Producer fix found by the stricter schema:
ManagedMemberInspector's unavailable-metadata result relied on theassemblydefault; it now writesassembly: null.Base reproduction or other evidence: source-derived — on the base, the replaced tests asserted that each omission parsed with a default, so the refusal assertions fail there.
Remaining proof gaps: no real .NET toolchain beyond the existing fixtures.
Observed, derived, and inferred claims remain distinguishable.
Artifact identity, source provenance, and failed attempts remain preserved.
Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.
Validation performed
npm run check:fast(typecheck + lint) — passes.npm run docs:check— passes.npm run test:focusedover every test file referencing managed/.NET/IL2CPP inspections, comparisons, verification, graphs or examples (80 files), in two batches — 1,525 passed, 1 skipped. The 20 files that failed on the first run (historical-admission tests and theassemblyproducer gap) were fixed and rerun — 703 passed — before the final full run.ReconstructionObligationCandidates.test.tsgraph-counter fixture fix:npm run check:fastandnpm run docs:checkpass;npm run test:focusedover that file and 10 other files referencing managed graph/member fields — 255 passed.Compatibility, safety, and release
nesting_readis nevernull;signature_resolutionloses"type-names-v1"; comparisonresource_limits, verificationruntime_providedand graphcalls/field_accessescounts are always present.Author readiness
Human owner:
Before merge
type(scope): outcome.