chief-clancy 0.7.4 → 0.8.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.
- package/README.md +5 -2
- package/dist/bundle/clancy-afk.js +6 -6
- package/dist/bundle/clancy-once.js +50 -49
- package/dist/installer/hook-installer/hook-installer.d.ts.map +1 -1
- package/dist/installer/hook-installer/hook-installer.js +6 -0
- package/dist/installer/hook-installer/hook-installer.js.map +1 -1
- package/dist/installer/install.js +5 -94
- package/dist/installer/install.js.map +1 -1
- package/dist/installer/ui/ui.d.ts +9 -0
- package/dist/installer/ui/ui.d.ts.map +1 -0
- package/dist/installer/ui/ui.js +94 -0
- package/dist/installer/ui/ui.js.map +1 -0
- package/hooks/clancy-drift-detector.js +96 -0
- package/hooks/clancy-notification.js +105 -0
- package/package.json +1 -1
- package/src/roles/planner/workflows/approve-plan.md +1 -1
- package/src/roles/planner/workflows/plan.md +8 -0
- package/src/roles/setup/commands/help.md +3 -1
- package/src/roles/setup/commands/update.md +4 -1
- package/src/roles/setup/workflows/init.md +75 -3
- package/src/roles/setup/workflows/scaffold.md +158 -0
- package/src/roles/setup/workflows/settings.md +60 -5
- package/src/roles/setup/workflows/update.md +40 -2
- package/src/roles/strategist/workflows/approve-brief.md +14 -9
- package/src/roles/strategist/workflows/brief.md +5 -1
- package/src/templates/.env.example.github +0 -80
- package/src/templates/.env.example.jira +0 -102
- package/src/templates/.env.example.linear +0 -86
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# Clancy — Jira configuration
|
|
2
|
-
# Copy this file to .env and fill in your values.
|
|
3
|
-
# Never commit .env to version control.
|
|
4
|
-
|
|
5
|
-
# ─── Jira ─────────────────────────────────────────────────────────────────────
|
|
6
|
-
JIRA_BASE_URL=https://your-org.atlassian.net
|
|
7
|
-
JIRA_USER=your-email@example.com
|
|
8
|
-
JIRA_API_TOKEN=your-api-token-from-id.atlassian.com
|
|
9
|
-
JIRA_PROJECT_KEY=PROJ
|
|
10
|
-
|
|
11
|
-
# Status name for "ready to be picked up" (default: To Do)
|
|
12
|
-
# Must be quoted if the status name contains spaces (e.g. "Selected for Development")
|
|
13
|
-
CLANCY_JQL_STATUS="To Do"
|
|
14
|
-
|
|
15
|
-
# Set to any non-empty value to filter by open sprints (requires Jira Software)
|
|
16
|
-
# Remove or leave empty if your project doesn't use sprints
|
|
17
|
-
# CLANCY_JQL_SPRINT=true
|
|
18
|
-
|
|
19
|
-
# Optional: only pick up tickets with this label. Recommended for mixed backlogs
|
|
20
|
-
# where not every ticket is suitable for autonomous implementation (e.g. non-code tasks).
|
|
21
|
-
# Create the label in Jira first, then add it to any ticket you want Clancy to pick up.
|
|
22
|
-
# CLANCY_LABEL="clancy"
|
|
23
|
-
|
|
24
|
-
# ─── Git ──────────────────────────────────────────────────────────────────────
|
|
25
|
-
# Base integration branch. Clancy branches from here when a ticket has no parent epic.
|
|
26
|
-
# When a ticket has a parent epic, Clancy auto-creates epic/{key} from this branch.
|
|
27
|
-
CLANCY_BASE_BRANCH=main
|
|
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,strategist
|
|
33
|
-
|
|
34
|
-
# ─── Loop ─────────────────────────────────────────────────────────────────────
|
|
35
|
-
# Max tickets to process per /clancy:run session (default: 5)
|
|
36
|
-
MAX_ITERATIONS=5
|
|
37
|
-
|
|
38
|
-
# ─── Model ────────────────────────────────────────────────────────────────────
|
|
39
|
-
# Claude model used for each ticket session. Leave unset to use the default.
|
|
40
|
-
# Options: claude-opus-4-6 | claude-sonnet-4-6 | claude-haiku-4-5
|
|
41
|
-
# CLANCY_MODEL=claude-sonnet-4-6
|
|
42
|
-
|
|
43
|
-
# ─── Optional: Figma MCP ──────────────────────────────────────────────────────
|
|
44
|
-
# Fetch design specs from Figma when a ticket has a Figma URL in its description
|
|
45
|
-
# FIGMA_API_KEY=your-figma-api-key
|
|
46
|
-
|
|
47
|
-
# ─── Optional: Playwright visual checks ───────────────────────────────────────
|
|
48
|
-
# Run a visual check after implementing UI tickets
|
|
49
|
-
# PLAYWRIGHT_ENABLED=true
|
|
50
|
-
# PLAYWRIGHT_DEV_COMMAND="yarn dev"
|
|
51
|
-
# PLAYWRIGHT_DEV_PORT=5173
|
|
52
|
-
# PLAYWRIGHT_STORYBOOK_COMMAND="yarn storybook"
|
|
53
|
-
# PLAYWRIGHT_STORYBOOK_PORT=6006
|
|
54
|
-
# PLAYWRIGHT_STARTUP_WAIT=15
|
|
55
|
-
|
|
56
|
-
# ─── Optional: Planner queue ─────────────────────────────────────────────────
|
|
57
|
-
# Status name for backlog tickets that /clancy:plan should fetch (default: Backlog)
|
|
58
|
-
# CLANCY_PLAN_STATUS="Backlog"
|
|
59
|
-
|
|
60
|
-
# ─── Optional: Status transitions ────────────────────────────────────────────
|
|
61
|
-
# Move tickets automatically when Clancy picks up or completes them.
|
|
62
|
-
# Set to the exact status name shown in your Jira board column header.
|
|
63
|
-
# CLANCY_STATUS_IN_PROGRESS="In Progress"
|
|
64
|
-
# CLANCY_STATUS_DONE="Done"
|
|
65
|
-
|
|
66
|
-
# ─── Optional: Notifications ──────────────────────────────────────────────────
|
|
67
|
-
# Webhook URL for Slack or Teams notifications on ticket completion
|
|
68
|
-
# CLANCY_NOTIFY_WEBHOOK=https://hooks.slack.com/services/your/webhook/url
|
|
69
|
-
|
|
70
|
-
# ─── Optional: Strategist ──────────────────────────────────────────────────
|
|
71
|
-
# Issue type for tickets created by /clancy:approve-brief (default: Task)
|
|
72
|
-
# CLANCY_BRIEF_ISSUE_TYPE=Task
|
|
73
|
-
# Default parent epic for text/file-sourced briefs
|
|
74
|
-
# CLANCY_BRIEF_EPIC=PROJ-100
|
|
75
|
-
# Auto-set component on created tickets
|
|
76
|
-
# CLANCY_COMPONENT=api
|
|
77
|
-
# Grill mode: "interactive" (human grill) or "afk" (AI-grill). Default: interactive
|
|
78
|
-
# CLANCY_MODE=interactive
|
|
79
|
-
|
|
80
|
-
# ─── Optional: Pipeline labels ────────────────────────────────────────────────
|
|
81
|
-
# Labels that control ticket flow through pipeline stages.
|
|
82
|
-
# CLANCY_LABEL_BRIEF marks tickets that have been briefed (awaiting approval).
|
|
83
|
-
# CLANCY_LABEL_PLAN marks tickets that need planning.
|
|
84
|
-
# CLANCY_LABEL_BUILD marks tickets ready for implementation.
|
|
85
|
-
# Deprecated: CLANCY_LABEL (use CLANCY_LABEL_BUILD), CLANCY_PLAN_LABEL (use CLANCY_LABEL_PLAN)
|
|
86
|
-
# CLANCY_LABEL_BRIEF="clancy:brief"
|
|
87
|
-
# CLANCY_LABEL_PLAN="clancy:plan"
|
|
88
|
-
# CLANCY_LABEL_BUILD="clancy:build"
|
|
89
|
-
|
|
90
|
-
# ─── Optional: Reliable autonomous mode ─────────────────────────────────────
|
|
91
|
-
# Max self-healing fix attempts before delivering with warnings (default: 2, 0 to disable)
|
|
92
|
-
# CLANCY_FIX_RETRIES=2
|
|
93
|
-
# Per-ticket time limit in minutes (default: 30, 0 to disable)
|
|
94
|
-
# CLANCY_TIME_LIMIT=30
|
|
95
|
-
# Block force push, protected branch push, destructive resets (default: true)
|
|
96
|
-
# CLANCY_BRANCH_GUARD=true
|
|
97
|
-
# Token estimation rate for cost logging (tokens/min, default: 6600)
|
|
98
|
-
# CLANCY_TOKEN_RATE=6600
|
|
99
|
-
|
|
100
|
-
# ─── Optional: Status transitions (continued) ──────────────────────────────
|
|
101
|
-
# Status for PR review (falls back to CLANCY_STATUS_DONE if not set)
|
|
102
|
-
# CLANCY_STATUS_REVIEW="In Review"
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Clancy — Linear configuration
|
|
2
|
-
# Copy this file to .env and fill in your values.
|
|
3
|
-
# Never commit .env to version control.
|
|
4
|
-
|
|
5
|
-
# ─── Linear ───────────────────────────────────────────────────────────────────
|
|
6
|
-
LINEAR_API_KEY=lin_api_your-personal-api-key
|
|
7
|
-
LINEAR_TEAM_ID=your-team-uuid
|
|
8
|
-
|
|
9
|
-
# Optional: only pick up issues with this label. Recommended for mixed backlogs
|
|
10
|
-
# where not every issue is suitable for autonomous implementation (e.g. non-code tasks).
|
|
11
|
-
# Create the label in Linear first, then add it to any issue you want Clancy to pick up.
|
|
12
|
-
# CLANCY_LABEL=clancy
|
|
13
|
-
|
|
14
|
-
# ─── Git ──────────────────────────────────────────────────────────────────────
|
|
15
|
-
# Base integration branch. Clancy branches from here when an issue has no parent.
|
|
16
|
-
# When an issue has a parent, Clancy auto-creates epic/{key} from this branch.
|
|
17
|
-
CLANCY_BASE_BRANCH=main
|
|
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,strategist
|
|
23
|
-
|
|
24
|
-
# ─── Loop ─────────────────────────────────────────────────────────────────────
|
|
25
|
-
# Max tickets to process per /clancy:run session (default: 20)
|
|
26
|
-
MAX_ITERATIONS=20
|
|
27
|
-
|
|
28
|
-
# ─── Model ────────────────────────────────────────────────────────────────────
|
|
29
|
-
# Claude model used for each ticket session. Leave unset to use the default.
|
|
30
|
-
# Options: claude-opus-4-6 | claude-sonnet-4-6 | claude-haiku-4-5
|
|
31
|
-
# CLANCY_MODEL=claude-sonnet-4-6
|
|
32
|
-
|
|
33
|
-
# ─── Optional: Figma MCP ──────────────────────────────────────────────────────
|
|
34
|
-
# Fetch design specs from Figma when a ticket has a Figma URL in its description
|
|
35
|
-
# FIGMA_API_KEY=your-figma-api-key
|
|
36
|
-
|
|
37
|
-
# ─── Optional: Playwright visual checks ───────────────────────────────────────
|
|
38
|
-
# Run a visual check after implementing UI tickets
|
|
39
|
-
# PLAYWRIGHT_ENABLED=true
|
|
40
|
-
# PLAYWRIGHT_DEV_COMMAND="yarn dev"
|
|
41
|
-
# PLAYWRIGHT_DEV_PORT=5173
|
|
42
|
-
# PLAYWRIGHT_STORYBOOK_COMMAND="yarn storybook"
|
|
43
|
-
# PLAYWRIGHT_STORYBOOK_PORT=6006
|
|
44
|
-
# PLAYWRIGHT_STARTUP_WAIT=15
|
|
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
|
-
|
|
50
|
-
# ─── Optional: Status transitions ────────────────────────────────────────────
|
|
51
|
-
# Move issues automatically when Clancy picks up or completes them.
|
|
52
|
-
# Set to the exact workflow state name shown in your Linear board column header.
|
|
53
|
-
# CLANCY_STATUS_IN_PROGRESS="In Progress"
|
|
54
|
-
# CLANCY_STATUS_DONE="Done"
|
|
55
|
-
|
|
56
|
-
# ─── Optional: Notifications ──────────────────────────────────────────────────
|
|
57
|
-
# Webhook URL for Slack or Teams notifications on ticket completion
|
|
58
|
-
# CLANCY_NOTIFY_WEBHOOK=https://hooks.slack.com/services/your/webhook/url
|
|
59
|
-
|
|
60
|
-
# ─── Optional: Strategist ──────────────────────────────────────────────────
|
|
61
|
-
# Default parent issue for text/file-sourced briefs
|
|
62
|
-
# CLANCY_BRIEF_EPIC=ENG-100
|
|
63
|
-
# Auto-set component label on created tickets
|
|
64
|
-
# CLANCY_COMPONENT=api
|
|
65
|
-
# Grill mode: "interactive" (human grill) or "afk" (AI-grill). Default: interactive
|
|
66
|
-
# CLANCY_MODE=interactive
|
|
67
|
-
|
|
68
|
-
# ─── Optional: Pipeline labels ────────────────────────────────────────────────
|
|
69
|
-
# Labels that control ticket flow through pipeline stages.
|
|
70
|
-
# CLANCY_LABEL_BRIEF marks tickets that have been briefed (awaiting approval).
|
|
71
|
-
# CLANCY_LABEL_PLAN marks tickets that need planning.
|
|
72
|
-
# CLANCY_LABEL_BUILD marks tickets ready for implementation.
|
|
73
|
-
# Deprecated: CLANCY_LABEL (use CLANCY_LABEL_BUILD), CLANCY_PLAN_LABEL (use CLANCY_LABEL_PLAN)
|
|
74
|
-
# CLANCY_LABEL_BRIEF="clancy:brief"
|
|
75
|
-
# CLANCY_LABEL_PLAN="clancy:plan"
|
|
76
|
-
# CLANCY_LABEL_BUILD="clancy:build"
|
|
77
|
-
|
|
78
|
-
# ─── Optional: Reliable autonomous mode ─────────────────────────────────────
|
|
79
|
-
# Max self-healing fix attempts before delivering with warnings (default: 2, 0 to disable)
|
|
80
|
-
# CLANCY_FIX_RETRIES=2
|
|
81
|
-
# Per-ticket time limit in minutes (default: 30, 0 to disable)
|
|
82
|
-
# CLANCY_TIME_LIMIT=30
|
|
83
|
-
# Block force push, protected branch push, destructive resets (default: true)
|
|
84
|
-
# CLANCY_BRANCH_GUARD=true
|
|
85
|
-
# Token estimation rate for cost logging (tokens/min, default: 6600)
|
|
86
|
-
# CLANCY_TOKEN_RATE=6600
|