Commit Graph
11752 Commits
Author SHA1 Message Date
Vincent Koc 8eb8ea6873 refactor(electron): share ESM native binding projection (#16397) 2026-12-03 16:09:51 +00:00
Vincent Koc 7629b1aada test(nativeaot): share PE parser fixture setup (#16396) 2026-12-03 15:59:18 +00:00
Vincent Koc 7094cd4b5e refactor(ci): share PR detail identity normalization (#16395) 2026-12-03 15:52:36 +00:00
Vincent Koc 0f3e4955ac refactor(analysis): share mapping limitation representation (#16394) 2026-12-03 15:42:10 +00:00
Vincent Koc 902892d45c test(apple): share inventory projection fixture setup (#16393) 2026-12-03 15:38:22 +00:00
Vincent Koc 542c07ab98 refactor(plist): share projected scalar limitations (#16392) 2026-12-03 15:29:18 +00:00
Vincent Koc f7ee741fdb refactor(website): share head and title parser state (#16391) 2026-12-03 15:26:24 +00:00
Vincent Koc 048b396745 test(analysis): share recorded GET URL projection fixtures (#16390) 2026-12-03 15:25:11 +00:00
Vincent Koc 42337906b6 refactor(ci): share job timing percentile summaries (#16389) 2026-12-03 15:19:37 +00:00
Vincent Koc cef21127f7 refactor(analysis): share managed collection selection context (#16387) 2026-12-03 15:12:24 +00:00
Vincent Koc fcf976e8aa test(cli): share stream graph output fixtures (#16388) 2026-12-03 15:09:02 +00:00
Vincent Koc bfe132cc01 refactor(ci): share duplication report clone-file schema (#16384) 2026-12-03 14:59:27 +00:00
Vincent Koc d470cc88b6 refactor(build): share Cursor plugin metadata reads (#16382) 2026-12-03 14:56:48 +00:00
Vincent Koc 51475a6341 refactor(python): share marshal string projection (#16385) 2026-12-03 14:52:32 +00:00
Vincent Koc 62c27158c3 test(contracts): share recursive observation schema fixtures (#16383) 2026-12-03 14:48:43 +00:00
Vincent Koc 33bffa3fe7 refactor(cli): share Markdown table key inventory (#16381) 2026-12-03 14:47:36 +00:00
Vincent Koc 8b7d81ecdb test(website): share worker asset request fixtures (#16380) 2026-12-03 14:44:18 +00:00
Vincent Koc 8bb23fb251 refactor(analysis): share unknown relationship endpoint construction (#16377) 2026-12-03 14:28:12 +00:00
Vincent Koc 791d3c665b refactor(build): share generated skill text normalization (#16375) 2026-12-03 14:23:24 +00:00
Vincent Koc ee7ef5da47 test(python): share bytecode provider fixtures (#16376) 2026-12-03 14:17:34 +00:00
Vincent Koc 6b109f7aa4 refactor(desktop): share listed state difference construction (#16374) 2026-12-03 14:17:02 +00:00
Vincent Koc 8901add08a test(config): share Goose REA extension edit fixtures (#16373) 2026-12-03 14:13:20 +00:00
Vincent Koc e0d36223ad refactor(vsix): share identity disagreement comparisons (#16370) 2026-12-03 14:07:30 +00:00
Vincent Koc 236655afe2 test(mcp): share Rust report validation fixtures (#16371) 2026-12-03 14:04:40 +00:00
Vincent Koc 6c31247aa7 test(config): share successful Vibe serialization fixtures (#16369) 2026-12-03 14:04:09 +00:00
Vincent Koc b352b301c7 test(javascript): share CLI and MCP session app fixtures (#16368)
* test(javascript): share CLI and MCP session app fixtures

* test(mcp): remove unused session fixture import
2026-12-03 13:55:28 +00:00
dependabot[bot]andVincent Koc efa6e16286 build(deps): update six npm dependencies and patch glob matching (#15401)
* build(deps): bump the npm-minor-and-patch group across 1 directory with 8 updates

Bumps the npm-minor-and-patch group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [isomorphic-git](https://github.com/isomorphic-git/isomorphic-git) | `1.44.17` | `1.44.19` |
| [tokenx](https://github.com/johannschopplich/tokenx) | `2.2.0` | `2.2.1` |
| [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) | `6.47.0` | `6.48.0` |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `17.6.1` | `17.6.2` |
| [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) | `0.79.0` | `0.80.0` |
| [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.94.0` | `1.95.0` |
| [oxlint-tsgolint](https://github.com/oxc-project/tsgolint) | `7.0.2007` | `7.0.2008` |
| [frida](https://github.com/frida/frida-node) | `17.23.2` | `17.27.5` |



Updates `isomorphic-git` from 1.44.17 to 1.44.19
- [Release notes](https://github.com/isomorphic-git/isomorphic-git/releases)
- [Commits](https://github.com/isomorphic-git/isomorphic-git/compare/v1.44.17...v1.44.19)

Updates `tokenx` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/johannschopplich/tokenx/releases)
- [Commits](https://github.com/johannschopplich/tokenx/compare/v2.2.0...v2.2.1)

Updates `knip` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/webpro-nl/knip/releases)
- [Commits](https://github.com/webpro-nl/knip/commits/knip@6.48.0/packages/knip)

Updates `lint-staged` from 17.6.1 to 17.6.2
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v17.6.1...v17.6.2)

Updates `oxfmt` from 0.79.0 to 0.80.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.80.0/npm/oxfmt)

Updates `oxlint` from 1.94.0 to 1.95.0
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.95.0/npm/oxlint)

Updates `oxlint-tsgolint` from 7.0.2007 to 7.0.2008
- [Release notes](https://github.com/oxc-project/tsgolint/releases)
- [Commits](https://github.com/oxc-project/tsgolint/compare/v7.0.2007...v7.0.2008)

Updates `frida` from 17.23.2 to 17.27.5
- [Commits](https://github.com/frida/frida-node/compare/17.23.2...17.27.5)

---
updated-dependencies:
- dependency-name: isomorphic-git
  dependency-version: 1.44.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: tokenx
  dependency-version: 2.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: knip
  dependency-version: 6.48.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: lint-staged
  dependency-version: 17.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: oxfmt
  dependency-version: 0.80.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: oxlint
  dependency-version: 1.95.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: oxlint-tsgolint
  dependency-version: 7.0.2008
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: frida
  dependency-version: 17.27.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): preserve runtime support and patch development glob matching

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-03 21:48:23 +08:00
dependabot[bot]andVincent Koc bc12fa813e build(deps-dev): bump tsrs from 7.1.0-beta.tsrs4 to 7.1.0-beta.tsrs5 (#15402)
* build(deps-dev): bump tsrs from 7.1.0-beta.tsrs4 to 7.1.0-beta.tsrs5

Bumps [tsrs](https://github.com/oxc-project/tsrs) from 7.1.0-beta.tsrs4 to 7.1.0-beta.tsrs5.
- [Release notes](https://github.com/oxc-project/tsrs/releases)
- [Commits](https://github.com/oxc-project/tsrs/compare/v7.1.0-beta.tsrs4...v7.1.0-beta.tsrs5)

---
updated-dependencies:
- dependency-name: tsrs
  dependency-version: 7.1.0-beta.tsrs5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): refresh inventory for tsrs beta 5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-12-03 21:48:11 +08:00
Vincent Koc 62a620b949 fix(deps): use patched tar in the private Skills verifier (#16168) 2026-12-03 21:47:56 +08:00
Vincent Koc a0bbc9d59f refactor(javascript): share semantic query result finalization (#16367) 2026-12-03 13:45:13 +00:00
Vincent Koc 16516cd5b3 test(entropy): share zero-filled file fixtures (#16366) 2026-12-03 13:42:20 +00:00
Vincent Koc ced598117c refactor(browser): share storage fingerprint key selection (#16364) 2026-12-03 13:38:54 +00:00
Vincent Koc 66ab6d5e72 test(mcp): reuse keyed archive tool success fixture (#16365) 2026-12-03 13:35:17 +00:00
Vincent Koc bec6394874 test(desktop): share fresh bundle destinations (#16363) 2026-12-03 13:33:36 +00:00
Vincent Koc b9716e531a refactor(managed): share member reference shape and target alignment (#16361) 2026-12-03 13:26:22 +00:00
Vincent Koc 059f129377 test(native): share dispatch environment fixtures (#16357) 2026-12-03 13:25:45 +00:00
Vincent Koc d5127d16cb refactor(javascript): use recorded version match confidence (#16358) 2026-12-03 13:20:19 +00:00
gensokyo-dev 78fed40e50 refactor(analysis-view): pick the firmware-mmio page context from the report schema
Derive the page and summary context with .pick().extend() on the report
schema, as #16346 does for the other firmware views, instead of
destructuring report fields.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 24f37becf5 fix(firmware): group a page's MMIO accesses by region kind
A 4 KiB page can now hold SVD-covered addresses classified svd_peripheral
and uncovered ones classified by bus convention. Page groups were keyed by
address alone and took their region kind and basis from the first access,
so a region_kind group filter depended on access order and could hide
matching accesses.

Page identities now include the region kind, in both the grouping index
and the literal-pool pre-allocation measurement, so each kind forms its own
group with its own basis.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev baafd3535d docs(firmware): list the filters each firmware-mmio collection accepts
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 823c2df068 test(firmware): check access counts with a schema-valid report
The count-mismatch test added a removed field, so the strict report schema
rejected it before the count check ran. It now changes counts.loads on a
schema-valid report, with the unchanged report as a control.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev bdf9c347e9 fix(analysis-view): refuse firmware-mmio filters a collection cannot apply
The firmware-mmio view accepted region_kind, peripheral_name and access_kind
on every collection, but ignored all of them for anomalies and access_kind
for peripheral_groups, while echoing them in the result view. It now
refuses those combinations with an input issue on the filter field.

Tests cover the compact top-16 summary against complete group pages,
matching and non-matching filters, filtered pagination, and the refusals.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 505fc0cdb7 fix(firmware): keep literal-pool constants that competing SVD peripherals cover
When two equal-width CMSIS-SVD peripherals covered a loaded constant, the
literal-pool classifier treated it as outside the profile. For arm-a32 it
became `other`, and the default mmio_only filter dropped the access, even
though the supplied SVD declares that address as peripheral space.

findSvdMatch now reports ambiguous coverage separately from no coverage.
Such a constant is classified as svd_peripheral, or as the Cortex-M PPB on
arm-thumb, with no peripheral name. Each such address adds one anomaly,
charged in the representation measurement, matching how split-immediate
architectures report competing peripherals.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 3d41ed79ac perf(firmware): measure each literal-pool peripheral name once
The literal-pool representation pass recounted a peripheral name's UTF-8
bytes and built an `svd:` group key from it for every access, and grouping
built that key again per access. With 16,384 loads of one 1 MiB name, a
default call copied about 16 GiB of text and took about 20 s to refuse.

Grouping now keys an index on the identity itself (peripheral name, block
name or page), so a name is hashed once per string. The measurement pass
caches each name's byte length. The same refusal now takes about 0.4 s.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev f06019cf09 docs(firmware): document inspect_firmware_mmio
Merge the literal-pool and split-immediate guides into one firmware MMIO
guide covering both instruction tables, the shared access rows and groups,
attribution basis, budgets and the firmware-mmio view. Update the
documentation index, firmware overview and skill reference.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 766c45de1d feat(firmware)!: replace the literal-pool and split-immediate MMIO tools with inspect_firmware_mmio
inspect_firmware_literal_pools and inspect_firmware_mmio_synthesis answered
the same question and differed only in the instruction idiom they decode.
One tool, inspect_firmware_mmio, now takes a single architecture vocabulary
across all nine ISAs and dispatches to the literal-pool or split-immediate
decoder.

Both decoders write the same report:
- accesses rows: instruction, address register, access kind and width,
  address and MIPS physical address, region kind, architectural block, and
  CMSIS-SVD peripheral and register facts;
- a source object with the decoder's own facts: pool slot and disassembly,
  or pattern and high instruction;
- decoder facts on the report.

firmwareMmioGroups.ts owns grouping MMIO accesses by SVD peripheral,
architectural block or 4 KiB page. mmioAttributionBasis owns the group
basis. The retained view kind is firmware-mmio, with collections accesses,
peripheral_groups and anomalies, and its summary lists the top 16 groups as
compact rows.

max_references and max_syntheses are removed, since max_representation_bytes
already bounds the rows they counted. The literal-pool pre-allocation
measurement now includes an upper bound for each group, so its refusal
reports the exact required bytes. max_scan_bytes defaults to its 16 MiB
maximum, so one call covers a whole application image. mmio_only, default
true, now also drops literal-pool constants that are not MMIO;
counts.candidate_accesses still counts every decoded access.

BREAKING CHANGE: inspect_firmware_literal_pools and
inspect_firmware_mmio_synthesis (CLI inspect-firmware-literal-pools and
inspect-firmware-mmio-synthesis) and the retained view kinds
firmware-literal-pools and firmware-mmio-synthesis are replaced by
inspect_firmware_mmio (inspect-firmware-mmio) and view kind firmware-mmio.
isa becomes architecture, max_svd_nodes becomes max_svd_xml_nodes, and
max_references and max_syntheses are removed. Neither old tool has been
released.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
gensokyo-dev 9b8eb0b07e fix(firmware): bound competing peripheral names in ambiguous CMSIS-SVD anomalies
An address claimed by N overlapping CMSIS-SVD peripherals produced an
anomaly that listed all N names. With 4,000 overlapping peripherals each
such anomaly was about 20 KB, so 1,024 ambiguous addresses built a report
over the 16 MiB representation budget and the call was refused.

Each anomaly now names the first 8 candidates in name order and counts the
rest, and is charged at its actual size.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-12-03 21:19:29 +08:00
Vincent Koc f9e363435f refactor(analysis-view): project native observation rows directly (#16351) 2026-12-03 13:17:30 +00:00
Vincent Koc 7a06eba0f5 test(javascript): share literal mapping assertions (#16360) 2026-12-03 13:16:39 +00:00
Vincent Koc 6cf887e72d test(mcp): share LabVIEW retained page fixtures (#16362) 2026-12-03 13:16:35 +00:00