Repository navigation
test(native): verify real PE and DOS entry views - #2216
Conversation
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Accept explicitly equivalent native answer representations while preserving exact source facts and unknown resource qualification. Keep detailed receipts outside Git. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b74b9b79ab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Keep original parent and derived IDs in run-specific provenance, compare selected facts exactly, and preserve existing jq answer arrays. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ba5cf12bfa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Check the distinct-reference verification claim across all selected facets and the optional summary without re-running providers or models. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0e92a5da28
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Preserve the load-image Evidence reference alongside the reported facts and derived entry seed; existing jq reference arrays remain unchanged. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4e149fbee1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Reject stale verified load-image facts before deriving an entry address, retain the original source reference, and verify session cleanup with a focused recording-port regression. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aada535dea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Check derived view identities against all earlier producer references. Grade DOS load-image claims only from completed, referenced producer responses, including their actual target and entry identity. Focused synthetic negative transcripts and original real transcript regrades verify the boundary without model reruns. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
N0zoM1z0
left a comment
There was a problem hiding this comment.
Final review of head 0667f7cb7c85f134311c7470ff4ee99ef9cc45f4: all CI checks in run 38273269072 completed successfully. Sixteen focused regressions pass; recorded public PE/DOS and legacy jq replies retain exact selected facts and references, and the original three model transcripts pass selected fact/source/lifecycle checks after regrading. Reviewed the final producer/comparator/grader boundary changes and full file scope: production CLI/MCP contracts/defaults are unchanged, raw receipts remain private, and documented native size regressions/resource uncertainty remain explicit. The six substantive review findings are resolved. The latest automated review was unavailable due the bot usage limit; this final review does not claim an additional bot review. Ready for the maintainer-authorized normal merge; #2016 remains open.
Summary
Native paged delivery needs real-artifact evidence before expanding the WASM summary approach. Record public ShareX native PE and FreeDOS DOS MZ entry workflows, including a small PE function where four retained facets cost more bytes than its complete dossier. Continues #2016; the broader issue stays open.
Problem and expected behavior
A smaller individual reply does not establish a cheaper complete investigation. Verify identical source facts and identities through actual Ghidra/MCP and real Codex CLI, retain failed calls and unknowns, and measure the complete question before recommending another API change.
Change and scope
Add two digest-pinned shipped inputs and question templates, extract the existing jq native experiment into a shared native helper, and add an explicit
entry-viewsverification mode. In that new mode, keep selected facts separate from original Evidence reference maps at the producing boundary; preserve both runs' provenance in comparison reports. Preserve the existing jq entry/main call sequence. Extend the grader to compare exact values for equivalent native answer representations and reject changed units/ranges/identity/load metadata.Curated findings: native entry-view checkpoint. Detailed JSON, binaries, model transcripts and credentials remain outside Git.
Contract and boundary impact
Evidence and regression coverage
Tests added or updated: reproducible experimental native workflows and exact-value grading; sixteen focused CLI producer/comparator regression cases. Different run-specific references compare successfully, while item/coverage/limitations/unknown differences remain failures; reused parent/facet/summary IDs are rejected, and the DOS load-image source is retained for its metadata and derived entry seed. A stale verified load image is rejected before procedure lookup and the session is closed. Completed DOS load-image observations and their reported source IDs are required for a load-image grade; missing/failed/unreferenced sources or wrong observed target/entry are rejected. These negative cases are synthetic grader fixtures, not real-provider/resource measurements. No production behavior change.
Executed evidence: both public SDK workflows; three actual Codex CLI trials (
gpt-5.6-terra, high; PE twice, DOS once). Selected facts/references/lifecycle checks match original observations.Existing driver regression: replay actual recorded jq entry and entry/main replies, preserving selected facts/profile and 4/12-call ordering. Replay actual PE/DOS replies against the committed extracted helper with exact answer/9/10-call agreement. These are replays, not fresh provider runs.
User-visible CLI/MCP output: unchanged; experimental notes include real response sizes and complete task costs.
Remaining proof gaps: Linux static inspection is not Windows runtime/OS coverage; compressed DOS entry analysis is not editor logic or COM coverage; final cgroup closeout counters are unverified. No overall native speedup or resource-qualified performance win is claimed.
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
measure.mjs --native-question entry-views --schemas selected— PE/DOS exact selected-fact and Evidence checks pass; native summary refusal recorded separately.agent-trial.py+review-model.py --domain native— three real model answers match selected facts and cleanup; strict overall grades remain unverified because final resource counters are unavailable. Raw first grader failures and equivalent-representation regrades are preserved.npm run test:focused -- tests/boundary/cli/nativeEfficiencyComparison.test.ts— sixteen cases pass; final focused check 2.9 s, sampled family peak about 215 MiB. The old producer reproduces the false fact differences; the duplicate-ID recording port is also rejected; corrected recorded PE/DOS and jq replays preserve facts/references/order. All three original real transcripts were regraded with the observed-source checks and preserve selected facts/lifecycle outcomes; resource final-counter uncertainty remains unchanged. No providers or models rerun for these review fixes.node --check, Pythonpy_compile, formatting andgit diff --check— pass.npm run check:fast— both tasks pass; cold gate 112.6 s, sampled peak about 3 GiB withmemory.highevents, explicitly excluded from performance claims. Initial pre-push gate then passed from cache. After adding the focused regression, the required pre-push type/lint gate passed cold in 113.1 s and the identity follow-up in 110.2 s DOS-source follow-up in 110.1 s, digest follow-up in 115.1 s and source-binding follow-up in 109.5 s; itsmemory.highevents remain excluded from performance claims.Compatibility, safety, and release
/tmphandoff for team repair. This PR does not fix it.Review checklist