Commit Graph
1165 Commits
Author SHA1 Message Date
morluto 232bd1181c fix(java): refuse nested XML in Maven text declarations (#13398) 2026-11-22 11:31:47 +00:00
morluto d0f3a4858e fix(java): preserve Gradle declaration spelling in Evidence (#13397) 2026-11-22 11:26:19 +00:00
morluto c45decb70b test(nuget): consolidate filename provenance and retained Evidence checks (#13396) 2026-11-22 11:25:14 +00:00
morluto 048213525a fix(java): classify Maven BOM imports by declaration scope (#13393) 2026-11-22 11:14:16 +00:00
morluto 9fee59e418 test(nuget): distinguish metadata budget and cancellation phases (#13394) 2026-11-22 11:11:28 +00:00
morluto c001100e57 test(firmware): consolidate OTA integrity and transport proof (#13381) 2026-11-22 10:14:53 +00:00
morluto 7aa15c4ac7 test(firmware): consolidate HEX wire limits and public inspection (#13376) 2026-11-22 09:55:47 +00:00
morluto 0c0130ce50 test(dotnet): consolidate malformed metadata and table stream proofs (#13374) 2026-11-22 04:48:44 -05:00
7b6e816b0b feat(javascript): inventory Expo Router require.context route keys (#10624)
* feat(javascript): inventory Expo Router require.context route keys

Problem: Expo Router (Metro) web exports register file routes through a
bundled require.context map whose keys are literal route filenames such as
"./(app)/<section>/[id]/edit.tsx", "./_layout.tsx" and "./+not-found.tsx".
The route scan did not recognise that map, so the javascript-routes view of
analyze_javascript_application returned an empty inventory for these apps.

Fix: the route scan owner recognises Metro's context template,
Object.defineProperties({}, {"./file.tsx": getter, ...}). When every key is a
./-relative .js/.jsx/.ts/.tsx file and the map holds at least one _layout or
"+" file, each other key becomes a candidate with the new
expo-router-context-key mechanism, located at the key literal, with low
confidence and inferred derivation. The route-path owner converts keys with
Expo Router file conventions: groups (including group arrays) contribute no
segment, [id] -> :id, [...rest] -> :rest+, a trailing index names its
directory, platform extensions select the same route, and +api files keep
their API path. Layouts and other "+" files are not URL patterns.
Classification stays unknown; a bundled key does not establish platform,
navigator, server or reachability. A file map without a layout or "+" file
retains an interpretation unknown instead of becoming routes. Other
defineProperties calls are not read. The route inventory guide documents this.

Validation: new scan, inventory and CLI acceptance cases with a synthetic
Metro-style module. On the base, the scan and inventory cases failed with
empty candidates and routes; they pass now. Ran test:local for the route
scan, inventory, view, delivery-contract, result-budget and advertised
schema tests (378 passed), test:focused for
tests/acceptance/javascriptRoutesCli.test.ts (13 passed), docs:check and
check:fast. The conventions were checked against the published metro 0.88.0
context template and expo-router 58.0.31 matchers, not a real Expo export.

Refs morluto/rea#7510

* fix(javascript): admit Expo Router context keys within the fact budget

Review follow-up for Expo Router route keys.

The context-map reader converted every key and kept each derived path
in a local array before emission. Only a location per property was
charged, so a map with many long filenames retained route text beyond
the fact budget, including text later discarded at capacity. The reader
now establishes applicability in a first pass without keeping derived
paths. A second pass converts and admits one key at a time through the
budgeted fact owner. Emitted facts and their order are unchanged.

The route inventory guide said Expo keys stay classified unknown, but
the existing path-name heuristic still applies: ./login.tsx becomes
/login, classified system by path-name-heuristic. The guide now says a
bundled key adds no classification of its own.

Tests: a budgeted case with 80 long keys admits a key-ordered prefix and
stays within the limit. The route scan and inventory tests (355) and the
routes CLI acceptance tests (13) pass. check:fast and docs:check pass.

* docs(specs): record the Expo Router route key feature

The documentation guide asks each feature for a spec.md, plan.md and
tasks.md under docs/specs/. Add the record for reading Expo Router
require.context keys in the JavaScript route inventory, and index it.

---------

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 16:15:33 +08:00
morluto 625bd4b70a fix(setup): refuse Hermes profiles with an unreadable deletion marker (#13296) 2026-11-22 03:03:56 +00:00
morluto 560e2ef267 perf(setup): index YAML alias bindings in document order (#13295) 2026-11-22 03:03:29 +00:00
morluto 825afe019c test(setup): consolidate TOML client preservation checks (#13294) 2026-11-22 02:58:25 +00:00
morluto e94eb2cb64 test(browser): consolidate local artifact provenance checks (#13221) 2026-11-21 17:24:00 -05:00
8d6552e928 feat(config): persist provider settings in a user config file (#3023)
* feat(config): persist provider settings in a user config file

Providers currently rediscover install paths from scratch in every
process, so a path set once (for example GHIDRA_INSTALL_DIR) silently
reverts on the next run. Introduce ~/.config/rea/rea.json as the
user-owned persistence layer and merge it into the environment
snapshot before configuration parsing, keeping env > config file >
auto-detect precedence on both the CLI and MCP entry points.

Add a rea config command (list/get/set/unset) as the write surface,
reporting the effective value and where it came from.

* fix(config): address review findings on persistence safety and CLI surface

- stage config writes beside the file and rename into place so an
  interrupted write cannot leave partial JSON (greptile #4, codex #11)
- convert unreadable config files into configuration errors on the CLI
  seam instead of escaping raw filesystem errors (greptile #5, codex #15)
- keep injected runtimes without a config root isolated from the host
  account's rea.json (codex #18)
- surface the config file error on stderr when doctor falls back to the
  raw environment (greptile #3, codex #16)
- route the config command through logCliCommand and return documents so
  --json stays parseable and failures exit non-zero (greptile #2,
  codex #10)
- reject empty --set values, unknown --set/--unset/--get names, and --get
  combined with mutations (greptile #1/#7, codex #9/#12/#13/#17)
- cover the new behavior in the boundary tests and stop leaking one
  temporary home per run (greptile #8)

* fix(config): validate and back up persisted provider settings

* fix(config): keep saved provider defaults out of client registrations

* fix(config): preserve provider discovery and budgets for saved settings

* fix(config): check only settings needed by the IDA deadline lookup

* fix(config): share effective provider settings and verify config file reads

* fix(doctor): share selected settings with Hopper and ILSpy probes

* fix(config): resolve the destination of first-time saves

* fix(doctor): preserve unresolved provider location inputs

* fix(doctor): honor inherited IDA deadline overrides

* fix(config): show empty environment overrides

* fix(setup): preserve client-selected saved configuration roots

---------

Co-authored-by: Jackzigen <zigenhan@gmail.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-21 22:02:35 +00:00
morluto 0ee5f8461e test(capture): consolidate redirect and URL admission checks (#13218) 2026-11-21 21:47:27 +00:00
Davi Lopes Rosa de Oliveira fe8e571f78 test(javascript): pin the external-script loads edge to its HTML source
The new inline-scripts CLI case asserted the external <script src> survived
by matching a "loads" edge on resolved_path alone. The fixture's package.json
also declares "main":"main.js", which produces its own "loads" edge with the
same resolved_path, so the assertion could pass through the package entrypoint
even if the HTML script edge regressed. Also require script_path === "main.js"
to pin the assertion to the HTML-derived edge, matching the reference-html case
in the same file. Tests-only.
2026-11-21 22:29:41 +01:00
Davi Lopes Rosa de Oliveira 3eae4de89f test(javascript): cover the inline-HTML unavailable scope through the public CLI
The analyzer already reports valid HTML containing inline <script> bodies
through an explicit "parse-html-inline-scripts" unavailable scope, so an
application whose endpoints, storage, or imports live in inline scripts is
surfaced as not-analyzed rather than silently empty. That contract was asserted
only at the filesystem boundary (javascriptHtmlEntrypoints.test.ts); the public
CLI acceptance surface had no scenario proving it survives transport.

Add one acceptance case to the existing unavailable-HTML CLI suite. No source change.
2026-11-21 22:29:41 +01:00
morluto 587cca5c5c fix(capture): keep credential checks independent of body filters (#13215) 2026-11-21 21:27:18 +00:00
morluto 1e89bcc216 test(capture): consolidate Protobuf descriptor identity checks (#13214) 2026-11-21 16:24:24 -05:00
morluto 6152c02f3f fix(capture): retain credential checks across MIME conflicts (#13209) 2026-11-21 21:12:50 +00:00
morluto 62d836a630 test(capture): retain independent Playwright trace coverage checks (#13208) 2026-11-21 21:09:37 +00:00
morluto 339f0ace57 test(capture): consolidate Playwright trace contracts (#13207) 2026-11-21 20:55:20 +00:00
morluto a2faf4cc34 test(capture): prove retained summaries survive source deletion (#13206) 2026-11-21 20:48:19 +00:00
morluto 286d599e9f test(web): consolidate passive capture comparison coverage (#13200) 2026-11-21 20:10:41 +00:00
morluto 9230f698b3 fix(web): retain Chromium navigation kind in session evidence (#13194)
* fix(web): retain Chromium navigation kind in session evidence

* test(web): use native reload event shape in the shared timeline fixture
2026-11-21 19:47:52 +00:00
ShuaixinHuangandShuaixinHuang ae72c30e2c fix(bun): keep budget refusals out of layout selection (#12763)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-21 20:39:31 +01:00
Vinícius DS Andrade 978cc6d46b test(v8): cover the six-word code cache header
No V8 8.8 through 11.7 producer runs in the test environment, so the
fixture is synthetic, as it already is for the narrow header: a real
cache without its build-constant word and its alignment word, which is
the container those releases define.

Cover the admitted layout through the parser and the public CLI, the
bit 31 module flag, a truncated six-word container, a container that
fits both layouts, and the word-table rule for a 24-byte header. The
short-header case now also covers the new 24-byte minimum.

The CLI case is the recorded lifecycle coverage of the provider, so its
new title is updated there as well.
2026-11-21 20:02:30 +01:00
morluto 1587b46a9f fix(setup): keep MCP launchers usable after session cleanup (#13185) 2026-11-21 18:50:36 +00:00
morluto b5ba2f0f6e test(web): consolidate scenario process and cleanup coverage (#13165) 2026-11-21 12:37:58 -05:00
morluto 03795d55b3 test(web): consolidate wide scenario reference admission (#13163) 2026-11-21 17:33:20 +00:00
morluto 07225b8b3e test(sourcemap): consolidate point lookup and CLI parity (#13067)
test(sourcemap): consolidate point lookup and original location cases
2026-11-21 10:37:04 +00:00
morluto 66d1bb13dc test(javascript): consolidate source map acceptance fixtures (#13056) 2026-11-21 04:31:30 -05:00
morluto e4d3861756 test(artifacts): consolidate summary replay coverage (#12942) 2026-11-20 22:39:03 +00:00
morluto 12ac0541f6 test(apple): consolidate bundle resource CLI coverage (#12936) 2026-11-20 17:13:13 -05:00
morluto 6cd055bfca test: restore audited startup, launcher, and BEAM contracts (#12884) 2026-11-20 16:48:32 +00:00
morluto 6dde865ccf test(model): consolidate historical layout and retained views (#12878) 2026-11-20 16:06:43 +00:00
morluto b38438bab4 test(sqlite): consolidate retained views and journal coverage (#12876) 2026-11-20 16:02:40 +00:00
morluto cfc1644238 test(il2cpp): consolidate retained metadata projection coverage (#12870) 2026-11-20 15:51:59 +00:00
morluto 75908cc1fa test(rust): consolidate carrier budgets and retained views (#12872)
* test(rust): consolidate authenticated dependency views

* test(rust): consolidate carrier and report budget checks
2026-11-20 10:50:58 -05:00
morluto aa1651311d test(v8): consolidate relative CLI and source-byte checks (#12867) 2026-11-20 15:36:03 +00:00
morluto 7e2e4d41f5 test(il2cpp): consolidate section geometry and prefix checks (#12863) 2026-11-20 10:22:15 -05:00
morluto ae449a3021 test(zip): consolidate archive coverage and name checks (#12857)
* test(zip): consolidate member extent and empty archive checks

* test(zip): reuse Unicode path fixture framing
2026-11-20 15:13:19 +00:00
morluto aa5d1a8281 fix(asar): preserve lazy listing configuration errors (#12854)
fix(asar): preserve typed inventory configuration errors
2026-11-20 14:34:06 +00:00
morluto 7b8ddab284 test(process): consolidate capture finalization and timer checks (#12852)
test(process): consolidate native capture finalization proof
2026-11-20 14:28:16 +00:00
morluto c9caa0aa5b test(formats): consolidate BEAM and DOL boundary checks (#12832)
* test(erlang): consolidate BEAM path and atom budget checks

* test(dol): prove session contracts through the MCP client
2026-11-20 13:44:28 +00:00
morluto 01895d33ef test(erlang): consolidate BEAM budget and truncation coverage (#12830)
test(erlang): consolidate BEAM limit and truncation checks
2026-11-20 08:30:16 -05:00
morluto 53a23c0f0d test(cli): consolidate launcher alias readiness checks (#12827)
test(cli): consolidate cross-alias registration readiness checks
2026-11-20 08:28:17 -05:00
morluto 68ed9b0e67 test(android): consolidate OTA partition metadata order coverage (#12826)
test(firmware): consolidate split OTA partition order coverage
2026-11-20 13:24:16 +00:00
morluto f718e17caa test(cli): consolidate automatic client setup journeys (#12807)
test(setup): consolidate manual-client selection coverage
2026-11-20 12:44:55 +00:00
morluto 7f411078a3 test(native): consolidate keyed archive scalar journeys (#12799)
test(artifacts): consolidate keyed archive scalar delivery coverage
2026-11-20 12:42:22 +00:00