Skip to content

Epic: Evidence v2 and deterministic process fidelity #48

Done

Description

@morluto

Outcome

Provide trustworthy process observations and comparisons alongside Evidence v2 and real Hopper function-analysis proof. Agents compose experiments with commands and scripts; REA captures the requested runtime activity and returns evidence.

This epic remains open for event-complete process observation and the broader Hopper conformance claims. It no longer requires a custom reactive experiment framework or built-in replay engine.

Scope after #555 and #572

#555 removed permission grants, filesystem scope ceilings, and repeated approval fields. #572 removed loopback replay servers, command shims, reactive state machines, custom checkpoint triggers, and the controlled JavaScript replay/characterization flows.

Direct process capture retains caller-selected commands, PATH resolution, working directories, environment overrides, timed input/resize/signal events, terminal observations, before/after filesystem snapshots, process sampling, settlement, cancellation, and owned-resource cleanup. Network activity is not observed by this capture, and process sampling must not claim event-complete lifecycle coverage.

Agents can run fixture servers and repeat authority/candidate commands themselves, then use comparison tools on the resulting evidence. Needing an agent-authored script is not an incomplete REA capability. Generic conformance and evidence-integrity checks remain useful without an executable replay subsystem.

Earlier comments requiring the #60 → reactive #57 → paired experiment → replay export pipeline describe the retired direction. Historical closure of those implementation issues is not a current replay capability claim.

Evidence requirements

Results distinguish observation, inference, and unknowns. Missing, truncated, unsupported, or unobserved activity cannot be represented as equivalence or an empty fact. Explicitly sensitive inputs and transport credentials are redacted; ordinary selected local inputs and diagnostics are preserved.

Use actual OS permissions and truthful provider prerequisites. Validate target identity and input/protocol constraints, and prove cancellation and cleanup. Portable scenario parsing alone does not establish Windows process ownership or executable support.

Remaining child work

Hopper dossiers and semantic proof remain under #54/#55, with broader trackers #31/#25 and focused real-provider issues #339–#344. Complete function bodies, references, calls, comments, and CFG coverage must be reported from actual provider evidence; unavailable coverage cannot satisfy a positive conformance claim.

Owned process trees and filesystem effects remain under #59. Event-complete process lifecycle integration is tracked by #333. Missing PTY modules, ABI mismatches, and actual probe failures need actionable diagnostics under #568.

The Evidence v2 foundations in #49–#53 and Hopper ownership work in #56 remain historical delivered work. Browser/Electron capabilities are tracked separately by #39/#64; environment evidence remains under #69/#382. None requires restoring REA grants or replay orchestration.

Exit gate

Public CLI and MCP behavior must agree. Process tests must prove actual capture, failure classification, cancellation, settlement, and owned-resource cleanup. Comparisons must retain unknown coverage rather than claiming determinism or equality from missing observations.

Run the applicable current gates: npm run check:pr, npm run verify:package, source-built fixtures, and the matching real-Hopper/provider verification lanes. The broader semantic and event-completeness claims require their own evidence before the remaining child issues can close.

Activity

  1. added
    enhancement
    P0: critical
    area: domain
    area: server
    area: tests
    roadmap
    on Jul 12, 2026
  2. morluto commented on Jul 17, 2026

    @morluto
    OwnerAuthor

    Most original Evidence v2 and low-level process-capture foundations are delivered. The remaining epic exit gate is the expanded reactive paired experiment: stateful replay, repeatability classification, causal first divergence, and portable generated conformance packages. Current dependency order is #60, expanded #57, #61, then #62.

  3. morluto commented on Jul 17, 2026

    @morluto
    OwnerAuthor

    Current-main audit: the Evidence v2 and base Process Capture v4 stack are delivered, but the epic is not complete. The remaining exit path is the reactive paired-experiment pipeline: #60 finite-state replay, expanded #57 reactive trigger algebra, #61 paired repeatability/instability experiments, #62 portable conformance export, plus completion of real-Hopper conformance. Keep this epic open as the dependency/exit-gate tracker.

  4. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    The Evidence v2 and deterministic process-fidelity work is now split into focused children:

    Process capture and replay

    Hopper conformance

    This epic can close when the process-capture and Hopper children are closed.

  5. morluto commented on Jul 22, 2026

    @morluto
    OwnerAuthor

    End-to-end follow-through is tracked in #406. It uses the process-fidelity work here as one stage in a broader reconstruction journey and verifies integration with capability discovery, grants, JavaScript/Electron workflows, partial-order comparison, contradiction preservation, and coverage closure.

  6. added
    area: runtime
    area: evidence
    and removed on Nov 23, 2026
  7. morluto commented on Nov 24, 2026

    @morluto
    OwnerAuthor

    Closing epic as superseded/substantially complete: #57, #60, #61, #62, #568, #406, #332, #31, #54, #55, #339, and #341-#344 are closed. Remaining focused work is tracked directly in #333 and #340.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0: criticalarea: domainarea: evidencearea: runtimearea: serverarea: testsenhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions