Skip to content

Volatile result delivery for atomic extension authority v2 #3143

Closed

Description

@integry

Outcome

Publish and implement a reviewed, private, bounded volatile-result delivery contract layered on the merged propr.extension-authority.v2 contract from #3137/#3138. This closes the producer gap that currently prevents Routing PR integry/propr-routing#247 from migrating its production lifecycle and rendering the complete instance-admin extension UI.

The result must preserve v2's exactly-one native dispatch and atomic dual-authority receipt. It must not reinterpret the existing v2 receipt or add raw output to authority storage.

Required contract and implementation

  1. Define a new immutable handoff contract (for example propr.extension-result-delivery.v1) for the existing private Unix listener. The strict canonical wire response must contain the signed v2 authority receipt plus an optional volatile delivery envelope. A first successful dispatch may contain the complete bounded native propr.fleet-extensions.v1 result; request, completion, status, exact replay, and any incomplete operation must contain no native delivery.
  2. Bind delivery to the same v2 operation, phase, action, work, acquisition and result: the canonical delivered native envelope digest must equal the signed receipt's nativeResultDigest; its operation/action must match the independently retained request; recipient delivery must additionally match the signed receipt's recipientCommitment, mutation operation, canonical intent digest, server, field, audience, instance and every authority/placement/runtime/storage epoch. The listener must construct expectations from retained request state, never from response-selected coordinates.
  3. Commit the SQLite mutation, v2 receipt and result digest before any response bytes or volatile recipient material are exposed. Keep the raw result only in call-local memory. Never persist or log profile projections, skill contents, recipient public material, ciphertext, credentials, tokens, plaintext or unsafe native diagnostics in the v2 ledger, filesystem journal, application logs or crash evidence.
  4. Preserve v2 replay semantics. An exact dispatch retry returns the retained receipt with an explicit delivery-unavailable state and never redispatches or fabricates a result. Routing may start a new independently authorized read operation to recover public projections. A lost recipient.issue delivery is never reconstructed: a later distinct acquisition operation may mint a new recipient for the same immutable mutation intent, while the lost recipient remains unusable to the caller and expires normally. Mutations remain committed even when projection delivery is lost.
  5. Define strict per-action public result schemas for all fourteen native actions using the existing public projection types and size/count limits. Secret-bearing fields must be structurally impossible. Reject unknown keys, over-budget values, noncanonical bytes, wrong action/result combinations, digest substitution and recipient/result substitution. Do not weaken the existing independent Ed25519 recipient signature or browser expected-binding verification.
  6. Wire the production Unix listener to emit this outer response only on the fixed private authority path. Public Express/tunnel ingress must continue to refuse it. Connection aborts, response-write failure and shutdown must not roll back committed work, redispatch, leak results, or turn a retained recipient into success evidence.
  7. Publish a complete handoff bundle with schema, capabilities, fixtures, verifier, exact source pins and SHA256SUMS. Keep every downstream/public/action/readiness flag false; this PR is producer contract/implementation only and does not claim Routing, Fleet feat(ui): Implement CRUD interface for repository management #104, browser UI or selected-runtime qualification.

Verification

Use Node 24 and exercise the real SQLite transaction and Unix listener, not only schema fixtures.

  • Every action's first-dispatch delivery and strict parsing.
  • Request/completion/status/replay have no delivery.
  • Lost reply before/after commit, socket close, process restart and all existing SIGKILL/fault boundaries: native dispatch occurs at most once and retry is receipt-only.
  • Result/action/work/acquisition/operation/intent/digest/recipient/key/epoch substitution and noncanonical/oversize/unknown-field refusal.
  • Recipient loss followed by a distinct acquisition for the identical mutation intent; old material is never reconstructed and neither acquisition can authorize another mutation.
  • Public-ingress refusal, redaction, persistence and log sentinel scans.
  • Existing v1 and v2 suites, root typecheck/build, migrations, generated-artifact checks, bundle verifier/checksums, secret scan and git diff --check.

Do not deploy, publish a release, mutate credentials/ACLs/providers/tenants, enable readiness, or modify downstream repositories from this task.

Activity

  1. propr-dev commented on Oct 15, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 3143/gpt-6-astra-volatile-result-delivery--20261015-1610-qze
    • Base Branch: main
    • Worktree: issue-3143-20261015-1610-gpt-6-astra-qze

    🔍 Track Task Execution

  2. added a commit that references this issue on Oct 15, 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions