chief-clancy 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,11 @@ Exit.
90
90
  curl -s https://raw.githubusercontent.com/Pushedskydiver/clancy/main/CHANGELOG.md
91
91
  ```
92
92
 
93
- Extract only the entries between the installed version and the latest version. Display:
93
+ The CHANGELOG uses `## [X.Y.Z]` headings. Extract all content from the `## [{latest}]` heading down to (but not including) the `## [{installed}]` heading.
94
+
95
+ If the changelog fetch fails (network error, non-200), skip the "What's New" section and show: `Could not fetch changelog. View changes at github.com/Pushedskydiver/clancy/blob/main/CHANGELOG.md`
96
+
97
+ Display:
94
98
 
95
99
  ```
96
100
  🚨 Clancy — Update
@@ -162,30 +166,7 @@ It never modifies:
162
166
 
163
167
  ---
164
168
 
165
- ## Step 5 — Clear update cache and confirm
166
-
167
- Clear the update check cache so the statusline indicator disappears:
168
-
169
- ```bash
170
- rm -f "$HOME/.claude/cache/clancy-update-check.json"
171
- rm -f "./.claude/cache/clancy-update-check.json"
172
- ```
173
-
174
- Display completion message:
175
-
176
- ```
177
- ╔═══════════════════════════════════════════════════════════╗
178
- ║ ✅ Clancy Updated: v{old} → v{new} ║
179
- ╚═══════════════════════════════════════════════════════════╝
180
-
181
- "New badge, same Chief." — Restart Claude Code to pick up the new commands.
182
-
183
- View full changelog: github.com/Pushedskydiver/clancy/blob/main/CHANGELOG.md
184
- ```
185
-
186
- ---
187
-
188
- ## Step 6 — Check for local patches
169
+ ## Step 5 — Check for local patches
189
170
 
190
171
  After the update completes, check if the installer backed up any locally modified files:
191
172
 
@@ -210,6 +191,29 @@ Backed up files:
210
191
 
211
192
  ---
212
193
 
194
+ ## Step 6 — Clear update cache and confirm
195
+
196
+ Clear the update check cache so the statusline indicator disappears:
197
+
198
+ ```bash
199
+ rm -f "$HOME/.claude/cache/clancy-update-check.json"
200
+ rm -f "./.claude/cache/clancy-update-check.json"
201
+ ```
202
+
203
+ Display completion message:
204
+
205
+ ```
206
+ ╔═══════════════════════════════════════════════════════════╗
207
+ ║ ✅ Clancy Updated: v{old} → v{new} ║
208
+ ╚═══════════════════════════════════════════════════════════╝
209
+
210
+ "New badge, same Chief." — Start a new Claude Code session to pick up the updated commands.
211
+
212
+ View full changelog: github.com/Pushedskydiver/clancy/blob/main/CHANGELOG.md
213
+ ```
214
+
215
+ ---
216
+
213
217
  ## Notes
214
218
 
215
219
  - If the user installed globally, the update applies globally
@@ -16,6 +16,11 @@ GITHUB_REPO=owner/repo-name
16
16
  # When an issue has a milestone, Clancy auto-creates milestone/{slug} from this branch.
17
17
  CLANCY_BASE_BRANCH=main
18
18
 
19
+ # ─── Optional roles ─────────────────────────────────────────────────────────
20
+ # Comma-separated list of optional roles to enable (e.g. planner)
21
+ # Core roles (implementer, reviewer, setup) are always active.
22
+ # CLANCY_ROLES=planner
23
+
19
24
  # ─── Loop ─────────────────────────────────────────────────────────────────────
20
25
  # Max tickets to process per /clancy:run session (default: 20)
21
26
  MAX_ITERATIONS=20
@@ -38,6 +43,10 @@ MAX_ITERATIONS=20
38
43
  # PLAYWRIGHT_STORYBOOK_PORT=6006
39
44
  # PLAYWRIGHT_STARTUP_WAIT=15
40
45
 
46
+ # ─── Optional: Planner queue ─────────────────────────────────────────────────
47
+ # Label for unrefined tickets that /clancy:plan should fetch (default: needs-refinement)
48
+ # CLANCY_PLAN_LABEL=needs-refinement
49
+
41
50
  # ─── Optional: Notifications ──────────────────────────────────────────────────
42
51
  # Webhook URL for Slack or Teams notifications on ticket completion
43
52
  # CLANCY_NOTIFY_WEBHOOK=https://hooks.slack.com/services/your/webhook/url
@@ -26,6 +26,11 @@ CLANCY_JQL_STATUS="To Do"
26
26
  # When a ticket has a parent epic, Clancy auto-creates epic/{key} from this branch.
27
27
  CLANCY_BASE_BRANCH=main
28
28
 
29
+ # ─── Optional roles ─────────────────────────────────────────────────────────
30
+ # Comma-separated list of optional roles to enable (e.g. planner)
31
+ # Core roles (implementer, reviewer, setup) are always active.
32
+ # CLANCY_ROLES=planner
33
+
29
34
  # ─── Loop ─────────────────────────────────────────────────────────────────────
30
35
  # Max tickets to process per /clancy:run session (default: 5)
31
36
  MAX_ITERATIONS=5
@@ -48,6 +53,10 @@ MAX_ITERATIONS=5
48
53
  # PLAYWRIGHT_STORYBOOK_PORT=6006
49
54
  # PLAYWRIGHT_STARTUP_WAIT=15
50
55
 
56
+ # ─── Optional: Planner queue ─────────────────────────────────────────────────
57
+ # Status name for backlog tickets that /clancy:plan should fetch (default: Backlog)
58
+ # CLANCY_PLAN_STATUS="Backlog"
59
+
51
60
  # ─── Optional: Status transitions ────────────────────────────────────────────
52
61
  # Move tickets automatically when Clancy picks up or completes them.
53
62
  # Set to the exact status name shown in your Jira board column header.
@@ -16,6 +16,11 @@ LINEAR_TEAM_ID=your-team-uuid
16
16
  # When an issue has a parent, Clancy auto-creates epic/{key} from this branch.
17
17
  CLANCY_BASE_BRANCH=main
18
18
 
19
+ # ─── Optional roles ─────────────────────────────────────────────────────────
20
+ # Comma-separated list of optional roles to enable (e.g. planner)
21
+ # Core roles (implementer, reviewer, setup) are always active.
22
+ # CLANCY_ROLES=planner
23
+
19
24
  # ─── Loop ─────────────────────────────────────────────────────────────────────
20
25
  # Max tickets to process per /clancy:run session (default: 20)
21
26
  MAX_ITERATIONS=20
@@ -38,6 +43,10 @@ MAX_ITERATIONS=20
38
43
  # PLAYWRIGHT_STORYBOOK_PORT=6006
39
44
  # PLAYWRIGHT_STARTUP_WAIT=15
40
45
 
46
+ # ─── Optional: Planner queue ─────────────────────────────────────────────────
47
+ # State type for backlog issues that /clancy:plan should fetch (default: backlog)
48
+ # CLANCY_PLAN_STATE_TYPE=backlog
49
+
41
50
  # ─── Optional: Status transitions ────────────────────────────────────────────
42
51
  # Move issues automatically when Clancy picks up or completes them.
43
52
  # Set to the exact workflow state name shown in your Linear board column header.
@@ -53,6 +53,9 @@ When in doubt: "Is the primary deliverable a code change committed to this repo?
53
53
  Log completed tickets to `.clancy/progress.txt`:
54
54
  `YYYY-MM-DD HH:MM | TICKET-KEY | Summary | DONE`
55
55
 
56
+ Planning entries use: `YYYY-MM-DD HH:MM | TICKET-KEY | PLAN | S/M/L`
57
+ Approval entries use: `YYYY-MM-DD HH:MM | TICKET-KEY | APPROVE | —`
58
+
56
59
  ### Design context
57
60
  When a ticket description contains a Figma URL, fetch design context before implementing.
58
61
  Use the three-tier approach in order:
@@ -65,7 +68,7 @@ Figma URL must come from the ticket description only — never from CLAUDE.md or
65
68
 
66
69
  ### Visual checks
67
70
  After implementing a UI ticket, run a visual check before committing.
68
- Read .clancy/docs/PLAYWRIGHT.md to determine which server to use (Storybook or dev server).
71
+ Read `.clancy/docs/PLAYWRIGHT.md` for the authoritative Playwright configuration (which server to use: Storybook or dev server). Use `.clancy/.env` only for ports and start commands as needed.
69
72
  Apply the decision rule against this ticket's description — route/page/screen/layout → dev server,
70
73
  component/atom/molecule/organism/variant/story → Storybook, ambiguous → dev server default.
71
74
  Start the server using health check polling (not sleep). Navigate to the relevant route or story.