From ebcaf8cdc0ca766c039923b4f344ccd863c916aa Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Thu, 2 Apr 2026 05:56:54 -0700 Subject: [PATCH] Rename default PRD name from main to default Avoids confusion with git branch names. The default PRD directory is now .chief/prds/default/ instead of .chief/prds/main/. Fixes #9 --- cmd/chief/main.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/chief/main.go b/cmd/chief/main.go index 016c188..02b2192 100644 --- a/cmd/chief/main.go +++ b/cmd/chief/main.go @@ -360,8 +360,8 @@ func runTUIWithOptions(opts *TUIOptions) { // If no PRD specified, try to find one if prdPath == "" { - // Try "main" first - mainPath := ".chief/prds/main/prd.md" + // Try "default" first + mainPath := ".chief/prds/default/prd.md" if _, err := os.Stat(mainPath); err == nil { prdPath = mainPath } else { @@ -508,7 +508,7 @@ Usage: Commands: new [name] [context] Create a new PRD interactively edit [name] [options] Edit an existing PRD interactively - status [name] Show progress for a PRD (default: main) + status [name] Show progress for a PRD (default: default) list List all PRDs with progress update Update Chief to the latest version help Show this help message @@ -533,7 +533,7 @@ Positional Arguments: Direct path to a prd.md file Examples: - chief Launch TUI with default PRD (.chief/prds/main/) + chief Launch TUI with default PRD (.chief/prds/default/) chief auth Launch TUI with named PRD (.chief/prds/auth/) chief ./my-prd.md Launch TUI with specific PRD file chief -n 20 Launch with 20 max iterations @@ -542,11 +542,11 @@ Examples: chief --verbose Launch with raw agent output visible chief --agent codex Use Codex CLI instead of Claude chief --agent cursor Use Cursor CLI as agent - chief new Create PRD in .chief/prds/main/ + chief new Create PRD in .chief/prds/default/ chief new auth Create PRD in .chief/prds/auth/ chief new auth "JWT authentication for REST API" Create PRD with context hint - chief edit Edit PRD in .chief/prds/main/ + chief edit Edit PRD in .chief/prds/default/ chief edit auth Edit PRD in .chief/prds/auth/ chief edit auth --merge Edit and auto-merge progress chief status Show progress for default PRD