Repository navigation
feat(browser): inspect retained aioquic qlog JSON captures - #2277
Conversation
* fix(adb): count UTF-8 bytes in logcat total_bytes read_adb_logcat assigned the decoded stdout string's UTF-16 code-unit length to total_bytes, undercounting non-ASCII dumps (a 37-byte CJK line reported 33). Measure the UTF-8 byte length instead, matching the field's byte-unit contract and the repo's Buffer.byteLength convention. Fixes morluto#2175 * fix(adb): count raw captured bytes in logcat total_bytes Carry the pre-decode stdout byte length through runAdb so malformed UTF-8 (replaced by U+FFFD on decode) still reports the true captured byte count instead of the re-encoded replacement size.
Let the fixture lifecycle own CDP readiness with the same 60-second startup deadline as the broader browser verifier. Return the discovered port to both consumers and clean up failed startup before returning a lease. Validation: five startup/cleanup boundary tests, npm run check, and real Chrome 154 runtime and source-map CLI/MCP verifiers passed on macOS arm64. Hosted Linux verification follows the push.
* fix(process): add an opt-in Swift module cache Signed-off-by: Charan Rathore <[email protected]> * fix(process): preserve caller-owned Swift module caches Fold the complementary implementation from morluto#2260 into the earlier morluto#2252 proposal, retaining the original contribution history. Co-authored-by: NIU-123370 <[email protected]> * fix(process): bypass xcrun lookup for explicit Swift toolchains --------- Signed-off-by: Charan Rathore <[email protected]> Co-authored-by: morluto <[email protected]> Co-authored-by: NIU-123370 <[email protected]>
…2248) * fix(apple): join recognized keys from NIBArchive field maps inspect-asset-catalog returned no resource-key matches for a decoded NIBArchive resource whose recognized image key is present in the archive. The NIBArchive projection groups an object's decoded fields under the node's nibValues attribute beside the class, label and ID it derives from the same archive, while the AppKit keyed-archive parser flattens the same fields onto the node. The catalog join read only the top level, so a recognized NSImageName on a decoded resource produced no row, and the empty-catalog limitation still claimed resource keys were reported as unmatched. Read an archive object's fields from both shapes, and give the namespace one owner by exporting NIB_VALUES_ATTRIBUTE from the projection that writes it. The recognized-field set stays in the catalog analysis, which owns that contract. Verified with 5 focused catalog tests, check:fast and verify:test-discovery on macOS arm64, and through the public CLI against the reported NIBArchive fixture. The keyed-archive control keeps its existing row, and a NIBArchive with only an unrecognized title still produces none. The ibtool-dependent native hierarchy lane requires full Xcode and was unavailable here. * fix(apple): normalize resource keys at the NIBArchive producer Fold the complementary implementation from morluto#2256 into the earlier morluto#2248 proposal, retaining the original contribution history. Co-authored-by: Thang Luu <[email protected]> * fix(apple): restrict catalog joins to parsed resource nodes --------- Co-authored-by: 吴佳浩 <[email protected]> Co-authored-by: morluto <[email protected]> Co-authored-by: Thang Luu <[email protected]>
…uto#2230) Reuse the shared safe issue projection for all six CLI validation boundaries and cover malformed inputs, credential safety, and parser diagnostics. Fixes morluto#2180 Developed with assistance from OpenAI Codex.
…uto#2271) Add offline SQLite database/WAL inspection through the shared CLI/MCP. Use compact inventory, selected-table schema, exact ordered columns and bounded row samples while preserving source identity and lossless values. Retain completed Evidence through late cancellation and private-root cleanup failures, bound concurrent inspections, and recheck journal validity after acquisition. Reuse prepared CI runtime artifacts across supported Node lines. Co-authored-by: Y0UW1SH <[email protected]> Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
…capture comparison (morluto#2239) * fix(browser): report mismatched event family selection as unknown in capture comparison * fix(browser): retain selected event families and unknown coverage Fold the complementary implementation from morluto#2253 into the earlier morluto#2239 proposal, retaining the original contribution history. Co-authored-by: itsF4LCON <[email protected]> --------- Co-authored-by: LouisChen <[email protected]> Co-authored-by: morluto <[email protected]> Co-authored-by: itsF4LCON <[email protected]>
) * fix(ghidra): keep JVM warnings out of LaunchSupport output Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(ghidra): retain LaunchSupport warnings in session diagnostics * fix(ghidra): select helper logging flags by observed JVM identity * fix(ghidra): preserve diagnostics through typed failure projection --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: morluto <[email protected]>
…orluto#2294) * fix(cli): retain correction details across browser commands Fold the complementary implementation from morluto#2247 into the earlier morluto#2230 proposal, retaining the original contribution history. Co-authored-by: LouisChen <[email protected]> * fix(browser): retain diagnostics from the selected input branch * fix(cli): recognize incomplete browser scenarios by their owned fields --------- Co-authored-by: LouisChen <[email protected]>
Add opt-in EVM MCP summary delivery and retained/portable function and text views. Keep existing complete defaults, provider arguments and original full Evidence identities and records usable. Require retention before selected analysis; preserve inferred candidates, nulls, diagnostics, provenance and explicit unknowns. Verify old schemas, historical Evidence migration, 64 focused feature checks, 30 affected MCP checks after latest-main rebase, 59 real EVM CLI/MCP cases and six shared-domain artifact workflows. Repeated SDK delivery is smaller; all real model trials and mixed token/time outcomes, limitation failures and resource qualification gaps remain documented without a uniform performance claim. Refs morluto#2016 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…luto#1544) Add an explicit attached native IDA MCP compatibility profile while preserving the legacy and headless workflows. Keep recorded input identity, complete source observations and the user's open GUI database. Batch unique callee lookups, conservatively prefilter literal strings, preserve Unicode matching and unavailable caller coverage, and require distinct-function switching in native verification. Verified with Windows IDA Pro 9.3 and the native MCP plugin built from c9d15d98e8a143fc74f6e14037c48f63889b6d6c with a loopback listener. Production CLI/MCP and an unchanged Windows whoami.exe passed. Windows IDA Free was not used. No personal paths or license registration information are included. Validation: 200 focused tests, static and documentation checks, architecture guards and discovery passed. Historical same-main warm task measurements improved from 675 to 317 ms; response token estimates fell from 16618 to 11509. Fresh-start, overall CPU and memory improvement were not established. Detailed scope is in experiments/analysis-efficiency/ida-native-windows.md. Co-authored-by: imissapixel <[email protected]> Co-authored-by: morluto <[email protected]> Co-authored-by: N0zoM1z0 <[email protected]>
) * test(mcp): fix three MCP boundary suites on native Windows * test(mcp): report unavailable root symlink coverage as a skip --------- Co-authored-by: morluto <[email protected]>
Reuse the immutable domain parser at the file boundary instead of rebuilding and revalidating an already authenticated bundle. Existing filesystem and integrity regressions pass (27 tests); a 4 MiB parsing probe preserves immutable output and reduces repeated validation work.
Classify unresolvable and unusable executable or working-directory selections before launch, retaining field paths, attempted candidates and OS diagnostics. Preserve tagged analysis errors through capture lifecycle handling. Replace duplicate missing-path source assertions with public CLI/MCP regression coverage and retain distinct permission, file-kind and PATH checks.
Normalize empty XDG config homes once for configuration writers and registration readers. Render the resolved plan for terminal dry runs while preserving structured output. Cover registration placement and a real PTY dry run, including absence of configuration writes.
Collect stage and check references at their owning stage boundary before evaluating required checks. Emit one missing-reference finding per stage and Evidence ID, including stages with no supplied checks, while preserving independent failed checks and cross-stage identity. The 21 readiness tests pass.
…morluto#2318) Inspect selected fields in existing captures through shared CLI/MCP Evidence. Page matching frames without changing dissection or two-pass read coverage; retain failed descriptor/process cleanup ownership and reject excess admission. Verified with real TShark 4.0.17 and 4.2.2, public Wireshark recordings, owned HTTP application traffic, real CLI/MCP workflows and schema checks. Co-authored-by: Olorinm <[email protected]> Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Observe MZ header declarations and signature uncertainty at the domain boundary, then reuse those facts in bounded target resolution, inventory, and Go PE parsing. Preserve DOS relocation ownership and fail closed when the relevant bytes remain unexamined. Validation: 59 domain tests, 130 target/Go boundary tests, and public CLI inspection of a clang/lld-link PE DLL with a short DOS header. Fixes morluto#2172.
Validate unmapped segment file ranges without adding virtual mappings or fallback metadata addresses. Keep mapped-segment bounds and reject build-info sections declared in unmapped segments. Validation: real unstripped Go 1.26.5 Darwin arm64 and amd64 artifacts passed CLI/MCP oracle, Evidence, source-range and unchanged-byte checks. Retained malformed-input regressions; removed the weaker synthetic acceptance test. Full cross-platform verifier not run. Fixes morluto#2167.
Select authoritative connection fields by runtime class in a shared owner used by keyed archives and NIBArchive projection. Preserve archive identities, endpoint relationships and coverage, and replace duplicate synthetic outlet assertions with a rooted public CLI fixture. Validation: compiled CLI acceptance against the issue-sourced rooted UIKit fixture and 41 filesystem tests. Native UIKit framework validation was not rerun. Fixes morluto#2177.
Classify coverage once at inventory production and require it in current outputs. Normalize older retained Evidence at the inventory parser, reject inconsistent page statuses, and remove comparison heuristics over limitation prose. Validation: public CLI-to-MCP plist comparison, changed-behavior and unknowns workflow; boundary checks for legacy Evidence, partial coverage, page disagreement, content and executable changes; generated docs checks. Fixes morluto#2173.
Share contextBridge argument ownership between direct and wrapped analysis, seed intact isolated-world calls, and preserve dynamic world IDs and conditional metadata as unknown. Keep callee evaluation scoped to each invocation. Validation: 99 focused source tests and bundled isolated-world acceptance through dedicated and generic CLI routes. Removed duplicate literal source regression in favor of public workflow coverage. Fixes morluto#2174.
Skip empty home environment values while preserving nonempty caller selections and platform precedence. Setup, doctor, and uninstall now use the same fallback home instead of writing relative paths in the current directory. Validation: focused home tests and the public setup/doctor/uninstall lifecycle under Node 24.18. Package verification and pack dry run are included in the integrated gate. Fixes morluto#2325
Classify FAT containers using shared architecture, range, and observed slice-header facts rather than the CAFEBABE signature alone. Preserve typed unsupported and malformed reasons, reject malformed sibling slices consistently, and remove repeated range parsing in consumers. Validation: valid small and large JVM classes in public JAR/ZIP inspection, four FAT width/byte-order controls, and focused executable/Mach-O boundary tests. The class fixtures were checked with JDK javap; no new JVM analysis capability is advertised. The Apple selection and Hopper readers retain their existing parsing because they also own oversized-count diagnostics, reserved fields, streaming final-size validation, or source freshness that the shared header result does not represent. Representative public mixed-ZIP inventory probe, four fresh processes with an already warm filesystem cache: first process elapsed 626.8 -> 548.3 ms, CPU 740 -> 740 ms, sampled family peak RSS 375.5 -> 345.4 MiB. Subsequent three-process medians: elapsed 767.2 -> 454.0 ms, CPU 890 -> 640 ms, peak RSS 368.7 -> 346.2 MiB. Estimated output tokens 2310 -> 2292. Concurrent load was uncontrolled, so these observations do not establish a speed improvement. Whole-agent task tokens and schema/call overhead were not measured. Fixes morluto#2317
Identify the factory exports parameter through the existing semantic binding owner, including renamed and minified Webpack parameters. Reject nested targets, bare alias rebinding, and shadowed identifiers. Prune the duplicated source happy path after validating the public CLI workflow. Validation: public analyze-javascript-application CLI acceptance and focused semantic traversal/module-index tests. Fixes morluto#2171
Evaluate stdout and stderr together, giving hard errors and non-ok wait statuses precedence over an attempted Starting line. Retain raw streams and typed partial launch facts when Activity Manager refuses or times out; retain successful raw output too. Validation: parser/provider tests and public MCP app/activity starts through a fake executable at the real process boundary. Real Android device behavior was not verified; device-reported timeout remains distinct from a host deadline. Fixes morluto#2225
Add caller-selected managed metadata summaries and original collection pages while preserving complete CLI/MCP defaults and previous-runtime Evidence. Real SDK replies shrink substantially; actual Codex token/latency results remain mixed and are documented without a token-saving claim. Validated focused SDK/domain tests, full static/docs checks, real two-assembly repeated workflows and portable old Evidence, real SQLite WASM, and all exact-head CI checks. Raw experimental artifacts remain private. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Validate ELF identification/header versions and declared header bounds at the shared owner. Reuse parsed facts in target selection, Go, Dart and MIPS readers while preserving their stricter format policies and x32 support. Repair synthetic ELF fixtures and remove a superseded Go error-text assertion. Validation: 74 source tests, 202 filesystem/Go/MIPS boundary tests, typecheck and lint. No new real-provider claims.
Keep complete default delivery and exact filters. Select stable ID pages at the ledger owner before cloning, return filtered totals and continuation offsets, and preserve detached records through the shared session port. Validate public MCP paging, safe-integer edges, snapshot replay and converted JSON Schemas. Document the bounded Flameox workflow comparison and its token/CPU/latency measurement limits; no real model performance claim.
Use the shared resource scope and private runtime root for signature snapshots. Retain failed file-handle/root cleanup, preserve primary failures alongside cleanup diagnostics, and wait for binding operations during client close before retrying owned resources. Validate root cleanup failure, blocked retry, repeated client close and in-flight acquisition. Existing provider/MCP/CLI tests and the real Darwin codesign ancestor-swap case pass. Dedicated native file-handle close-failure injection remains unverified.
…2387) @modelcontextprotocol/client 2.3.1 declares callTool(params, options). Three verifiers still used the v1 shape callTool(params, undefined, { timeout }), so the third argument was dropped and those calls ran under the SDK's 60 s default instead of the 150-180 s they request. Pass the options second.
…o#2324) Reject native callee successes without an explicit truncation marker while preserving provider failure reasons. Verify positive procedure inventory/search and function-result parity in the real-provider lane; support independent string/xref oracles and label their absence as unverified. Verified with Windows IDA Pro 9.3: eight normal production CLI/MCP checks passed, and six real-provider response-fault cases reproduced old false positives and validated the correction. Windows IDA Free was not used. No personal paths or license registration information are included. Repair inconsistent complete-file Ghidra test probe sizes after the shared ELF-header validation change, deriving sizes from the fixture buffers. Reproduced the three failures before the correction; 115 related installation/doctor and ELF tests pass afterward. Runtime parsing and installation behavior are unchanged; no real-Ghidra verification is claimed. 207 focused IDA tests and static/documentation checks passed. Automated review completed on d1e0b10 without findings. CI run 38327862093 passed all 36 jobs, including Windows, all six test shards, coverage/timing, and real Apple CLI/MCP workflows. Follow-up to morluto#1544.
…uto#2416) Add optional owned Codex tool/usage capture and exact-name discovery experiments while preserving default ephemeral trials and all REA public APIs. Retain scoped managed and actual Android results, mixed outcomes, source identities and resource unknowns. Six semantic Python tests, full checked pre-push, byte-identical own-file rebase verification, manual review and all 39 exact-head CI checks pass. Historical main fixture failures and their independent repair remain documented; measured source/runtime pins are unchanged. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Verify the static EVM descriptor operation, CLI command, factory and input/output schema bindings with compiler-backed negative assignability checks. Prove SDK duplicate registration and invalid target input fail before provider invocation, preserving named bindings and separate lazy owners. Validated complete supported single-thread typecheck, focused12 SDK/composition cases plus a targeted2-case provider-spy rerun, static checks, checked pre-push, manual review and all exact-head CI checks. Production behavior/defaults and provider identity remain unchanged. Dynamic third-party module admission and ABI negotiation remain deferred. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…to#2430) Scope source-file cleanup fault injection without poisoning enclosing Git metadata reads. Cover both environments and verify that the retained native handle stays live through retry, then closes successfully. Closes morluto#2428. Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
Add opt-in, owned payload-completion cgroup witnesses without changing default receipts, terminal-counter semantics, resource limits, or REA public APIs. Preserve unknown and nonzero outcomes; verify ownership, observer capacity, cleanup, and actual SDK/model workflows. Validation: eleven Python semantic tests, supported full-project typecheck and lint, controlled Linux failure/cancellation/capacity probes, real managed/WASM/Android SDK and Codex runs, and all 39 exact-head CI checks. Curated evidence retains mixed timings and whole-scope uncertainty. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Add explicit package summary delivery and exact retained manifest pages while preserving complete MCP defaults, one-shot CLI output, provider requests, source identity and session lifetime. Return distinct linked Evidence and preserve partial/null facts; reject unavailable retention before engine work. Validation: 27 relevant SDK/domain/Android boundary checks, focused test-only correction rerun, full supported compiler/lint and docs checks, real NewPipe SDK pairs, authentic old Evidence continuation, four actual Codex trials with failures/regressions retained, and all 39 exact-head CI checks. Package replies shrink 119,527 to 8,659 bytes; no model-token or time gain is established. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Inspect bounded recorded raw HTTP/XML SAZ archives and page retained capture Evidence. Preserve exact stored bytes and provenance, validate ZIP/XML integrity, and require an enforceable decoder memory bound. Verified 356 real recorded sessions against independent byte and metadata oracles, public CLI/MCP parity, retained pages, and related interface checks. Current Fiddler Everywhere GUI and non-Linux producer workflows remain unverified. Co-authored-by: zahhak <[email protected]> Co-authored-by: N0zoM1z0 <[email protected]>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Thanks for the qlog implementation. I have taken over the follow-up and pushed The admitted scope is offline aioquic 1.5.0 JSON qlog 0.3 event objects from caller-selected local files. It preserves exact numeric representations, trace/event coordinates, trace-scoped STREAM interval facts and observed endpoint loss declarations. It does not open recorded targets, recover body bytes, authenticate a producer merely by format selection or establish actual network loss. The follow-up removes the competing JSON worker implementation and uses one existing bounded Node worker for HAR/SAZ/qlog. Qlog refuses admission where neither the Node heap nor a Windows Job Object memory bound is enforceable. Existing HAR behavior is preserved. For efficient inspection, opt-in summary retains complete selected Evidence once. New Verification: 80 initial integration checks passed; final public checks include all seven facets, CLI/stdio SDK parity, source deletion, identical stream IDs in different traces, malformed inputs and actual qlog/HAR heap exhaustion with continued MCP usability. Full check, docs, test discovery and duplication gate passed (2.97%). An isolated aioquic 1.5.0 HTTP/3 server/client produced four real recordings with TLS certificate verification and exact downloaded-payload comparison; two runs deliberately suppressed one server UDP datagram. An independent Python sweep-line oracle matched every stream contribution and interval union across 3,848 events and 32 trace-scoped streams. Both SDK schemas and unchanged file hashes passed; transport authentication material was excluded. Larger unmodified loopback runs also contain endpoint loss declarations, which were verified as recorded rather than assumed absent. Timing/token measurements are running on the larger recording; CI is running on this head. Actual macOS/Windows/Bun execution, qlog-specific induced cancellation, and the separate deadline/reply ceiling remain unverified; shared process-lifecycle coverage does not turn those into real-platform claims. Private captures, certificates, keys and benchmark artifacts are not committed. |
REA can now inspect retained aioquic 1.5.0 JSON qlog 0.3 event objects through the shared historical-capture CLI/MCP workflow. Original event ordinals, JSON pointers, fields and numeric lexemes are preserved. A typed facet reports trace-scoped STREAM interval unions and endpoint loss declarations; overlap does not establish retransmission and declarations do not prove actual network loss.
The follow-up synchronizes with current main/SAZ, removes the competing JSON worker, and shares one bounded Node decoder across HAR/SAZ/qlog. New qlog admission fails where no Node heap or Windows Job Object memory bound can be enforced. Other qlog layouts remain unsupported.
Opt-in
detail: "summary"retains complete selected Evidence once.inspect_analysis_viewkindqlogpages trace/stream summaries, loss declarations, incomplete-record ordinals, contributions, covered ranges and final-size lists with explicit selectors and exact advertised schemas. Fact scope remains all recorded events before selection. Capture event preview/complete pages preserve original ordinals and time lexemes. Views work after source deletion without another decoder launch. Application-owned validation returns structured errors, including missing selectors.Validation on
b174c45017069a1e2933837d8340b2f71de6125b:Performance (same final binary, three alternating pairs, fresh MCP sessions, warm filesystem): inspect the first ten events in two pages plus sent stream 0 byte totals. Complete selection replies versus summary/retained pages returned identical task facts. Estimated o200k task input/output text: 29,589 to 6,474 tokens; including the full advertised input catalog, 161,882 to 138,767. Median task wall: 9.098 s to 9.241 s; CPU: 10.798 s to 11.070 s; sampled family peak: 823.54 to 838.82 MiB. Retained page calls were 28–90 ms. This demonstrates lower returned context, not a general speedup or actual agent billing. All heavy local work used two CPU cores and an 8 GiB family guard; maximum observed gate peak was 5,789.8 MiB with no OOM/guard stop.
Scope: offline caller-selected recordings only; no body reconstruction, PCAP/keylog parsing, live requests, target attribution or producer authentication by format selection. Linux/Node and actual aioquic production were verified; macOS/Windows/Bun producer execution, qlog-specific induced cancellation and the separate reply ceiling/deadline remain unverified. Shared lifecycle tests do not establish real-platform behavior. Captures, certificates, keys and private benchmark artifacts are not committed.
Original implementation by @LuisTaffelli; follow-up review, fixes and real-data verification by @N0zoM1z0. CI is the final merge gate. Future profiles/correlation remain separate scope decisions.