Commit Graph
2756 Commits
Author SHA1 Message Date
Vincent Koc bbb4a949d1 test(environment): share bundle export inputs (#16115) 2026-12-02 21:57:23 +00:00
Vincent Koc 40dda21d90 refactor(javascript): share artifact graph evidence construction (#16109) 2026-12-02 21:38:15 +00:00
Vincent Koc 48cb8187c8 test(setup): share client descriptor fixtures (#16103) 2026-12-02 21:11:58 +00:00
Vincent Koc f6de954b8b refactor(esp-nvs): share caller evidence finalization (#16101) 2026-12-02 21:02:36 +00:00
Vincent Koc 64fcc7f65f test(reference-source): share file entry fixtures (#16099) 2026-12-02 20:45:03 +00:00
Vincent Koc 620ba57b52 test(deb): share package service fixture setup (#16094) 2026-12-02 20:34:03 +00:00
Vincent Koc 7616dea802 test(go): share binary service fixture setup (#16091) 2026-12-02 20:00:07 +00:00
Vincent Koc e3496a5c95 test(esp-nvs): share empty service report fixtures (#16088) 2026-12-02 19:52:43 +00:00
Vincent Koc 6f7068642e test(wasm): reuse inspect provider fixtures (#16052) 2026-12-02 17:05:32 +00:00
Vincent Koc cc01f91161 refactor(javascript): share bundler runtime edge projection (#16044) 2026-12-02 16:30:30 +00:00
Vincent Koc cc137e61aa test(workflow): reuse limitation provider fixtures (#16048) 2026-12-02 16:30:24 +00:00
Vincent Koc 6275181944 refactor(config): share delimited TOML server edits (#16034) 2026-12-02 15:51:59 +00:00
Vincent Koc cc339895c7 refactor(guidance): keep cache selection with bundle reads (#16030) 2026-12-02 15:39:08 +00:00
Vincent Koc 880d032559 refactor(javascript): reuse authenticated comparison source projection (#16024) 2026-12-02 15:14:58 +00:00
Vincent Koc 7c53f21da2 test(capabilities): reuse open executable status fixture (#16025) 2026-12-02 15:11:52 +00:00
Vincent Koc fa712e9aa7 refactor(deb): reuse observed file evidence assembly (#16021) 2026-12-02 15:05:22 +00:00
Vincent Koc 3abd5b25cd refactor(javascript): share semantic callable node lookup (#16018) 2026-12-02 15:01:16 +00:00
Vincent Koc 94a5880616 refactor(reference): share import failure construction (#16015) 2026-12-02 14:53:47 +00:00
Vincent Koc 690b109ad2 refactor(diagnostics): reuse artifact range validation (#16011) 2026-12-02 14:43:43 +00:00
Vincent Koc 3ed912944c test(hermes): share REA registration fixture edits (#15998) 2026-12-02 14:07:59 +00:00
Vincent Koc 1ef8442117 refactor(javascript): reuse source-map original evidence (#15989) 2026-12-02 13:59:11 +00:00
Vincent Koc e0a1522911 refactor(javascript): share unresolved module target projection (#15979) 2026-12-02 13:39:12 +00:00
Vincent Koc f4b0fa3c60 refactor(wasm): reuse interface inventory coverage (#15977) 2026-12-02 13:31:11 +00:00
Vincent Koc b25f05e886 test(reference): share successful source read fixtures (#15927) 2026-12-02 12:19:29 +00:00
Vincent Koc d4c89cc7cb test(javascript): share package subpath fixtures (#15908) 2026-12-02 11:59:32 +00:00
Vincent Koc c6aa2a0f85 refactor(binary): share raw load address projection (#15901) 2026-12-02 11:47:07 +00:00
Vincent Koc 34fa343534 refactor(ledger): reuse evaluation maps for orphan manifest IDs (#15898) 2026-12-02 11:43:11 +00:00
Vincent Koc c8beaeb995 refactor(environment): share argument name reservation (#15896) 2026-12-02 11:24:47 +00:00
Vincent Koc f8767e9b71 refactor(javascript): share built-in graph relation resolution (#15881) 2026-12-02 10:44:55 +00:00
Vincent Koc 48a29fcc15 refactor(elf): share kernel module entry-section validation (#15875) 2026-12-02 10:31:24 +00:00
Vincent Koc 0b243905e4 refactor(apple): share bundle executable error handling (#15869) 2026-12-02 09:56:41 +00:00
Vincent Koc 9ec3ca87bc refactor(javascript): share workflow graph input validation (#15864) 2026-12-02 09:46:11 +00:00
Vincent Koc 761b7a439a refactor(investigation): finish linked Evidence through one path (#15860) 2026-12-02 09:35:29 +00:00
Vincent Koc eec2009d91 test(desktop): share export deadline test fixtures (#15862) 2026-12-02 09:26:16 +00:00
Vincent Koc 552ec327fe refactor(setup): reuse configuration cleanup failure handling (#15856) 2026-12-02 09:17:54 +00:00
Vincent Koc 95ac5084cc refactor(setup): share missing-file checks across setup and uninstall (#15789)
* refactor(setup): share missing-file checks across setup and uninstall

* test(clients): assert the scoped catalog mismatch
2026-12-02 16:48:52 +08:00
Vincent Koc 0e23515936 test(wasm): share comparison Evidence fixtures (#15847) 2026-12-02 08:36:18 +00:00
Vincent Koc 74fa22cc71 refactor(environment): classify learned identifier pairs once (#15828) 2026-12-02 07:58:29 +00:00
Vincent Koc ac02fee207 refactor(evidence): share cleanup observation promotion (#15825) 2026-12-02 07:45:35 +00:00
Vincent Koc 26756f3c28 refactor(artifacts): share unavailable JavaScript evidence construction (#15821) 2026-12-02 07:25:37 +00:00
Vincent Koc b9e5a53ff9 refactor(guidance): share invalid cursor errors (#15806) 2026-12-02 06:28:36 +00:00
gensokyo-devandgensokyo-dev 9841b45512 refactor(settings): return the unknown-operation refusal as a Result
inspect_analysis_settings refused an unknown operation by throwing, and the
MCP binding caught the exception to turn it back into an error result. The
return type did not describe the refusal. AnalysisSettings.inspect now returns
a Result, the binding maps it directly, and update reads the unvalidated
snapshot through a private helper.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-02 14:11:07 +08:00
Beqa d5cf615e92 fix(settings): refuse unknown inspect_analysis_settings operations
A typo in operation returned settings: [] like a real tool with no
editable settings. Refuse names that are neither an advertised tool nor
an operation any setting applies to.
2026-12-02 14:11:07 +08:00
GamerDubz 104c1c189e test(clients): verify native OpenCode integration against OpenCode V2 (#10178)
* test(clients): verify native OpenCode integration against OpenCode V2

The OpenCode client lane targeted OpenCode V1 (opencode-ai@1.18.35) and
could not pass against OpenCode V2. The V2 skill tool names its argument
`id`, so the lane's `{ name: ... }` call was rejected with "id: Missing
key" and the personal skill never loaded.

Bring the lane to OpenCode V2:

- Call the skill tool with `id` under V2 and keep `name` for V1.
- Register REA in the native `mcp.servers` table and read additional skill
  sources from the `skills` array; grant tool access with a `permissions`
  ruleset. The V1 dialect remains selectable with
  `REA_VERIFY_OPENCODE_DIALECT=v1`.
- OpenCode V2 groups MCP tools behind its Code Mode tool by default, so the
  lane sets the documented `codemode: false` server option to observe the
  forwarded catalog as direct function tools. REA's refresh preserves that
  client-owned option, which the lane now covers.
- Start a private server under V2. The shared background service keeps the
  environment it started with and would read the caller's own configuration
  instead of the lane's isolated one.
- Isolate the home for both platforms. The lane set only USERPROFILE, so a
  POSIX run resolved the caller's real home for the shared skill directory.
- Take the expected catalog from the runtime under test, so
  `REA_VERIFY_RUNTIME_ROOT` can point at an installed package whose catalog
  differs from this checkout.
- Record the dialect, plugin-isolation mechanism and tool surface in the
  receipt. OpenCode V2 dropped OPENCODE_PURE, so the V1 isolation claim no
  longer described what ran.

The lane no longer refuses Windows, so the OpenCode integration can be
verified on a native Windows host.

* fix(clients): isolate OpenCode verifier config and coverage claims

Clear inherited OPENCODE_CONFIG and OPENCODE_CONFIG_CONTENT so the lab
cannot load the caller's configuration layers. Record V2 as verified
only on native Windows and leave POSIX V2 explicitly unverified.

* fix(clients): pin OpenCode verifier to a full REA catalog

Clear inherited REA_MCP_TOOL_FAMILIES and set REA_MCP_TOOL_CATALOG_PROFILE=full so setup and the MCP child always advertise the complete catalog the fixture asserts.

* fix(ci): pin Native MCP OpenCode checks to @opencode/cli@2.2.7

The verifier defaults to the OpenCode V2 dialect, but the Native MCP
registration workflow still installed opencode-ai@1.19.6 without selecting
v1. Point the matrix at the published V2 CLI that supports the V2 config
and --standalone.

* fix(clients): harden OpenCode V2 verifier modes and launch seeds

Keep Code Mode enabled for scoped-chat and assert the paginated catalog
search, clear inherited REA MCP capacity/schema settings that can reject
fixture calls, and accept Aube-managed shim launchers alongside the
raw Node/script/mcp shape.

* fix(clients): only require Code Mode catalog search for OpenCode V2

* fix(clients): clear OpenCode verifier ambient budget and Windows env aliases

Unset inherited REA_AGENT_RESULT_BUDGET_BYTES so the fixture keeps complete
Evidence, and delete cleared OpenCode/REA launch seeds case-insensitively
before spawn so mixed-case Windows aliases cannot survive.

* fix(clients): require Windows packaged OpenCode runtime and isolate V2 ancestors

Document that Windows call verification needs REA_VERIFY_RUNTIME_ROOT with a
matching packaged runtime, and refuse OpenCode V2 lab runs when an ancestor
project configuration file would join the private server.

* fix(clients): qualify POSIX OpenCode V2 coverage and dialect Windows hint

Limit checked-in POSIX V2 claims to scoped-chat catalog search and point
Windows preflight recovery at the selected OpenCode package major.

* fix(clients): match OpenCode runtime contracts and clear registration seeds

Reject a REA_VERIFY_RUNTIME_ROOT whose package version or tool catalog
differs from this checkout, and clear every selected registration setting
from SetupRegistrationEnvironment instead of a hand-maintained MCP list.

* fix(verification): bind OpenCode fixtures to selected runtime

* fix(verification): refuse discovered OpenCode plugin sources

* test(verification): reject plugins before starting OpenCode

* test(ci): exercise packaged OpenCode on Windows

* fix(verification): type the selected-runtime fixture reader

* chore(ci): use pinned npm for Windows client proof

* docs(verification): distinguish Windows runner isolation

* test(verification): keep compiled fixtures in the built test lane

* test(verification): type catalog fixtures without generated output

* fix(ci): classify automated OpenCode verification
2026-12-02 13:39:47 +08:00
ShuaixinHuangandShuaixinHuang afd746fba4 perf(evidence): resume oversized JSON paging across requests (#15752)
* perf(evidence): resume oversized JSON paging across requests

* refactor(evidence): align serialized chunk offsets

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-12-02 13:36:58 +08:00
ShuaixinHuang 8dc37bfcea perf(evidence): bound temporary storage for filtered unknown pages (#15747) 2026-12-02 13:36:47 +08:00
Vincent Koc 93dcb1a8a8 refactor(ledger): share Evidence links from bindings (#15775) 2026-12-02 04:57:09 +00:00
Vincent Koc c19f474453 refactor(config): share the final YAML member edit (#15766) 2026-12-02 03:44:20 +00:00
Vincent Koc 6bb42af594 refactor(apple): share missing bundle layout reporting (#15757) 2026-12-02 02:51:00 +00:00
Vincent Koc 8412025724 refactor(doctor): share provider check classification (#15754) 2026-12-02 02:47:27 +00:00