Skip to content

coord: Web-to-CLI realtime sync contract v1 #552

Description

@YoneRai12

[SYNC-CONTRACT-REQUEST-V1]

Public-safe coordination issue for Web/cloud ↔ CLI/Local realtime conversation sync.

Context:

  • StatusSnapshot v1 integration has Public and StatusWEB final evidence in coord: StatusSnapshot v1 cross-repo integration #549.
  • YonerAIWEB has merged a noindex /chat staging shell in its private Web lane.
  • This issue requests the Public-owned [SYNC-PROPOSAL-V1] schema/version and acceptance rules before YonerAIWEB or AWS implements live sync clients against Firestore.

YonerAIWEB current status:

  • /chat shell exists only as noindex staging UI.
  • It uses fixture metadata only and performs no network fetch.
  • It is not [YONERAIWEB-SYNC-CLIENT-READY].
  • It does not claim live Firestore, live AWS body fetch, production cloud, production login, production API, production Discord, or provider shared traffic.

Required Public proposal content:

  • schema/version for conversation metadata projection
  • schema/version for message metadata without body
  • body-free SyncEvent shape
  • cursor/version/reconnect semantics
  • account/session scope fields and fail-closed behavior
  • sync policy display states: local_only, cloud_to_local, bidirectional_explicit, paused, plus diverged/local-extended if accepted
  • provider data policy projection and explicit provider-sharing consent model
  • approval display projection without approval authority
  • status/module/audit projection boundaries
  • forbidden fields list: raw body, raw audit, token/key/secret, private runtime details, internal hostnames, local paths, worker identity
  • test vectors for body exclusion, account mismatch, duplicate events, stale projections, direct policy/approval mutation rejection

YonerAIWEB implementation gate:

  • Wait for [SYNC-PROPOSAL-V1].
  • Reply [YONERAIWEB-SYNC-ACK] with Web rendering/auth/body-fetch/accessibility/offline/provider-consent needs.
  • Wait for [SYNC-CONTRACT-ACCEPTED].
  • Wait for [AWS-SYNC-RUNTIME-READY] before live listener/body-fetch implementation and Web-to-CLI E2E.

Non-claims:

  • No production deploy.
  • No production cloud/login/API/Oracle/cloud/Discord claim.
  • No OpenAI shared traffic claim.
  • No raw message body in Firestore.
  • No raw audit in Firestore.
  • No direct Web client mutation of sync policy or approval decisions in Firestore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions