Repository navigation
fix(evidence): preserve subjects in derived workflows - #9492
Merged
Merged
Conversation
Co-authored-by: Felix <[email protected]>
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 PR appears safe to merge; the previously reported MCP test mismatch is fixed. SummaryPreserves verified artifact subjects and selected names across derived traces, inventory projections, and analysis views.
Reviews (9) · Last reviewed commit: "test(javascript): update feature trace g..." · Reviewed by Greptile |
maxazure
added a commit
to maxazure/rea
that referenced
this pull request
Nov 9, 2026
Merge main 52fe342, including the inherited CLI formatting repair from morluto#9054 and subject preservation from morluto#9492. The Evidence depth patch is unchanged relative to the new main baseline. Validated on this tree: check:ci:fast, 24 focused files / 362 tests, test discovery and diff checks passed. No real-provider or full-suite claim; keep the PR in draft for human review and current-head CI.
3 tasks
2 tasks done
11 tasks done
11 of 19 tasks
13 tasks done
This was referenced Nov 9, 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.
Summary
Fixes #9480. Feature and semantic traces discarded verified application subjects and reported artifact identity unavailable. Preserve their full identity and display name, and carry them into feature-trace views and their advertised schema. Android retained search summaries, managed graph projections, and Android, Apple and Harmony inventory projections now preserve the same selected subject metadata.
This follows ShuaixinHuang's #9483, with attribution in the commit. Static application results reject an observed artifact root that contradicts the declared digest; when that root observation is absent, derived trace subjects remain unknown. The managed graph result owner validates that its artifact root matches its declared digest. A managed graph subject is carried into a feature trace only when its PE digest matches that validated root; reconciliation and mismatched subjects remain unknown. Shared Evidence conversion and identity-checked rebinding preserve selected names in inline and retained views. The feature-view projection retains the artifact to avoid an integrity failure after subject preservation.
Validation performed
npm run test:focused -- tests/acceptance/applications/applicationWorkflowCli.test.ts tests/acceptance/managedWorkflowExamples.test.ts— 39 passed, covering CLI and stdio MCP workflows.npm run test:focused -- tests/boundary/process/androidSearchEvidenceBudget.test.ts— 3 passed. An earlier interrupted run timed out; the completed rerun passed.npm run check:fastandnpm run docs:check— passed.No external provider or platform-specific runtime was exercised. CI and automated review of the updated head are pending. This changes derived Evidence and the feature-view output schema; no input or tool names change.
Author readiness
Human owner: