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.
Files changed (86) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +46 -39
  3. package/WORKFLOW.yaml +1 -1
  4. package/commands/forge.md +22 -44
  5. package/commands/status.md +21 -79
  6. package/commands/wrap-up.md +18 -74
  7. package/dist/cli/adapters/codex.js +3 -3
  8. package/dist/cli/adapters/codex.js.map +1 -1
  9. package/dist/cli/adapters/command-skills.js +1 -1
  10. package/dist/cli/adapters/command-skills.js.map +1 -1
  11. package/dist/cli/adapters/opencode.d.ts +0 -2
  12. package/dist/cli/adapters/opencode.d.ts.map +1 -1
  13. package/dist/cli/adapters/opencode.js +2 -10
  14. package/dist/cli/adapters/opencode.js.map +1 -1
  15. package/dist/cli/adapters/registry.d.ts.map +1 -1
  16. package/dist/cli/adapters/registry.js +3 -1
  17. package/dist/cli/adapters/registry.js.map +1 -1
  18. package/dist/cli/adapters/standard.d.ts +5 -0
  19. package/dist/cli/adapters/standard.d.ts.map +1 -0
  20. package/dist/cli/adapters/standard.js +41 -0
  21. package/dist/cli/adapters/standard.js.map +1 -0
  22. package/dist/cli/app.js +1 -1
  23. package/dist/cli/app.js.map +1 -1
  24. package/dist/cli/commands/doctor.d.ts +2 -1
  25. package/dist/cli/commands/doctor.d.ts.map +1 -1
  26. package/dist/cli/commands/doctor.js +27 -18
  27. package/dist/cli/commands/doctor.js.map +1 -1
  28. package/dist/cli/commands/install.d.ts.map +1 -1
  29. package/dist/cli/commands/install.js +8 -7
  30. package/dist/cli/commands/install.js.map +1 -1
  31. package/dist/cli/commands/token-audit.d.ts +3 -0
  32. package/dist/cli/commands/token-audit.d.ts.map +1 -0
  33. package/dist/cli/commands/token-audit.js +141 -0
  34. package/dist/cli/commands/token-audit.js.map +1 -0
  35. package/dist/cli/commands/tui.d.ts.map +1 -1
  36. package/dist/cli/commands/tui.js +10 -6
  37. package/dist/cli/commands/tui.js.map +1 -1
  38. package/dist/cli/commands/uninstall.d.ts.map +1 -1
  39. package/dist/cli/commands/uninstall.js +9 -9
  40. package/dist/cli/commands/uninstall.js.map +1 -1
  41. package/dist/cli/constants.d.ts +12 -7
  42. package/dist/cli/constants.d.ts.map +1 -1
  43. package/dist/cli/constants.js +13 -5
  44. package/dist/cli/constants.js.map +1 -1
  45. package/dist/cli/fs.d.ts +3 -0
  46. package/dist/cli/fs.d.ts.map +1 -1
  47. package/dist/cli/fs.js +30 -5
  48. package/dist/cli/fs.js.map +1 -1
  49. package/dist/cli/help.d.ts.map +1 -1
  50. package/dist/cli/help.js +6 -4
  51. package/dist/cli/help.js.map +1 -1
  52. package/dist/cli/install-plan.d.ts.map +1 -1
  53. package/dist/cli/install-plan.js +27 -20
  54. package/dist/cli/install-plan.js.map +1 -1
  55. package/dist/cli/options.d.ts.map +1 -1
  56. package/dist/cli/options.js +8 -1
  57. package/dist/cli/options.js.map +1 -1
  58. package/dist/cli/state.js +1 -1
  59. package/dist/cli/state.js.map +1 -1
  60. package/dist/cli/types.d.ts +4 -1
  61. package/dist/cli/types.d.ts.map +1 -1
  62. package/docs/HOW-TO-USE-CODEX.md +28 -60
  63. package/docs/HOW-TO-USE-OPENCODE.md +26 -72
  64. package/docs/agent-adapters.md +40 -118
  65. package/docs/architecture.md +7 -2
  66. package/docs/cli.md +93 -29
  67. package/docs/commands-reference.md +22 -32
  68. package/docs/getting-started.md +65 -115
  69. package/package.json +1 -1
  70. package/skills/sprint-forge/SKILL.md +9 -8
  71. package/skills/sprint-forge/assets/README.md +27 -17
  72. package/skills/sprint-forge/assets/helpers/metrics.md +4 -4
  73. package/skills/sprint-forge/assets/helpers/reentry-generator.md +4 -4
  74. package/skills/sprint-forge/assets/modes/INIT.md +68 -169
  75. package/skills/sprint-forge/assets/modes/SPRINT.md +20 -246
  76. package/skills/sprint-forge/assets/modes/STATUS.md +46 -128
  77. package/skills/sprint-forge/assets/modes/close-sprint.md +29 -0
  78. package/skills/sprint-forge/assets/modes/execute-task.md +26 -0
  79. package/skills/sprint-forge/assets/modes/plan-sprint.md +29 -0
  80. package/skills/sprint-forge/assets/modes/recover.md +23 -0
  81. package/skills/sprint-forge/assets/modes/review-task.md +25 -0
  82. package/skills/sprint-forge/assets/templates/DEBT.summary.json +12 -0
  83. package/skills/sprint-forge/assets/templates/ROADMAP.summary.json +15 -0
  84. package/skills/sprint-forge/assets/templates/SPRINT.summary.json +16 -0
  85. package/skills/sprint-forge/assets/templates/index.json +15 -0
  86. package/skills/sprint-forge/assets/templates/state.json +11 -0
@@ -1,165 +1,115 @@
1
1
  # Getting Started with Kyro
2
2
 
3
- Kyro is a portable, markdown-first workflow kit for AI coding agents. It coordinates sprint-based execution through one orchestrator, reusable skills, command intent documents, persistent project rules, and `.agents/kyro/scopes/{scope}/` artifacts.
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
- - **Node.js >= 18** -- required to build and package Kyro
12
- - **Git** -- recommended for project workflows and review
13
- - **An AI coding agent** -- Claude Code, Codex, OpenCode, Cursor, or another agent that can read markdown instructions
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
- ### Claude Code Adapter
11
+ ## Install
27
12
 
28
- Use this path when you want Claude Code to register Kyro slash commands, agents, and skills automatically:
13
+ Default standard install:
29
14
 
30
15
  ```bash
31
- /plugin install SynapSync/kyro-ai
16
+ npx kyro-ai install --scope workspace --yes
32
17
  ```
33
18
 
34
- For local development:
19
+ Agent-specific installs:
35
20
 
36
21
  ```bash
37
- git clone https://github.com/SynapSync/kyro-ai.git ~/.claude/plugins/kyro-ai
38
- cd ~/.claude/plugins/kyro-ai
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
- ### Generic Agent Setup
26
+ Claude plugin support remains first-class through `.claude-plugin/` and Claude's plugin install flow.
45
27
 
46
- Use this path for agents without a verified Kyro-native plugin mechanism:
28
+ ## What gets installed
47
29
 
48
- ```bash
49
- git clone https://github.com/SynapSync/kyro-ai.git ~/kyro-ai
50
- cd your-project
51
- mkdir -p .agents .skills
52
- cp -R ~/kyro-ai/agents .agents/kyro
53
- cp -R ~/kyro-ai/skills/sprint-forge .skills/sprint-forge
54
- cp -R ~/kyro-ai/skills/qa-review .skills/qa-review
55
- mkdir -p .agents/kyro/scopes
30
+ Global runtime:
31
+
32
+ ```text
33
+ ~/.agents/kyro/current/
34
+ ├── commands/
35
+ ├── core/
36
+ ├── skills/
37
+ └── manifest.json
56
38
  ```
57
39
 
58
- Then expose these files as project context or rules in your agent:
40
+ Global command skills:
59
41
 
60
- - `.agents/kyro/orchestrator.md`
61
- - `.skills/sprint-forge/SKILL.md`
62
- - `.skills/qa-review/SKILL.md`
63
- - Kyro command intent files from `commands/*.md`, when your agent supports slash commands or reusable prompts
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
- See [agent-adapters.md](agent-adapters.md) for Codex, OpenCode, Cursor, and generic AGENTS guidance.
49
+ Project state:
66
50
 
67
- ---
51
+ ```text
52
+ .agents/kyro/
53
+ ├── kyro.json
54
+ └── scopes/
55
+ ```
68
56
 
69
- ## First Run
57
+ `kyro install` does not create scoped `state.json`; the forge/INIT workflow creates scoped state only when a scope exists.
70
58
 
71
- If your platform supports Kyro slash commands, start with:
59
+ ## First run
60
+
61
+ Use the installed command skill or slash command:
72
62
 
73
63
  ```text
74
- /kyro:forge analyze the authentication module
64
+ kyro-forge auth-refactor
75
65
  ```
76
66
 
77
- If your platform does not support slash commands, invoke the same intent manually:
67
+ or, in Claude-style slash command environments:
78
68
 
79
69
  ```text
80
- Use Kyro forge mode. Read the orchestrator, core, and qa-review instructions. Analyze the authentication module, produce findings, create or update the sprint artifacts under .agents/kyro/scopes/{scope}/, and stop at each approval gate.
70
+ /kyro:forge auth-refactor
81
71
  ```
82
72
 
83
- This starts the full sprint cycle:
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
- To check progress, use `/kyro:status` or ask the agent to run Kyro status mode by reading `.agents/kyro/scopes/{scope}/`.
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
- ## Output Structure
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
- ├── phases/
108
- └── handoffs/
94
+ └── phases/
95
+ ├── SPRINT-N-*.md
96
+ └── SPRINT-N-*.summary.json
109
97
  ```
110
98
 
111
- Project rules are stored in:
99
+ Markdown is the human-readable evidence. JSON files are the fast routing cache used to save tokens.
112
100
 
113
- ```text
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
- ### Checkpoints
140
-
141
- Sprint files are saved to disk after each phase completes. This keeps progress recoverable across session restarts, context compaction, or switching agents.
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
- Rules are specific, dated, and tied to the project where they were learned. See [rules-guide.md](rules-guide.md).
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 Steps
110
+ ## Next steps
160
111
 
161
- - [Agent Adapters](agent-adapters.md) -- setup guidance for Claude Code, Codex, OpenCode, Cursor, and generic agents
162
- - [Commands Reference](commands-reference.md) -- syntax and examples for all 3 command intents
163
- - [Agents Reference](agents-reference.md) -- how the orchestrator and protocols work
164
- - [Rules Guide](rules-guide.md) -- the per-project learning system
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyro-ai",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "Portable sprint workflow kit for AI coding agents, with markdown artifacts, adapter guides, and formal debt tracking",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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, SPRINT, and STATUS mode workflows
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 allow a new agent (or new session) to recover full context
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, re-entry prompts are updated. These prompts allow any agent in any session to recover full project context and continue seamlessly.
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
- No AGENTS.md. No branded blocks. The re-entry prompts and README carry the path across sessions.
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-generator.md`, `debt-tracker.md`, `reentry-generator.md` | INIT.md, STATUS.md, analysis-guide.md |
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 the roadmap and previous sprint, build the disposition table, generate phases, and optionally execute task by task.
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
- **Full workflow:** See [assets/modes/SPRINT.md](assets/modes/SPRINT.md)
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 all sprints, calculate metrics, display progress and accumulated debt.
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
- This directory contains the modular components of the `kyro-ai` skill.
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
- ## Directory Structure
6
-
7
- ### modes/ (3 files)
5
+ ## modes/
8
6
 
9
7
  | File | Description |
10
8
  |------|-------------|
11
- | [INIT.md](modes/INIT.md) | Analysis, roadmap creation, and vault scaffolding workflow |
12
- | [SPRINT.md](modes/SPRINT.md) | Sprint generation and execution workflow |
13
- | [STATUS.md](modes/STATUS.md) | Project progress reporting workflow |
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
- ### helpers/ (4 files)
18
+ ## helpers/
16
19
 
17
20
  | File | Description |
18
21
  |------|-------------|
19
- | [analysis-guide.md](helpers/analysis-guide.md) | How to analyze different project types |
20
- | [debt-tracker.md](helpers/debt-tracker.md) | Rules for the accumulated debt table |
21
- | [sprint-generator.md](helpers/sprint-generator.md) | Algorithm for generating a sprint from inputs |
22
- | [reentry-generator.md](helpers/reentry-generator.md) | How to generate and update re-entry prompts |
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
- ### templates/ (4 files)
29
+ ## templates/
25
30
 
26
31
  | File | Description |
27
32
  |------|-------------|
28
- | [ROADMAP.md](templates/ROADMAP.md) | Adaptive roadmap template |
29
- | [SPRINT.md](templates/SPRINT.md) | Sprint document template |
30
- | [PROJECT-README.md](templates/PROJECT-README.md) | Project working directory README template |
31
- | [REENTRY-PROMPTS.md](templates/REENTRY-PROMPTS.md) | Re-entry prompts template |
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 files: task counts, completion status, retro data
70
- - Debt tables: accumulated across all sprints
71
- - Roadmap: planned vs actual sprint scope
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 all sprint files in `{output_kyro_dir}/phases/` and compute:
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 | README, ROADMAP, findings |
26
- | 2 | Sprint N (next) | After completing Sprint N-1 | README, ROADMAP, last sprint (retro + recommendations + debt), next finding |
27
- | 3 | Execute Sprint | Sprint generated but not executed | README, ROADMAP, current sprint file |
28
- | 4 | Status | Any time, for progress report | README, ROADMAP, all sprint files |
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