Publishing Distribution System Guide
Task 64 promotes distribution into a first-class platform domain rather than treating guest access as ad hoc query-string links.
Purpose
Task 64 promotes distribution into a first-class platform domain rather than treating guest access as ad hoc query-string links.
The implemented system now owns:
- secure hashed access tokens
- redirect-based entry links for guest-facing distribution
- QR-safe reusable access artifacts for publishing outputs
- planner-visible distribution records, campaigns, and event tracking
- revoke and regenerate lifecycle controls
- campaign send orchestration through the communications runtime
Runtime shape
distributionstores access artifacts and lifecycle state.distribution_campaignsstores planner-managed outbound batches.distribution_eventsstores sent/opened/clicked/resolved/completed and lifecycle events.guestAccessRepositoryis now a compatibility adapter over the distribution repository so existing guest flows keep working while the platform shifts to the new domain.
Entry flow
Guest-facing artifacts now point to:
GET /v1/distribution/access/:token
That endpoint:
- resolves the hashed token
- records a
clickedevent - redirects into
{occasion_slug}.tov.pluswith the raw guest token for the current guest app contract - returns a generic user-facing unavailable page for invalid, expired, or revoked links
Planner surface
The planner publishing page now includes:
- campaign creation
- campaign send actions
- active distribution visibility
- revoke/regenerate token controls
- recent distribution event history
Event model
The implementation records:
sentwhen campaign or notification delivery is queuedclickedon distribution redirect entryresolvedon secure token resolution in guest flowsopenedon guest bootstrap loadcompletedon guest RSVP submissionrevokedandregeneratedon lifecycle actions