Commit Graph
3186 Commits
Author SHA1 Message Date
morluto 7537f37c85 docs(readme): add follow on X community card 2026-11-30 09:53:48 -05:00
ThejeshandVincent Koc aeca62b117 fix(javascript): recover webpack chunks with array module tables (#13829)
* fix(javascript): recover webpack chunks with array module tables

Webpack writes a chunk's module table as a sparse array when numeric
module ids are dense (webpack 5 moduleIds natural/size, webpack 4
production builds), and webpack 4 registers chunks on webpackJsonp.
Chunk registration accepted only object tables and *Chunk* globals, so
these chunks recovered no modules while coverage stayed complete.

Read object, sparse-array and Array(n).concat([...]) tables through one
moduleTableEntries helper (index plus offset is the module id) and
recognize webpackJsonp as a chunk runtime.

* fix(javascript): mark webpackJsonp chunks as webpack vendor

A minified webpack 4 chunk whose factories never spell
__webpack_require__ now yields a webpackJsonp registration with
bundler "webpack", but detectVendors matched only __webpack_require__
and webpackChunk, so the same file reported no webpack vendor and the
artifact graph's vendor_markers stayed empty.

Add webpackJsonp to the webpack vendor markers, next to webpackChunk,
so the marker and the chunk-runtime classification agree. This also
covers the not-examined path, which reports vendors without
registrations.

* fix(javascript): validate intrinsic array module table offsets

* fix(javascript): guard inherited array slots in table recovery

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 22:52:55 +08:00
morluto e13607beb4 docs(readme): add REA logo 2026-11-30 09:47:03 -05:00
ShuaixinHuangandVincent Koc bd6ff678c4 feat(artifacts): inventory standalone Unix ar archives offline (#15224)
* feat(artifacts): inventory standalone Unix ar archives offline

* test(artifacts): align standalone ar assertions and comparison docs

* fix(artifacts): preserve ar names, admission and permission uncertainty

* chore(contracts): refresh ar admission schema summaries

* fix(artifacts): handle GNU thin references and exact name budgets

* perf(artifacts): cache ar name-table observations

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 22:46:35 +08:00
ShuaixinHuangandShuaixinHuang 4886a406f9 fix(release): recover verified versions after npm advances (#15234)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 22:39:39 +08:00
clyde 490461938b fix(update): drain output after progress destination closes (#4894)
* fix(update): bound package-manager output collection

* fix(update): drain output after progress destination closes

* test(update): use shared progress test deadlines
2026-11-30 22:35:24 +08:00
Adolanium 9d5c5f687d fix(process): accept legal characters in Windows batch paths (#15128)
* fix(process): quote Windows batch operators cmd.exe keeps literal

cmd.exe with delayed expansion off keeps & | < > ( ) ^ ! literal inside quotes. Empty tokens and %name% spans are still refused, including when that name is unset, because the child environment can define it.

* fix(process): report a refused batch path as invalid configuration

A percent expansion or an unusable COMSPEC is configuration_invalid. Packet capture does not append the Wireshark install remediation, and an apktool decode does not report a capability gap.

* fix(process): refuse percent spans joined across batch tokens

cmd.exe expands a percent span on the joined command line. Tokens that
are legal alone are refused when joining them forms a span. The spawn
regression kills its child if that child is still running after 10 seconds.

* test(process): include the Windows batch regression in CI

The curated Windows lane now runs WindowsBatchCommand.test.ts.

* fix(domain): preserve a configuration error's caller message

ConfigurationError accepted userMessage and dropped it, so the public
projection replaced the caller text with the generic doctor sentence.
The constructor now stores that message.

* fix(pcap): keep a batch refusal in the public configuration message

A Windows batch refusal stays in the configuration error the caller
sees, including the refused path and the percent-expansion reason.

* fix(apktool): report a decode batch refusal as invalid configuration

Inspection still reports not_configured. Decoding reports
configuration_invalid and names the launcher that cmd.exe cannot receive.
A percent span that appears only after the quoted tokens are joined is
refused the same way.

* test(process): own the Windows batch regression in the package lane

The curated Windows job already runs WindowsBatchCommand.test.ts. The package scope did not name that file, so the lane ownership check reported it as unowned.
2026-11-30 22:28:54 +08:00
Lucien b0a910b8f4 fix(update): report Frida native module readiness (#7216)
fix(update): report Frida readiness after verified updates
2026-11-30 22:26:52 +08:00
Vincent Koc 220374038b fix(ghidra): explain Windows P0 database edit limits (#15225)
* fix(ghidra): explain Windows P0 database edit limits

Fixes #15153.

* test(ghidra): narrow unavailable capability before checking recovery

* test(ghidra): distinguish mutation guidance from readiness repair
2026-11-30 20:59:49 +08:00
星闌andCodex 17940852ed fix(javascript): scope candidate this event receivers (#4656)
* fix(javascript): scope candidate this event receivers

Preserve lexical receiver scopes and possible local inheritance links without asserting runtime this identity. Keep decorator evaluation outside method receiver and callable boundaries.

Fixes #3360

AI-assisted implementation and verification with OpenAI Codex; human PR ownership and readiness remain unfilled.

* fix(javascript): retain receivers through type wrappers

Reuse the canonical expression normalizer to preserve object function receiver identity through transparent wrappers. Keep arrows, computed keys and non-transparent expressions separate. AI-assisted implementation and verification with OpenAI Codex.

* fix(javascript): retain enclosing receivers for computed keys

Apply the existing computed-method-key evaluation boundary before non-arrow receiver selection. Cover object method keys and bodies through semantic IR and CLI/MCP regressions.

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-30 20:36:33 +08:00
AfloatandVincent Koc 748537728f fix(audit): preserve env shebang argument ownership (#14075)
* fix(audit): preserve env shebang argument ownership

* fix(config): consume env argv0 operands in shebangs

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 20:25:42 +08:00
2SinceJuly aea385cda1 feat(evtx): inventory Windows event log records offline
Inventory EVTX file, chunk and record headers with source-scoped identities, full timestamp precision and explicit partial coverage. Discover the reader from first-contact inspection.

Refs #9174.
2026-11-30 20:25:14 +08:00
ChiragandVincent Koc d840860bd7 feat(mcp): advertise each tool's family in tools/list _meta (#7154)
* feat(mcp): advertise each tool's family in tools/list _meta

Clients that index a large catalog lazily had to guess each REA tool's
group from its name. Every tools/list entry now carries the contract's
adapter family under the vendor-prefixed _meta key
"io.github.morluto/rea", attached once at the contract-to-registration
boundary. The recorded catalog replays it unchanged on the deferred path.

No tool is hidden or renamed and input schemas are unchanged.

Closes #6870

* refactor(mcp): advertise the selectable family id in tools/list _meta

Since #7228 the contract-owned family inventory gives every tool one
selectable id, the vocabulary REA_MCP_TOOL_FAMILIES accepts. Advertise
that id instead of the adapter kind so clients can map an advertised tool
back to the scope that enables it.

* fix(mcp): omit family metadata for contracts outside the inventory

Renamed test fixtures have no published family; advertise nothing for
them instead of throwing. Drop the docs claim that a family move changes
the catalog digest, since the digest hashes the adapter kind.

* docs(mcp): scope family _meta promise to domain tools; pin catalog env in test

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:58:25 +08:00
SandivandVincent Koc f5055cd2ed fix(process): report denied inspection as typed cleanup failures (#9261)
* fix(process): report denied inspection as typed cleanup failures

Preserve the native ps diagnostic through owned-worker cleanup and finalize one-shot JavaScript analysis before Evidence delivery. Retain mandatory inspection and existing cleanup authority.

Preserve the inspector diagnostic when the initial process-table read succeeds but pre-signal revalidation fails, and remove the unreachable typed-error branch so retained artifact retry failures project through the existing cleanup contract.

* fix(resources): preserve independent close failure ownership

* fix(cli): retain cleanup recovery and nested close evidence

* refactor(providers): classify rejected closes at the shared boundary

* test(cli): preserve bundle metadata and physical inspection failures

* fix(cli): preserve the JavaScript failure envelope after finalization

* test(cli): validate the JavaScript error envelope at its boundary

* fix(providers): preserve unnamed close failure resources

* fix(cli): retain invocation owners through outer cleanup

* test(cli): distinguish reported cleanup failures from uncaught errors

* fix(cli): compose each runtime’s declared cleanup owners

* test(cli): preserve the original cleanup rejection

* test(cli): allow cleanup retry recovery after a reported failure

* fix(cli): report final cleanup after returned results

* fix(cli): preserve launcher executable mode

* test(cli): retain invocation cleanup in file sessions

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:38:45 +08:00
6af7a04dd9 perf(png): reuse scanline storage in screenshot comparisons (#15215)
perf(png): reuse inflated scanline storage in screenshot comparisons

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 19:25:10 +08:00
a5aee4f9e9 feat(artifacts): inventory Android super image metadata (#14928)
* feat(artifacts): inventory Android super image metadata

Refs #14391

* fix(artifacts): preserve partial Android super metadata evidence

* fix(artifacts): recognize Android super PE overlays

Refs #14928

* fix(artifacts): reject an Android super device with no usable sector

A first usable sector at the device size was accepted, so extent checks
reported a different field. Keep stored copy failures to malformed,
truncated, and unsupported now that format failures include unrecognized.

* fix(artifacts): preserve Android super partial evidence on budget exhaustion

* fix(mcp): preserve existing provider partial observation contracts

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-30 06:15:43 -05:00
hhangandhhang d6c767b3f8 fix(artifacts): check signed BC4 and BC5 DDS payload extents (#15208)
fix(artifacts): verify legacy signed BC4 and BC5 DDS payload extents

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 18:54:30 +08:00
hhangandhhang 177e26effb fix(artifacts): bound embedded GLB images by the declared buffer length (#15207)
fix(artifacts): bound GLB embedded images by their declared buffer

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 18:54:08 +08:00
2f01f653ce fix(tar): account for retained pax owner names (#15195)
* fix(tar): account for retained pax owner names

* test(tar): cover retained names across global replacements

* test(tar): narrow owner metadata to its format

* test(tar): use the measured retained metadata boundary

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 18:06:03 +08:00
ShuaixinHuangandShuaixinHuang 358e4e52ad feat(iso9660): stream files across separated extents (#15190)
* feat(iso9660): stream files across separated extents

* test(iso9660): compare extracted buffers directly

* fix(iso9660): keep separated read plans private

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 17:50:09 +08:00
c91c504089 fix(nro): exclude ASET header bytes from asset ranges (#15185)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:11:44 +08:00
6ea03cd5c3 fix(bflt): reject relocation tables overlapping image segments (#15188)
* fix(bflt): reject relocation ranges before data

* docs(bflt): clarify unavailable relocation counts

* fix(bflt): reject relocation tables overlapping initialized data

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 17:04:19 +08:00
Vincent Koc 11c8de1bc1 docs(artifacts): document Kubernetes audit log inventory (#15187)
docs(artifacts): explain Kubernetes audit log inventory
2026-11-30 16:51:06 +08:00
5c3c1edd72 fix(dtbo): keep coverage unknown beyond the declared image (#15182)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:47:52 +08:00
e98a1e66ef fix(oci)!: keep unobserved directory identity unknown (#15164)
* fix(oci)!: keep unobserved directory identity unknown

BREAKING CHANGE: OCI layout Evidence now reports an unknown subject. The selected path and layout-document snapshot digest are available in normalized_result.artifact.

* fix(evidence): keep desktop directory content identity unknown

* fix(evidence): admit legacy desktop directory subjects

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:42:34 +08:00
6053481d47 fix(nds): bind file names to disjoint FNT subtables (#15178)
* fix(nds): bind file names to disjoint FNT subtables

* test(nds): cover FNT subtable boundaries and recovery

* fix(nds): retain reached directories with unusable names

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:29:51 +08:00
c86e86d697 fix(artifacts): retain stored files in Godot PCK patches (#15180)
* fix(artifacts): retain stored files in Godot PCK patches

* docs(godot): distinguish stored member flags from removals

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:12:48 +08:00
92c61a7c61 fix(setup): do not persist versioned launcher paths (#15123)
* fix(setup): do not persist versioned launcher paths

A command saved from nvm, Volta, Homebrew Cellar, mise, or a package cache stops launching after an upgrade or prune, and doctor then treats that registration as foreign.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): recognize default nvm installation layouts

The usual POSIX install is ~/.nvm/versions/node, and nvm-windows stores each release in nvm\v<version>. Both were still saved, and the launcher guide still told setup to keep a cache path.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep durable Windows and mise launcher paths

Default Windows Volta and pnpm dlx stores were still persisted, and mise's stable latest alias was dropped before the Aube launcher could use it.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): keep a mise shim when Node itself is versioned

A versioned running runtime was rejected before a durable Node alias could be selected, and fnm's installed tree was still saved. Doctor now tells version-manager and package-cache paths apart from a session directory.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): reject versioned aube store targets and align install routes

Reject version-tagged node_modules/.mise store targets beneath mise latest aliases (while keeping verified outer Aube shims), reject asdf/nodenv/nvs/nix/snap versioned paths, fix the nvm-sensitive Windows runtime assertion in setupLauncherAlias tests, and align installation docs, install.sh, and getting-started guidance with durable-path registration.

* fix(setup): recognize custom manager env roots and align onboarding docs

Pass environment through versionedLauncherPath and transientLauncherRemediation so custom version-manager env roots are classified accurately while preserving fnm_multishells as a session path; fix Windows PowerShell rea.cmd and Linux PATH persistence in get-started; align remaining setup quick starts and affected setup acceptance/boundary tests.

* fix(setup): reject session paths and configured package caches

Windows fnm session directories and custom npm or Bun cache roots were still eligible for client registration. Quick starts now require a durable Node install, and the website setup copy no longer uses a PowerShell-invalid command chain.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(setup): resolve configured launcher roots

* docs(setup): align persistent launcher prerequisites

* docs(setup): persist paths in Bash login profiles

* fix(setup): name the missing saved launcher path

* fix(setup): reject Bunx execution-cache launchers

* docs(setup): add writable npm prefix prerequisite

* style(website): format prefix prerequisites

* chore(website): format setup introduction

---------

Co-authored-by: Ambuj Agrawal <aseachambuj@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:10:33 +08:00
Vinícius AndradeandVincent Koc eb5cd34258 fix(devicetree): read later FDT versions backwards compatible with v17 (#14136)
* fix(devicetree): read later FDT versions backwards compatible with v17

The header reader admitted only versions 16 and 17 and consulted
last_comp_version only to reject a value above the version. DTSpec 5.1
requires a client to accept any version backwards compatible with
version 17, and libfdt reads such a blob with the version 17 header.

Admit a later version whose last_comp_version is 17 or lower and read it
with the version 17 layout, reporting the declared version. A later
version that needs a newer reader and any version below 16 stay
unsupported, and v16 and v17 outcomes are unchanged. FIT recognition
shares the reader, so it now claims a FIT in such a version as well.

* test(devicetree): cover a later FDT version backwards compatible with v17

Parse the shared fixture with version 18 and last_comp_version 16: the
header is read with the version 17 layout and the tree decodes as it
does for v17. Raising last_comp_version to 18 keeps the blob
unsupported. FIT recognition, which shares the header reader, covers
the same version.

On the previous reader the version 18 parse and the version 18 FIT
recognition fail, because version 18 was refused before
last_comp_version was read.

* docs(devicetree): describe later FDT versions backwards compatible with v17

* test(devicetree): keep the unsupported-version cases on an incompatible header

The CLI and MCP error cases used version 18 as an arbitrary unsupported
version, but their fixture declares last_comp_version 16, which is now
read as a version 17 blob. Declare last_comp_version 18 there so both
cases still reach unsupported_target through the public paths.

The shared fixture takes the declared compatibility version for this,
and the parser case uses it instead of patching the header word.

* test(devicetree): cover compatible versions through CLI and MCP

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 16:02:58 +08:00
e18ed55bac fix(artifacts): report macOS package bundle release versions (#14860)
Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 15:29:10 +08:00
ShuaixinHuangandShuaixinHuang 9ab90fd7f0 fix(ubi): bound smaller-grid probe memoization (#15168)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:12:41 +08:00
ShuaixinHuangandShuaixinHuang 309712cd0f fix(bflt): retain complete text when data is truncated (#15160)
* fix(bflt): retain complete text when data is truncated

* docs(bflt): describe text recovery from short images

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 15:03:28 +08:00
Vinícius AndradeandVincent Koc 244147a2a0 fix(iso9660): read a directory record's data length from its little-endian half (#14801)
* refactor(iso9660): read both-endian halves through one helper

Split the half reading out of readBothEndian, and name the failure it
raises, so a caller can keep a disagreeing big-endian copy or raise the
same failure itself. The agreement check and its failure are unchanged.

* fix(iso9660): read a directory record's data length from its little-endian half

One directory record whose big-endian data_length copy differed from its
little-endian half refused the whole image as malformed, wherever the
record sat in the tree, so no member was inventoried. Linux isofs,
libarchive and pycdlib read only the little-endian half of a record's
data length, because mastering programs have written images whose
big-endian copy is wrong.

Records inside directory extents now use the little-endian half and keep
a disagreeing copy, which the entry reports as a limitation with both
values. A descriptor's own root record still requires both halves to
agree, as libarchive does, and every other both-endian field keeps its
agreement check.

The boundary case that pinned the refusal now lists the file or the
directory by its little-endian length and reads the rest of the tree.

* test(iso9660): keep descriptor root records strict about data length halves

A primary or Joliet descriptor whose root record stores a big-endian
data length copy that differs from its little-endian half stays
malformed at that field, so the little-endian reading of records inside
directory extents does not reach the descriptors.

* docs(iso9660): describe the little-endian data length of directory records

* test(iso9660): name each disagreeing section of a multi-extent file

Damage the big-endian data length copy of both sections of a contiguous
multi-extent file followed by a clean file. The file keeps its summed
little-endian size and verified hash, and its entry names both records
with their own values, in section order. The next file carries no
disagreement, so the per-member list is neither lost between sections
nor carried into the following member.

* test(iso9660): print the section limitation filter as an expanded chain

The formatter prints the three-group chain in the multi-extent case,
rows.get(path)?.limitations.filter(...), one member per line when it
does not fit on one line. The previous commit kept it on one line, which
failed format:check.

* fix(iso): retain directory-link length disagreements

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-30 14:37:39 +08:00
Vinícius Andrade 72b74f090f fix(iso9660): read a directory record whose identifier padding byte is not zero (#15020)
* fix(iso9660): read a directory record whose identifier padding byte is not zero

A record whose even-length identifier was followed by a nonzero padding
byte failed as malformed, and the walk ended the whole inventory on it.
The byte takes no part in decoding: Linux isofs, libarchive, pycdlib and
7-Zip step over it, and 7-Zip notes that some discs store another value
there.

The value is no longer checked. A record too short to hold the padding
byte stays malformed.

* test(iso9660): read a nonzero identifier padding byte in the Joliet tree

Joliet identifiers are UCS-2, so every file and directory record in
that tree has the padding byte. The case now damages the record of the
tree the reader walks and checks that tree was the one listed.

* docs(iso9660): describe the unchecked identifier padding byte
2026-11-30 13:38:38 +08:00
hhangandhhang 0fd18dfc95 fix(artifacts): read Ogg Opus channel mapping tables (#14975)
Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
2026-11-30 13:27:12 +08:00
Tristan 52b3358f7e fix(limits): report details.limit for pyc budget refusals (#14386)
* fix(limits): report details.limit for pyc budget refusals

Rebased onto main; the devicetree and NuGet parts were dropped here (landed via #14622 and #14629). This commit now carries only the pyc part.

Refusals of the per-call budgets on inspect_devicetree, inspect_nuget_nupkg
and inspect_python_pyc carried recovery only in remediation prose. Each
owner now keeps one bounds object that feeds both its input schema and a
structured details.limit (parameter, effective value, unit, range, default).

A pyc limit that depends on max_objects and max_depth together reports
related_parameters instead of a single range. The fixed decoded devicetree
allowance is reported as a fixed ceiling and registered as pending.

Refs #14234

* test(python): expect field-only pyc recovery text and the CLI limit flag
2026-11-30 13:18:51 +08:00
HolyDEEW 5e51d46a31 docs(setup): explain one-off CLI use without MCP registration (#14973)
* docs(setup): explain one-off CLI use without MCP registration

* docs(setup): put package-runner trust requirement beside CLI example
2026-11-30 13:07:04 +08:00
ShuaixinHuangandShuaixinHuang 18dfe17425 fix(android-ota): report bytes beyond the declared payload (#15113)
* fix(android-ota): report bytes beyond the declared payload

* test(android-ota): exercise an unsigned payload suffix

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-30 13:06:16 +08:00
morlutoandgithub-actions[bot] fc6867c514 chore(main): release rea-agents 7.0.0 (#15143)
* chore(main): release rea-agents 6.11.0

* chore(release): finalize REA 7.0.0 notes and metadata

* chore(release): format the 7.0.0 contribution inventory

* docs(release): highlight firmware and embedded CPU support

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-29 23:07:05 -05:00
morluto cb7627efea fix(release): advance the GitHub Actions example pin with the package (#15144) 2026-11-29 22:26:53 -05:00
Saim Shafiqueandmorluto 2ce4471c9f fix(setup): honor KIRO_HOME for the Kiro user configuration (#15056)
* fix(setup): honor KIRO_HOME for the Kiro user configuration

* fix(setup): fall back when KIRO_HOME is any filesystem root

The ancestor check compared the selected root against home with
path.relative, which returns an absolute path across drives, so a
KIRO_HOME of D:\ or a UNC share root was accepted while Kiro itself
falls back to ~/.kiro. Check the selected path against its own root
separately, and document the override in the client configuration
guide.

* test(setup): clear KIRO_HOME from lifecycle test environments

The client-location scrubber omitted KIRO_HOME, so lifecycle tests
calling supportedClients/detectClients and systemUninstallHost with
the default process.env could resolve a runner-exported KIRO_HOME
outside their temporary home and touch the real Kiro registration.

* fix(setup): resolve Kiro home aliases before selecting a profile

* refactor(setup): use the captured host platform for Kiro path checks

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-29 22:01:03 -05:00
Aditya Mahajanandmorluto 8306fba960 fix(ghidra): list compatible installed JDKs in doctor remediation (#15099)
* fix(ghidra): list compatible installed JDKs in doctor remediation

* refactor(ghidra): derive doctor JDK candidates from installation admission

Candidate discovery now consumes the installation's parsed Java
requirement, its Java-side admission (bounds, 64-bit JDK, and the
os.name/os.arch native directory), its bounded probe environment, and
its PATH and Homebrew enumeration instead of re-deriving them.

- Expose javaRequirement on the installation inspection; doctor read a
  field that did not exist, so discovery never ran.
- Search only when configuration passed and the Java probe failed.
- Enumerate macOS JavaVirtualMachines roots instead of running
  java_home, removing the unowned listing subprocess.
- Add PATH launchers on every platform, including Windows java.exe.
- Filter Homebrew formulae before selection and drop the fixed entry
  and probe caps; realpath deduplication bounds probes by distinct JDKs.
- Propagate cancellation from aborted searches and failed probes.
- Report candidates as structured compatible_jdks details.

* refactor(ghidra): share installation discovery seams with JDK candidates

* refactor(ghidra): name discovered JDKs as the Java remediation

When doctor finds compatible JDKs, the remediation names them instead of
appending them to the generic selection advice. Document the search and
details.compatible_jdks.

* refactor(ghidra): split installation inspection into owned modules

GhidraInstallation.ts gathers installation facts; the judgments and
helpers move to their owners:

- GhidraInstallationChecks: configuration, version, headless, native
  decompiler, and Java checks and their remediation.
- GhidraJavaSelection: JVM selection, probing, and Homebrew fallback,
  extracted from installationCoordinates, plus the Java helpers that
  JDK discovery shares.
- GhidraNativePlatform: native directory tables, decompiler header
  assessment, and JVM os.name/os.arch mapping.
- GhidraInstallationPathDiscovery: Ghidra launcher discovery on PATH.
- GhidraExecutableHeaderProbe now lives with its producer.

Java selection resolves the PATH launcher on every platform, so the
installation records the absolute command it probed. JDK discovery
then recognises it and does not launch the same Linux JVM twice.

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-30 02:35:29 +00:00
Oke Iyanuoluwa Enochandmorluto 7e71400a7c fix(setup): read Devin project MCP configuration (#15101)
* fix(setup): read Devin project MCP configuration

Devin loads .devin/mcp_config.json and .devin/mcp_config.local.json from
the working directory up to the nearest .git or .jj, above the user file.
A local file outranks every shared file, and a nested directory outranks
its ancestors. REA only read the user file, so doctor judged it while
Devin ran a project entry, and project uninstall skipped Devin.

Return Devin's project candidates in that order, evaluate them with
whole-definition replacement, and include Devin in project uninstall.
Setup still writes only the user file.

Fixes #15041

* fix(setup): apply Devin precedence by directory

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-30 02:07:55 +00:00
3474d40489 fix(setup): use native Copilot configuration for VS Code (#15098)
* fix(setup): use native Copilot configuration for VS Code

* fix(setup): preserve the legacy VS Code updater contract

* docs: clarify Copilot doctor and uninstall commands

* test(setup): check the configured client in BOM round trips

* test(ci): publish Pascal compiler readiness atomically

---------

Co-authored-by: Abotboot <173614984+Abotboot@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-30 01:58:44 +00:00
993c693bc1 fix(setup): read Amp workspace MCP settings (#15102)
* fix(setup): read Amp workspace MCP settings

Amp reads the nearest .amp/settings.json or .amp/settings.jsonc from the
working directory up to the repository root (only the working directory
outside a Git repository), and a workspace amp.mcpServers entry takes
precedence over the user entry with the same name. REA only read
~/.config/amp/settings.json, so doctor and setup judged a registration
Amp does not run and project uninstall left the workspace row in place.

The effective registration reader now admits Amp's workspace layer and
selects one whole server definition per name. Both workspace files in
the same directory are refused, as for the user settings, because Amp
does not document which one wins. Project uninstall includes Amp.

Fixes #15037

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

* refactor(setup): share Amp settings names and the existence check

Reuse one existence check for OpenCode's user path and Amp's workspace
walk, name the Amp settings files once, and name the formats whose
effective registration includes project layers.

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

* docs(setup): describe Amp workspace settings selection

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

* fix(setup): honor Amp workspace selection and approval scope

* fix(setup): retain Amp launcher repair alongside approval guidance

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-30 01:51:18 +00:00
ShuaixinHuangandShuaixinHuang 5c11199c59 fix(native): keep MIPS64 relocated initializers unresolved (#15106)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-29 20:39:10 -05:00
2dea2c2038 feat(kuna): admit PE/COFF, and forward the engine's spec variables (#15058)
* kuna: admit PE/COFF and forward the engine's spec variables

PE x64 is the class kuna handles and no other provider here does; its .pdata is a
better boundary source than discovery (430,906 discovered against 299,257
.pdata extents on one 120 MB image). Admission is the format check only — kuna
opens at the header base itself.

A source-built kuna also finds its compiled specs through KUNA_SPECS or
SLEIGHHOME, and the child environment carried only HOME/XDG_CACHE_HOME/NO_COLOR,
so a build install failed with 'Could not find .sla' and it read as a target
problem. Both are forwarded when set; a release kuna carries its specs and is
unaffected.

Adds the env test, flips the PE admission assertion, and says both in the
provider doc.

* chore: rerun checks

* fix(kuna): bind selected spec trees into the child and the cache

Forward KUNA_SPECS and SLEIGHHOME from the environment captured for the
provider, not from the ambient process. Hash each selected tree into the
analysis profile and export key so an in-place rebuild cannot reuse an
older result, and give a tree that cannot be hashed its own inspection
fence.

* fix(kuna): revalidate spec trees at launch and admit only x86-64 PE

The session kept the first specification digest, so a later export could
read a rebuilt tree and publish it under the earlier key. Each command
and export now hashes the selected trees again and keys the result with
that read; a tree that cannot be confirmed becomes an unknown identity
with a new reuse fence.

Directory close failures are retained on the caller's resource scope, and
the entry cap stops the directory read instead of buffering every name.
PE admission is x86-64; other PE architectures are refused.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* style(kuna): format the launch-revalidation changes

oxfmt --check rejected KunaProjectCache, KunaSessionClient, KunaSpecIdentity,
and the spec identity test. Apply the repository formatter.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): own spec identity once per launching operation

Compute one specification snapshot inside the session's classified
failure boundary and use that value for the cache key, the close key,
the profile, and the launch. Cached answers from an adopted project do
not walk the tree again. A tree that differs from the committed profile
is refused and the adopted reader is dropped. Directory close retains
one lease, and the session dialect keeps that cleanup on the classified
error.

Delete the extra refreshes in project build and command launch.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): check spec identity when a child spawns

Drop the operation allowlist. Each operation carries one memoized
confirmation, and runKunaCommand runs it under that command's deadline
before spawn. An unidentifiable tree reuses the fence minted for the
resolved profile, so the export key matches the profile BinarySession
commits. Relative spec paths are resolved from REA's working directory
when they are selected. A spec-file close keeps the lease the hook
returns, and installation retention is keyed by the original owner.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): keep spec-scan leases with the spawn owner

A shared export was retaining a failed spec close on the client that
started the build. That client can close while another client still
waits, and its close does not join the scan. The scan now runs in the
cache scope and the lease it returns is the cache's hash lease, so
close and settled can still release it. A client-owned command keeps
the lease in that command's scope.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): isolate each spec scan's signal and deadline

Spawns still share one identity result, but each waits on its own abort,
budget, and cleanup owner. The child timeout is whatever budget remains
after the scan and names the Kuna timeout setting.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* test(analysis-view): accept either oversized-page parent recovery

Source tests merge this branch with main, whose fixed-allowance recovery
no longer says "caller-supplied bundle".

Co-authored-by: morluto <morluto@users.noreply.github.com>

* test(views): drop recovery-prose lock on oversized route refusal

* fix(kuna): bound installation spec reads by the function timeout

identifyKunaExternalSpecs requires the caller's deadline. Inspection uses
REA_KUNA_TIMEOUT_MS, or the version-probe deadline when that timeout cannot
be read, and reports AnalysisTimeoutError.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): own spec scans through close and register spec roots

A cancelled wait keeps the physical spec read on the command or export
scope until its close settles. Setup and doctor copy an explicit
KUNA_SPECS or SLEIGHHOME into the client registration.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): retry a clean spec timeout and re-list walked directories

A spec-read timeout keeps a failed close's lease. A clean installation
timeout is not reused, so the next settings scan again. The walk re-lists
each directory and refuses the digest when the name set changed.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(kuna): keep spec-scan waits bounded and save absolute spec roots

The caller's wait ends at its deadline while the scope still owns the
read. Setup stores KUNA_SPECS and SLEIGHHOME as absolute paths.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* refactor(kuna): verify spec trees inline at each spawn

Replace the shared, detached per-operation spec scan in KunaSessionClient,
and the ownSpecScan plumbing that kept it owned, with an inline check in
runKunaCommand beside the executable-digest check. Each spawn reads the
tree under its own signal, deadline and cleanup owner, so the scan cannot
outlive the request or the shutdown that admitted it.

- Route every Kuna deadline timeout, including the spec-read timeout and
  its cleanup facts, through one kunaDeadlineTimeout owner.
- Move spec-variable selection into KunaConfiguration, its only reader.
- Pass an owner cancellation reason to the scan timer and read the
  function timeout through readRuntimeSetting (architecture guards).
- Cover a spec-file close failure that coincides with the scan timeout.

* fix(kuna): report late spec scans as timeouts and keep empty selections

- Check the deadline after the final directory read and close, so a scan
  that finishes past its budget is a timeout, not an identified tree.
- Convert only a deadline-stopped read to a timeout; an earlier physical
  failure keeps its cause beside the cleanup it left.
- Keep an explicitly empty KUNA_SPECS or SLEIGHHOME empty in setup and
  doctor registrations instead of resolving it to the working directory.

* test(kuna): remove wall-clock timing from spec deadline tests

- Observe the timeout the strings child is granted instead of asserting
  elapsed time; the scan delay must come out of that grant. A control that
  gives the child the full budget fails the test.
- Block the failing spec close on the scan's own deadline signal, with a
  test-owned release, instead of racing a fixed delay against a 20 ms
  deadline.

* fix(kuna): keep launch directory cleanup and report doctor spec timeouts

- A spec directory whose close failed during a launch scan now reports its
  retained cleanup through kunaRetainedResourceCleanupError instead of a
  plain adapter error, so the command reports cleanupIncomplete until its
  scope retries the handle.
- Doctor projects a spec read that exceeds kuna.function_timeout_ms into a
  failed Kuna version check with the timeout's recovery, instead of
  aborting the doctor run.
- Narrow the granted child timeout in the deadline test (CI typecheck).

---------

Co-authored-by: sharif <sharif@localhost>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-29 22:51:59 +00:00
Jatin PandeyandJatin Pandey cbdcea12a3 fix(setup): write Windsurf Cascade settings to its native config (#15132)
* fix(setup): write Windsurf Cascade settings to its native config

* fix(doctor): surface older Windsurf registrations

---------

Co-authored-by: Jatin Pandey <279688498+JayDev-27@users.noreply.github.com>
2026-11-29 16:52:34 -05:00
8e62e1c7ae fix(setup): honor Mastra Code project registrations in doctor (#15122)
* fix(setup): honor Mastra Code project registrations in doctor

* fix(doctor): share Mastra Code project scope with provider diagnostics

* fix(doctor): cancel Mastra Code registration discovery

* fix(doctor): retain structured Mastra Code cancellation

---------

Co-authored-by: Jatin Pandey <279688498+JayDev-27@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-29 21:08:01 +00:00
Shubham Bhamareandmorluto 43f7680c1f fix(setup): support Antigravity workspace .agents/mcp_config.json (#15125)
* fix(setup): support Antigravity workspace .agents/mcp_config.json

* fix(setup): verify Antigravity project writes and repository lookup

* fix(setup): confine project registration to the selected workspace

* fix(mcp): enforce write scope for every project registration

* test(setup): use existing project root in Kilo layer conflict test

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-29 20:39:47 +00:00