Files
summercms/.planning/phases/31.1-wavepath-messaging-parity/31.1-DISCUSSION-LOG.md

4.1 KiB

Phase 31.1: WavePath messaging parity - Discussion Log

Audit trail only. Do not use as input to planning, research, or execution agents. Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.

Date: 2026-11-13 Phase: 31.1-wavepath-messaging-parity Areas discussed: Attachment URL in JSON, Image helper routes vs 31.2 (Reactions storage and Thread mute mapping locked without deep dive)


Area selection

Option Description Selected
Attachment URL in JSON PHP legacy path vs Go path ✓
Reactions storage Host table vs chat API locked as map-to-existing
Thread mute mapping Host subscription vs chat ThreadMute locked as map-to-existing
Image helper routes vs 31.2 Port GETs now vs leave pending ✓

User's choice: Discuss 1 and 4; for 2 and 3 map into existing API. Notes: No todos folded into 31.1.


Reactions storage (no deep dive)

Option Description Selected
Host model Port golem15_wavepath_reactions
Map into existing API Use chat plugin reactions ✓

User's choice: Map into existing API. Notes: Overrides research preference for host tables (import fidelity).


Thread mute mapping (no deep dive)

Option Description Selected
Host table Keep ThreadSubscription
Map into existing API Use chat ThreadMute ✓

User's choice: Map into existing API.


Attachment URL in JSON

Option Description Selected
App-side rewrite only WavePath decorator; shared /_chat unchanged ✓
Shared serializer change D-14 release for all consumers
Accepted difference Leave Go paths in /_wave

User's choice: App-side rewrite only.

Option Description Selected
Absolute Match PHP url(...) with host ✓
Path-only /api/chat/attachments/...
Fixture-driven Match whatever one golden shows

User's choice: Absolute.

Option Description Selected
HTTP and broadcasts REST + publications with attachments ✓
HTTP only Leave broadcast payloads as shared serializer
You decide Green replay is enough

User's choice: HTTP and broadcasts.

Option Description Selected
App config base URL Summer app URL / PHP APP_URL ✓
Request Host Build from incoming request
You decide Fixtures agree

User's choice: App config base URL.


Image helper routes vs 31.2

Option Description Selected
Port the GETs in 31.1 unfurl-image + webhook-icon; CRUD/jobs later ✓
Leave pending until 31.2 Messaging gate ignores them
Port unfurl-image only webhook-icon with webhooks

User's choice: Port the GETs in 31.1.

Option Description Selected
Seeded cache Success from fixtures; miss matches PHP ✓
Always 404 until 31.2 Only denials in 31.1
You decide Green cases

User's choice: Match PHP with seeded cache.

Option Description Selected
Minimal read models only Fixture rows, no proxy classes
Full proxy classes now fetchguard proxies; no CRUD/jobs ✓
You decide Green GETs

User's choice: Port the full proxy classes now.

Option Description Selected
Fixture / sidecar only No live egress in parity tests ✓
Allow live fetchguard Real HTTP when allow-listed
You decide No flaky deps

User's choice: Fixture / sidecar only.


Claude's Discretion

  • Decorator merge details beyond the locked URL rewrite rules
  • Streamer and proxy type names
  • Scenario seed layout for unfurl/icon rows
  • Plan count inside the phase

Deferred Ideas

  • Full unfurl resolve/jobs and webhook CRUD → Phase 31.2
  • Search backend → Phase 31.2 discussion