Skip to content

Where a logon subgraph's trace and recovery stack live, local and remote: centralized or distributed (for ruling) #1158

Open

Description

@David-Noble-at-work

Problem

Where a logon subgraph's trace and recovery stack live. The owner, 2026-10-23: "the trace must be part of the record app-side and must also be available to the subgraph runner together with the recovery site… There are two scenarios: local and remote. both are tricky. the question that pops for me is whether we centralize or distribute the traces and the recovery stacks?" Not settled; the owner is thinking about it.

What is known

  • The recovery site (5.3) lives inside the run's authority boundary, .devlore/recovery/ under op.Root; file archival is a zero-copy rename, so an archived file sits on the machine and partition where the effect happened, and a receipt's recovery id resolves only there.
  • Compensation (2.2) runs a receipt's compensating action against that site, so a remote unit's undo must run on the remote.
  • writ writes a run's trace to the store app-side (cli.WriteLifetimeTrace); a resume (ResumeExecutor) or a state-checked unwind (ResumeUnwind) needs the trace where it runs.
  • 2.7 § The remote leg (2026-10-22) proposed the stamped stack posted back and the remote stateless; under the three-stream model of 2026-10-23 that stack is neither narration nor product, so how it travels is open.

Evidence of completion

  • The owner has ruled; the ruling is in 2.7 and 5.3

Plan and design documents

Kind Document
Plan Not yet opened
Design docs/architecture/5.3-recovery-site.md
Design docs/architecture/2.2-phase-execution.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions