Skip to content

ast-dataflow-tooling → production-readiness merge — kh-ast-S11 R-WP-S11-D runbook

Archived S504 (ruling R10): one-off session-scoped merge procedure (kh-ast-S11), already executed.

ast-dataflow-tooling → production-readiness merge — kh-ast-S11 R-WP-S11-D runbook

Section titled “ast-dataflow-tooling → production-readiness merge — kh-ast-S11 R-WP-S11-D runbook”

Session: kh-ast-S11 Wave: Wave 2 (cross-track merge execution) Source branch: ast-dataflow-tooling @ ffc46cf7 (Wave 1 verifier-gate fixes) Target branch: production-readiness @ 816e46e5 (S51 reconciliation close-out) Merge worktree: /tmp/kh-ast-merge-s11 on branch ast-dataflow-merge-s11 Merge base: 186a05bc

S10 Wave 0-D produced a dry-run report (docs/specs/id-16-ast-dataflow-tool/investigations/S10-r-wp16-merge-dry-run.md) projecting 12 conflicts on the ast-dataflow-tooling → production-readiness merge. R-WP-S11-B pre-flight reduced the count to 4 from the original set (8 of 12 resolved). 5 NEW conflicts surfaced from production-readiness drift between the S10 dry-run and S11 execution (3 unpushed S51 commits on production-readiness added 2 generated-file conflicts and 1 backlog conflict; production-readiness ac51ae61 added a new spec-driven-implementation/SKILL.md ast-dataflow had also added, producing add/add). Two further drift-conflicts surfaced because production-readiness made changes to kh-workflow-orchestration{,-assessment}.md add/add files.

Final conflict count at merge execution: 11 conflicts (4 original + 5 from drift + 2 from S51 ratifications visible only at execution).

FileResolutionStrategyNotes
.gitignoretake ast-dataflow’sgit checkout --theirsWP-B already unified to superset of both
.claude/skills/spec-driven-implementation/SKILL.mdtake production-readiness’sgit checkout --oursAdd/add — production-readiness ac51ae61 is the canonical S51 task ID-N rewrite
docs/generated/codebase-stats.json + .mdtake production-readiness’sgit checkout --oursAuto-generated; production-readiness version is fresher
docs/generated/mcp-inventory.json + .mdtake production-readiness’sgit checkout --oursSame — auto-generated
docs/plans/phase-0-investigation/0.9-collapse-candidates.mdhonour ast-dataflow’s archivegit rmAlready at .planning/.archive/.specs/0.9-collapse-candidates.md (confirmed tracked)
docs/plans/phase-0-investigation/kh-workflow-orchestration.mdtake production-readiness’sgit checkout --oursAdd/add — production-readiness has the “Superseded by:” header + agent-name refs; ast-dataflow side was Prettier reformat
docs/plans/phase-0-investigation/kh-workflow-orchestration-assessment.mdtake production-readiness’sgit checkout --oursSame pattern
docs/reference/product-backlog.jsonmanual mergeManual editComposed new last_updated string referencing both sides; otherwise ast-dataflow’s structural changes (23/O2 added) preserved on top of production-readiness’s S50 W3 schema formalisation
main_session_output.mdhonour ast-dataflow’s deletiongit rmWP-B added to .gitignore; scratch file no longer tracked

No Liam ratification needed at merge execution — all conflicts resolved deterministically per S10 dry-run §3 recipe + WP-B’s pre-flight notes. No surprises.

  • 135 files from ast-dataflow-tooling exclusive set (lib/ast-dataflow/, eslint-rules/, ~95 test fixtures, ~16 spec docs, scripts/ast-dataflow-cli.ts)
  • 21 files auto-merged from the 33 overlap files
  • 11 files manually resolved per the table above
  • 2 files deleted as part of resolution (0.9-collapse-candidates.md archived, main_session_output.md gitignored)
CheckStatus
bun run test __tests__/lib/ast-dataflow/ (expect 215 pass)TBD
bun run test full (expect ≥12729 pass, 0 fail, 24 skip)TBD
bun lint (expect 0 errors)TBD
bun run format:check (expect pre-existing 22 warnings from production-readiness, no new)TBD
bun run knip (no new dead exports)TBD
  1. RSS feed routes in NAKED_NO_AUTH — WP-A route-shape inventory flagged app/api/feeds/[workspaceId]/rss/route.ts + app/api/feeds/[workspaceId]/rss/filtered/route.ts are not in proxy.ts publicRoutes allowlist but appear to be intentionally unauthenticated API routes. Backlog candidate: confirm intent or add to allowlist.
  2. R-WP22 (MCP outputSchema full rollout, ~29h) — to be promoted to production-readiness/docs/reference/product-backlog.json in a separate commit post-merge. WP-C’s housekeeping flagged the migration; this runbook records the handover.
  3. 22 pre-existing prettier warnings on production-readiness — not introduced by this merge; consider a tidy-up workpackage on production-readiness.
  • Production-readiness → main merge is OUT OF SCOPE for S11.
  • Open the next continuation prompt on the production-readiness track (counter kh-prod-readiness-sN); ast-dataflow follow-on work (OPS-T1 codemod implementation, R-WP22 rollout, AST-S3-O1/O2, Pattern 6/8 skill promotion) is now production-readiness scope.
  • docs/specs/id-16-ast-dataflow-tool/investigations/S10-r-wp16-merge-dry-run.md — original 12-conflict projection
  • docs/specs/id-16-ast-dataflow-tool/investigations/S10-wave-0-synthesis.md §4.4 — S11 WP-D scope
  • docs/continuation-prompts/continuation-prompt-kh-ast-s11-final-codemod-specs-and-cross-track-merge.md §R-WP-S11-D
  • Source-branch tip: ast-dataflow-tooling @ ffc46cf7
  • Target-branch tip pre-merge: production-readiness @ 816e46e5