Repository navigation
Closed
Description
Derived from the approved architecture in #155 and ADR 0001 (PR #160).
Implementation
Owner-reviewed product and remote contract revision 2026-08-12.1 merged in #182 at 936b316. PR #183 implements the complete S3 event-read surface and closes this issue when merged.
- Commands: protected
events list --when upcoming|pastandevents get, both throughapp.Execute. - Authentication: auth-owned session acquisition reuses the shared protected-command path. Refresh is serialized, rejected or expired refresh maps to
auth.expired, missing credentials map toauth.required, and protected reads never receive or prompt through a terminal. - Projection:
eventIdis required. Other event-read fields use reviewed nullable/unavailable semantics.PUBLISHEDmaps toactive;CANCELEDmaps tocancelled;UNSAVEDand unknown values are protocol drift. Owner membership maps tohost; known non-owner guest presence maps toattendee; known non-owner without a guest maps tonone; missing owner data maps to null. All 16 guest statuses use the exact lossless read mapping. - List pagination: one complete upcoming or past response, received order, 1,000-item and 8-MiB bounds, and command/filter/offset/digest-bound local cursors. Changed refetches return
CURSOR_SNAPSHOT_CHANGED. - Detail failures:
getEventInfomust return an object. Reviewed404 NOT_FOUNDmaps toresource.not_found; malformed responses and every unobserved received status, including 403, map tocontract.protocol_changed. - Remote boundary: S3 calls only the two homepage list operations and
getEventInfo. It does not call Firestore event GET,getCurrentGuest, or Firestore guest GET.
Explicit deferrals
cohostremains reserved and is never emitted because reviewed owner membership does not distinguish it from host.permission.deniedremains deferred until an inaccessible-event response is reviewed. This is not an S3 completion requirement.
Validation for PR #183
go test -race ./...go vet ./...go build ./...go mod tidywith no module diffTZ=America/Los_Angeles npm test— 352 passed, 6 live tests skippednpm run typechecknpm test -- --run tests/remote-api-contract.test.js— 31 passed- privacy scan and
git diff --check
Tracked dependencies
Metadata
Metadata
Assignees
Labels
No labels
Activity
KalebCole commentedon Aug 11, 2026
S3 evidence audit result: blocked on unavailable authenticated privacy-safe observations. Remote contract revision
2026-08-11.4retainsgetMyUpcomingEventsForHomePage,getMyPastEventsForHomePage,getEventInfo,firestoreGetEvent,getCurrentGuest, andfirestoreGetGuestresponse/status claims as explicit unknown; TypeScript request/shape assumptions remain non-authoritative. A complete revision needs owner-attended authenticated read-only observations for both list shapes and completeness/pagination, complete event/nullability/role/RSVP projection, authenticated not-found, and a safe known-existing inaccessible event to distinguish permission denial.partiful doctorreports no local auth config, so the orchestrator cannot gather those facts without private credentials or real-person action. Signed-out/public inference cannot close the user-specific list, role, RSVP, or permission gates. No Go S3 code will be guessed or registered.KalebCole commentedon Aug 11, 2026
Authenticated owner-attended read evidence is now captured and privacy-checked. Observed: upcoming/past list HTTP 200 shapes over 35/294 events with identical repeated identity sequences; getEventInfo 200 selected event and 404 NOT_FOUND synthetic missing; getCurrentGuest 200; Firestore guest 200 with matching guest status; Firestore event GET 403 PERMISSION_DENIED for both selected and synthetic IDs; selected getEventInfo is also readable signed-out. A proposed joint contract revision with #165 is now being drafted from the committed redacted artifact; no raw values or live mutation were retained.
KalebCole commentedon Aug 11, 2026
Proposed read-evidence contract revision: #180
The PR records the sanitized 35/294 event-list observations, selected event and guest reads, callable 404
NOT_FOUND, Firestore guest equality, Firestore event 403PERMISSION_DENIED, and the signed-out selected-event result. It remains proposed and does not claim an inaccessible-event permission probe.Remaining implementation gate: independent owner review and merge, plus evidence for complete list-field projection, event state/role/RSVP mappings, list failures and safe bounded pagination, inaccessible-event permission distinction, current-guest alternate/null variants, and Firestore event success/not-found/attendee behavior. Go S3 must not use this proposal as authority until that gate closes.
fix(contract): reject unobserved guest variants (#164)
KalebCole commentedon Aug 11, 2026
PR #180 contract review cycle 1: review found an overbroad anonymous-access promotion plus shared privacy/inventory gaps. The selected signed-out event observation must remain evidence metadata, not universal
getEventInfosecurity. The resumer is correcting this test-first; revision.5remains proposed.fix(contract): address read evidence review (#164, #165)
KalebCole commentedon Aug 12, 2026
PR #180 review cycle 1 fixes are pushed in
49a7d36: #180The normative
getEventInfosecurity contract is bearer-only. The one selected signed-out success remains scoped to evidence metadata and the human ledger, and empty anonymous security alternatives can no longer bypass material-claim auditing. Privacy and observed-200 inventory guards are also corrected.Status remains proposed and not owner-reviewed. The S3 implementation gates previously listed on this issue remain open; no inaccessible-event permission behavior or universal public-read behavior is claimed.
KalebCole commentedon Aug 12, 2026
PR #180 review cycle 2 found a remaining single-sample overclaim: selected event/current-guest fields were promoted as operation-wide required/null-only types. The proposal is being corrected to conservative optional/union typing with explicit variant uncertainty. Go implementation remains gated.
fix(contract): address read evidence review cycle 2 (#164, #165)
KalebCole commentedon Aug 12, 2026
PR #180 review cycle 2 blockers are fixed in
79498e06ef31e1f5db8b99cc534b41cd5c6adc06.The approved CLI/shipped revision remains
.4; the remote.5proposal now avoids single-sample required-field and variant overclaims for event detail and current guest. All requested non-live validation passed (36 targeted, 292 full JS, typecheck, Go race/vet/build/mod, diff, PII, and strict privacy guards).Implementation remains gated on owner review and merge of proposed remote revision
.5, then S3/S4 implementation and the shipped revision bump. No merge or owner-reviewed status change occurred.fix(contract): leave read variants unconstrained (#164, #165)
KalebCole commentedon Aug 12, 2026
PR #180 final Spec blocker is fixed in
48a5754fa0e812988b7ec7b89354db3c4774feb0.EventInfoandCurrentGuestno longer impose top-level object types from one success sample. Their observed property schemas remain conditional, both obsolete evidence claims were removed, and the audited count is 1,230. All requested non-live JS, TypeScript, Go, diff, PII, and privacy validation passed.Owner review/merge and later S3/S4 implementation remain the gate. No merge or approval occurred.
docs(contract): approve event and contact read evidence (#164, #165)
KalebCole commentedon Aug 12, 2026
Remote API read contract revision
2026-08-11.5is owner-reviewed and merged asa426456after final Standards/Spec clearance and passing checks. Go S3 assessment/implementation has started in isolated branchfeat/164-event-reads; unknown role/variant/failure behavior remains fail-closed and will not be guessed.KalebCole commentedon Aug 12, 2026
S3 implementation assessment against owner-reviewed revision
2026-08-11.5Result: the public S3 catalog is still evidence-blocked, so no event command is being registered or partially shipped.
Exact residual gates:
HomePageEventrequires onlyid.title,startDate,timezone,status, andguest.statusare conditional observations. There is no reviewed mapping from remotestatusto productstate, from guest status to productmyRsvp, or from any reviewed list field to productuserRole. Therefore a completeEventSummarycannot be produced without guessing.EventInfointentionally has no operation-wide top-level type or required fields. The productEventadditionally requires stable projections for role/RSVP and fields including location, address, guest limit, poster, and links;.5does not establish those projections or their null variants.CurrentGuestis one selected object only. Null/alternate variants and RSVP semantics are still unknown.firestoreGetGuestconfirms only selected status equality; it does not establish the product mapping.firestoreGetEventhas no reviewed success path. Its selected and synthetic requests both returned403 PERMISSION_DENIED, so it cannot supply event fields or distinguish permission denial from existence/not-found.getEventInfohas reviewed selected200and synthetic404 NOT_FOUND, but no reviewed inaccessible-event permission mapping. The selected signed-out200is metadata only and is not universal access evidence.The allocated first protected-command tracer cannot be added independently: command definitions drive execution and schema, and
events list/events getcannot enter the releasable catalog until their output/failure mappings are complete. Consequently, materializinginternal/authsession acquisition now would have no real protected-command consumer and would create the dead seam that #155 prohibits.Evidence needed to resume: reviewed exact product mappings/null behavior for every
EventSummaryandEventfield, role and RSVP semantics across relevant variants, callable inaccessible-event behavior (or another reviewed permission distinction), and explicit support for safe bounded local pagination over the one-response event representation. No live APIs, credentials, or mutations were used for this assessment.KalebCole commentedon Aug 12, 2026
S3 resumed under the issue #114 delegation. Current first-party
/eventsassets will supply exactLIVE/CANCELED, owner-membership, guest-status, and local list behavior. The product correction will make unproven optional fields explicitly nullable/unavailable, emithostfor reviewed owner membership, reservecohostuntil a distinct field is observed, keep unobserved permission mapping as protocol drift, and use local digest-bound pagination over the reviewed complete list representation. Contract PR comes before Go implementation.KalebCole commentedon Aug 12, 2026
Contract correction is ready for delegated review in #182 at
57861fff56c7d29aca6e5109487ddb385dae25b6. This supersedes my earlier evidence-blocked conclusion; no Go implementation or shipped revision changed.Exact proposed mapping:
PUBLISHED→active;CANCELED→cancelled.host; known non-owner with guest →attendee; known non-owner without guest →none; unavailableownerIds→ null.eventIdis required; unsupported optional projections are null as unavailable-not-claimed.Explicitly deferred:
cohostdistinction andpermission.denieduntil distinct owner-role and inaccessible-event evidence exist. An unobservedgetEventInfo403 remains protocol drift. S3 must not call Firestore event GET or the separate guest reads.Validation: 31 contract tests; full non-live suite 352 passed with 6 live tests skipped; typecheck; Go race/vet/build/module checks; privacy and diff checks.
docs(contract): approve event-read mapping (#164)
KalebCole commentedon Aug 12, 2026
Product/remote event mapping revision
2026-08-12.1passed targeted/full tests, required CI, and the single PR review after direct fixes; PR #182 merged as936b316. The same implementation agent has resumed on fresh branchfeat/164-event-reads. One implementation PR and one reviewer will be used.KalebCole commentedon Aug 12, 2026
Implementation is ready in #183 at
cb5132539cb1261d357a96ca61173ebdf896419c.Validation completed:
go test -race ./...go vet ./...go build ./...go mod tidywith no module diffTZ=America/Los_Angeles npm test— 352 passed, 6 live tests skippednpm run typecheckThe reviewed deferrals remain unchanged:
cohostis reserved and never emitted, andpermission.deniedwaits for inaccessible-event evidence. A receivedgetEventInfo403 remains protocol drift. No Firestore event or separate guest read is used.feat(events): add protected event reads (#164)