Skip to content

Plan documents are named freely, so a plan cannot be found from its branch or its issue #769

Closed

Description

@David-Noble-at-work

A plan document's name should be its branch's name, so neither can be searched for without finding the
other, and the issue number is visible in both. Today most plans are named freely — resource-construction.md,
cli-output-conventions.md, reconciliation.md — and carry their issue only inside the frontmatter.

The convention

docs/plans/<type>/<issue>-<name>.md

where <type> is drawn from the same alternation organization ruleset 12515090 enforces on every ref:

^(chore|doc|feature|fix|hotfix|refactor|release)/.+$

and <issue>-<name> is what git-open-branch derives from the issue's labels and title. A plan and its
branch then share a string, and docs/plans/feature/762-lifecycle-scopes.md is reachable from
feature/762-lifecycle-scopes without a lookup.

docs/plans/feature/762-lifecycle-scopes.md, docs/plans/feature/441-unified-configuration.md, and
docs/plans/chore/768-revised-process-setup.md already follow it.

Scope

The four scheduled threads only. Two violate it:

Plan Becomes
docs/plans/cli-output-conventions.md docs/plans/feature/740-cli-output-conventions.md
docs/plans/sealed-provider-resources.md docs/plans/feature/625-sealed-provider-resources.md

Moved with git mv so history follows, with every reference updated: the architecture documents, the
plans that cross-reference each other, and the **Plans:** lines in the epic bodies of #740 and #625.

The remaining plans in docs/plans/ are left alone deliberately. Renaming them all at once would be a
large diff touching work that is not scheduled, and each is cheapest to move when its own thread next
opens a worktree.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions