Skip to content

TL-02: Photon bridge (ping, capture), project ID redaction, H17 torna… - #16

Merged
SJAryan merged 3 commits into
mainfrom
tl-02-photon-handset
Nov 8, 2026
Merged

SJAryan merged 3 commits into
mainfrom
tl-02-photon-handset

Conversation

@AnkithaThomas

Copy link
Copy Markdown
Collaborator

TL-02: Prove Photon 2.0 on one team handset

Channel: iMessage
Connection: Photon Beta cloud, free shared line. Bridge polls listMessages using an API key scoped to project:read + project:write.

Proof (live):

  • Nov 7, ~6:36 PM CT: consenting teammate texted ping from their own phone to the shared line and received the reply (npm run ping). Verified live on teammate's phone.
  • Nov 7, ~6:41 PM CT: captured H17 tornado check-in from the same handset (npm run capture -- H17 tornado fixtures/h17-checkin.json).

Adds backend/bridge/:

  • agent.ts: config + npm run ping round-trip check against the configured test sender.
  • capture.ts: captures the next real message from the test sender as a sanitized, replayable check-in. Redacts sender, agent line and project ID; refuses to write if any leak through.
  • capture.test.ts: covers sanitizing, including project ID redaction.
  • fixtures/h17-checkin.json: sanitized replay fixture for A (ingestCheckin) and D (example). extracted is null until TL-08.
  • .env.example, README.md: setup for anyone running the bridge.

Gaps / notes:

  • ping logs "accepted for asynchronous dispatch," not "delivered." Delivery tracking is TL-08.
  • The fixture is a replay of a live capture, not a live integration.
  • No secrets, real phone numbers or project ID committed; .env is gitignored.

Closes TL-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants