Repository navigation
docs(design): the chat turn core RFC after the stack - #2903
mattzcarey wants to merge 7 commits into
Conversation
|
| # RFC: one turn core for `AIChatAgent` and `Think` | ||
|
|
||
| Status: accepted. Phase 1 and the client-request part of Phase 2 are implemented. The rest of Phase 2 and Phases 3 to 5 are the plan. | ||
| Status: accepted. Phases 1, 2 and 4 are implemented, with the before-turn repair and the request context that turned up on the way. Phases 3 and 5 are the plan. |
There was a problem hiding this comment.
🟡 Accepted decision snapshot replaced by progress
The accepted ChatTurns RFC now folds later implementation outcomes into its original decision record. The RFC workflow reserves post-decision updates for living design documents. Contributors lose the distinction between accepted choices and subsequent implementation changes.
Learn more
The base revision already marks this RFC accepted. This update changes its status narrative, replaces the differences table, and revises the final decision to incorporate work completed afterward. The RFC workflow separates immutable decisions from living implementation records.
Example: D11 and D12 were recorded as unresolved follow-up work; the replacement table presents their later implementation outcomes inside the same accepted snapshot.
Recommended fix: Preserve the accepted RFC and put the consolidated implementation status, differences table, remaining gaps, and verification details in the existing shared-layer design record. Link that living record to the original RFC for historical rationale.
Was this helpful? React with 👍 or 👎 to provide feedback.
25d3191 to
0996da1
Compare
1127989 to
66b0289
Compare
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
🔴 agents import sizes: 1 entry point over threshold
Changed exports (14)
How this worksEach runtime export is bundled on its own, minified, and gzipped. Changes smaller than 100 B, or smaller than 1% and 1 KiB, are ignored. Growth over 10% or 5 KiB is marked 🔴. This report is informational and does not fail CI. The workflow artifact contains every measurement. Compared |
66b0289 to
4047c4a
Compare
Brings
design/rfc-chat-turn-core.mdanddesign/chat-shared-layer.mdup to date with the turn-core stack (#2873, #2870, #2876, #2881, #2874, #2872, #2918 and the review fixes). Docs only.The RFC still described Phase 1 and part of Phase 2, and five PRs had each numbered their differences from D13. It now has:
Retry-AfterforAIChatAgent.chat-shared-layer.mdlists the new core files and what each owns.test-coverage-matrix.mdgets a row for the turn core.pnpm run check's format step passes. No code changes, so no tests ran.