Commit Graph
180 Commits
Author SHA1 Message Date
Vincent Koc 89e93e2e9b fix(deps): adapt release tooling and capture metadata to the new npm pins 2026-11-24 16:41:42 +08:00
Vincent Koc 54f6fd4f90 ci: compare frozen selections with observed test failures (#14301) 2026-11-24 08:11:10 +00:00
Vincent Koc e6bf4af1c9 ci: record affected-test predictions above the live cutoff (#14300) 2026-11-24 07:53:03 +00:00
Vincent Koc b8dd2c47d4 ci: wait for static checks before broad PR test shards (#14299)
* ci: validate workflow anchors with actionlint 1.7.12

* ci: wait for static checks before broad PR test shards
2026-11-24 15:38:56 +08:00
Vincent Koc 24f35b4018 ci: measure portable runner time for recorded selection predictions (#14304) 2026-11-24 07:35:41 +00:00
caf5f4e38a fix(ci): use retry start times in PR health reporting (#14085)
* fix(ci): use retry start times in PR health reporting

* test: cover the reviewed CI boundary cases

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-23 10:00:09 -05:00
30b82493ab fix(ci): retain cache generations per restore version (#14084)
* fix(ci): retain cache generations per restore version

* test(ci): align inherited Mach-O assertion with main

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:59:53 -05:00
ShuaixinHuangandShuaixinHuang 9e24673620 fix(ci): trace test dependencies through static template imports (#14079)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:23:04 -05:00
ShuaixinHuangandShuaixinHuang bc19c8d21f fix(ci): bind timing evidence to its workflow attempt (#14080)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-23 09:20:55 -05:00
morluto 313f2f8372 fix(ci): run type-aware lint on changed files in fast PRs (#14068) 2026-11-23 12:57:36 +00:00
morluto 5817ebb288 fix(ci): close static-check cache gaps and prune stale settings (#14017)
* fix(ci): close static-check cache gaps and prune stale settings

* chore(ci): remove unused Actionlint runner label
2026-11-23 01:11:58 -05:00
morluto 4fdacbf982 fix(ci): track configuration inputs across cached checks (#14015) 2026-11-23 01:03:08 -05:00
morluto b565f787cb refactor(cli/server): break remaining module-layer cycles (#14013)
* refactor(cli,server): break remaining module-layer cycles

* fix(ci): follow relocated CLI entry points

* refactor: remove retired internal reader exports
2026-11-23 00:58:01 -05:00
morluto 209bee0bf3 refactor(server): extract browser, Electron, and JavaScript runtime tool bindings (#13939)
* refactor(server): extract browser, Electron, and JavaScript runtime tool bindings

* test(ci): select browser checks for extracted bindings
2026-11-23 04:35:03 +00:00
morluto 7f939d7508 refactor(server): extract debugger and instrumentation tool bindings (#13909)
* refactor(server): extract debugger and instrumentation tool bindings

* test(server): track extracted debugger bindings in reverse tools coverage

* fix(cli): defer artifact AnalysisView loading until requested

(cherry picked from commit e58fda3f26)
2026-11-23 03:55:43 +00:00
morluto cc5df28644 refactor: prune 5 redundant single-call wrapper modules (#13807)
* refactor: prune 5 redundant single-call wrapper modules

* chore(ci): remove deleted providerEnvironment.ts from Stryker and CI scope configs

* fix(ci): retarget provider environment mutation coverage
2026-11-23 02:25:46 +00:00
morluto 3843fb2dd0 refactor(composition): prune binaryDiagnostics re-export barrel and migrate callers (#13839)
Closes #13838
2026-11-22 20:41:11 -05:00
Jaws 60dfeec745 fix(ci): read portable build plan from a file instead of a pipe (#13456)
* fix(ci): read portable build plan from a file instead of a pipe

Write the Turbo dry plan to .cache/ci-build-plan.json, then have key
and snapshot read that complete file by path. This removes the live
stdin pipe from the portable-build-cache plan step.

* fix(ci): clear stale portable build output when the plan file is missing

If readFile fails, still remove the previous key plan or snapshot so a
missing or unreadable input cannot leave stale output for later steps.
2026-11-22 15:51:20 -05:00
morluto 07df0f1c04 fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors (#13447)
* fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors

* style(tests): format POSIX observation polling

* fix(ci): pass REA_OXLINT_THREADS and GITHUB_ACTIONS through Turbo lint and format
2026-11-22 15:48:48 +00:00
gensokyo-devandgensokyo-dev 5d136df3ce ci(apple): run the bundle executable provenance regression on macOS
The CLI/MCP regression is skipped off darwin, and no macOS job listed it,
so CI never exercised the provenance it covers. Add it to the Apple
artifact lane and its owned paths.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 15:41:50 +08:00
morluto d6c4776e65 fix(setup): unify OpenCode layer resolution and alias ownership (#13226) 2026-11-22 01:35:37 +00:00
morluto 329510a5e1 test(resources): consolidate output publication coverage (#12938)
* test(resources): consolidate output publication coverage

* test(ci): retain output publication in the Windows lane
2026-11-20 22:44:28 +00:00
morluto 41fc470072 fix(ci): verify packaged Agent Environment bridges (#12874)
* test(agentenv): observe timeout before polling a pending run

* test(agentenv): verify bridge files at package boundary
2026-11-20 16:06:14 +00:00
morluto 75fe508eb4 fix(ci): select coverage guards for modified test registrations (#12860) 2026-11-20 15:20:32 +00:00
morluto ad2b34ca9b ci(release): preserve unpublished versions and verify npm before tagging (#12770)
* ci(release): require full qualification before tagging

* ci(release): preserve unpublished versions and verify npm before tagging

* test(release): exercise publication gates on both release routes

* fix(release): fetch the live main checkpoint before verifying it

* fix(release): constrain GitHub requests and workflow output

* fix(release): honor GitHub label and recovery API contracts
2026-11-20 12:08:59 +00:00
RRFZ 196f3a47b2 perf(ci): run Windows package verification alongside capability tests (#12588)
* perf(ci): run Windows package verification alongside capability tests

* fix(ci): verify the Windows cache writer on selected PRs
2026-11-19 19:18:21 -05:00
679586b1c2 fix(ci): continue qualification lookup past unavailable runs (#12414)
* fix(ci): continue qualification lookup past unavailable runs

* test(ci): align inherited Mach-O assertion with main

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 22:59:09 +00:00
a035813e55 fix(ci): bind timing history to the verified workflow source (#12555)
* fix(ci): bind timing history to the verified workflow source

* test(ci): reject timing history without valid commit lineage

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 22:56:52 +00:00
762909f72c fix(ci): verify completed workflow identity for push baselines (#12423)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 20:20:12 +00:00
d00c45624a fix(ci): stabilize cache pagination against concurrent restores (#12426)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 20:19:54 +00:00
2206984be2 fix(ci): preserve all cases in selected test shards (#12425)
* fix(ci): keep test-name filters out of selected shards

* fix(ci): reject parsed name filters in selected test shards

* fix(ci): reject parsed tag filters in selected test shards

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 20:09:12 +00:00
e79e57552f fix(ci): require passing provider test files (#12424)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 20:04:50 +00:00
5094c38152 fix(ci): require coverage for each changed shared script module (#12417)
* fix(ci): require coverage for each changed shared script module

* test(ci): align inherited Mach-O assertion with main

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 19:59:35 +00:00
8216326baa fix(ci): reject incomplete workflow job timing inventories (#12428)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 19:58:54 +00:00
morluto 93f4c3749f fix(ci): select the managed pointer integration tests for row changes (#12486) 2026-11-19 19:31:54 +00:00
morlutoandCursor Agent c949702e44 fix(release): validate registry pages and release references at their boundaries (#12452)
* fix(release): validate registry pages and release references at their boundaries

* fix(release): compare migration footers as Markdown blocks

* fix(release): preserve literal migration blocks in checkpoint validation

* fix(release): retain raw HTML migration blocks

* style(release): format migration block wording

* fix(release): preserve migration link destinations

* fix(release): match migration links by label position

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-19 19:31:01 +00:00
morluto a363346949 refactor(ci): share bounded hosted package acquisition (#12407) 2026-11-19 17:52:29 +00:00
ShuaixinHuangandShuaixinHuang a90278daf7 fix(ci): exclude skipped steps from job timing samples (#12385)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:33:05 -05:00
ShuaixinHuangandShuaixinHuang 947ff63602 fix(ci): retain Turbo cache generations per Git ref (#12381)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:32:51 -05:00
morluto aa87d427c0 fix(ci): verify dependency inventory on lockfile changes (#12389) 2026-11-19 10:08:25 -05:00
ShuaixinHuangandShuaixinHuang dc108133b0 ci: recover older successful test timing history (#12370)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 14:29:09 +00:00
f06c51a82a ci: reject merged test reports that do not confirm success (#12367)
* ci: reject merged test reports that do not confirm success

* test(ci): assert merged report rejection by outcome

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 14:26:58 +00:00
ShuaixinHuangandShuaixinHuang f6c04b74f3 ci(sigrok): use the shared Ubuntu archive setup (#12359)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 13:52:27 +00:00
ShuaixinHuang fedf33eb59 fix(ci): preserve line breaks in Git blob paths (#12227) 2026-11-19 06:34:57 -05:00
ShuaixinHuang 845e72ea5a fix(ci): reject malformed cache retention timestamps (#12215) 2026-11-19 06:34:31 -05:00
ShuaixinHuangandmorluto 8045010f28 fix(ci): count named artifact transfers in job timings (#12253)
* fix(ci): count named artifact transfers in job timings

* fix(ci): cover named artifact timings against their workflows

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 11:30:11 +00:00
ShuaixinHuang f7534b10c0 fix(ci): continue after an unreadable timing history candidate (#12245) 2026-11-19 06:14:40 -05:00
morluto 0b1ab37a33 fix(website): share authored skill manifest validation (#12155)
* fix(website): share authored skill manifest validation

Fixes #12127

* test(skill): supply valid authored manifest descriptions
2026-11-19 03:58:03 +00:00
Akshad Jogiandmorluto ae25050dff feat(native): surface inferred prototype instruction conflicts (#8161)
* feat(native): surface inferred prototype instruction conflicts

- Add evidence-backed x86-32 stack-read and stdcall cleanup diagnostics in ReaGhidraBridge.java without rewriting signatures or function bodies.

- Carry prototype conflicts through native API schemas, analysis summaries and retained dossier views so CLI and MCP share the observations.

- Update Ghidra analysis profile digests, documentation and MCP boundary tests for the new diagnostic contract.

* fix(native): follow framed paths and retain zero cleanup conflicts

- Traverse decoded entry-frame paths in ReaGhidraBridge.java instead of stopping at an address-ordered early return, so later reachable reads remain visible.

- Detect explicit, implicit and partial EBP writes and use decoded operands with p-code loads, preventing stale-frame warnings and recognizing real Ghidra stack reads.

- Compare immediate return cleanup with inferred stdcall stack bytes even when either side is zero, and allow zero in the native API contract.

- Add real Ghidra instruction probes and MCP/CI regressions for the reported cases and document the bounded checks.

* fix(native): attribute frame reads before register writes

- Check a decoded stack read before invalidating EBP in ReaGhidraBridge.java so instructions that read and replace the frame still report the conflict.

- Match each candidate operand's address p-code to its LOAD pointer so a POP from ESP into an EBP destination cannot masquerade as an argument read.

- Cover both decoded instruction cases in ReaPrototypeConflictProbe.java and await verifier-owned scratch cleanup on success and failure.

* fix(ghidra): recompute raw profile digests after rebase

- Recompute the 6502 and disabled-analyzer raw-binary profile digests in GhidraRawProfileDigest.test.ts so the pinned values commit to the merged shared policy on current main.

* fix(native): locate the entry frame by address and own verifier cleanup

- Find PUSH EBP; MOV EBP, ESP from the function entry address in ReaGhidraBridge.java so an owned block below the entry cannot hide a reachable argument read.

- Run analyzeHeadless in its own process group and stop that group before removing scratch in verify-ghidra-prototype-conflicts.mjs, so the JVM and decompiler children are addressed as one owned family.

- Cover the lower-owned-block case in ReaPrototypeConflictProbe.java with an entry frame preceded by a decoded lower block.

* fix(native): size prototype fixture and own Ghidra cleanup

- Allocate the instruction fixture through the lower-block offset in verify-ghidra-prototype-conflicts.mjs so the entry frame and decoded block exist for the probe.

- Check the detached process group instead of the leader exit code before cleaning up, so lingering decompiler children receive SIGTERM and SIGKILL before scratch removal.

* fix(native): own Ghidra probe cleanup with shared process owner

- Use REA's ProviderProcessSupervisor and token-verified cleanup in verify-ghidra-prototype-conflicts.mjs so the JVM and descendants are stopped before scratch removal, including failed launches.

- Preserve the source-owned x86 fixture with an entry frame and lower block while asserting verified cleanup.

- Build the pinned verifier dependency graph in the Ghidra bridge CI job and extend its timeout before running the real probe.

* fix(native): end verifier waits on interrupt before cleanup

- Install SIGINT and SIGTERM handlers before spawning Ghidra and abort the wait, so Ctrl-C no longer leaves the detached process group running.

- Keep cleanup handlers installed until the shared process owner reports verified cleanup, then remove scratch only after the process family is stopped.

* fix(native): preserve verifier cleanup interruption errors

- Keep interrupt handlers installed through process cleanup and workspace deletion, then check cancellation before reporting success.

- Preserve and report the failing cleanup step instead of replacing it with an interruption or deleting a tree that may still be unsafe.

* fix(native): retain probe failures across verifier cleanup

- Record the probe error before cleanup so a late SIGINT or SIGTERM cannot replace its stack and captured Ghidra diagnostics.

- Prefer the earlier probe failure when cleanup also fails, while preserving cleanup diagnostics and temporary state for diagnosis.

* test(kuna): raise caller matrix verifier budget for parallel CI

- The multi-target verifier spawn used a 10s timeout while sibling verifier cases use 25s.

- Under 8-way sharded CI load this intermittently exceeded 10s and produced ETIMEDOUT, failing shard 1/8 and portable tests.

- Raise to 30s to match the existing verifier budget and avoid load flakes.

* ci: retrigger checks after transient Ghidra SDK download 403

- The ghidra_bridge lane failed in upstream's untouched SDK acquisition step: curl returned 403 with 0 bytes downloaded in 0.046s from the GitHub release CDN.

- Push an empty commit to start a fresh run because rerunning on the upstream repository requires admin rights.

* fix(native): keep the cleanup lease on combined verifier failures

- Run the prototype-conflict probe through withVerifierFixture so a probe failure and a failed release surface as one AggregateError that keeps the probe error as its cause and attaches the retained fixture as cleanupLeases, instead of throwing the probe error alone and dropping the cleanup owner.

- Report the failed cleanup step and retained project only when the fixture was not released, and keep interrupt handlers installed until release finishes.

* test(native): use shared MCP prototype test deadlines

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 01:55:13 +00:00
morluto b60836a157 ci: retire the automated PR readiness check (#12095)
* ci: retire the automated PR readiness check

* ci: remove the retired readiness module declaration
2026-11-18 15:27:23 -05:00