Commit Graph
9455 Commits
Author SHA1 Message Date
morluto 8d591e38f9 test(mcp): consolidate shutdown settlement and admission checks (#13243) 2026-11-22 00:12:16 +00:00
morluto 34c69f606d fix(verification): require Gemini native answer and skill provenance (#13241) 2026-11-22 00:00:18 +00:00
morluto 63ff46e9ee fix(verification): read back Qwen skill output before analysis (#13240) 2026-11-21 18:53:53 -05:00
morluto e3ce2b53d4 fix(verification): bind DeepSeek skill evidence to its installed directory (#13238) 2026-11-21 18:41:30 -05:00
morluto 4f640064a4 test(verification): consolidate fixture retry and process lineage checks (#13237) 2026-11-21 18:35:04 -05:00
morluto a7b195d0e1 fix(browser): refuse partial HTTP source-map responses (#13236) 2026-11-21 23:31:49 +00:00
morluto 1f3703f6f1 test(browser): consolidate source-map coordinates and wire deadlines (#13235) 2026-11-21 18:22:38 -05:00
morluto 2e83fbd394 test(mcp): consolidate browser source boundary checks (#13234) 2026-11-21 18:14:25 -05:00
morluto 190395eade fix(browser): retire detached WebMCP frame descendants (#13233) 2026-11-21 23:12:06 +00:00
morluto 04d399d675 fix(electron): preserve inspection frame identity and diagnostics (#13232) 2026-11-21 23:04:46 +00:00
morluto eba41afd6c fix(browser): retain passive coverage and failure identity (#13231) 2026-11-21 23:03:00 +00:00
morluto cfa04985c2 test(browser): consolidate runtime window and request contracts (#13230)
* test(browser): consolidate runtime window and request contracts

* test(browser): distinguish reused request producer fields
2026-11-21 22:55:15 +00:00
morluto 39ccb1d3b8 fix(browser): preserve terminal verifier startup outcomes (#13228) 2026-11-21 22:45:18 +00:00
morluto 60e099848d perf(browser): wake the bundle worker on observed events (#13225) 2026-11-21 22:35:15 +00:00
morluto 6e300622e9 test(browser): consolidate bundle admission and retained facts (#13227) 2026-11-21 22:32:34 +00:00
morluto e94eb2cb64 test(browser): consolidate local artifact provenance checks (#13221) 2026-11-21 17:24:00 -05:00
Harsh Asalkarandmorluto 63c50ecfc0 feat(setup): discover project-scoped MCP registrations in doctor and … (#7283)
* feat(setup): discover project-scoped MCP registrations in doctor and uninstall

* fix(setup): preserve OpenCode layer fields, user launcher provenance, and user fallback

* fix(setup): restore working directory in tests and refine replacement and launcher provenance

* fix(setup): bound OpenCode discovery to worktree and enforce Pi project trust

* fix(setup): preserve Pi project trust failures in doctor and prevent skipping project registrations in uninstall

* fix(setup): defer cross-setting environment validation and decouple OpenCode launcher ownership

* fix(setup): separate OpenCode readiness schema from launcher ownership and fix cross-setting test

* fix(doctor): include project remediation when disabled project registration inherits outdated user launcher

* fix(setup): scope status properties to project-scoped registrations

Omit scope and launcher_scope when no project-level configuration was discovered or evaluated, ensuring user-level registrations retain their exact unextended status contract in isolated environments without project files.

* fix(setup): prevent activating unowned launchers during uninstall and align array normalization

Prevent activating unowned or foreign launchers hidden in lower-precedence configurations during project-scoped uninstall, normalize array command arguments uniformly in OpenCode ownership parsing without appending separate args, and clarify field inheritance in client configuration documentation.

* fix(setup): check effective remaining launcher on uninstall and preserve cleanup failure

* fix(uninstall): preserve user configuration path in project client to check fallback ownership

* fix(uninstall): scope fallback configuration paths only to project-scoped clients

* fix(doctor): validate effective merged Pi flags and preserve MSIX selection during uninstall

* fix(uninstall): preserve surviving OpenCode project registrations across complete configuration layers

* fix(uninstall): require surviving OpenCode server to carry a launcher when checking layered activation

* fix(uninstall): rely on full layered check for OpenCode instead of lower-only fallback

* fix(doctor): preserve source paths for inherited environment failures

When a trusted Pi project partial override or an OpenCode project registration inherits an invalid REA environment value from user configuration (or an ancestor configuration), attribute the resulting doctor invalid registration error to the contributing configuration source rather than the winning project file. Preserves source evidence provenance across merged configuration layers so doctor remediation points the user to the file that actually requires repair.

* test(doctor): exercise effective cross-setting merge failure in inherited environment tests

Replace scalar validation errors with cross-setting constraints (REA_GHIDRA_PROGRAM_NAME without REA_GHIDRA_PROJECT_PATH) in inherited environment regression tests so individual fragments pass and the failure is only triggered during effective layer merge, directly protecting contributingEnvironmentSource provenance lookup.

* fix(uninstall): allow cleaning up owned entries in untrusted Pi projects

Evaluate Pi project trust in unownedLowerLayerFallback so owned entries in untrusted Pi projects can be cleanly removed without falsely claiming that removal would activate an unowned user launcher.

* fix(uninstall): require confirmed untrusted decision to skip Pi fallback check

Only skip the unowned lower-layer fallback check when Pi project trust is confirmed untrusted (trust.ok && !trust.value). When Pi trust reading or parsing fails (!trust.ok), preserve the unresolved state and conservatively inspect the lower layer so that an unowned user launcher is not inadvertently exposed if the project was trusted.

* fix(doctor): track activation provenance across layers and normalize platform path identity

- Track activation source provenance (activationScope, activationConfigPath) across Pi and OpenCode configuration layers so activation drift remediation points to the exact file contributing the disable/enable flag rather than nearest fragment.
- Normalize path identity case-insensitively on Windows and macOS when deduplicating user configuration from OpenCode hierarchy and Pi project candidates.
- Qualify Pi project registration docs with trusted projects prerequisite and fallback semantics.

* fix(doctor): isolate platform casing tests and restore cwd mocks

* fix(doctor): use filesystem identity for path normalization and verify present files in case tests

* fix(doctor): preserve inherited schema provenance and include activation in project package remediation

* fix(doctor): report the contributing registration and activation sources

* test(doctor): exercise combined Pi activation and launcher repairs

* fix(doctor): honor OpenCode activation by config dialect

* fix(doctor): share project registration activation and provenance

* fix(setup): plan project removals before writes and isolate provider probes

* fix(doctor): preserve OpenCode registration and launcher provenance

* fix(doctor): use shared registration error and path provenance

* fix(doctor): gate desktop probes on registration authority

* fix(uninstall): skip absent project configuration candidates

* fix(uninstall): compare effective project registration before removal

* fix(doctor): guide project package launcher migration

* test(doctor): verify OpenCode project launcher migration advice

* fix(uninstall): separate project load order from write targets

* fix(doctor): preserve OpenCode directory alias precedence

* fix(uninstall): preserve unchanged remote project registrations

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-21 22:19:56 +00:00
morluto de0418c1f4 test(browser): consolidate native module lifecycle checks (#13224)
* test(browser): consolidate native module lifecycle checks

* test(browser): join resolver cleanup before restoring timers
2026-11-21 22:17:21 +00:00
morluto ff04f31a4a fix(website): format the favicon link (#13222) 2026-11-21 17:04:53 -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 7b3fb897c0 test(browser): consolidate source-map and deadline contracts (#13220) 2026-11-21 16:57:36 -05:00
morluto d41af199f0 fix(browser): preserve malformed request-body coverage (#13219) 2026-11-21 21:57:26 +00:00
morluto b33b6743d9 fix(website): refresh favicon links and serve a root icon 2026-11-21 16:54:56 -05:00
morluto 0ee5f8461e test(capture): consolidate redirect and URL admission checks (#13218) 2026-11-21 21:47:27 +00:00
morluto 9528005707 test(capture): consolidate historical runtime retry coverage (#13217) 2026-11-21 21:44:09 +00:00
abba1f43bb fix(setup): register aube's bin shim instead of its versioned store path (#5311)
* fix(setup): register aube's bin shim instead of its versioned store path

mise's npm backend installs with aube, whose bin is a shell shim that runs
the script inside one version's store directory. Setup registered that
versioned script, which the next upgrade removes from under the agents.
Setup now registers the shim when it proves, from the shim's own header,
that it runs this exact entrypoint, and registration identity accepts that
shim as REA's own.

Refs #4847

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(setup): move aube store registrations to the shim and follow links to it

Status now reports a direct registration as stale when the running
entrypoint has an aube bin shim and the registration is not that shim, so
doctor and setup move registrations written before this fix. A link to a
shim resolves the target from the shim's real directory, as the shim does.
The shim check runs only when the exact-path check does not already own the
command, applies on every platform (the header alone decides), and a failed
close no longer escapes classification. The test now lays out versions the
way mise does, with `latest` as a symlink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(setup): launch managed shims without client PATH dependencies

* fix(setup): bind Node for installed Aube shims without a sidecar

* fix(setup): keep an independent Node fallback for Aube shims

* fix(setup): preserve independent Node aliases across upgrades

* fix(setup): reuse verified Node for host-bound Aube shims

* fix(setup): keep Aube registrations across shim format changes

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-21 16:34:38 -05:00
morluto e5850aff15 test(capture): consolidate historical worker lifecycle checks (#13216)
* test(capture): consolidate historical worker lifecycle checks

* test(capture): keep pre-launch cancellation classification
2026-11-21 21:31:19 +00:00
Saim MehmoodandClaude Sonnet 5.5 2d71c5c335 docs(process): state the finalization delivery grace is fixed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 22:29:57 +01:00
Saim Mehmood ab47c970a7 fix(process): name the fixed finalization delivery grace
An unsettled finalization signal delivery reported a bare millisecond
figure, without saying whether that grace is adjustable. An agent could
infer that raising the caller-selected finalization_ms would extend it.

PROCESS_FINALIZATION_DELIVERY_GRACE_MS is module-private with no runtime
control, and is independent of finalization_ms (the SIGTERM-to-SIGKILL
interval). State both in the reason, keeping the lowercase fragment
register used by the sibling reasons on this field.

Relates to #5910.
2026-11-21 22:29:57 +01:00
pedrocormannandClaude Opus 5.5 73bc6f48c7 fix(javascript): read the target of method-first request(method, url) calls
endpointArgument takes the first literal of a get/post/put/patch/delete/request
call as its endpoint candidate. Method-first clients (superagent's
request(method, url), needle.request, Angular HttpClient.request) put the HTTP
method there, so Api.request("get", "/api/v1/profile") reported the candidate
"get" in both analyze_javascript_application and analyze_web_bundle, and the
path was lost.

For a request callee whose first literal is a standard HTTP method (the
XHR_METHODS set that xhrOpenUrl uses, compared after toUpperCase), an exact
second string is now the candidate. A computed target keeps the method token,
so request("POST", target) is unchanged, as are RPC names, Octokit route
strings and URL-first calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:29:49 +01: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
Clark de44e5e273 test(process): check SIGHUP limitation through its exported owner constant 2026-11-21 22:29:33 +01:00
Clark 95dfbae68e fix(process): record PTY session-leader SIGHUP limitation in Evidence 2026-11-21 22:29:33 +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
Prince Kumar 6d92ca438f test: cover Unicode code point ordering 2026-11-21 22:09:16 +01:00
Iain afc040cceb fix(model): recognize F8_E4M3 GGUF tensors from ggml v0.29.0 2026-11-21 22:01:42 +01:00
morluto 339f0ace57 test(capture): consolidate Playwright trace contracts (#13207) 2026-11-21 20:55:20 +00:00
morluto ff3919f3eb fix(capture): distinguish corrupt SAZ metadata bytes (#13204) 2026-11-21 20:51:33 +00:00
morluto a2faf4cc34 test(capture): prove retained summaries survive source deletion (#13206) 2026-11-21 20:48:19 +00:00
morluto 088bc68b1c fix(capture): surface unsupported decoder requirements (#13203) 2026-11-21 20:38:10 +00:00
morluto 204434e087 test(native): isolate Objective-C ivar alignment coverage (#13205) 2026-11-21 15:36:31 -05:00
Afloat 71a7e0d9ff perf(desktop): bound retained text lines while counting full files (#10207) 2026-11-21 21:33:01 +01:00
RRFZ ce3506e298 fix(elf): clear the ARM Thumb bit before naming unwind ranges (#9692)
An ARM STT_FUNC or STT_GNU_IFUNC value for Thumb code is the code
address with bit 0 set (AAELF32 symbol values), while an FDE initial
location is the even code address. inspect_elf_unwind_ranges matched
symbol values to FDE starts exactly, so a Thumb function described by an
.eh_frame FDE lost its name: the range was named by a local label or
mapping symbol from .symtab, or had no name when only .dynsym was left.
On ARM EABI such FDEs come mostly from hand-written assembly with .cfi
directives; compiled code unwinds through .ARM.exidx.

Clear bit 0 of ARM function and IFUNC symbol values before the lookup, as
the ELF initializer and Android JNI readers already do. Mapping symbols
and other machines keep their values.
2026-11-21 21:32:08 +01:00
LexLuthorPrimero 402273dd57 docs(third-party): warn against identically named jar source on npm 2026-11-21 21:28:57 +01:00
Filhao2019 2fbcec84eb fix(mcp): name the HTTP option that requires --http 2026-11-21 21:28:49 +01:00
fengqiaoquandAnankequ 3dcd6b62e8 test(native): retain per-ivar alignment facts in mixed lists (#3424)
fix(apple): decode the ivar WORD_ALIGN sentinel as 8-byte alignment

Co-authored-by: Anankequ <2983852214@qq.com>
2026-11-21 21:24:28 +01:00