Skip to content

Implement event writes and consequential confirmation in Go #167

Closed

Description

@KalebCole

Derived from the approved architecture in #155 and ADR 0001 (PR #160).

  • Contract surface: events create, events update, events cancel;
    standard planning for create/update and confirmed planning for cancel.
  • Evidence gate: reviewed mappings and failures for createEvent,
    firestorePatchEvent, cancelEvent, and supporting event reads; field-level
    update-mask and post-write complete-Event behavior; poster ID handling;
    and the exact reviewed value for required remote fields such as
    EventDraft.displaySettings that are not public product input.
  • Dependencies: S1 posters, S3 event reads, S5 mutation authority.
  • Safe verification: scripted remote fixtures prove exact requests,
    precondition rebinding, field allowlists, plan expiry/reuse, and response
    validation. No live create/update/cancel.
  • Complete when: arbitrary Firestore fields cannot be patched, applied
    create/update return complete Event, cancel requires a matching
    --confirm token, and unknown released responses stop at exit 9.

Tracked dependencies

#162, #164, and #166

Activity

  1. KalebCole commented on Aug 12, 2026

    @KalebCole
    OwnerAuthor

    Phase 1 contract-evidence PR is ready: #188 (3b79a57).

    It proposes product/remote revision 2026-08-12.4 and keeps shipped Go constants at .3. Current public assets close create/cancel completion only to submitted-only results; they do not establish a post-write complete Event. Firestore update is limited to the reviewed title/description/date/timezone/capacity/links/poster projection plus private updatedBy; location, visibility, and display settings remain excluded because the current client uses field-specific callables. Cancel binds owned PUBLISHED, positive-guest, future-event facts and requires exact confirmation.

    No live mutation, credential use, upload registration, or Go implementation occurred. Targeted contract tests (36), full non-live tests (300), typecheck, Go test/race/vet/build/mod verification, privacy scan, and diff checks pass. One delegated review is required; implementation remains blocked until #188 is reviewed and merged.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions