Commit Graph
2201 Commits
Author SHA1 Message Date
2SinceJuly b99e7737de fix(evidence): derive default authority from subject binding (#10321)
* fix(evidence): derive default authority from subject binding

evidenceEnvelopeForAdmission defaulted a missing authority to shipped-artifact
for every observation, including ones with no artifact subject and ones
produced by a live debugger session. An unbound record therefore claimed
authority over an artifact it cannot name, and live GDB, Rizin and Cutter
observations could never qualify a live-observation contract because that
contract accepts only controlled-replay or external-service Evidence.

Default to analyst-inference when no subject is bound and keep
shipped-artifact when one is, so the default matches what the record can
actually support. Declare controlled-replay at the eight live debugger
observation sites (GDB 6, Rizin 1, Cutter 1) so those records describe the
controlled replay they performed and satisfy the documented contract.

* fix(gdb): label retained process-exit observations as controlled replay

The GDB command process-exit branch was the only unbound retention path that
named no authority, so this branch's new default derived it as
analyst-inference. That label cannot support the live-observation contract,
and every sibling path (timeout, cancellation, protocol failure, startup)
already states controlled-replay.

The authority and the unavailable-subject reason now live beside the
provider identity so the retention paths read them from one place instead
of repeating the literals and drifting apart.

* style(evidence): apply repository formatting

* fix(cutter): classify command observations as external-service

The bridge drives the documented already-running Cutter GUI, whose
document state REA neither owns nor resets, so its command
observations claim no controlled replay. Label them external-service
like the comparable IDA and Frida bridge evidence: live-observation
obligations still accept it, while controlled-replay-only verifier
contracts and bundle replay scenarios no longer include these
observations.

* fix(adb): keep device observations at external-service authority

The admission default now derives authority from the subject, so a subjectless ADB observation fell to analyst-inference. A device is a service REA attaches to rather than drives, so the observation supports external-service and must stay eligible for live-observation contracts.

Carry an explicit authority through AnalysisObservation so a producer that knows its own authority can name it, and set it for every ADB operation.

* fix(adb): keep retained observations at external-service authority

The admission default derives authority from the subject, and a subjectless
observation falls to analyst-inference. createAnalysisExecution never carried
an authority field, so every observation the ADB adapter built through it was
committed at the subject-derived default instead of the service's.

Name the authority once in the domain model, stamp it on every successful
execution at the adapter boundary, and route the cleanup-failure and
cancellation-retention sites through one helper. Open the execution options
field so other providers can name their own authority.

Verified: a push whose device digest does not match now retains its receipt at
external-service; removing the stamp fails that assertion. check:fast passes.

* fix(adb): keep the retained verification receipt at device authority

The verificationFailed branch built its retained receipt with createEvidence
directly, so the admission default derived the authority from a subjectless
target and labelled an observed push as analyst-inference. Pass the device
authority through the same way the neighbouring digest-mismatch partial does,
so the receipt can still support live-observation verification.

* style(adb): apply oxfmt formatting to the authority fix

The previous commit wrapped two expressions that oxfmt keeps on one line, so
npm run format:check failed on Static checks.
2026-11-18 13:06:25 -05:00
RRFZ 204056f21a fix(decompile): repair a torn journal on Windows before resuming (#10527)
* fix(decompile): repair a torn journal on Windows before resuming

Windows opens an O_APPEND handle with FILE_APPEND_DATA only, so ftruncate
through the journal's append handle fails with EPERM and every resume after
an interrupted write was refused. Truncate through a separate write handle
first, then open the append handle.

* docs(decompile): say why the journal opens without following symlinks
2026-11-18 13:05:37 -05:00
ffae857c20 fix(javascript): keep CommonJS wrapper redeclarations from inventing application owners (#12084)
fix(javascript): keep wrapper redeclarations from inventing application owners

A top-level lexical declaration that reuses a CommonJS wrapper parameter
cannot evaluate, and its recovered syntax is complete. Counting that
diagnostic as dropped syntax marked the entrypoint as an unexamined loader
and erased another package's proven loadFile root.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-18 12:59:16 -05:00
ShuaixinHuangandShuaixinHuang 180e97f86f fix(audit): report GCC profile paths retained in Go build flags (#12029)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-18 10:09:07 -05:00
RRFZ 0adda3503c test: make registration-format and release-exposure suites pass on Windows (#10533)
The Windows-only Fx case still read mcp.rea, but a new Fx profile is written
under mcpServers. Two Fx cases assert POSIX modes or a private-directory
close that Windows never performs; they now run off Windows, beside the
existing Windows case. Two release-exposure assertions spelled paths with a
POSIX separator; one now accepts either separator and one uses the reader's
host-file/member spelling.
2026-11-18 10:05:23 -05:00
ShuaixinHuangandShuaixinHuang 34f7d2131c fix(javascript): preserve loader conditions across application evidence (#12023)
* fix(javascript): honor loader semantics for BOM hashbangs

* fix(javascript): retain conditional BOM hashbang imports

* fix(javascript): share conditional hashbang recovery

* fix(javascript): recover suffix-only source imports

* fix(javascript): retain conditional CommonJS hashbang imports

* fix(javascript): preserve conditional hashbang dependency evidence

* fix(javascript): preserve ambiguous dotfile and worker evidence

* fix(javascript): qualify semantic evidence with source loader conditions

* fix(javascript): qualify all source-backed application evidence

* test(javascript): identify imports by their projected kind

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-18 09:42:46 -05:00
ShuaixinHuangandShuaixinHuang 0ba3b6049d fix(audit): split ELF linker search lists at every colon (#12035)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-18 09:42:13 -05:00
ShuaixinHuangandShuaixinHuang c47442a2eb fix(desktop): read BOM-marked UTF-16 in state and task views (#12052)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-18 09:41:35 -05:00
RRFZ 41cf9654da fix(setup): honor retained Kilo activation during uninstall (#11795) 2026-11-18 09:11:08 -05:00
morluto d09590dcdb test(environment): consolidate form plan and serving checks (#11982) 2026-11-18 12:49:23 +08:00
morluto ddb711270d test(environment): consolidate generated task coverage (#11981) 2026-11-18 12:39:15 +08:00
morluto 222122fb79 test(environment): consolidate item write coverage (#11980) 2026-11-18 12:38:08 +08:00
morluto fa22000e43 test(environment): verify replay excerpt boundaries (#11976) 2026-11-18 12:24:50 +08:00
morluto 9d5fa97157 test(environment): sharpen replay scope and media type checks (#11972) 2026-11-18 12:17:01 +08:00
morluto 6efd976ec0 test(environment): consolidate later-read and trash replay coverage (#11971) 2026-11-18 12:15:23 +08:00
morluto 845c162495 test(environment): tighten varied write outcomes (#11965) 2026-11-18 11:59:30 +08:00
morluto 296d6133d6 test(environment): consolidate bulk response coverage (#11964) 2026-11-18 11:58:38 +08:00
morluto 4624ebd146 test(environment): verify loaded collection history at capacity (#11962) 2026-11-18 11:50:07 +08:00
morluto 5e83c1ef7c test(environment): consolidate document write refusals (#11958) 2026-11-18 11:30:20 +08:00
morluto 9bd17e8673 test(environment): consolidate linked write spellings (#11957) 2026-11-18 11:26:17 +08:00
morluto 6b762c6e72 test(environment): consolidate write description sampling (#11955) 2026-11-18 11:19:24 +08:00
morluto 1584d908b4 test(environment): consolidate terminal destination safety (#11952) 2026-11-18 11:14:13 +08:00
morluto f9b93021a2 test(environment): prove natural key competition (#11950) 2026-11-18 11:14:09 +08:00
morluto 27a3f5bbd3 test(environment): verify probe timestamp ordering (#11953) 2026-11-18 11:13:21 +08:00
morluto 2b26bd107e fix(ci): restore formatting for JavaScript tests (#11951) 2026-11-18 11:05:05 +08:00
morluto a85f228198 test(environment): consolidate build report checks (#11948) 2026-11-18 10:59:19 +08:00
morluto 1ff7be8c70 test(javascript): consolidate artifact graph and resolution coverage 2026-11-17 21:54:42 -05:00
morluto b2af0d77e0 test(routes): consolidate JavaScript route behavior coverage 2026-11-17 21:54:42 -05:00
morluto e6e4215227 test(environment): consolidate export publication receipts (#11945) 2026-11-18 10:52:03 +08:00
morluto 36dfc69248 test(environment): consolidate composed value comparisons (#11942) 2026-11-18 10:44:33 +08:00
morluto df12107af5 test(environment): shrink catalog display fixtures (#11941) 2026-11-18 10:43:57 +08:00
morluto aac23cb4b1 test(environment): consolidate long query alias coverage (#11938) 2026-11-18 10:28:43 +08:00
morluto 01e691f4a2 test(environment): use the compiled standalone card proof (#11935)
* test(environment): use the compiled standalone card proof

* test(environment): retire the mirrored card producer check
2026-11-18 10:15:28 +08:00
morluto 49a610199f test(environment): consolidate bounded path description coverage (#11936) 2026-11-18 10:14:42 +08:00
morluto c77d4261a1 test(javascript): consolidate semantic graph coverage 2026-11-17 21:02:58 -05:00
morluto e2e3881c0e test(environment): consolidate serve refusals at the CLI (#11930) 2026-11-18 10:00:19 +08:00
morluto 9e7db13005 test(environment): prove replay selection precedence (#11912) 2026-11-18 08:20:49 +08:00
morluto 48e27e19b7 test: prune redundant and implementation-coupled coverage 2026-11-17 18:48:24 -05:00
morluto 90b655ede2 test(evidence): verify analysis view provenance through ledger export (#11899) 2026-11-17 18:38:40 -05:00
morluto 362579fec3 test(evidence): consolidate JSON authentication headroom checks (#11897) 2026-11-17 18:38:27 -05:00
morluto 15896ebe31 test(evidence): consolidate ledger rollback and replay checks (#11892) 2026-11-18 07:20:07 +08:00
morluto 9038f12502 test(go): verify CycloneDX identity through its projection and CLI (#11881) 2026-11-17 17:53:43 -05:00
morluto e9cc643198 test(environment): verify registry pins in the exported bundle (#11870) 2026-11-18 06:23:31 +08:00
morluto 84ee604c6d perf(ci): optimize semantic graph construction, directory containment checks, gate checkouts, and boundary stragglers (#11851)
* perf(javascript): avoid redundant semantic graph validation and node hashing

* perf(resources): deduplicate directory containment checks and root lstat calls

* perf(ci): trace script fixture modules, sparse-checkout gate jobs, and parallelize built doc checks

* perf(tests): memoize live MCP doctor expectations and reuse CLI and verifier compilation

* fix(ci): enforce containment after skipped entries, validate interned contexts, and supervise doc and verifier teardowns

* fix(docs): decode buffered check output once to preserve multi-byte UTF-8
2026-11-17 14:57:30 -05:00
morluto 015f726a9e test: prune redundant and obsolete coverage 2026-11-17 14:16:24 -05:00
Matt Van Hornandgensokyo-dev 05be423acb feat(artifacts): inspect Maven POM and Gradle module metadata
Inspect local Maven/Gradle metadata as Evidence with bounded report/XML admission, preserved caller choices and owned cleanup.

Refs #8828; broader comparison and resolution work remains outside this change.

Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-17 14:40:38 +00:00
ShuaixinHuangandShuaixinHuang 5ccb7c59c8 fix(environment): preserve HAR body source identity and scan coverage (#11829)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-17 09:11:48 -05:00
Matt Van Horn 51459cf203 feat(artifacts): inventory Android OTA update payloads offline (#11378) 2026-11-17 09:01:23 -05:00
morluto 5a2a08a048 perf(ci): split lazy runtime chunks, cache Windows typecheck, and reuse test analysis workers (#11827)
* perf(runtime): eliminate static imports that defeat lazy provider and workflow chunk splitting

* perf(ci): cache Windows typecheck in Turbo, bound official compiler checkers, and reuse portable build cache in reverse-tools

* perf(package): batch staging file copies and extract packed metadata in one pass

* perf(tests): reuse parked JavaScript analysis workers and eliminate redundant CLI and Node spawns

* fix(tests): retain failed cleanup owners across non-isolated files and settle concurrent verifier copies

* fix(providers): propagate underlying cleanup release claims through DeferredAnalysisClient
2026-11-17 08:28:59 -05:00
Matt Van Hornandgensokyo-dev 43b9fa87fb feat(artifacts): inspect NuGet package metadata and dependencies
Inspect supplied NuGet packages as local Evidence with bounded ZIP parsing, preserved caller choices and credential-safe metadata.

Fixes #8144

Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-17 13:13:02 +00:00