Skip to content

refactor(skills): move orchestration state files to docs/superpowers/states/#2

Merged
sourcehawk merged 1 commit into
mainfrom
refactor/state-own-directory
May 29, 2026
Merged

refactor(skills): move orchestration state files to docs/superpowers/states/#2
sourcehawk merged 1 commit into
mainfrom
refactor/state-own-directory

Conversation

@sourcehawk
Copy link
Copy Markdown
Owner

Description

The orchestration state file — the resume-from artifact for a feature in flight — lived at docs/superpowers/plans/<date>-<slug>-state.md, mixed in with the plan it tracks. This gives it its own home at a sibling docs/superpowers/states/ directory, distinct from specs/ and plans/, while keeping the same scratch lifecycle as the plan (deleted once the feature ships). Pure path/convention change across the skills, README, and the project-CLAUDE template; no behavioural logic changes.

Changes

  • State files now live at docs/superpowers/states/<date>-<slug>-state.md (was under docs/superpowers/plans/).
  • planning-a-feature Step 8 writes the new path; developing-a-feature, fanning-out-with-worktrees, and reviewing-feature-progress read it from there.
  • README documents the new docs/superpowers/states/ directory alongside specs/ and plans/.
  • templates/project-CLAUDE.md notes state files live in states/ and share the plan's scratch lifecycle.

Testing

Documentation / path-convention change only; no executable code. Verified every state-file reference across the plugin was moved: git grep for plans/…-state.md returns nothing on the branch, and all six touched files (four skills, README, template) carry the new states/ path consistently.

The orchestration state file lived inside docs/superpowers/plans/,
co-located with the plan. Give it its own docs/superpowers/states/
directory so state is a distinct namespace from the plan it tracks.

Lifecycle is unchanged: state stays scratch, deleted in the
orchestrator's last commit when the feature ships. Only the path and
the "beside the plan" wording change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 15:23
@sourcehawk sourcehawk merged commit d9d6a7a into main May 29, 2026
1 check failed
@sourcehawk sourcehawk deleted the refactor/state-own-directory branch May 29, 2026 15:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants