chief-clancy 0.8.23 → 0.9.0

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.
Files changed (94) hide show
  1. package/bin/clancy.js +153 -0
  2. package/package.json +8 -88
  3. package/README.md +0 -292
  4. package/dist/bundle/clancy-afk.js +0 -6
  5. package/dist/bundle/clancy-once.js +0 -239
  6. package/dist/installer/file-ops/file-ops.d.ts +0 -32
  7. package/dist/installer/file-ops/file-ops.d.ts.map +0 -1
  8. package/dist/installer/file-ops/file-ops.js +0 -58
  9. package/dist/installer/file-ops/file-ops.js.map +0 -1
  10. package/dist/installer/hook-installer/hook-installer.d.ts +0 -31
  11. package/dist/installer/hook-installer/hook-installer.d.ts.map +0 -1
  12. package/dist/installer/hook-installer/hook-installer.js +0 -137
  13. package/dist/installer/hook-installer/hook-installer.js.map +0 -1
  14. package/dist/installer/install.d.ts +0 -3
  15. package/dist/installer/install.d.ts.map +0 -1
  16. package/dist/installer/install.js +0 -270
  17. package/dist/installer/install.js.map +0 -1
  18. package/dist/installer/manifest/manifest.d.ts +0 -41
  19. package/dist/installer/manifest/manifest.d.ts.map +0 -1
  20. package/dist/installer/manifest/manifest.js +0 -97
  21. package/dist/installer/manifest/manifest.js.map +0 -1
  22. package/dist/installer/prompts/prompts.d.ts +0 -33
  23. package/dist/installer/prompts/prompts.d.ts.map +0 -1
  24. package/dist/installer/prompts/prompts.js +0 -55
  25. package/dist/installer/prompts/prompts.js.map +0 -1
  26. package/dist/installer/role-filter/role-filter.d.ts +0 -15
  27. package/dist/installer/role-filter/role-filter.d.ts.map +0 -1
  28. package/dist/installer/role-filter/role-filter.js +0 -48
  29. package/dist/installer/role-filter/role-filter.js.map +0 -1
  30. package/dist/installer/ui/ui.d.ts +0 -9
  31. package/dist/installer/ui/ui.d.ts.map +0 -1
  32. package/dist/installer/ui/ui.js +0 -94
  33. package/dist/installer/ui/ui.js.map +0 -1
  34. package/dist/scripts/shared/env-parser/env-parser.d.ts +0 -30
  35. package/dist/scripts/shared/env-parser/env-parser.d.ts.map +0 -1
  36. package/dist/scripts/shared/env-parser/env-parser.js +0 -64
  37. package/dist/scripts/shared/env-parser/env-parser.js.map +0 -1
  38. package/dist/utils/ansi/ansi.d.ts +0 -55
  39. package/dist/utils/ansi/ansi.d.ts.map +0 -1
  40. package/dist/utils/ansi/ansi.js +0 -55
  41. package/dist/utils/ansi/ansi.js.map +0 -1
  42. package/hooks/clancy-branch-guard.js +0 -128
  43. package/hooks/clancy-check-update.js +0 -114
  44. package/hooks/clancy-context-monitor.js +0 -189
  45. package/hooks/clancy-credential-guard.js +0 -120
  46. package/hooks/clancy-drift-detector.js +0 -96
  47. package/hooks/clancy-notification.js +0 -105
  48. package/hooks/clancy-post-compact.js +0 -53
  49. package/hooks/clancy-statusline.js +0 -82
  50. package/hooks/package.json +0 -3
  51. package/registry/boards.json +0 -44
  52. package/src/agents/arch-agent.md +0 -72
  53. package/src/agents/concerns-agent.md +0 -89
  54. package/src/agents/design-agent.md +0 -130
  55. package/src/agents/devils-advocate.md +0 -53
  56. package/src/agents/quality-agent.md +0 -161
  57. package/src/agents/tech-agent.md +0 -92
  58. package/src/agents/verification-gate.md +0 -128
  59. package/src/roles/implementer/commands/dry-run.md +0 -14
  60. package/src/roles/implementer/commands/once.md +0 -17
  61. package/src/roles/implementer/commands/run.md +0 -11
  62. package/src/roles/implementer/workflows/once.md +0 -146
  63. package/src/roles/implementer/workflows/run.md +0 -127
  64. package/src/roles/planner/commands/approve-plan.md +0 -10
  65. package/src/roles/planner/commands/plan.md +0 -20
  66. package/src/roles/planner/workflows/approve-plan.md +0 -535
  67. package/src/roles/planner/workflows/plan.md +0 -536
  68. package/src/roles/reviewer/commands/logs.md +0 -7
  69. package/src/roles/reviewer/commands/review.md +0 -9
  70. package/src/roles/reviewer/commands/status.md +0 -9
  71. package/src/roles/reviewer/workflows/logs.md +0 -104
  72. package/src/roles/reviewer/workflows/review.md +0 -186
  73. package/src/roles/reviewer/workflows/status.md +0 -134
  74. package/src/roles/setup/commands/doctor.md +0 -7
  75. package/src/roles/setup/commands/help.md +0 -80
  76. package/src/roles/setup/commands/init.md +0 -7
  77. package/src/roles/setup/commands/map-codebase.md +0 -16
  78. package/src/roles/setup/commands/settings.md +0 -7
  79. package/src/roles/setup/commands/uninstall.md +0 -5
  80. package/src/roles/setup/commands/update-docs.md +0 -9
  81. package/src/roles/setup/commands/update.md +0 -12
  82. package/src/roles/setup/workflows/doctor.md +0 -124
  83. package/src/roles/setup/workflows/init.md +0 -1073
  84. package/src/roles/setup/workflows/map-codebase.md +0 -125
  85. package/src/roles/setup/workflows/scaffold.md +0 -845
  86. package/src/roles/setup/workflows/settings.md +0 -944
  87. package/src/roles/setup/workflows/uninstall.md +0 -161
  88. package/src/roles/setup/workflows/update-docs.md +0 -92
  89. package/src/roles/setup/workflows/update.md +0 -277
  90. package/src/roles/strategist/commands/approve-brief.md +0 -21
  91. package/src/roles/strategist/commands/brief.md +0 -27
  92. package/src/roles/strategist/workflows/approve-brief.md +0 -834
  93. package/src/roles/strategist/workflows/brief.md +0 -890
  94. package/src/templates/CLAUDE.md +0 -87
@@ -1,125 +0,0 @@
1
- # Clancy Map-Codebase Workflow
2
-
3
- ## Overview
4
-
5
- Scan the codebase with 5 parallel specialist agents, each writing their assigned docs to `.clancy/docs/`. All 5 agents run simultaneously.
6
-
7
- ---
8
-
9
- ## Step 1 — Check existing docs
10
-
11
- If `.clancy/docs/` already has non-empty files:
12
- ```
13
- .clancy/docs/ already has content.
14
-
15
- [1] Refresh all — re-run all 5 agents
16
- [2] Update changed — detect what changed and re-run relevant agents
17
- [3] Skip — keep existing docs
18
- ```
19
-
20
- If no content exists, proceed directly to Step 2.
21
-
22
- ---
23
-
24
- ## Step 2 — Create docs directory
25
-
26
- Create `.clancy/docs/` if it doesn't exist.
27
-
28
- ---
29
-
30
- ## Step 3 — Spawn all 5 agents simultaneously
31
-
32
- Launch all agents in parallel. Do not wait for one before starting the next.
33
-
34
- Each agent is defined in `src/agents/`. Pass the agent the full path to the docs directory and the project root.
35
-
36
- | Agent | Prompt file | Docs written |
37
- |---|---|---|
38
- | tech | `src/agents/tech-agent.md` | `STACK.md`, `INTEGRATIONS.md` |
39
- | arch | `src/agents/arch-agent.md` | `ARCHITECTURE.md` |
40
- | quality | `src/agents/quality-agent.md` | `CONVENTIONS.md`, `TESTING.md`, `GIT.md`, `DEFINITION-OF-DONE.md` |
41
- | design | `src/agents/design-agent.md` | `DESIGN-SYSTEM.md`, `ACCESSIBILITY.md` |
42
- | concerns | `src/agents/concerns-agent.md` | `CONCERNS.md` |
43
-
44
- Tell the user agents are running:
45
- ```
46
- 🚨 Clancy — Map Codebase
47
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
48
-
49
- "Sending in the task force..." — 5 agents deployed. Ctrl+C to cancel.
50
-
51
- 🔍 tech → STACK.md, INTEGRATIONS.md
52
- 🔍 arch → ARCHITECTURE.md
53
- 🔍 quality → CONVENTIONS.md, TESTING.md, GIT.md, DEFINITION-OF-DONE.md
54
- 🔍 design → DESIGN-SYSTEM.md, ACCESSIBILITY.md
55
- 🔍 concerns → CONCERNS.md
56
- ```
57
-
58
- ---
59
-
60
- ## Step 4 — Collect confirmations
61
-
62
- Each agent returns a brief confirmation when done. Display as they complete:
63
- ```
64
- ✅ tech agent complete
65
- ✅ arch agent complete
66
- ✅ quality agent complete
67
- ✅ design agent complete
68
- ✅ concerns agent complete
69
- ```
70
-
71
- ---
72
-
73
- ## Step 5 — Verify
74
-
75
- Check that all 10 files exist and are non-empty:
76
- - `.clancy/docs/STACK.md`
77
- - `.clancy/docs/INTEGRATIONS.md`
78
- - `.clancy/docs/ARCHITECTURE.md`
79
- - `.clancy/docs/CONVENTIONS.md`
80
- - `.clancy/docs/TESTING.md`
81
- - `.clancy/docs/GIT.md`
82
- - `.clancy/docs/DEFINITION-OF-DONE.md`
83
- - `.clancy/docs/DESIGN-SYSTEM.md`
84
- - `.clancy/docs/ACCESSIBILITY.md`
85
- - `.clancy/docs/CONCERNS.md`
86
-
87
- If any file is missing or empty, report which agent failed and suggest re-running:
88
- ```
89
- Warning: {filename} is missing or empty. The {agent} agent may have failed.
90
- Run /clancy:update-docs to re-run only that agent.
91
- ```
92
-
93
- Also check: if `PLAYWRIGHT_ENABLED=true` in `.clancy/.env`, verify `.clancy/docs/PLAYWRIGHT.md` exists. If not, create it from the template (see scaffold.md).
94
-
95
- ---
96
-
97
- ## Step 6 — Commit
98
-
99
- ```bash
100
- git add .clancy/docs/
101
- git commit -m "docs(clancy): map codebase — generate .clancy/docs/"
102
- ```
103
-
104
- ---
105
-
106
- ## Step 7 — Final message
107
-
108
- ```
109
- ✅ Codebase mapped — 10 files written to .clancy/docs/
110
-
111
- "Case closed. All files accounted for." — Run /clancy:once to pick up your first ticket, or /clancy:run to process the queue.
112
- ```
113
-
114
- ---
115
-
116
- ## Agent instructions (apply to all 5 agents)
117
-
118
- When writing agent prompts, embed these instructions:
119
-
120
- - Use actual file paths (`src/components/Button.tsx` not "the Button component")
121
- - Show HOW things are done with real code examples, not just WHAT exists
122
- - Use Glob and Grep liberally before writing — understand the codebase, don't guess
123
- - Write directly to file using the Write tool — never use bash heredocs
124
- - Return a brief confirmation only — do not include doc contents in the response
125
- - If a section has no content (e.g. no design system exists), write: `<!-- Not applicable to this project -->`