docs(research): archive planning-phase design notes under research/ #3
Merged
tannerlinsleymerged 2 commits into
main fromrefs/pull/3/head·merged by tannerlinsley Moves the five planning markdown files out of the repo root into a new `research/` directory, with a `README.md` framing them as historical context (not maintained docs).
Why#
The five files were sitting untracked at the root from the design sprint. The user wants them in the repo for browsable context but not at the root — `research/` is the chosen home.
The README explains:
- These are point-in-time snapshots, not specs
- Current API may differ in places
- Which recommendations shipped vs evolved
- Briefly notes the "TanStack Run" naming detour
Test plan#
- No source or test changes — engine unaffected
- CI green
Summary by CodeRabbit#
- Documentation
- Added research documentation archive covering workflow API design candidates (definition-object, builder-chain, hooks-style patterns), explicit versioning specifications with lock-file integrity and ESLint rules, prior art analysis of AI orchestration architectures, and operational risk assessments addressing source skew and resumption failures in durable workflows.
- 1
🚀 Changeset Version Preview#
No changeset entries found. Merging this PR will not cause a version bump for any packages.
More templates
@tanstack/react-template
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/react-template@3@tanstack/react-template-devtools
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/react-template-devtools@3@tanstack/solid-template
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/solid-template@3@tanstack/solid-template-devtools
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/solid-template-devtools@3@tanstack/template
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/template@3@tanstack/template-devtools
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/template-devtools@3@tanstack/workflow-core
npm i https://pkg.pr.new/TanStack/workflow/@tanstack/workflow-core@3commit:
a39ac25tannerlinsley merged this214ac78
tannerlinsley closed this
Sign in to join this conversation.
Caution
Review failed#
The pull request is closed.
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID:
e328d4c3-81f2-4a31-80bd-bb7e13d17cce📥 Commits
Reviewing files that changed from the base of the PR and between a443f758e4ace8850f9342895ce19bc9ba386814 and a39ac256a5b0b722999904b2bfbb59747e16c795.
📒 Files selected for processing (6)
research/API_CANDIDATES.mdresearch/EXPLICIT_VERSIONING.mdresearch/PRIOR_ART_AI_ORCHESTRATION.mdresearch/README.mdresearch/RESEARCH.mdresearch/SRC_SKEW_AND_RESUMPTION.md📝 Walkthrough
Walkthrough#
This PR introduces six research documents to
research/establishing foundational design decisions and operational strategies for TanStack Workflow. The documents move from design exploration through current implementation assessment to proposed solutions for durability and versioning challenges.Changes#
Workflow Design & Research Documentation
research/README.md/docsandpackages/workflow-core/README.md.research/API_CANDIDATES.mdctxprimitives, builder-chain with middleware, hooks-inspired with build transforms) tested against a canonical onboarding workflow. Compares composability, type inference, step identity strategies (string labels vs lexical IDs), and recommends shipping Candidate 1 first with optional phase 2 enhancements.research/RESEARCH.mdresearch/PRIOR_ART_AI_ORCHESTRATION.md@tanstack/ai-orchestrationgenerator engine (async function/yield API, Function.prototype.toString() fingerprinting, React bindings, run storage), compares determinism and identity properties against API candidates, inventories shipped components and ecosystem gaps (adapters, non-React bindings, devtools), and recommends core engine extraction with adapter layering.research/SRC_SKEW_AND_RESUMPTION.mdresearch/EXPLICIT_VERSIONING.mdversionpluspreviousVersionsentries,(name, version)engine registration, run pinning at start with version-based resumption. Specifies.tanstack/workflows.lockwith AST hashes, two ESLint rules, CLI codemod for bumping, and removal ofpatched()ceremony. Details engine changes, edge cases (stale lock, name collisions, bundle bloat), and operational expectations per deployment tier.Estimated code review effort#
🎯 2 (Simple) | ⏱️ ~12 minutes
Poem#
Comment `@coderabbitai help` to get the list of available commands and usage tips.