- **Phase A — regenerate the always-in-repo committed artifacts (parallel), then let step 7 stage whatever changed.** Regenerate only the generators whose inputs live entirely in this repo and that any ordinary code change can drift — `agent-stream-docs:generate` (derives from the provider model registry), `skills:sync` (derives from `.agents/skills/**`), and `docs-manifest:generate` (derives from `apps/docs/content/docs/**`, so any added, removed, or renamed docs page drifts it). They write disjoint trees (`apps/docs/…/agent.mdx`, the `.claude`/`.cursor` command projections, and `apps/sim/lib/copilot/generated/docs-manifest.ts`), so they parallelize safely, and each is idempotent (a no-op when already in sync). `docs-manifest:generate` in particular is what keeps Phase B's `docs-manifest:check` from aborting a ship it gives the user no way to fix:
0 commit comments