rea/tests/boundary/process
Mykola Dementiev 5f8af4ee5f
feat(ida): resolve containing procedures and report the admitted program as the document (#2374)
* test(mcp): expect trace_feature to report references the provider truncated

A provider that reports a capped xrefs read makes the trace truncated with a residual unknown for that target. An explicit complete report and a provider that reports nothing leave the trace as before.

* fix(mcp): report references a provider truncated in trace_feature

Executions gain an optional flag for a capped xrefs read, set by the IDA adapter from the upstream cap. trace_feature marks the trace truncated with a residual unknown for that target only when the provider reports a truncation; a provider that reports nothing keeps its previous result. The trace_feature workflow profile is revised so earlier results are not replayed.

* refactor(ida): report reference truncation whenever the runner observed an xrefs cap

* test(mcp): cover session forwarding, per-target state, native reports and failures of the trace coverage

* test(mcp): format the session forwarding test

* test(ida): expect headless IDA to resolve containing procedures from lookups and segment facts

Cover positive and negative containment, segment boundaries including addresses above 2^53, failures of the lookup and of the segment survey, cancellation, input validation and the admitted program as the only document.

* test(ida): expect feature tracing and address context to work on headless IDA

Run trace_feature, including a capped reference read, and inspect_address_context with and without an explicit document through the IDA session client.

* test(mcp): expect trace_feature availability to follow the search operations it calls

* fix(mcp): derive trace_feature availability from the search operations it calls

* feat(ida): resolve containing procedures and report the admitted program as the document

The modern headless profile resolves an address through the function lookup and, when no function contains it, tells a mapped address from an unmapped one using the database-scoped minimal survey. A survey that is missing, truncated or inconsistent fails the read. list_documents reports the single admitted program. The attached profiles do not declare either operation.

* docs(ida): describe containing procedures, the admitted document and truncated feature traces

* test(ida): verify containing procedures, the admitted document and feature tracing on real IDA

* docs(testing): list the headless IDA workflows the real lane verifies

* test(ida): make each survey failure case isolate a single defect

* test(ida): pin large addresses, segment order, document identity, attached refusals and each trace_feature prerequisite

* test(mcp): expect a repeated reference source to be resolved once in trace_feature

* fix(mcp): resolve the containing procedure of a repeated reference source once

* test(ida): trace the fixture procedure and derive probe addresses from its facts in the real lane

* test(process): format processCaptureLifecycle.test.ts after the merge

* test(ida): declare the alignment each synthetic universal slice offset satisfies

* refactor(ida): move the real lane's feature trace assertions into a helper

* test(ida): expect the real lane's feature trace check to accept references to every matched address

* fix(ida): check each trace reference against its own matched address in the real lane

* test(ida): pin that the new operations reject a document other than the admitted program

* refactor(ida): move the real lane's mapped non-function probe into a helper

* test(ida): expect the real lane's mapped data probe to skip strings inside functions

* fix(ida): try the target's strings in order for the mapped non-function probe

* test(ida): declare the real lane helper types for the verifier tests

* test(ida): expect the real lane to reject a listed string that resolves as unmapped

* fix(ida): fail the real lane when a listed string resolves as unmapped
2026-10-13 20:56:20 +08:00
..
ProcessEvidence.host.test.ts refactor: remove forwarding exports and redundant aliases 2026-10-09 22:46:09 +08:00
ProcessEvidence.test.ts refactor(captures)!: require canonical producer metadata 2026-10-09 23:35:19 +08:00
adbDirectoryListing.test.ts fix(adb): preserve directory identities and share byte capture 2026-10-12 13:06:51 +08:00
androidAnalysisMcp.test.ts test(android): allow provider readiness under load 2026-10-10 03:52:35 +08:00
androidSearchEvidenceBudget.test.ts fix(android): bound inline search Evidence with retained inventory provenance (#1890) 2026-10-12 01:07:22 +08:00
applicationWorkflowVerifier.test.ts test: classify application scenarios by their actual boundaries 2026-10-09 02:58:03 +08:00
binarySessionCleanupRetry.test.ts test: strengthen archive and resource cleanup assertions 2026-10-12 04:53:27 +08:00
browserScenarioProbeLifecycle.test.ts fix(mcp): keep shared optional providers open across discarded probes (#2205) 2026-10-12 06:56:45 -07:00
cliEnvironmentSeam.test.ts refactor: use canonical implementations and types directly 2026-10-09 23:35:19 +08:00
darwinProcessRunTokenReader.test.ts feat(pcap): add bounded capture summaries through CLI and MCP 2026-10-13 04:53:03 +00:00
directAnalysisSignals.test.ts fix(cli): complete cleanup after relayed interrupts (#1202) 2026-10-09 12:45:23 +08:00
filesystemSnapshotFifoRace.test.ts refactor: prune obsolete provider and verification code 2026-10-12 08:59:14 +08:00
jadxIntegration.test.ts fix(analysis)!: scope call-graph caveats to their observed relationships 2026-10-12 09:29:07 +08:00
javascriptRuntimeReconciliationAmbiguity.test.ts fix(ci): share runtime fixtures and allow modest duplication headroom 2026-10-11 06:53:20 +08:00
javascriptSourceModes.test.ts fix(javascript): parse explicit CommonJS wrapper syntax (#2475) 2026-10-13 14:51:23 +08:00
ownedCommand.test.ts fix: preserve process identities in pwntools cleanup errors (#2284) 2026-10-13 20:28:31 +08:00
packagePackIsolation.test.ts refactor: prune obsolete provider and verification code 2026-10-12 08:59:14 +08:00
processCaptureCancellationAdapters.test.ts test(process): report cleanup details on cancellation failures 2026-10-10 03:52:35 +08:00
processCaptureCapability.test.ts fix(process): preserve partial evidence and verify detached cleanup (#1011) 2026-10-08 04:46:46 +08:00
processCaptureCapability.ts refactor(process): separate capture implementation from analyst workflows (#988) 2026-10-08 00:46:21 +08:00
processCaptureLifecycle.test.ts feat(ida): resolve containing procedures and report the admitted program as the document (#2374) 2026-10-13 20:56:20 +08:00
processCaptureNormalization.test.ts fix(process): resolve POSIX backslash basenames through PATH (#2471) 2026-10-13 20:51:44 +08:00
processCaptureProgress.test.ts test(process): prepare SDK validation before cancellation timing 2026-10-10 18:54:57 +08:00
processCaptureTerminal.test.ts refactor: remove forwarding exports and redundant aliases 2026-10-09 22:46:09 +08:00
processCli.test.ts test(process): use owned CLI and workspace fixtures 2026-10-10 01:45:01 +08:00
processFilesystemCoverageAdapters.test.ts feat(process): bound a finalization interval before forced capture timeout 2026-10-11 09:55:43 +08:00
processHostIdentity.test.ts fix(process): preserve partial evidence and verify detached cleanup (#1011) 2026-10-08 04:46:46 +08:00
processPreparation.test.ts refactor(captures)!: require canonical producer metadata 2026-10-09 23:35:19 +08:00
processSessionMcp.test.ts fix(process)!: bound terminal buffers before capture 2026-10-11 03:19:29 +08:00
processSettlementDeadline.test.ts fix(process): report single empty settlement observation as unverifiable (#2232) 2026-10-13 00:15:12 +08:00
processTruncationAdapters.test.ts perf(tests): remove timed output and synchronize browser fixtures 2026-10-11 13:20:16 +08:00
providerProcess.test.ts fix(process): return private runtime ownership at allocation 2026-10-12 16:30:53 +08:00
providerProcessOutput.test.ts fix(providers): bound launcher diagnostics without losing byte counts 2026-10-11 02:50:06 +08:00
runtimeBundle.test.ts fix(cli): preserve failure semantics across full-output formats 2026-10-13 03:33:27 +08:00
scanTodos.test.ts test: classify filesystem and process workflows by boundary 2026-10-12 04:44:13 +08:00
selectedExecutableCancellation.test.ts feat(browser): inspect historical web network captures (#992) 2026-10-08 07:53:41 +08:00
sourceMapUncHosts.test.ts fix(javascript): share source-map resolution and preserve path uncertainty 2026-10-13 13:48:24 +08:00