Skip to content

Carry recording publication policy through request cleanup #5065

Backlog

Description

@thymikee

Make recording publication consume an explicit producer decision. On #5059, response finalization checks record stop and cleanup checks the command and response shape. Both need to use the policy the producer already knows.

Contract

Carry a typed decision with the committed output. It should express audience and failed-delivery behavior independently. For example, { audience: { kind: 'lease', proof }, onFailedDelivery: 'retain-for-producer' }. Use existing ownership and receipt types where possible.

  • Remote inventory and download must require the permitted audience. Host-only output remains host-only even for an unleased producer with no tenant.
  • Preserve screenshot discard on failed delivery and authorized recording recovery after failed delivery.
  • Remove the recording-specific command and result checks used to decide publication in request finalization and binding cleanup. Preserve existing response and error shapes.

Done when

Routed tests distinguish host-only, tenant-scoped, and leased publication, and cover cleanup failure or cancellation for both screenshot and recording. Existing recording IDs and live suite behavior remain compatible.

Part of #4970. Coordinate with #5059 before publishing. Its remaining archive and proof review findings stay on that PR. A follow-up against the merged head is also valid if the PR has already landed.

Activity

  1. added
    needs-triage
    on Nov 24, 2026
  2. apex-sentinel-staging commented on Nov 24, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: feature

    The issue proposes a specific enhancement: carry a typed publication policy through recording finalization and cleanup, defines the contract, and lists acceptance tests. It is not reporting existing broken behavior or asking for help.

  3. added and removed
    needs-triage
    on Nov 25, 2026
  4. thymikee commented on Nov 25, 2026

    @thymikee
    MemberAuthor

    Decision: recording publication sequencing: Start this slice after #5059 lands. Carry the producer audience and failed-delivery policy through cleanup and remove command/response inference. Keep late-export and independent archive/standalone delivery. Suite archive conversion stays in #5069. The pending-recording settlement fix belongs in #5059.

  5. thymikee commented on Nov 25, 2026

    @thymikee
    MemberAuthor

    Decision: recording publication sequencing update: #5099 (direct recording) and #5100 (suite recording) replace #5059. Start this cleanup against the merged recording stack. Keep the producer policy separate from suite archive conversion in #5069.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions