Skip to content

Owner attestation: bind a spawn proof to the session it attests #465

Open

Description

@SSFSKIM

Bind an owner's spawn proof to the session it attests.

The receiving machine judges an event's owners by its ownersProof (apps/org-protocol/src/attest.ts, verifyOwnersProof). A spawn proof is the owner's step-up-signed session.spawn (the app's remote spawn) or sminos.spawn act. The verifier checks four things: the signature, the proof's machine against the sending machine, the signer's device standing, and the signer being the claimed owner. It does not check that the proof is for the session whose event carries it. Neither act's signed args name the session: they are DX6's strict spawn fields, and the machine picks the app session id and the engine session id after the act. So a machine can reuse one owner's spawn proof to claim that owner for any other session it lists or speaks for, and every receiver accepts it.

Found by the desk track at P5 O7 M7's live sitting follow-up (PR #464, which fixed the spawn action's name in SPAWN_ACTIONS and names this gap in its body).

What decides it (design first):

  • (a) A signed, app-chosen session id in the spawn act (a new optional DX6 field behind a capability), which the machine adopts as the app session id and every receiver checks the event against. It must hold across /clear's new engine sessions, since the writer is <name>/<engine session id>.
  • (b) A receiver-side rule: one spawn proof (by its opId) attests at most one session, remembered per receiver. This is weaker, because a fresh receiver has no memory.

The architect's lean is (a), because (b) depends on each receiver's history.

Acceptance: an org-protocol vector in which a spawn proof attesting a session other than the one it created is refused. The existing five session.spawn vectors and the sminos.spawn vectors still pass. A machine on the older shape degrades to owners down unverified, never to a refusal of its events.

Cites docs/doperpowers/plans/2026-10-27-p5-org.md (Parent-level acceptance 11, "Owners are visible and carried"; RL9).

Activity

  1. added
    bug
    status:ready-for-architect
    priority:P2
    on Nov 4, 2026
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

    bugpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions