kyro-ai 3.2.0 → 3.2.2
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/.claude-plugin/plugin.json +1 -1
- package/README.md +46 -39
- package/WORKFLOW.yaml +1 -1
- package/commands/forge.md +22 -44
- package/commands/status.md +21 -79
- package/commands/wrap-up.md +18 -74
- package/dist/cli/adapters/codex.js +3 -3
- package/dist/cli/adapters/codex.js.map +1 -1
- package/dist/cli/adapters/command-skills.js +1 -1
- package/dist/cli/adapters/command-skills.js.map +1 -1
- package/dist/cli/adapters/opencode.d.ts +0 -2
- package/dist/cli/adapters/opencode.d.ts.map +1 -1
- package/dist/cli/adapters/opencode.js +2 -10
- package/dist/cli/adapters/opencode.js.map +1 -1
- package/dist/cli/adapters/registry.d.ts.map +1 -1
- package/dist/cli/adapters/registry.js +3 -1
- package/dist/cli/adapters/registry.js.map +1 -1
- package/dist/cli/adapters/standard.d.ts +5 -0
- package/dist/cli/adapters/standard.d.ts.map +1 -0
- package/dist/cli/adapters/standard.js +41 -0
- package/dist/cli/adapters/standard.js.map +1 -0
- package/dist/cli/app.js +1 -1
- package/dist/cli/app.js.map +1 -1
- package/dist/cli/commands/doctor.d.ts +2 -1
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/doctor.js +27 -18
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/install.d.ts.map +1 -1
- package/dist/cli/commands/install.js +8 -7
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/token-audit.d.ts +3 -0
- package/dist/cli/commands/token-audit.d.ts.map +1 -0
- package/dist/cli/commands/token-audit.js +141 -0
- package/dist/cli/commands/token-audit.js.map +1 -0
- package/dist/cli/commands/tui.d.ts.map +1 -1
- package/dist/cli/commands/tui.js +10 -6
- package/dist/cli/commands/tui.js.map +1 -1
- package/dist/cli/commands/uninstall.d.ts.map +1 -1
- package/dist/cli/commands/uninstall.js +9 -9
- package/dist/cli/commands/uninstall.js.map +1 -1
- package/dist/cli/constants.d.ts +12 -7
- package/dist/cli/constants.d.ts.map +1 -1
- package/dist/cli/constants.js +13 -5
- package/dist/cli/constants.js.map +1 -1
- package/dist/cli/fs.d.ts +3 -0
- package/dist/cli/fs.d.ts.map +1 -1
- package/dist/cli/fs.js +30 -5
- package/dist/cli/fs.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +6 -4
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/install-plan.d.ts.map +1 -1
- package/dist/cli/install-plan.js +27 -20
- package/dist/cli/install-plan.js.map +1 -1
- package/dist/cli/options.d.ts.map +1 -1
- package/dist/cli/options.js +8 -1
- package/dist/cli/options.js.map +1 -1
- package/dist/cli/state.js +1 -1
- package/dist/cli/state.js.map +1 -1
- package/dist/cli/types.d.ts +4 -1
- package/dist/cli/types.d.ts.map +1 -1
- package/docs/HOW-TO-USE-CODEX.md +28 -60
- package/docs/HOW-TO-USE-OPENCODE.md +26 -72
- package/docs/agent-adapters.md +40 -118
- package/docs/architecture.md +7 -2
- package/docs/cli.md +93 -29
- package/docs/commands-reference.md +22 -32
- package/docs/getting-started.md +65 -115
- package/package.json +1 -1
- package/skills/sprint-forge/SKILL.md +9 -8
- package/skills/sprint-forge/assets/README.md +27 -17
- package/skills/sprint-forge/assets/helpers/metrics.md +4 -4
- package/skills/sprint-forge/assets/helpers/reentry-generator.md +4 -4
- package/skills/sprint-forge/assets/modes/INIT.md +68 -169
- package/skills/sprint-forge/assets/modes/SPRINT.md +20 -246
- package/skills/sprint-forge/assets/modes/STATUS.md +46 -128
- package/skills/sprint-forge/assets/modes/close-sprint.md +29 -0
- package/skills/sprint-forge/assets/modes/execute-task.md +26 -0
- package/skills/sprint-forge/assets/modes/plan-sprint.md +29 -0
- package/skills/sprint-forge/assets/modes/recover.md +23 -0
- package/skills/sprint-forge/assets/modes/review-task.md +25 -0
- package/skills/sprint-forge/assets/templates/DEBT.summary.json +12 -0
- package/skills/sprint-forge/assets/templates/ROADMAP.summary.json +15 -0
- package/skills/sprint-forge/assets/templates/SPRINT.summary.json +16 -0
- package/skills/sprint-forge/assets/templates/index.json +15 -0
- package/skills/sprint-forge/assets/templates/state.json +11 -0
package/docs/getting-started.md
CHANGED
|
@@ -1,165 +1,115 @@
|
|
|
1
1
|
# Getting Started with Kyro
|
|
2
2
|
|
|
3
|
-
Kyro is a portable
|
|
4
|
-
|
|
5
|
-
Kyro does not require a specific model provider. Claude Code is supported through a native adapter, while Codex, OpenCode, Cursor, and generic agents can use the same core files manually.
|
|
6
|
-
|
|
7
|
-
---
|
|
3
|
+
Kyro is a portable sprint workflow kit for AI coding agents. It installs a global runtime and tiny command skills, while each project keeps only state and artifacts under `.agents/kyro/`.
|
|
8
4
|
|
|
9
5
|
## Prerequisites
|
|
10
6
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
Verify your Node.js version:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
node --version
|
|
19
|
-
# v18.0.0 or higher
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Installation Paths
|
|
7
|
+
- Node.js >= 18
|
|
8
|
+
- Git
|
|
9
|
+
- An AI coding agent that can read `~/.agents/skills`, root `AGENTS.md`, slash commands, or markdown instructions
|
|
25
10
|
|
|
26
|
-
|
|
11
|
+
## Install
|
|
27
12
|
|
|
28
|
-
|
|
13
|
+
Default standard install:
|
|
29
14
|
|
|
30
15
|
```bash
|
|
31
|
-
|
|
16
|
+
npx kyro-ai install --scope workspace --yes
|
|
32
17
|
```
|
|
33
18
|
|
|
34
|
-
|
|
19
|
+
Agent-specific installs:
|
|
35
20
|
|
|
36
21
|
```bash
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
npm install
|
|
40
|
-
npm run build
|
|
41
|
-
claude --plugin-dir ~/.claude/plugins/kyro-ai
|
|
22
|
+
npx kyro-ai install --agent opencode --scope workspace --yes
|
|
23
|
+
npx kyro-ai install --agent codex --scope workspace --yes
|
|
42
24
|
```
|
|
43
25
|
|
|
44
|
-
|
|
26
|
+
Claude plugin support remains first-class through `.claude-plugin/` and Claude's plugin install flow.
|
|
45
27
|
|
|
46
|
-
|
|
28
|
+
## What gets installed
|
|
47
29
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
30
|
+
Global runtime:
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
~/.agents/kyro/current/
|
|
34
|
+
├── commands/
|
|
35
|
+
├── core/
|
|
36
|
+
├── skills/
|
|
37
|
+
└── manifest.json
|
|
56
38
|
```
|
|
57
39
|
|
|
58
|
-
|
|
40
|
+
Global command skills:
|
|
59
41
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
-
|
|
42
|
+
```text
|
|
43
|
+
~/.agents/skills/
|
|
44
|
+
├── kyro-forge/SKILL.md
|
|
45
|
+
├── kyro-status/SKILL.md
|
|
46
|
+
└── kyro-wrap-up/SKILL.md
|
|
47
|
+
```
|
|
64
48
|
|
|
65
|
-
|
|
49
|
+
Project state:
|
|
66
50
|
|
|
67
|
-
|
|
51
|
+
```text
|
|
52
|
+
.agents/kyro/
|
|
53
|
+
├── kyro.json
|
|
54
|
+
└── scopes/
|
|
55
|
+
```
|
|
68
56
|
|
|
69
|
-
|
|
57
|
+
`kyro install` does not create scoped `state.json`; the forge/INIT workflow creates scoped state only when a scope exists.
|
|
70
58
|
|
|
71
|
-
|
|
59
|
+
## First run
|
|
60
|
+
|
|
61
|
+
Use the installed command skill or slash command:
|
|
72
62
|
|
|
73
63
|
```text
|
|
74
|
-
|
|
64
|
+
kyro-forge auth-refactor
|
|
75
65
|
```
|
|
76
66
|
|
|
77
|
-
|
|
67
|
+
or, in Claude-style slash command environments:
|
|
78
68
|
|
|
79
69
|
```text
|
|
80
|
-
|
|
70
|
+
/kyro:forge auth-refactor
|
|
81
71
|
```
|
|
82
72
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
1. The analysis phase explores the codebase in read-only mode.
|
|
86
|
-
2. You approve the analysis at Gate 1.
|
|
87
|
-
3. Kyro generates a sprint plan with phases and tasks.
|
|
88
|
-
4. You approve the plan at Gate 2.
|
|
89
|
-
5. Tasks are executed one by one and validated.
|
|
90
|
-
6. You approve the implementation at Gate 3.
|
|
91
|
-
7. A retrospective is run and the sprint is closed.
|
|
73
|
+
Kyro routes progressively:
|
|
92
74
|
|
|
93
|
-
|
|
75
|
+
1. read `.agents/kyro/kyro.json`
|
|
76
|
+
2. resolve or create scope
|
|
77
|
+
3. read scoped `state.json` and `index.json` if present
|
|
78
|
+
4. load only the required mode: INIT, plan, execute, review, close, or recover
|
|
79
|
+
5. update Markdown evidence plus JSON summaries
|
|
94
80
|
|
|
95
|
-
|
|
81
|
+
## Scope output
|
|
96
82
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
After running forge in INIT mode, Kyro creates a scope workspace:
|
|
83
|
+
After INIT, a scope looks like:
|
|
100
84
|
|
|
101
85
|
```text
|
|
102
86
|
.agents/kyro/scopes/{scope}/
|
|
103
87
|
├── README.md
|
|
104
88
|
├── ROADMAP.md
|
|
89
|
+
├── ROADMAP.summary.json
|
|
105
90
|
├── RE-ENTRY-PROMPTS.md
|
|
91
|
+
├── state.json
|
|
92
|
+
├── index.json
|
|
106
93
|
├── findings/
|
|
107
|
-
|
|
108
|
-
|
|
94
|
+
└── phases/
|
|
95
|
+
├── SPRINT-N-*.md
|
|
96
|
+
└── SPRINT-N-*.summary.json
|
|
109
97
|
```
|
|
110
98
|
|
|
111
|
-
|
|
99
|
+
Markdown is the human-readable evidence. JSON files are the fast routing cache used to save tokens.
|
|
112
100
|
|
|
113
|
-
|
|
114
|
-
.agents/kyro/scopes/rules.md
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
The artifact files are the compatibility layer. Any agent that can read and write these files can continue the Kyro workflow.
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## Key Concepts
|
|
122
|
-
|
|
123
|
-
### Modes
|
|
124
|
-
|
|
125
|
-
| Mode | When to Use | What It Does |
|
|
126
|
-
| --- | --- | --- |
|
|
127
|
-
| INIT | Starting a new project workflow | Analyzes the codebase, generates findings, creates a roadmap, and scaffolds the output directory |
|
|
128
|
-
| SPRINT | Ready to work on the next iteration | Generates a sprint from the roadmap and previous retro, then optionally executes it task by task |
|
|
129
|
-
| STATUS | Checking progress | Reads sprint files and reports progress, debt status, and next sprint context |
|
|
130
|
-
|
|
131
|
-
### Gates
|
|
132
|
-
|
|
133
|
-
Gates are mandatory approval checkpoints. Kyro never proceeds past a gate without explicit user approval:
|
|
134
|
-
|
|
135
|
-
- **Gate 1** -- after analysis, before planning
|
|
136
|
-
- **Gate 2** -- after sprint plan generation, before implementation
|
|
137
|
-
- **Gate 3** -- after implementation, before review and close
|
|
101
|
+
## Verify
|
|
138
102
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
### Rules
|
|
144
|
-
|
|
145
|
-
When you correct an agent during a sprint, the correction can become a persistent project rule:
|
|
146
|
-
|
|
147
|
-
```text
|
|
148
|
-
User correction -> proposed rule -> user approval -> .agents/kyro/scopes/rules.md
|
|
103
|
+
```bash
|
|
104
|
+
kyro doctor
|
|
105
|
+
kyro doctor --tokens
|
|
149
106
|
```
|
|
150
107
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
### Debt Tracking
|
|
154
|
-
|
|
155
|
-
Technical debt is tracked formally across sprints. Items are never deleted; only their status changes.
|
|
156
|
-
|
|
157
|
-
---
|
|
108
|
+
`doctor --tokens` warns when command routers, projected skills, mode files, or AGENTS.md bootstrap instructions become too heavy.
|
|
158
109
|
|
|
159
|
-
## Next
|
|
110
|
+
## Next steps
|
|
160
111
|
|
|
161
|
-
- [
|
|
162
|
-
- [
|
|
163
|
-
- [
|
|
164
|
-
- [
|
|
165
|
-
- [Architecture](architecture.md) -- system design and data flow
|
|
112
|
+
- [CLI](cli.md)
|
|
113
|
+
- [Agent Adapters](agent-adapters.md)
|
|
114
|
+
- [Commands Reference](commands-reference.md)
|
|
115
|
+
- [Architecture](architecture.md)
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ allowed-tools: Read, Edit, Write, Glob, Grep, Bash, Task
|
|
|
38
38
|
|
|
39
39
|
This skill uses a modular assets architecture. Detailed workflows, helpers, and templates are in the [assets/](assets/) directory:
|
|
40
40
|
|
|
41
|
-
- **[assets/modes/](assets/modes/)** — INIT,
|
|
41
|
+
- **[assets/modes/](assets/modes/)** — lightweight routers plus focused INIT, planning, execution, review, close, recover, and STATUS workflows
|
|
42
42
|
- **[assets/helpers/](assets/helpers/)** — Analysis guide, debt tracker, sprint generator, re-entry generator
|
|
43
43
|
- **[assets/templates/](assets/templates/)** — Roadmap, sprint, project README, and re-entry prompt templates
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ Kyro is an **adaptive sprint workflow** skill designed for iterative project exe
|
|
|
54
54
|
- **Generates sprints one at a time** — each sprint feeds from the previous one's retro, recommendations, and accumulated debt
|
|
55
55
|
- **Tracks debt formally** — an accumulated debt table that persists across sprints and never loses items
|
|
56
56
|
- **Adapts the roadmap** — the plan evolves based on what execution reveals
|
|
57
|
-
- **Persists context** — re-entry prompts
|
|
57
|
+
- **Persists context cheaply** — `state.json`, `index.json`, summaries, and re-entry prompts let new agents recover without rereading every Markdown file
|
|
58
58
|
|
|
59
59
|
This skill works for **any** project type, language, or framework.
|
|
60
60
|
|
|
@@ -88,7 +88,7 @@ This skill works for **any** project type, language, or framework.
|
|
|
88
88
|
|
|
89
89
|
> **RULE 7 — CONTEXT PERSISTENCE**
|
|
90
90
|
>
|
|
91
|
-
> After INIT and after each executed sprint,
|
|
91
|
+
> After INIT and after each executed sprint, update `state.json`, `index.json`, relevant `*.summary.json`, and re-entry prompts. Agents read structured state before opening long Markdown evidence.
|
|
92
92
|
|
|
93
93
|
---
|
|
94
94
|
|
|
@@ -100,6 +100,7 @@ This skill works for **any** project type, language, or framework.
|
|
|
100
100
|
| Create vault structure | Yes | No | No |
|
|
101
101
|
| Generate roadmap | Yes | No | No |
|
|
102
102
|
| Generate/update re-entry prompts | Yes | Yes | No |
|
|
103
|
+
| Update state/index/summaries | Yes | Yes | Yes |
|
|
103
104
|
| Generate sprint | No | Yes | No |
|
|
104
105
|
| Execute sprint tasks | No | Yes | No |
|
|
105
106
|
| Write/modify code | No | Yes | No |
|
|
@@ -120,7 +121,7 @@ This skill works for **any** project type, language, or framework.
|
|
|
120
121
|
2. **INIT (first time)** — Ask the user where to save documents. Store the chosen path in `README.md` and `RE-ENTRY-PROMPTS.md`. These are the only sources of truth.
|
|
121
122
|
3. **SPRINT/STATUS without re-entry prompt** — Auto-discover by scanning `.agents/kyro/scopes/` in `{cwd}`, or ask the user directly.
|
|
122
123
|
|
|
123
|
-
|
|
124
|
+
The project state lives in `.agents/kyro/kyro.json`; scoped state lives in `.agents/kyro/scopes/{scope}/state.json` and `index.json`. Re-entry prompts and README remain human handoff aids, not startup requirements.
|
|
124
125
|
|
|
125
126
|
### Frontmatter Properties
|
|
126
127
|
|
|
@@ -149,7 +150,7 @@ After detecting the mode, read ONLY the assets listed for that mode. Do NOT read
|
|
|
149
150
|
| Mode | Read These Assets | Do NOT Read |
|
|
150
151
|
|------|-------------------|-------------|
|
|
151
152
|
| **INIT** | `INIT.md`, `analysis-guide.md`, `reentry-generator.md` | SPRINT.md, STATUS.md, sprint-generator.md, debt-tracker.md |
|
|
152
|
-
| **SPRINT** | `SPRINT.md`, `sprint-
|
|
153
|
+
| **SPRINT** | `SPRINT.md`, then exactly one routed mode: `plan-sprint.md`, `execute-task.md`, `review-task.md`, `close-sprint.md`, or `recover.md` | INIT.md, STATUS.md, unrelated modes/helpers/templates |
|
|
153
154
|
| **STATUS** | `STATUS.md`, `debt-tracker.md` | INIT.md, SPRINT.md, analysis-guide.md, sprint-generator.md, reentry-generator.md, all templates |
|
|
154
155
|
|
|
155
156
|
**On-demand assets**: Templates are loaded as each workflow step references them, not upfront.
|
|
@@ -184,9 +185,9 @@ Or to generate and immediately execute:
|
|
|
184
185
|
Generate and execute the next sprint.
|
|
185
186
|
```
|
|
186
187
|
|
|
187
|
-
This will: read
|
|
188
|
+
This will: read structured state first, route to planning or execution, and load only the mode/helper files needed for the current step.
|
|
188
189
|
|
|
189
|
-
**
|
|
190
|
+
**Router:** See [assets/modes/SPRINT.md](assets/modes/SPRINT.md)
|
|
190
191
|
|
|
191
192
|
### STATUS Mode
|
|
192
193
|
|
|
@@ -196,7 +197,7 @@ Use to check project progress:
|
|
|
196
197
|
Show me the project status and technical debt.
|
|
197
198
|
```
|
|
198
199
|
|
|
199
|
-
This will: read
|
|
200
|
+
This will: read summaries first, calculate metrics, and open Markdown only when summaries are missing or a full report requires evidence.
|
|
200
201
|
|
|
201
202
|
**Full workflow:** See [assets/modes/STATUS.md](assets/modes/STATUS.md)
|
|
202
203
|
|
|
@@ -1,31 +1,41 @@
|
|
|
1
1
|
# Kyro — Assets
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Kyro assets are designed for progressive disclosure: load the router first, then only the mode/helper/template needed for the current action.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
### modes/ (3 files)
|
|
5
|
+
## modes/
|
|
8
6
|
|
|
9
7
|
| File | Description |
|
|
10
8
|
|------|-------------|
|
|
11
|
-
| [INIT.md](modes/INIT.md) | Analysis, roadmap
|
|
12
|
-
| [SPRINT.md](modes/SPRINT.md) |
|
|
13
|
-
| [
|
|
9
|
+
| [INIT.md](modes/INIT.md) | Analysis, roadmap, scoped state, summaries, and scaffolding |
|
|
10
|
+
| [SPRINT.md](modes/SPRINT.md) | Lightweight sprint router |
|
|
11
|
+
| [plan-sprint.md](modes/plan-sprint.md) | Generate the next sprint |
|
|
12
|
+
| [execute-task.md](modes/execute-task.md) | Execute active sprint tasks |
|
|
13
|
+
| [review-task.md](modes/review-task.md) | Validate task or phase quality |
|
|
14
|
+
| [close-sprint.md](modes/close-sprint.md) | Retro, debt, summaries, and re-entry closeout |
|
|
15
|
+
| [recover.md](modes/recover.md) | Rebuild state/summaries after interruption |
|
|
16
|
+
| [STATUS.md](modes/STATUS.md) | Summary-first progress reporting |
|
|
14
17
|
|
|
15
|
-
|
|
18
|
+
## helpers/
|
|
16
19
|
|
|
17
20
|
| File | Description |
|
|
18
21
|
|------|-------------|
|
|
19
|
-
| [analysis-guide.md](helpers/analysis-guide.md) |
|
|
20
|
-
| [
|
|
21
|
-
| [
|
|
22
|
-
| [reentry-generator.md](helpers/reentry-generator.md) |
|
|
22
|
+
| [analysis-guide.md](helpers/analysis-guide.md) | Analysis strategy per work type |
|
|
23
|
+
| [sprint-generator.md](helpers/sprint-generator.md) | Sprint generation algorithm |
|
|
24
|
+
| [debt-tracker.md](helpers/debt-tracker.md) | Accumulated debt rules |
|
|
25
|
+
| [reentry-generator.md](helpers/reentry-generator.md) | Re-entry prompt updates |
|
|
26
|
+
| [reviewer.md](helpers/reviewer.md) | Review classification |
|
|
27
|
+
| [handoff.md](helpers/handoff.md) | Session handoff format |
|
|
23
28
|
|
|
24
|
-
|
|
29
|
+
## templates/
|
|
25
30
|
|
|
26
31
|
| File | Description |
|
|
27
32
|
|------|-------------|
|
|
28
|
-
| [ROADMAP.md](templates/ROADMAP.md) |
|
|
29
|
-
| [SPRINT.md](templates/SPRINT.md) |
|
|
30
|
-
| [PROJECT-README.md](templates/PROJECT-README.md) |
|
|
31
|
-
| [REENTRY-PROMPTS.md](templates/REENTRY-PROMPTS.md) |
|
|
33
|
+
| [ROADMAP.md](templates/ROADMAP.md) | Human roadmap evidence |
|
|
34
|
+
| [SPRINT.md](templates/SPRINT.md) | Human sprint evidence |
|
|
35
|
+
| [PROJECT-README.md](templates/PROJECT-README.md) | Scope README |
|
|
36
|
+
| [REENTRY-PROMPTS.md](templates/REENTRY-PROMPTS.md) | Human handoff prompts |
|
|
37
|
+
| [state.json](templates/state.json) | Scoped routing state |
|
|
38
|
+
| [index.json](templates/index.json) | Fast agent routing index |
|
|
39
|
+
| [ROADMAP.summary.json](templates/ROADMAP.summary.json) | Roadmap summary cache |
|
|
40
|
+
| [SPRINT.summary.json](templates/SPRINT.summary.json) | Sprint summary cache |
|
|
41
|
+
| [DEBT.summary.json](templates/DEBT.summary.json) | Debt summary cache |
|
|
@@ -66,14 +66,14 @@ Score: 72/100 (Good)
|
|
|
66
66
|
|
|
67
67
|
## Data Sources
|
|
68
68
|
|
|
69
|
-
- Sprint
|
|
70
|
-
- Debt
|
|
71
|
-
- Roadmap
|
|
69
|
+
- Sprint summaries first: task counts, completion status, retro highlights
|
|
70
|
+
- Debt summary or latest debt table: accumulated debt state
|
|
71
|
+
- Roadmap summary first, roadmap Markdown when summary is missing
|
|
72
72
|
- Rules file: estimation adjustment rules
|
|
73
73
|
|
|
74
74
|
## Calculation
|
|
75
75
|
|
|
76
|
-
Read
|
|
76
|
+
Read `index.json` and available `*.summary.json` files first. Open sprint Markdown only for missing fields, then compute:
|
|
77
77
|
|
|
78
78
|
1. Count tasks per sprint (total, completed, blocked, skipped, carry-over)
|
|
79
79
|
2. Map debt items to source directories
|
|
@@ -22,10 +22,10 @@ Each re-entry prompt covers a specific scenario:
|
|
|
22
22
|
|
|
23
23
|
| # | Scenario | When to Use | Key Context Needed |
|
|
24
24
|
|---|----------|-------------|-------------------|
|
|
25
|
-
| 1 | First Sprint | After INIT, before any sprint |
|
|
26
|
-
| 2 | Sprint N (next) | After completing Sprint N-1 |
|
|
27
|
-
| 3 | Execute Sprint | Sprint generated but not executed |
|
|
28
|
-
| 4 | Status | Any time, for progress report |
|
|
25
|
+
| 1 | First Sprint | After INIT, before any sprint | state.json, index.json, roadmap summary, selected findings |
|
|
26
|
+
| 2 | Sprint N (next) | After completing Sprint N-1 | state.json, index.json, last sprint summary, roadmap summary |
|
|
27
|
+
| 3 | Execute Sprint | Sprint generated but not executed | state.json, index.json, current sprint summary |
|
|
28
|
+
| 4 | Status | Any time, for progress report | state.json, index.json, summaries; Markdown only as fallback |
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|