Skip to content

Bind chat recovery documentation to route error contracts - #1071

Draft
sidneyswift wants to merge 3 commits into
mainfrom
codex/chat-recovery-doc-contract
Draft

sidneyswift wants to merge 3 commits into
mainfrom
codex/chat-recovery-doc-contract

Conversation

@sidneyswift

@sidneyswift sidneyswift commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

A second submission during a live reply must be distinguished from reconnecting, and a failed chat lookup must not look like a missing or empty chat. This companion binds the corrected Research/Sessions documentation to eight canonical route exports and preserves GET’s finish-only 200 SSE and status-read 502.

Depends on #1070 (runtime candidate 2d0ad56b4df596ed9e8c387d784cfc9eb9d7180d). The companion-only commit is 246f19d7a852666eae8bd6637b71cfdb772ae01f; review its diff against that candidate. This draft targets main as required and inherits the unmerged runtime commits. Do not merge independently: accept/merge #1070 first, then refresh this branch on the actual merge before final release review. Marketing’s companion remains held until that dependency is released.

Validation: 137 API contract tests pass, including 17 new route cases (initially 13 failed against the old fixture). Dedicated response-contract types, owned ESLint/format and fixture parity pass. Whole-repository TypeScript still fails with 211 identical diagnostics on baseline/candidate under the same dependency directory; this is not a clean global typecheck.

Tests use synthetic authentication/storage/workflow leaves. No real run, customer request or provider call occurs. No runtime changes are added by the companion commit. Early no-write assertions are not generalized to every conflict/error. Client text preservation, Stop/disconnect handling and live reconnect acceptance remain open under Mono #358/API #596; no queue, replay or durability guarantee is introduced.

Independent Spec and Standards reviews both pass with zero findings on this exact companion revision. Runtime/client acceptance and the dependency hold remain separate.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Oct 21, 2026 8:03am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
Preview — 246f19d7 Deployed Oct 21, 2026 by vercel[bot]
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.

1 participant