Repository navigation
Conversation
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. |
[High impact] Adds CI workflows and build infrastructure for release and testing. Not ready to merge: process captures retain changing ports, and queued browser reads can delay cleanup past its deadline. FindingsFix with agent prompt### Issue 1
src/process/capture/ProcessNormalization.ts:372-378
For text such as `http://127.0.0.1:54321/` without a separate `port=` field, the first pass replaces the port, but the second returns `unchanged`. `apply` then ignores the already-normalized value and keeps the original port.
The live capture path now uses this bounded normalizer, so changing port numbers make otherwise equal runs look different despite `normalization.ports: true`. Preserve the first pass's result when the second changes nothing.
```suggestion
const afterEndpoint = endpoint.state === "bounded" ? endpoint.value : value;
const field = boundedRegexReplace(
afterEndpoint,
PORT_FIELD_MATCHER,
portFieldReplacement,
maxBytes,
);
return field.state === "unchanged" ? endpoint : field;
```
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
### Issue 2
src/browser/network/PlaywrightScenarioNetwork.ts:650-660
If many selected content reads are slow, this queue can exceed the browser's cleanup deadline. Each batch of 16 gets its own five-second wait, while `finish()` waits for every batch. For example, 112 body reads that reach their deadlines need about 35 seconds.
Normal completion does not abort these reads. Cleanup reports failure after 30 seconds, but the browser cannot close until the queue drains. Give finalization a shared deadline and mark remaining content unavailable before closing the browser.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryMoves complete Evidence requests into test-owned JSON files instead of long command-line arguments. The requested comparison also spans provider, capture, schema, release, and website changes across 1,123 files.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Complete Evidence request] --> B[Test-owned request.json]
B --> C[CLI receives file path]
C --> D[Shared JSON input reader]
D --> E[Existing workflow and assertions]
Reviews (3) · Last reviewed commit: "test(applications): reuse owned files fo..." · Reviewed by Greptile |
|
CI-fix track: I merged current main to clear the conflict. Main independently converted one site (the rest-parameter trace) to an inline request file. I kept this PR's |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Settle local streams even when native handle release fails, retaining handle ownership and retry semantics until release succeeds. Reviewed-PR: morluto#3230 Co-authored-by: qorvr <[email protected]>
Capture the current entrypoint once without inventing a path. Preserve unknown registration ownership through setup and doctor, refuse unsafe registration plans, and retain exact pinned-launcher readiness checks. Hash the same full or compact schema projection advertised by each MCP server and use that identity in doctor comparisons. BREAKING CHANGE: server.command_path may be null when the invocation path is unavailable. Registration and setup statuses, and doctor classifications, may report unknown. Reviewed-PR: morluto#3230, morluto#3015 Co-authored-by: qorvr <[email protected]> Co-authored-by: Hemang Varshney <[email protected]>
Recognize exact current and legacy ADB startup notices without treating stderr as device inventory or accepting error lookalikes. Fixes morluto#3051. Reviewed-PR: morluto#3073 Co-authored-by: Vinícius DS Andrade <[email protected]>
Carry the concrete configuration and admission reason through the typed provider-selection error to CLI callers. Fixes morluto#3055. Reviewed-PR: morluto#3087 Co-authored-by: 1052326311 <[email protected]>
Treat process lookup as optional display metadata, attach to the caller-selected PID, and reconcile already-detached sessions after subscribing to events. Tests observe the actual attach target and the detach race. Reviewed-PR: morluto#3099 Co-authored-by: LcokHcak <[email protected]>
Adapt observed Playwright 1.58.2 bracketed IPv6 addresses only in the disposable HAR validation copy. Preserve the producer spelling and per-entry limitation through public CLI and MCP workflows, retaining existing safe-number admission policy. Reviewed-PR: morluto#3161 Co-authored-by: wunianze666-netizen <[email protected]>
Serialize the typed resource reason once and let the application own path formatting, retaining partial static observations and reported limits. Reviewed-PR: morluto#3039 Co-authored-by: balkan16 <[email protected]>
Use shared lexical bindings and recovered bundler identities for require and chunk references. Preserve uncertain writes as unresolved evidence; remove name-only loader aliases and repeated definition scans. Reviewed-PR: morluto#2989 Co-authored-by: Hussnain Ahmad <[email protected]>
Normalize exact template and bigint keys at the shared AST boundary. Keep overwritten GraphQL body literals owned by their source object so they cannot resurface as standalone operations. Reviewed-PR: morluto#3244 Co-authored-by: Vaishnavi220506 <[email protected]>
Exercise the empty-but-truncated reference page through trace_feature, preserving unknown coverage without fabricating a reference row. Fixes morluto#2558.
Render a terminal dry-run plan only after setup admission succeeds. Blocked skill or registration plans use the existing remediation output. Reuse one bounded PTY helper for success and refusal workflows; verify no linked target or client configuration changes. Follow-up-to: morluto#3108 Validation: public CLI PTY tests and RPC owner controls pass (77 tests); build and static checks pass.
Add reproducible larger/non-HTTP packet cost measurements, an independent header oracle, exact page validation and separate factual/plan grading. Document caller-selected controls and retain negative/mixed model results. Production defaults and APIs remain unchanged. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Co-authored-by: Kaoru0822 <[email protected]>
…alks together (morluto#3285) * perf(artifacts): run the asset catalog and Interface Builder bundle walks together inspect_asset_catalog walked the app bundle for Assets.car files and then walked it again for the Interface Builder graph that supplies resource keys. The analyses are independent, so start the Interface Builder one first and let a catalog failure cancel it and win, as the sequential order did. Keynote 4.20 s -> 2.89 s with identical output. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(artifacts): hold asset catalog and Interface Builder work open to pin overlap Keep the Interface Builder stub pending until catalog inspection starts, and keep catalog inspection pending while asserting an early Interface Builder failure has not escaped. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…dex (morluto#3283) * fix(artifacts): inventory universal slices REA cannot structurally index inspect_artifact and extract_artifact rejected a valid universal Mach-O when one slice was outside the structural index, such as XLD's big-endian PowerPC slice. The whole inventory failed with "Artifact is invalid or has changed. Get a fresh copy and try again." When lipo reports every slice's range, the slices are now inventoried from those ranges with a limitation naming the unsupported structure, as the reader already does for files without structural facts. When lipo omits a range, the failure is reported as unavailable support rather than a corrupt artifact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(artifacts): validate every FAT slice past an unsupported one readFatSlices returned at the first unsupported slice, so a later malformed slice went unchecked: with lipo's ranges now inventoried for unsupported structure, a malformed little-endian slice after a big-endian one was accepted while the reverse order was rejected. Unsupported slices are now remembered and the remaining slices are still validated, so malformed structure wins in either order. Adds portable fake-lipo coverage for complete ranges, missing ranges (unavailable) and malformed slices on both sides of a big-endian slice. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
The Apple projection sorted application roots, bundle paths and symlinks with relational string operators, which compare UTF-16 code units, so a name with U+10000 sorted before one with U+FFFD. Use the shared compareUnicodeCodePoints instead and remove compareProjectionStrings, whose documented code point contract it did not meet. Fixes morluto#3177
…o#3274) Lead new readers from compact setup through the preserved dinosaur and Calculator examples, with code, comparisons, and verification in disclosures. Expand Windows, macOS, and Linux onboarding, client/provider choices, on-site curl instructions, and the supplied first investigation. Complete Get started translations while retaining executable literals, historical evidence, and main's explicitly partial Greek fallback. Verified the integrated website, its 12 maintenance regressions, all tracked formatting, typecheck/lint, 38 locale/base-path browser combinations, and the public Funnel preview. Native installers and providers were not run. The separate manual production publication workflow is not triggered here. Co-authored-by: Kaoru0822 <[email protected]> Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
…rluto#3300) IPA projections keep components outside every application root, but executables required root membership and native_libraries matched only .dylib/.so names, so an unrooted extensionless Mach-O such as SwiftSupport/HelperTool was in neither list and formed no bridge candidate. List unrooted Mach-O images under executables unless they are already native libraries. Fixes morluto#3174
Update byte-preservation fixtures for the fail-closed command ownership contract. Unknown path retention remains covered. Validation: both filesystem boundary files pass, including BOM restoration and idempotent removal.
Stop dispatching later resolution, identity and pseudocode stages after typed cancellation; settle already dispatched work. Preserve ordinary partial failures and stop queued graph traversal. Validation: public MCP cancellation and partial-failure controls. Fixes morluto#3198
Apply CoreCLR-compatible clause counting while validating and advancing by the physical section extent. Preserve malformed, reserved, chained and truncation checks. Validation: managed decoder suite passes; no native compiler or runtime verification claimed. Fixes morluto#3279
Use the validated thin-image preparation path for FAT32 and FAT64. Prefer ordinary arm64 then arm64e, masking capability bits only for ranking while preserving raw slice identity; reject unresolved ambiguity. Bump the analysis profile epoch. Validation: slice/profile fixtures cover raw subtypes, ambiguity, malformed tables and source integrity. Real Hopper execution was not run. Related: morluto#3072, morluto#3092 Co-authored-by: akushonkamen <[email protected]>
…orluto#4094) inspect-asset-catalog selected every bundle entry whose relative path ended in Assets.car, so an unrelated NotAssets.car directory was listed as a skipped catalog and, with no real catalog present, failed the inspection instead of returning the empty inventory; a regular file such as OldAssets.car would have been sent to assetutil. The selector now compares the final path component exactly. Fixes morluto#3914 Co-authored-by: Claude Opus 5.5 <[email protected]>
…al (morluto#4098) Kuna output that overflowed REA's fixed buffer was a `capacity` constraint, which projects as `retryable: true` with "wait for an active analysis to complete, then retry". The same target and executable overflow the same buffer every time; on a 169 MB Mach-O, each retry of a call query repeated a 113 s whole-program graph walk and failed again. The overflow is now a `memory` constraint whose remediation says repeating fails the same way, a session answers later call queries from a graph overflow it already saw, and the cut-off document's stdout tail is no longer returned. Refs morluto#1957 Co-authored-by: Claude Opus 5.5 <[email protected]>
Fixes morluto#3405. Isolate each negative source-admission case with a cold Ghidra session while retaining valid snapshot readback coverage. Co-authored-by: Kaoru0822 <[email protected]>
Add cached, reference-free Kuna string inventories through existing CLI/MCP operations. Preserve exact addresses, typed facts, selected Evidence and bounded query lifecycles; validate native fields and caller-specific failures. Verified with real Linux SQLite, zlib, printf and Unicode/empty ELF targets, 194 focused regressions and all 38 CI checks. Co-authored-by: gensokyo-dev <[email protected]> Co-authored-by: Kaoru0822 <[email protected]>
Expose filtered canonical module identities, retained source-range counts and mixed support through the existing shared CLI/MCP analysis view. Preserve full-item access, source selection, provenance and partial coverage while allocating only the selected page. Verify exact facts and CLI/MCP identity on shipped Obsidian, record complete-task BPE/resource measurements and reuse owned-process supervision for optional tokenizer cleanup. Fixes morluto#4092 Part of morluto#4027; decision morluto#4091. Co-authored-by: Kaoru0822 <[email protected]>
Fixes morluto#3327. Reuse parsed Ghidra type identities for NativeAOT metadata lookup, preserve caller spelling and address spaces, and retain supplied engine metadata without deriving another source snapshot. Verify actual compiled NativeAOT PEs through real Ghidra and public CLI/MCP workflows. Co-authored-by: Kaoru0822 <[email protected]> Co-authored-by: gensokyo-dev <[email protected]>
…as unchanged (morluto#4100) Artifact comparison subtracted change rows from the left occurrence count to derive summary.unchanged. A duplicate logical path produces one unknown row that stands for every occurrence on that path, so the extra occurrences were reported as affirmatively unchanged. The summary now counts only left occurrences on paths without a left-side change row. Fixes morluto#3956 Co-authored-by: Claude Opus 5.5 <[email protected]>
…orluto#4104) A failed export's capability error appended "restart REA, then reopen the target" to every resource-constraint remediation. Since output overflows became fixed `memory` bounds, an export whose own output overflowed REA's buffer was told both that repeating fails the same way and that a restart would help. The restart sentence now follows only settings-backed remediations such as the cache size. Refs morluto#1957 Co-authored-by: Claude Opus 5.5 <[email protected]>
…ists (morluto#4105) * fix(apple): report __proto__ entries omitted from OpenStep property lists The pinned OpenStep decoder assigns a `__proto__` dictionary key to the object's prototype, so the entry vanished before REA could count it and OpenStep keyed archives reported no omission, unlike the same archive in XML. The OpenStep pre-scan, which already walks every key for the depth limit, now counts keys that decode to `__proto__`; quoted keys with escapes are decoded by the pinned decoder itself. The rebuilt value still drops any prototype a key replaced. Fixes morluto#3892 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(apple): count OpenStep compound keys that coerce to __proto__ Review follow-up. A compound dictionary key such as `(__proto__)` is coerced by the decoder's `obj[key]` assignment to the property name __proto__, but the scan only checked scalar keys. Containers opened in key position are now decoded by the pinned decoder on close and counted when their property-name coercion is __proto__. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Advertise internal worker launches and temporary source writes through the canonical effects owner so MCP hints and session availability agree with existing analysis behavior. Preserve non-destructive, idempotent semantics. Verify public metadata boundaries and a real Obsidian CLI/MCP workflow, retaining compact reproduction and cost records. Fixes morluto#3867 Co-authored-by: Kaoru0822 <[email protected]>
Fixes morluto#3415. Retain independently inspected GNU attribute facts and compare exact snapshot wire fields. Preserve strict metadata comparisons, specific incomplete-ABI refusals and source immutability checks. Original implementation by @AbdulSamad94. Co-authored-by: Kaoru0822 <[email protected]>
* fix(verifiers): align WABT MCP request timeout * fix(verifiers): bound packaged WABT workflow
…orluto#4113) Kuna capability gaps such as "no code at this address" or "no function node at this address" were built without a user message, so MCP and the CLI showed only "This analysis is unavailable for the current target. Choose another analysis or target." and kept the reason in details. One Kuna helper now presents the reason as the message for every such gap, and the unsupported-operation reason names call relationships and xrefs, which Kuna now answers. Refs morluto#1957 Co-authored-by: Claude Opus 5.5 <[email protected]>
…orluto#4114) * fix(apple): bound Interface Builder XML plists by shared value depth The Interface Builder preflight rejected XML archives whose raw element depth exceeded 128, but the shared plist parser bounds zero-based value depth at 128; the plist envelope and dictionary keys add elements, not value depth. Archives whose deepest value sat at depth 127 or 128 were therefore omitted as over budget although keyed-archive inspection decodes them. The preflight's duplicate depth rule is removed; the shared parser's depth limit is mapped to the existing budget omission, so deeper archives stay explicitly omitted. Fixes morluto#3949 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(apple): return the decode reservation of a depth-rejected archive Review follow-up. The removed element-depth preflight rejected an archive before its plist representation was reserved; the shared depth limit now rejects it during decoding, after the reservation. A large over-depth archive therefore kept its share of the aggregate budget and could starve later valid archives. A document omitted by the budget after reserving now releases that reservation. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…out (morluto#4116) On macOS arm64 the lane's UTF-8 marker ends right before the UTF-16 array, and its last byte plus NUL decode as the UTF-16LE unit 'r'. Kuna therefore reports "rREA wide marker", and the lane, which requires the exact text, failed with "Required string \"REA wide marker\" was not recovered". A leading NUL unit now ends any run the preceding bytes start, so the marker is recovered exactly on any layout. Refs morluto#1957 Co-authored-by: Claude Opus 5.5 <[email protected]>
…resolved (morluto#4118) * fix(apple): keep Interface Builder objects whose archived class is unresolved Interface Builder keyed-archive projection skipped every object-table entry without a resolved class name, so an archived object whose $class reference dangled vanished from the objects, its count and its coverage, which still reported complete; as a hierarchy root it lost its label. Entries that carry their own $class are archived objects: they are now kept with class_name null and the generic kind, their fields and labels preserved. Scalars and class descriptors remain excluded. Fixes morluto#3958 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(apple): keep the dangling class reference of an unknown IB object Review follow-up. An archived object kept with an unresolved class lost its original `$class` reference, because class resolution replaces it with a null class name. The object's attributes now retain that raw reference when the class cannot be resolved. A graph-level test covers the reported hierarchy-root case: the unresolved root keeps its label, unknown kind, containment edge, object count and coverage. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…orluto#4131) Artifact inventory decided source-map edges from the `.map` path suffix, so an archive directory such as `main.js.map/` received a maps-source edge whose parent was the sibling `main.js`, although the same occurrence was classified as a directory container. Edge construction now uses the occurrence's own artifact_kind, and the duplicate suffix rule in relationFor is removed; such directories are contained by their parent, and real source-map files keep maps-source. Fixes morluto#3909 Co-authored-by: Claude Opus 5.5 <[email protected]>
* fix(verifiers): launch npm through Node on Windows * test(verifiers): cover Windows npm fallback
Retain native fixture ownership through observed bounded cleanup and preserve files and handles when cleanup cannot be confirmed. Verified all seven files on Linux and native macOS, including cleanup failure and exit-wait controls. Co-authored-by: Kaoru0822 <[email protected]>
Refresh the Windows request transport fix onto current main. Keep the already-file-backed rest trace unchanged and reuse each existing test-owned directory for the remaining two complete Evidence requests. Co-authored-by: Kaoru0822 <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Post-merge integration verified on 5b16f24, including the intervening main JavaScript literal-budget change: the complete applicationWorkflowCli acceptance file passes all 34 cases. PR fixture matches the tested candidate; the merged tree matches the predicted integration. Fresh test/CLI processes, warm artifacts, two cores: 139.33s wall, 137.96/40.16s child user/system CPU, 1.96GiB sampled family RSS. This separate revision/run is not a speed comparison; raw results are retained. |
Summary
Two remaining application acceptance workflows put complete Evidence into argv, exceeding Windows' command-line capacity before the CLI starts. They now use the existing file-backed input contract without truncation, within each test's existing owned directory. The rest-argument case was already file-backed on main and remains unchanged. Small inline-input, malformed-input and Evidence assertions stay intact. Refs #2942 (already closed).
Refreshed on main
40f73f62b; onlyapplicationWorkflowCli.test.tschanges. No runtime or cache policy changes. The proposed compile-cache migration needs a separate equivalent-workflow measurement and is not part of this transport fix.Validation
check:ci(eight tasks plus 1439 architecture guards) and normal pre-push passed.40f73f62bfails both affected cases withspawn ENAMETOOLONG; candidate8809be934passes four cases, including inline JSON parity and the existing rest trace. Deliberate selection leaves 30 other cases unexecuted; this is not a complete Windows-file claim. JSON reports and receipt were downloaded and checked. Diagnostic commita13200b01differs from the candidate only inci.yml, and verifies a clean restored candidate tree. Baseline/candidate commands took 6.30s failed / 21.20s completed; these are not comparable performance workloads. Hosted CPU/memory were not measured.verify-windows-native.mjs:322PowerShell ACL probe timed out at its existing 15s bound with no output. All five shards, Portable tests, Apple E2E and other selected real lanes passed. One isolated job rerun passed native conformance, package verification and Node22/24 boundaries; the complete run and required gate now pass. This supports a transient runner explanation without establishing a root cause; the original failure is retained and no timeout/source was changed. Codex reviewed8809be934without findings. Greptile completed and raised two unrelated production findings; both files have identical blobs on main and this head. Scope was explained in both threads, which were resolved without unrelated changes.Original contributor: @GuilhermeFusari. The user explicitly delegated follow-up implementation, technical review, ready-for-review update and merge. Assistant technical review is reported; a separate human reread is not claimed.