Commit Graph
1987 Commits
Author SHA1 Message Date
Vincent Koc b8947412f7 refactor(ci): share workflow identity validation (#16204) 2026-12-03 03:27:57 +00:00
Vincent Koc 1f72e699e4 refactor(signals): share CLI Evidence verification (#16170)
* refactor(signals): share CLI Evidence verification

* refactor(signals): supervise verifier subprocesses
2026-12-03 01:39:10 +00:00
Vincent Koc dcc17fd75a refactor(lint): share keyed first-match predicate patterns (#16163) 2026-12-03 01:03:09 +00:00
Vincent Koc 4155d6d936 refactor(lint): track ternary constraint state once per depth (#16159) 2026-12-03 00:42:39 +00:00
Vincent Koc 4579de3ddf refactor(wasm): reuse MCP artifact inspection in verifier (#16157) 2026-12-03 00:39:23 +00:00
Vincent Koc 8cacd2757d refactor(lint): share positional contract import resolution (#16153) 2026-12-03 00:19:22 +00:00
Vincent Koc b29d9d0a43 refactor(deno): share extracted text assertions in verifier (#16151) 2026-12-03 00:11:23 +00:00
Vincent Koc 369de39fbd refactor(managed): retain verified manifest method tokens (#16147) 2026-12-02 23:45:50 +00:00
Vincent Koc cdf12a874d refactor(managed): reuse parsed ILSpy import facts (#16145) 2026-12-02 23:44:20 +00:00
Vincent Koc e6e7420ed0 refactor(ci): collect fixed-ceiling facts in one AST walk (#16141) 2026-12-02 23:25:57 +00:00
Vincent Koc 7b247b4946 refactor(ci): share direct member checks for Darwin gates (#16136) 2026-12-02 23:23:46 +00:00
Vincent Koc d8e2593529 refactor(managed): derive completion claim IDs from scenario IDs (#16131) 2026-12-02 22:59:39 +00:00
Vincent Koc f6cd4c842b refactor(cursor): share plugin string field validation (#16126) 2026-12-02 22:37:46 +00:00
Vincent Koc 595867a90c refactor(ci): collect verifier import edges in one parse (#16124) 2026-12-02 22:27:27 +00:00
Vincent Koc 3e2547f44d refactor(ci): consolidate health report input validation (#16117) 2026-12-02 22:12:26 +00:00
Vincent Koc dba1a371b5 refactor(ci): consolidate Python test phase dispatch (#16120) 2026-12-02 22:08:04 +00:00
Vincent Koc e6a4a20ea8 refactor(ci): simplify ordered failure predicates (#16113) 2026-12-02 22:06:10 +00:00
Vincent Koc 6877531eae refactor(tooling): collect module boundary facts in one pass (#16111) 2026-12-02 21:38:37 +00:00
Vincent Koc 37e47cd7bc refactor(release): bind checkpoint reads to the candidate (#16107) 2026-12-02 21:37:58 +00:00
Vincent Koc a2d6c71c24 refactor(nativeaot): share Ghidra build manifest data (#16105) 2026-12-02 21:12:42 +00:00
Vincent Koc d95e64f01d refactor(website): share reference URL validation (#16102) 2026-12-02 20:59:57 +00:00
Vincent Koc fc9433d6f9 refactor(mcp): share catalog recorder client setup (#16098) 2026-12-02 20:49:12 +00:00
Vincent Koc d45cb8016a refactor(test): centralize conformance fixture output paths (#16092)
* refactor(test): centralize conformance fixture output paths

* refactor(test): keep compiler launch at its existing boundary
2026-12-02 20:20:34 +00:00
Vincent Koc dfec4a8370 refactor(lint): reuse member property parsing in local rules (#16089) 2026-12-02 20:02:49 +00:00
Vincent Koc eeeb1f43d0 refactor(package): share the update CLI probe (#16085) 2026-12-02 19:46:26 +00:00
Vincent Koc fe64c8571b refactor(tooling): share generated artifact check mode (#16063) 2026-12-02 19:38:25 +00:00
Vincent Koc 3930e84b10 refactor(ci): share changed-path lane ownership lookup (#16058)
* refactor(ci): share changed-path lane ownership lookup

* fix(ci): keep planner documentation on its declaration
2026-12-02 19:31:47 +00:00
Vincent Koc 2aeb51a5f9 refactor(website): share reproducible ZIP member metadata (#16059) 2026-12-02 19:27:45 +00:00
Vincent Koc ac13b8f3a6 refactor(package): reuse the archive membership index (#16083) 2026-12-02 19:25:53 +00:00
Vincent Koc f5e448aa73 refactor(package): reuse the installed PTY capability probe (#16080) 2026-12-02 19:14:23 +00:00
Vincent Koc 88625f0bb3 refactor(website): compare the social preview PNG header directly (#16072) 2026-12-02 18:49:03 +00:00
Vincent Koc 7bf3850b8f refactor(docs): compare translated readme links directly (#16068) 2026-12-02 18:38:08 +00:00
Vincent Koc 24021dbfa4 refactor(website): find shared prose regions once per page (#16065) 2026-12-02 18:22:19 +00:00
Vincent Koc 995f1243e3 refactor(verification): reuse validated CycloneDX document bytes (#16054) 2026-12-02 17:14:08 +00:00
Vincent Koc 22c7535b7e refactor(signals): share UART verifier waveform generation (#16051) 2026-12-02 17:12:28 +00:00
Vincent Koc cf93b37240 refactor(release): share reviewed commit resolution (#16047) 2026-12-02 16:41:42 +00:00
Vincent Koc 07bbaee894 refactor(verification): scan arrow return types in one pass (#16040) 2026-12-02 16:02:07 +00:00
Vincent Koc a05c260559 refactor(verification): collect numeric limit assignments once (#16037) 2026-12-02 15:57:32 +00:00
Vincent Koc 68e1b2c655 refactor(website): share edition tag rewriting (#16028) 2026-12-02 15:21:41 +00:00
Vincent Koc d16747462d refactor(architecture): share module boundary decisions (#16006) 2026-12-02 14:28:44 +00:00
Vincent Koc 480d68b342 refactor(website): share indexable page discovery (#16002) 2026-12-02 14:23:48 +00:00
Vincent Koc 71340a7ab9 refactor(ci): share PR health page scanning (#15994) 2026-12-02 14:13:53 +00:00
Vincent Koc 2f48f57d3a refactor(setup): share packaged terminal verification (#15997) 2026-12-02 14:11:01 +00:00
Vincent Koc c58cc7151c refactor(ci): reuse job timing samples in report totals (#15985) 2026-12-02 13:55:13 +00: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
Vincent Koc cacaefe8f8 refactor(api-contract): share parser heap admission (#15725)
* refactor(api-contract): share parser heap admission

* refactor(errors): centralize measured heap refusals

* test(api-contract): isolate parser heap regression
2026-12-02 01:47:46 +00:00
morluto df081bf7ac ci(test-selection): run every portable test when error classification changes (#15705)
* ci(test-selection): run every portable test when error classification changes

Boundary and acceptance tests pin the code, category and retry class a
refusal reports, but reach src/domain/analysisError* only through the
built CLI or MCP server, so PR selection never picked them. A
classification change (#15588) passed CI and left stale pins that
failed later on unrelated PRs. Treat a change to that owner as
untraceable so the plan falls back to the complete fast suite.

The rule lives in test selection rather than SHARED_BOUNDARY, because
that list also limits lane planning to a single naming lane and would
drop the four lanes that name these files.

* style(ci): format test selection
2026-12-01 20:28:53 -05:00
Beqa 81adf5ff74 fix(contracts): refuse empty enhanced selector strings (#15589)
* fix(contracts): refuse empty enhanced selector strings

Empty get_call_graph, find_xrefs_to_name, trace_call_path, and
batch_decompile selectors were admitted by the schema, so agents could
reach the provider or record empty Evidence. Align them with the shared
min(1) selector rule.

* test(mcp): refresh advertised compact digests for empty selectors

The min(1) admission change updated the compact input schemas for
batch_decompile, find_xrefs_to_name, get_call_graph, and trace_call_path.
Commit the advertised-schema summaries CI printed for those tools.
2026-12-02 09:00:22 +08:00
morluto 61f1dede46 fix(resources)!: refuse Windows names ending in a dot or space (#15653)
* fix(resources)!: refuse Windows names ending in a dot or space

Node writes files through `\\?\` paths on Windows, so a member named
`dir/name.` or `dir/space ` is created literally. Win32 path
normalization drops a trailing dot or space when other programs open
the path, so `dir\name.` reads the bytes of a sibling `dir\name`, and
`dir\space ` cannot be opened. The extraction manifest then records a
digest for a path that ordinary tools resolve to different bytes.

A Windows output tree now refuses any path segment that ends in a dot
or space with DestinationPathUnrepresentableFailure, before creating
the path, using the trailing rule isPortablePathSegment already
applies. The refusal names the cause and the next step. Reserved device
names stay accepted, since Node creates them as ordinary files.

Every writer that materializes target-derived names goes through
SafeOutputTree (extract_artifact, firmware and UEFI publication,
desktop export, environment bundles, recovered JavaScript sources, web
script export), so all of them apply the rule. Web script export
already moves an unrepresentable URL path to its isolated layout.

Fixes #15613

BREAKING CHANGE: On Windows, extract_artifact and other output-tree
writers now refuse a path with a segment ending in a dot or space,
where they used to write it. To extract the rest of such an archive on
Windows, select occurrence_ids that leave those members out, or extract
on a non-Windows host. Web script export on Windows writes such URL
paths under its isolated layout instead.

* ci: run Windows extraction name tests in the curated Windows lane
2026-12-01 19:33:46 -05:00
morluto 925dce1ded fix(pe)!: deliver inspect_pe_imports and inspect_pe_resources within the agent result budget (#15687)
* fix(pe)!: deliver inspect_pe_imports and inspect_pe_resources within the agent result budget

Neither tool had a detail input or a summary view, so their complete
Evidence was always delivered inline: about 200-480 KB of CLI JSON for
stock kernel32.dll, shell32.dll and explorer.exe, and over 1 MB over MCP.

Both now follow the inspect_deb_package pattern. With detail omitted,
complete Evidence is returned when it fits the agent result budget, and
otherwise the retained summary with delivery facts; detail complete always
returns everything, and inspect_analysis_view evidence-json pages the
retained record. The CLI gains --detail and --evidence_output.

The imports summary carries image identity, imphash, coverage with DLL
and function counts, issue/limitation counts and one name/function_count/
delay_load row per DLL, bounded to 16 KiB of rows with an omitted count.
The resources summary carries image identity, the resource directory,
coverage, directory/resource/icon-group counts and resource counts by type
and by language, each bounded to 8 KiB of rows with an omitted count.

The byte-bounded leading-prefix rule extract_artifact's summary used is
now byteBoundedList, shared by the three summaries.

BREAKING CHANGE: inspect_pe_imports and inspect_pe_resources output is now
complete Evidence or, when detail is omitted and the Evidence exceeds the
agent result budget, the inspect_analysis_view summary with delivery facts.
Callers that need the complete record inline pass detail "complete"
(CLI --detail complete); otherwise follow delivery.next.

Fixes #15619

* test(pe): cover byte-bounded lists and named resource identities in summaries

* fix(cli): withhold an over-budget summary answer and print its paging facts

The CLI printed {summary, evidence_bundle, delivery} for over-budget Evidence without measuring it, so a summary larger than a smaller configured agent result budget was printed whole. Like MCP since #15591, the CLI now measures that answer and, when it is over the budget, prints the bundle receipt and the delivery facts marked withheld, whose next call pages the saved Evidence.
2026-12-01 19:32:41 -05:00