morluto
dd7597a108
refactor(errors): read cleanup completion from dependencies instead of pushing it to dependents ( #10744 )
...
* refactor(errors): read cleanup completion from dependencies instead of pushing it to dependents
AnalysisError.cleanupIncomplete becomes a getter over the error's own unresolved state and its bound dependencies. The WeakRef dependents graph and resolveCleanup's push propagation are removed, and subclasses mark their initial state through markCleanupIncomplete instead of overriding a public mutable field.
* fix(errors): settle bound dependencies before binding more
A composite whose dependencies had released but whose status was never read
stayed incomplete when a later dependency was bound.
* refactor(errors): let errors read a lease group's release instead of resolving them (#10759 )
AnalysisCleanupLeaseGroup no longer calls resolveCleanup() on its error.
The error holds the group as a release claim and reads cleanupReleased when
asked, so completion follows the lease owner without a push.
* chore(verify): count resolveCleanup and bindCleanupDependencies calls so they only shrink (#10763 )
* refactor(errors): let errors read a lease group's release instead of resolving them
AnalysisCleanupLeaseGroup no longer calls resolveCleanup() on its error.
The error holds the group as a release claim and reads cleanupReleased when
asked, so completion follows the lease owner without a push.
* chore(verify): count resolveCleanup and bindCleanupDependencies calls so they only shrink
2026-11-15 15:22:21 +08:00
morluto
ab84ba6839
fix(process)!: retain inspection cancellation and cleanup ownership ( #10113 )
...
* fix(process): preserve producer-owned inspection cancellation
Prototype the explicit inspection origin and retained file/batch owner protocol. Downstream adapter migration and lease binding remain required before integration.
* fix(process): type inspection ownership handoffs precisely
* fix(process): retain plain inspection preparation cancellation
* fix(process): retain explicit inspection cleanup and cancellation facts
* fix(process): require explicit inspection facts and cleanup scope
* refactor(process): remove redundant cleanup forwarding wrapper
* fix(firmware): retain inspection cancellation and cleanup ownership
* fix(wakaru): retain typed inspection outcomes and caller scope
* fix(ghidra): preserve inspection facts and launch cleanup scope
* fix(providers): preserve typed process inspection outcomes
* refactor(process): remove obsolete inspection cancellation re-export
* fix(native): preserve inspection preparation cleanup and cancellation
* fix(registration): retain typed inspection cleanup during Git discovery
* fix(process): preserve inspection deadline origin in adapter handoff
* fix(process): consume the canonical inspection selector in binding
* fix(native): preserve inspection deadlines and cleanup retry completion
* test(process): narrow the retained Darwin preparation owner
* fix(providers): preserve preparation ownership and timeout policy
Narrow preparation facts through their canonical owner, preserve actual cleanup capabilities and recorded cancellation, and keep enclosing command deadlines authoritative. Retain raw inspection records through Java refusal and configuration projections without changing availability fallback policy.
* refactor(process): use one inspection failure type owner
* fix(providers): retain recorded secondary failures when rebinding
* fix(ghidra): preserve normalized inspection facts through public projection
* fix(process): normalize native process listing cancellation
* docs(development): clarify failure provenance and cleanup verification
* fix(process): preserve direct inspection cancellation facts
* fix(process): retain inspection owners through termination
* fix(process): preserve command inspection cleanup provenance
* fix(desktop): preserve inspection facts after cleanup retry
* refactor(process)!: migrate desktop capture with inspection producers
* fix(desktop)!: preserve capture failure origins and cleanup owners (#10115 )
* fix(desktop): preserve capture failure origins and cleanup
* fix(desktop): type keyring cleanup cancellation
* fix(kuna)!: retain copy cleanup before retiring workspaces (#10114 )
* fix(kuna): own copy cancellation and descriptor cleanup
* fix(kuna): close copy descriptors before workspace removal
* test(kuna): type copy lifecycle gates for project library
* docs(kuna): explain retained copy-file cleanup and staging ownership
* docs(kuna): separate cache publication, integrity and cleanup guidance
* fix(desktop): retain sampling inspection owners before release
* fix(process): preserve capture file read cancellation origin
* fix(process): retain capture inspection cancellation and cleanup owners
* fix(process): retain sampling inspection failures in capture scope
* fix(process): retain inspection failures through mandatory cleanup
* fix(process): distinguish sampler shutdown from capture cancellation
* fix(browser): retain startup EOF before later cancellation
* fix(process): bind capture inspection cleanup to the owning run
* test(process): migrate cancellation fixtures to typed owners
Record explicit preparation and command cancellation facts, retain exact opaque reasons and physical causes, and guard the mocked version probe from native preparation. Keep the live Wakaru command control while adding a recording equivalent for bounded source verification.
* fix(process): own sampling reads and settle inspection peers
* fix(errors): retain authored recovery through cleanup composition
* fix(process): retain all sampling inspection leaves for final cleanup
* test(browser): report recording cleanup signal outcome
* fix(process): keep inspection error context out of implicit JSON
* fix(desktop): retain normalized sampling cleanup ownership
* test(process): assert tagged startup cancellation
2026-11-11 16:37:48 -05:00
morluto and Cursor Agent
88cf498036
fix!: preserve results when source publication fails ( #8444 )
...
* fix: retain address context cleanup failures
* fix!: preserve address context input errors
BREAKING CHANGE: Strict clients that cached the previous full inspect_address_context output schema must refresh tools/list and accept the typed error field on unavailable facets.
* test: use session contract for address context
* fix!: preserve address context resource recovery
BREAKING CHANGE: Clients validating unavailable context facets against a cached strict full output schema must refresh tools/list to accept resource_constraint errors.
* fix: expose authenticated records refused by the evidence ledger (#8426 )
* fix: preserve completed evidence on retention refusal
* fix: preserve context when unretained evidence exceeds delivery limits
* fix(mcp): recover oversized context from session evidence
* fix(evidence): preserve completed atomic write results
* fix: retain completed results when source publication fails
* test: cover bounded recovery with unknown retention
* fix(evidence): preserve recovery identity and finalization facts
* fix(evidence): clarify retention of omitted observations
* test(evidence): compare omission guidance with its owner
* fix(evidence): preserve completed composed workflows
* fix(evidence): clarify unretained recovery export
* test(evidence): cover mixed recovery guidance
* fix(evidence): preserve caller scope in secondary failures
* refactor(evidence): remove superseded cleanup projection
* test(evidence): align recovery checks with owners
* fix: preserve cleanup on partial recovery limits
* test: use owners for diagnostic wording
* fix: admit completed analysis before evidence construction
* fix: preserve selected paths when reusing evidence
* fix(cli): preserve caller path in unretained evidence
* fix(evidence): preserve recovery metadata and admission bounds
* refactor: consolidate evidence closure imports
* style(test): format CLI help default annotations (#9280 )
* test(mcp): keep recovery checks focused on contract facts
* fix(evidence): preserve feature trace replay revision
* test: align evidence recovery checks with ownership
* test: align partial recovery and cleanup diagnostics
* fix(evidence): preserve nested partials during cleanup
* fix(evidence): respect outer recovery ownership
* fix(capture): discard rejected nested observations
* test(frida): assert inline evidence recovery
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
2026-11-09 02:41:54 +08:00
morluto
396dcb2b0f
fix(domain): preserve structured cleanup failure reasons
2026-10-24 08:22:13 +08:00
morluto
1849a828b2
test(evidence): retain structured input issues through cleanup owners
2026-10-24 05:02:21 +08:00
morluto
640a0cf423
fix(evidence): retain owner finalization reports across cleanup envelopes
2026-10-24 04:38:08 +08:00
morluto
c2cc81927a
fix(evidence): preserve primary semantics during pending cleanup
2026-10-24 04:38:08 +08:00
gensokyo-dev
aa53c06538
feat(firmware): make analysis deadlines recoverable per call
...
Expose per-call firmware analysis budgets with exact recovery guidance, shared
CLI/MCP validation and retained actual settings. Keep publication and fixed
resource policy independent; preserve typed interruption and one captured-output
owner through command and one-shot cleanup.
Fixes #5851 . Executed verification, real-provider limits, known baseline issues
and authorized readiness override are recorded in #5863 .
Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
2026-10-21 19:25:22 +08:00
morluto
26bb85c007
fix(core): keep released cleanup dependencies empty
...
Distinguish unbound resource attribution from a completed dependency set so final release cannot restore historical resource names.
Refs #4578
2026-10-17 16:43:14 +08:00
morluto
3e8236639a
fix(errors): restore typed primary after confirmed cleanup
...
Retain the primary error through cleanup composition and resolve its presentation only after live ownership confirms release. Preserve historical diagnostics separately from producer facts.
Validate domain primary types, nested owners, denied retry and late observations; exercise public CLI and MCP projection plus firmware descriptor retry. Focused tests, source controls, static checks and docs pass. Native providers were not verified.
Refs: #4628
2026-10-17 09:04:09 +08:00