Repository navigation
test: expect the unknown Evidence subject for resource-only and objdump command records - #11613
Merged
Merged
Conversation
…mp command records Since #11416 every Evidence record has a subject; one without a file target names identity {kind: unknown, reason: not-observed} with null name and local_path. Four tests that #11416's run did not select still expected subject: null and fail on main: the keyless bundle resource CLI, provider composition and acceptance tests, and the objdump command identity test.
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
[Low impact] This test-only PR appears safe to merge. SummaryUpdates four test files to expect the existing unknown Evidence subject instead of
Reviews (2) · Last reviewed commit: "test: expect the unknown Evidence subjec..." · Reviewed by Greptile |
maxazure
added a commit
to maxazure/rea
that referenced
this pull request
Nov 16, 2026
Merge main 162097b, including morluto#11650 and morluto#11613, while retaining morluto#11551 full-subject snapshots and the independently bounded payload fix. Focused source and boundary checks and fast static checks completed. One decompile snapshot replay test fails with the same Unix-socket listen EPERM on clean main in this cloud environment; remote CI remains necessary. Preserve the draft and human readiness declaration.
3 tasks
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
Main fix. Four tests still expect
subject: nullon Evidence records that, since #11416, carrysubject: { identity: { kind: "unknown", reason: "not-observed" }, name: null, local_path: null }. They fail on main and in the merger's local gate (for example #11580's gate run).Problem and expected behavior
#11416 made every Evidence record carry a subject ("Test guards that checked a subject for null now check its kind"). These four were not in its focused selection:
tests/acceptance/applications/bundleResourceRootCliMcp.test.ts(2 tests),tests/boundary/providers/bundleResourceComposition.test.ts,tests/boundary/cli/objdumpIdentity.test.tsandsrc/cliBundleResource.test.ts. On main at b3ca039 each fails with- "subject": null/+ "subject": { identity: { kind: "unknown", reason: "not-observed" }, ... }. The production output matches #11416's documented contract, so the tests are stale.Change and scope
unknownTarget("not-observed").subject: nullwere checked: they build input fixtures or provider routing values, not Evidence assertions, and the bundle resource unit tests (AppBundleResourceRoot,BinarySessionBundleResources,BundleResourcesMcp) pass on main.Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.
Contract and boundary impact
src/domain/targetIdentity.ts/src/domain/evidence.ts(from feat(evidence)!: name the Evidence subject by its target identity (format revision 2) #11416); tests only here.docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs andskills/; edit authored instructions in.agents/skills/reverse-engineer-anything/and never commit build outputs): None.Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
npm run test:focused -- tests/acceptance/applications/bundleResourceRootCliMcp.test.ts2 failed; the three others 3 failed / 32 passed alongside the bundle resource unit tests.For boundary fixes, identify the applicable boundary regressions
and lifecycle regressions
covered by the evidence above, and explain relevant gaps.
For evidence-bearing changes:
Validation performed
npm run test:focused --the four files: 4 files, 6 tests passed (before: 5 failed).npx oxfmton the four files; pre-commit and pre-push hooks ran.Compatibility, safety, and release
Author readiness
Human owner:
Before merge
type(scope): outcome.