Rename default PRD name from main to default - #59
Merged
MiniCodeMonkey merged 1 commit intoSep 28, 2026
Merged
Conversation
MiniCodeMonkey
force-pushed
the
fix/9-rename-default-prd
branch
from
September 28, 2026 05:05
ebcaf8c to
d214ce7
Compare
Owner
|
Thanks for this, and sorry for the long wait. Since you opened it, main moved CLI routing from |
Avoids confusion between the default PRD directory and a git branch named main. Existing projects with .chief/prds/main/ keep working: new, edit, status, and the bare `chief` command all fall back to the legacy "main" name when no "default" PRD exists yet, ported from the original PR's now-obsolete cmd/chief/main.go into the Cobra commands and internal/cmd handlers introduced by the Cobra migration. Fixes MiniCodeMonkey#9 Claude-Session: https://claude.ai/code/session_01Fxi8Py1Weyua51Y1RBt2NP Co-authored-by: Mathias Hansen <me@codemonkey.io>
MiniCodeMonkey
force-pushed
the
fix/9-rename-default-prd
branch
from
September 28, 2026 10:10
d214ce7 to
42315f6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renamed the default PRD directory from
maintodefaultto avoid confusion with git branch names.Changes
Updated all references in
cmd/chief/main.go:.chief/prds/main/prd.md->.chief/prds/default/prd.md.chief/prds/default/(default: main)->(default: default)Testing
String-only changes. The fallback behavior (try default path, then scan for any PRD) is unchanged.
Fixes #9
This contribution was developed with AI assistance (Claude Code).