Skip to content

Add pre-merge product doc check (roadmap + readme-first) #124

Description

@lesaai

Summary

When merging PRs to main on private repos, check that ai/product/plans-prds/roadmap.md and ai/product/readme-first.md were updated in the PR branch. Warn if they weren't.

Why

On 2026-03-13, a significant PR was merged to memory-crystal-private (DELETE trigger, cleanup command, doctor fix) without updating the product docs. The roadmap still said v0.7.4 while the code was at v0.7.8. Docs were only updated because Parker explicitly asked. Without that prompt, the next agent would start from stale context.

Proposed solution

A wip-merge command (or wip-release --check-merge) that:

  1. Diffs the PR branch against main
  2. Warns if roadmap.md or readme-first.md aren't in the diff
  3. Asks to proceed or update first
  4. --skip-docs flag to bypass

Complements

The existing product-doc-enforcement plan (release-time check in wip-release). This is the earlier gate: catch it at merge, not at release.

Plan

See ai/product/plans-prds/upcoming/2026-03-13--cc-mini--merge-time-product-doc-check.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfiled-by:cc-miniIssue filed by Claude Code on mini

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions