@arvorco/relentless 0.1.0 → 0.1.6

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 (53) hide show
  1. package/README.md +30 -13
  2. package/bin/relentless.ts +1 -1
  3. package/package.json +3 -2
  4. package/.claude/commands/relentless.plan.old.md +0 -89
  5. package/.claude/settings.local.json +0 -23
  6. package/.claude/skills/analyze/SKILL.md +0 -149
  7. package/.claude/skills/checklist/SKILL.md +0 -173
  8. package/.claude/skills/checklist/templates/checklist-template.md +0 -40
  9. package/.claude/skills/clarify/SKILL.md +0 -174
  10. package/.claude/skills/constitution/SKILL.md +0 -150
  11. package/.claude/skills/constitution/templates/constitution-template.md +0 -228
  12. package/.claude/skills/implement/SKILL.md +0 -141
  13. package/.claude/skills/plan/SKILL.md +0 -179
  14. package/.claude/skills/plan/templates/plan-template.md +0 -104
  15. package/.claude/skills/prd/SKILL.md +0 -242
  16. package/.claude/skills/relentless/SKILL.md +0 -265
  17. package/.claude/skills/specify/SKILL.md +0 -220
  18. package/.claude/skills/specify/scripts/bash/check-prerequisites.sh +0 -166
  19. package/.claude/skills/specify/scripts/bash/common.sh +0 -156
  20. package/.claude/skills/specify/scripts/bash/create-new-feature.sh +0 -305
  21. package/.claude/skills/specify/scripts/bash/setup-plan.sh +0 -61
  22. package/.claude/skills/specify/scripts/bash/update-agent-context.sh +0 -799
  23. package/.claude/skills/specify/templates/spec-template.md +0 -115
  24. package/.claude/skills/tasks/SKILL.md +0 -202
  25. package/.claude/skills/tasks/templates/tasks-template.md +0 -251
  26. package/.claude/skills/taskstoissues/SKILL.md +0 -97
  27. package/.specify/memory/constitution.md +0 -50
  28. package/.specify/scripts/bash/check-prerequisites.sh +0 -166
  29. package/.specify/scripts/bash/common.sh +0 -156
  30. package/.specify/scripts/bash/create-new-feature.sh +0 -297
  31. package/.specify/scripts/bash/setup-plan.sh +0 -61
  32. package/.specify/scripts/bash/update-agent-context.sh +0 -799
  33. package/.specify/templates/agent-file-template.md +0 -28
  34. package/.specify/templates/checklist-template.md +0 -40
  35. package/.specify/templates/plan-template.md +0 -104
  36. package/.specify/templates/spec-template.md +0 -115
  37. package/.specify/templates/tasks-template.md +0 -251
  38. package/CHANGES_SUMMARY.md +0 -255
  39. package/CLAUDE.md +0 -92
  40. package/GEMINI_SETUP.md +0 -256
  41. package/REFACTOR_SUMMARY.md +0 -267
  42. package/bun.lock +0 -352
  43. package/prompt.md +0 -108
  44. package/ralph.sh +0 -80
  45. package/relentless/features/ghsk-ideas/prd.json +0 -229
  46. package/relentless/features/ghsk-ideas/prd.md +0 -191
  47. package/relentless/features/ghsk-ideas/progress.txt +0 -408
  48. package/relentless/prompt.md +0 -79
  49. package/skills/checklist/SKILL.md +0 -349
  50. package/skills/clarify/SKILL.md +0 -476
  51. package/skills/prd/SKILL.md +0 -242
  52. package/skills/relentless/SKILL.md +0 -268
  53. package/skills/tasks/SKILL.md +0 -577
@@ -1,229 +0,0 @@
1
- {
2
- "project": "GitHub Spec Kit Ideas Integration",
3
- "branchName": "ralph/github-spec-kit-ideas-integration",
4
- "description": "This feature integrates sophisticated specification-driven development capabilities from speckit into relentless while maintaining its agent-agnostic simplicity. The integration creates a professional, globally-installed binary with powerful enhancements for dependency-ordered tasks, constitution-based governance, quality checklists, consistency analysis, and enhanced orchestration.",
5
- "userStories": [
6
- {
7
- "id": "US-000",
8
- "title": "Single Binary with PATH Installation",
9
- "description": "As a relentless user, I want relentless installed as a global binary in my PATH so that I can call it from anywhere without dealing with shell scripts.",
10
- "acceptanceCriteria": [
11
- "package.json has \"bin\" field pointing to bin/relentless.ts",
12
- "bin/relentless.ts has #!/usr/bin/env bun shebang",
13
- "Binary can be installed globally via `bun install -g`",
14
- "relentless command available in PATH after install",
15
- "All commands work: init, run, convert, analyze, features, status, reset",
16
- "Shell script (bin/relentless.sh) completely removed",
17
- "Scaffolder no longer copies shell script",
18
- "Can call `relentless init` from any directory",
19
- "Can call `relentless run --feature <name>` from project root",
20
- "README.md fully reviewed and all shell script references replaced with binary commands",
21
- "CLAUDE.md reviewed and updated with new CLI usage patterns",
22
- "All documentation files searched and updated: replace ./relentless/bin/relentless.sh with relentless",
23
- "Scaffolder output messages updated to remove all shell script references",
24
- "All code comments reviewed and updated to remove shell script mentions",
25
- "Template files reviewed: prompt.md and other templates use binary commands",
26
- "All example commands updated to use relentless <action> --params format",
27
- "Installation instructions complete: document bun install -g and bunx relentless",
28
- "Skills documentation updated: prd and relentless skills reference binary",
29
- "Typecheck passes",
30
- "Linter passes (0 warnings)",
31
- "Verify in terminal: `which relentless` shows installed binary",
32
- "Verify documentation: grep for .sh and relentless.sh returns no results in docs"
33
- ],
34
- "priority": 1,
35
- "passes": true,
36
- "notes": ""
37
- },
38
- {
39
- "id": "US-001",
40
- "title": "Dependency-Ordered Task Schema",
41
- "description": "As a developer, I want user stories to support dependencies, phases, and parallel execution markers so that I can express complex relationships between tasks.",
42
- "acceptanceCriteria": [
43
- "UserStory schema extended with dependencies, parallel, phase fields",
44
- "getNextStory() respects dependencies and only returns stories with completed prerequisites",
45
- "validateDependencies() detects circular dependencies and throws error",
46
- "Parser extracts \"Dependencies: US-001, US-002\" from PRD markdown",
47
- "Typecheck passes",
48
- "Linter passes (0 warnings)"
49
- ],
50
- "priority": 2,
51
- "passes": true,
52
- "notes": ""
53
- },
54
- {
55
- "id": "US-002",
56
- "title": "Constitution Management System",
57
- "description": "As a project lead, I want a constitution.md file containing project principles, patterns, and constraints so that all agents follow consistent guidelines.",
58
- "acceptanceCriteria": [
59
- "Template created at /templates/constitution.md with clear structure",
60
- "Loader.ts reads and parses constitution.md",
61
- "Runner.ts includes constitution in prompt context",
62
- "Scaffolder copies constitution template during init",
63
- "Constitution validates principles (MUST/SHOULD format)",
64
- "Typecheck passes",
65
- "Linter passes (0 warnings)"
66
- ],
67
- "priority": 3,
68
- "passes": true,
69
- "notes": ""
70
- },
71
- {
72
- "id": "US-003",
73
- "title": "Enhanced Progress Tracking with Metadata",
74
- "description": "As an agent, I want progress.txt to have structured YAML frontmatter so that I can access machine-readable context about patterns and blockers.",
75
- "acceptanceCriteria": [
76
- "Progress.txt created with YAML frontmatter",
77
- "Runner updates frontmatter after each iteration (last_updated, stories_completed)",
78
- "Patterns array updated with learnings from progress log",
79
- "Prompt context includes parsed frontmatter patterns",
80
- "Typecheck passes",
81
- "Linter passes (0 warnings)"
82
- ],
83
- "priority": 4,
84
- "passes": true,
85
- "notes": ""
86
- },
87
- {
88
- "id": "US-004",
89
- "title": "Technical Planning Template",
90
- "description": "As a developer, I want an optional plan.md template so that I can document technical design decisions before implementation.",
91
- "acceptanceCriteria": [
92
- "Template created at /templates/plan.md with all sections",
93
- "Scaffolder supports `createFeature(name, {withPlan: true})`",
94
- "Plan.md copied to feature directory when flag enabled",
95
- "Prompt references plan.md if present in feature directory",
96
- "Typecheck passes",
97
- "Linter passes (0 warnings)"
98
- ],
99
- "priority": 5,
100
- "passes": true,
101
- "notes": ""
102
- },
103
- {
104
- "id": "US-005",
105
- "title": "Quality Checklist Generator Skill",
106
- "description": "As a quality-focused developer, I want a skill that generates custom quality checklists based on my PRD so that I can ensure comprehensive requirement validation.",
107
- "acceptanceCriteria": [
108
- "SKILL.md created with clear instructions for checklist generation",
109
- "Skill analyzes PRD and infers appropriate checklist domain",
110
- "Checklist has 20-40 items across 5-7 categories",
111
- "80% of items reference specific spec sections or have [Gap]/[Ambiguity] markers",
112
- "Checklist saved to feature directory",
113
- "Skill works with Claude Code, Amp, Gemini",
114
- "Typecheck passes",
115
- "Linter passes (0 warnings)"
116
- ],
117
- "priority": 6,
118
- "passes": true,
119
- "notes": ""
120
- },
121
- {
122
- "id": "US-006",
123
- "title": "Cross-Artifact Consistency Analysis Command",
124
- "description": "As a developer, I want an analyze command that checks consistency across PRD, JSON, and code so that I can catch errors early.",
125
- "acceptanceCriteria": [
126
- "Command added to bin/relentless.ts with analyze subcommand",
127
- "Analyzer checks all 5 consistency categories",
128
- "Output includes severity ratings and recommendations",
129
- "Report includes coverage summary (stories completed/total per requirement)",
130
- "Analyzer handles missing files gracefully",
131
- "Typecheck passes",
132
- "Linter passes (0 warnings)",
133
- "Verify in terminal: Run analyze command and review output"
134
- ],
135
- "priority": 7,
136
- "passes": true,
137
- "notes": ""
138
- },
139
- {
140
- "id": "US-007",
141
- "title": "Interactive Clarification Skill",
142
- "description": "As a PRD author, I want an interactive clarification skill that asks targeted questions about ambiguities so that I can create clearer specifications.",
143
- "acceptanceCriteria": [
144
- "SKILL.md created with clarification workflow",
145
- "Skill scans PRD across 9 ambiguity categories",
146
- "Generates max 5 questions with multiple-choice options",
147
- "Adds [NEEDS CLARIFICATION] markers (max 3 per spec)",
148
- "Saves clarification-log.md with questions and answers",
149
- "Updates PRD in-place after each clarification",
150
- "Typecheck passes",
151
- "Linter passes (0 warnings)"
152
- ],
153
- "priority": 8,
154
- "passes": true,
155
- "notes": ""
156
- },
157
- {
158
- "id": "US-008",
159
- "title": "Dependency-Ordered Task Breakdown Skill",
160
- "description": "As a developer, I want a skill that generates dependency-ordered task breakdowns with phase structure so that I can visualize implementation order.",
161
- "acceptanceCriteria": [
162
- "SKILL.md created with task breakdown instructions",
163
- "Skill generates phase structure (Setup → Foundation → Stories → Polish)",
164
- "Tasks include IDs (T001+), phase markers, story labels [US1]",
165
- "Parallel tasks marked with [P]",
166
- "Each story independently testable",
167
- "Saves to tasks.md in feature directory",
168
- "Typecheck passes",
169
- "Linter passes (0 warnings)"
170
- ],
171
- "priority": 9,
172
- "passes": true,
173
- "notes": ""
174
- },
175
- {
176
- "id": "US-009",
177
- "title": "Research Phase Support",
178
- "description": "As an agent, I want an optional research phase before implementation so that I can explore existing patterns and make better decisions.",
179
- "acceptanceCriteria": [
180
- "UserStory schema has optional research field",
181
- "Runner detects research flag and runs two-phase execution",
182
- "Research phase saves findings to research/<story-id>.md",
183
- "Second phase includes research findings in prompt",
184
- "Prompt template updated with research instructions",
185
- "Typecheck passes",
186
- "Linter passes (0 warnings)"
187
- ],
188
- "priority": 10,
189
- "passes": true,
190
- "notes": ""
191
- },
192
- {
193
- "id": "US-010",
194
- "title": "Branch Management with Auto-Numbering",
195
- "description": "As a developer, I want features to have auto-generated numbers (001-feature-name) so that I can track them in order.",
196
- "acceptanceCriteria": [
197
- "Scaffolder supports createFeature with autoNumber option",
198
- "Feature directories created with 001- prefix when enabled",
199
- "PRD branchName auto-generated with number prefix",
200
- "listFeatures() returns numbered features correctly",
201
- "Existing features without numbers still work",
202
- "Typecheck passes",
203
- "Linter passes (0 warnings)"
204
- ],
205
- "priority": 11,
206
- "passes": true,
207
- "notes": ""
208
- },
209
- {
210
- "id": "US-011",
211
- "title": "GitHub Issues Generator",
212
- "description": "As a team lead, I want to convert user stories to GitHub issues so that I can track work in GitHub Projects.",
213
- "acceptanceCriteria": [
214
- "Command added to bin/relentless.ts",
215
- "Issues.ts creates GitHub issues via gh CLI",
216
- "Each story mapped to issue with proper formatting",
217
- "Labels inferred from story type (database, ui, api, etc.)",
218
- "Dependencies mapped to issue relationships",
219
- "Safety: validates git remote matches before creating issues",
220
- "Typecheck passes",
221
- "Linter passes (0 warnings)",
222
- "Verify in browser: Check created issues on GitHub"
223
- ],
224
- "priority": 12,
225
- "passes": true,
226
- "notes": ""
227
- }
228
- ]
229
- }
@@ -1,191 +0,0 @@
1
- # PRD: GitHub Spec Kit Ideas Integration
2
-
3
- ## Introduction
4
-
5
- This feature integrates sophisticated specification-driven development capabilities inspired by GitHub's Spec Kit into relentless while maintaining its agent-agnostic simplicity. We're forking and adapting these concepts as relentless-native commands (relentless.plan, relentless.constitution, etc.) to create a professional, globally-installed binary with powerful enhancements for dependency-ordered tasks, constitution-based governance, quality checklists, consistency analysis, and enhanced orchestration.
6
-
7
- ## User Stories
8
-
9
- ### US-000: Single Binary with PATH Installation
10
- **Description:** As a relentless user, I want relentless installed as a global binary in my PATH so that I can call it from anywhere without dealing with shell scripts.
11
-
12
- **Acceptance Criteria:**
13
- - [ ] package.json has "bin" field pointing to bin/relentless.ts
14
- - [ ] bin/relentless.ts has #!/usr/bin/env bun shebang
15
- - [ ] Binary can be installed globally via `bun install -g`
16
- - [ ] relentless command available in PATH after install
17
- - [ ] All commands work: init, run, convert, analyze, features, status, reset
18
- - [ ] Shell script (bin/relentless.sh) completely removed
19
- - [ ] Scaffolder no longer copies shell script
20
- - [ ] Can call `relentless init` from any directory
21
- - [ ] Can call `relentless run --feature <name>` from project root
22
- - [ ] README.md fully reviewed and all shell script references replaced with binary commands
23
- - [ ] CLAUDE.md reviewed and updated with new CLI usage patterns
24
- - [ ] All documentation files searched and updated: replace ./relentless/bin/relentless.sh with relentless
25
- - [ ] Scaffolder output messages updated to remove all shell script references
26
- - [ ] All code comments reviewed and updated to remove shell script mentions
27
- - [ ] Template files reviewed: prompt.md and other templates use binary commands
28
- - [ ] All example commands updated to use relentless <action> --params format
29
- - [ ] Installation instructions complete: document bun install -g and bunx relentless
30
- - [ ] Skills documentation updated: prd and relentless skills reference binary
31
- - [ ] Typecheck passes
32
- - [ ] Linter passes (0 warnings)
33
- - [ ] Verify in terminal: `which relentless` shows installed binary
34
- - [ ] Verify documentation: grep for .sh and relentless.sh returns no results in docs
35
-
36
- ---
37
-
38
- ### US-001: Dependency-Ordered Task Schema
39
- **Description:** As a developer, I want user stories to support dependencies, phases, and parallel execution markers so that I can express complex relationships between tasks.
40
-
41
- **Acceptance Criteria:**
42
- - [ ] UserStory schema extended with dependencies, parallel, phase fields
43
- - [ ] getNextStory() respects dependencies and only returns stories with completed prerequisites
44
- - [ ] validateDependencies() detects circular dependencies and throws error
45
- - [ ] Parser extracts "Dependencies: US-001, US-002" from PRD markdown
46
- - [ ] Typecheck passes
47
- - [ ] Linter passes (0 warnings)
48
-
49
- ---
50
-
51
- ### US-002: Constitution Management System
52
- **Description:** As a project lead, I want a constitution.md file containing project principles, patterns, and constraints so that all agents follow consistent guidelines.
53
-
54
- **Acceptance Criteria:**
55
- - [ ] Template created at /templates/constitution.md with clear structure
56
- - [ ] Loader.ts reads and parses constitution.md
57
- - [ ] Runner.ts includes constitution in prompt context
58
- - [ ] Scaffolder copies constitution template during init
59
- - [ ] Constitution validates principles (MUST/SHOULD format)
60
- - [ ] Typecheck passes
61
- - [ ] Linter passes (0 warnings)
62
-
63
- ---
64
-
65
- ### US-003: Enhanced Progress Tracking with Metadata
66
- **Description:** As an agent, I want progress.txt to have structured YAML frontmatter so that I can access machine-readable context about patterns and blockers.
67
-
68
- **Acceptance Criteria:**
69
- - [ ] Progress.txt created with YAML frontmatter
70
- - [ ] Runner updates frontmatter after each iteration (last_updated, stories_completed)
71
- - [ ] Patterns array updated with learnings from progress log
72
- - [ ] Prompt context includes parsed frontmatter patterns
73
- - [ ] Typecheck passes
74
- - [ ] Linter passes (0 warnings)
75
-
76
- ---
77
-
78
- ### US-004: Technical Planning Template
79
- **Description:** As a developer, I want an optional plan.md template so that I can document technical design decisions before implementation.
80
-
81
- **Acceptance Criteria:**
82
- - [ ] Template created at /templates/plan.md with all sections
83
- - [ ] Scaffolder supports `createFeature(name, {withPlan: true})`
84
- - [ ] Plan.md copied to feature directory when flag enabled
85
- - [ ] Prompt references plan.md if present in feature directory
86
- - [ ] Typecheck passes
87
- - [ ] Linter passes (0 warnings)
88
-
89
- ---
90
-
91
- ### US-005: Quality Checklist Generator Skill
92
- **Description:** As a quality-focused developer, I want a skill that generates custom quality checklists based on my PRD so that I can ensure comprehensive requirement validation.
93
-
94
- **Acceptance Criteria:**
95
- - [ ] SKILL.md created with clear instructions for checklist generation
96
- - [ ] Skill analyzes PRD and infers appropriate checklist domain
97
- - [ ] Checklist has 20-40 items across 5-7 categories
98
- - [ ] 80% of items reference specific spec sections or have [Gap]/[Ambiguity] markers
99
- - [ ] Checklist saved to feature directory
100
- - [ ] Skill works with Claude Code, Amp, Gemini
101
- - [ ] Typecheck passes
102
- - [ ] Linter passes (0 warnings)
103
-
104
- ---
105
-
106
- ### US-006: Cross-Artifact Consistency Analysis Command
107
- **Description:** As a developer, I want an analyze command that checks consistency across PRD, JSON, and code so that I can catch errors early.
108
-
109
- **Acceptance Criteria:**
110
- - [ ] Command added to bin/relentless.ts with analyze subcommand
111
- - [ ] Analyzer checks all 5 consistency categories
112
- - [ ] Output includes severity ratings and recommendations
113
- - [ ] Report includes coverage summary (stories completed/total per requirement)
114
- - [ ] Analyzer handles missing files gracefully
115
- - [ ] Typecheck passes
116
- - [ ] Linter passes (0 warnings)
117
- - [ ] Verify in terminal: Run analyze command and review output
118
-
119
- ---
120
-
121
- ### US-007: Interactive Clarification Skill
122
- **Description:** As a PRD author, I want an interactive clarification skill that asks targeted questions about ambiguities so that I can create clearer specifications.
123
-
124
- **Acceptance Criteria:**
125
- - [ ] SKILL.md created with clarification workflow
126
- - [ ] Skill scans PRD across 9 ambiguity categories
127
- - [ ] Generates max 5 questions with multiple-choice options
128
- - [ ] Adds [NEEDS CLARIFICATION] markers (max 3 per spec)
129
- - [ ] Saves clarification-log.md with questions and answers
130
- - [ ] Updates PRD in-place after each clarification
131
- - [ ] Typecheck passes
132
- - [ ] Linter passes (0 warnings)
133
-
134
- ---
135
-
136
- ### US-008: Dependency-Ordered Task Breakdown Skill
137
- **Description:** As a developer, I want a skill that generates dependency-ordered task breakdowns with phase structure so that I can visualize implementation order.
138
-
139
- **Acceptance Criteria:**
140
- - [ ] SKILL.md created with task breakdown instructions
141
- - [ ] Skill generates phase structure (Setup → Foundation → Stories → Polish)
142
- - [ ] Tasks include IDs (T001+), phase markers, story labels [US1]
143
- - [ ] Parallel tasks marked with [P]
144
- - [ ] Each story independently testable
145
- - [ ] Saves to tasks.md in feature directory
146
- - [ ] Typecheck passes
147
- - [ ] Linter passes (0 warnings)
148
-
149
- ---
150
-
151
- ### US-009: Research Phase Support
152
- **Description:** As an agent, I want an optional research phase before implementation so that I can explore existing patterns and make better decisions.
153
-
154
- **Acceptance Criteria:**
155
- - [ ] UserStory schema has optional research field
156
- - [ ] Runner detects research flag and runs two-phase execution
157
- - [ ] Research phase saves findings to research/<story-id>.md
158
- - [ ] Second phase includes research findings in prompt
159
- - [ ] Prompt template updated with research instructions
160
- - [ ] Typecheck passes
161
- - [ ] Linter passes (0 warnings)
162
-
163
- ---
164
-
165
- ### US-010: Branch Management with Auto-Numbering
166
- **Description:** As a developer, I want features to have auto-generated numbers (001-feature-name) so that I can track them in order.
167
-
168
- **Acceptance Criteria:**
169
- - [ ] Scaffolder supports createFeature with autoNumber option
170
- - [ ] Feature directories created with 001- prefix when enabled
171
- - [ ] PRD branchName auto-generated with number prefix
172
- - [ ] listFeatures() returns numbered features correctly
173
- - [ ] Existing features without numbers still work
174
- - [ ] Typecheck passes
175
- - [ ] Linter passes (0 warnings)
176
-
177
- ---
178
-
179
- ### US-011: GitHub Issues Generator
180
- **Description:** As a team lead, I want to convert user stories to GitHub issues so that I can track work in GitHub Projects.
181
-
182
- **Acceptance Criteria:**
183
- - [ ] Command added to bin/relentless.ts
184
- - [ ] Issues.ts creates GitHub issues via gh CLI
185
- - [ ] Each story mapped to issue with proper formatting
186
- - [ ] Labels inferred from story type (database, ui, api, etc.)
187
- - [ ] Dependencies mapped to issue relationships
188
- - [ ] Safety: validates git remote matches before creating issues
189
- - [ ] Typecheck passes
190
- - [ ] Linter passes (0 warnings)
191
- - [ ] Verify in browser: Check created issues on GitHub