kyro-ai 3.2.1 → 3.2.3
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 +4 -2
- package/README.md +8 -11
- package/WORKFLOW.yaml +1 -1
- package/agents/orchestrator.md +3 -3
- 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 +1 -1
- 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/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 +8 -4
- package/dist/cli/commands/doctor.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 +263 -0
- package/dist/cli/commands/token-audit.js.map +1 -0
- package/dist/cli/commands/tui.js +3 -3
- package/dist/cli/commands/tui.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +3 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/options.d.ts.map +1 -1
- package/dist/cli/options.js +5 -0
- package/dist/cli/options.js.map +1 -1
- package/dist/cli/types.d.ts +1 -0
- 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 +25 -2
- 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 +11 -10
- package/skills/sprint-forge/assets/README.md +38 -17
- package/skills/sprint-forge/assets/fixtures/subcommands-and-reports.sizingDecision.json +17 -0
- package/skills/sprint-forge/assets/helpers/analysis/audit.md +18 -0
- package/skills/sprint-forge/assets/helpers/analysis/bugfix.md +19 -0
- package/skills/sprint-forge/assets/helpers/analysis/feature.md +28 -0
- package/skills/sprint-forge/assets/helpers/analysis/new-project.md +18 -0
- package/skills/sprint-forge/assets/helpers/analysis/refactor.md +18 -0
- package/skills/sprint-forge/assets/helpers/analysis/tech-debt.md +18 -0
- 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 +45 -177
- 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/PROJECT-README.md +16 -60
- package/skills/sprint-forge/assets/templates/REENTRY-PROMPTS.md +18 -87
- package/skills/sprint-forge/assets/templates/ROADMAP.md +16 -65
- package/skills/sprint-forge/assets/templates/ROADMAP.summary.json +24 -0
- package/skills/sprint-forge/assets/templates/SPRINT.summary.json +16 -0
- package/skills/sprint-forge/assets/templates/index.json +24 -0
- package/skills/sprint-forge/assets/templates/state.json +11 -0
- package/skills/sprint-forge/assets/helpers/analysis-guide.md +0 -207
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kyro-ai",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "Claude Code adapter for Kyro, a portable sprint workflow kit for AI coding agents",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SynapSync",
|
|
@@ -36,5 +36,7 @@
|
|
|
36
36
|
"agents": [
|
|
37
37
|
"./agents/orchestrator.md"
|
|
38
38
|
],
|
|
39
|
-
"commands": [
|
|
39
|
+
"commands": [
|
|
40
|
+
"./commands/"
|
|
41
|
+
]
|
|
40
42
|
}
|
package/README.md
CHANGED
|
@@ -194,19 +194,16 @@ Kyro has three stable workflow intents:
|
|
|
194
194
|
| Status | `kyro-status` / `/kyro:status` | Report project progress, roadmap health, and technical debt |
|
|
195
195
|
| Wrap-up | `kyro-wrap-up` / `/kyro:wrap-up` | Close a session, update handoff context, and preserve learnings |
|
|
196
196
|
|
|
197
|
-
Forge
|
|
197
|
+
Forge is routed progressively:
|
|
198
198
|
|
|
199
199
|
```text
|
|
200
|
-
|
|
201
|
-
→
|
|
202
|
-
→
|
|
203
|
-
→
|
|
204
|
-
→ implement task by task
|
|
205
|
-
→ review quality and debt
|
|
206
|
-
→ write retro, handoff, and re-entry context
|
|
200
|
+
read kyro.json/state.json/index.json
|
|
201
|
+
→ choose INIT, plan, execute, review, close, or recover
|
|
202
|
+
→ load only the selected mode/helper/template
|
|
203
|
+
→ update Markdown evidence plus JSON summaries
|
|
207
204
|
```
|
|
208
205
|
|
|
209
|
-
Kyro is intentionally sprint-by-sprint. It should not pre-
|
|
206
|
+
Kyro is intentionally sprint-by-sprint and summary-first. It should not pre-load every roadmap, sprint, helper, and template just to decide the next action.
|
|
210
207
|
|
|
211
208
|
---
|
|
212
209
|
|
|
@@ -293,8 +290,8 @@ npm pack --dry-run
|
|
|
293
290
|
Release tags publish to npm through GitHub Actions when the tag matches `package.json.version`:
|
|
294
291
|
|
|
295
292
|
```bash
|
|
296
|
-
git tag v3.2.
|
|
297
|
-
git push origin v3.2.
|
|
293
|
+
git tag v3.2.2
|
|
294
|
+
git push origin v3.2.2
|
|
298
295
|
```
|
|
299
296
|
|
|
300
297
|
The release workflow expects the repository secret `NPM_TOKEN`.
|
package/WORKFLOW.yaml
CHANGED
package/agents/orchestrator.md
CHANGED
|
@@ -98,15 +98,15 @@ The `skills` declaration in frontmatter is metadata only — it does NOT auto-in
|
|
|
98
98
|
|
|
99
99
|
1. Read `skills/sprint-forge/SKILL.md` — sprint-forge orchestration logic, critical rules, mode detection, capabilities matrix
|
|
100
100
|
2. Load mode-gated assets based on the current phase:
|
|
101
|
-
- **INIT phase**: Read `skills/sprint-forge/assets/modes/INIT.md`, `skills/sprint-forge/assets/helpers/analysis
|
|
101
|
+
- **INIT phase**: Read `skills/sprint-forge/assets/modes/INIT.md`, then exactly one routed `skills/sprint-forge/assets/helpers/analysis/{workType}.md` helper
|
|
102
102
|
- **SPRINT phase**: Read `skills/sprint-forge/assets/modes/SPRINT.md`, `skills/sprint-forge/assets/helpers/sprint-generator.md`, `skills/sprint-forge/assets/helpers/debt-tracker.md`, `skills/sprint-forge/assets/helpers/reentry-generator.md`
|
|
103
103
|
- **STATUS phase**: Read `skills/sprint-forge/assets/modes/STATUS.md`, `skills/sprint-forge/assets/helpers/debt-tracker.md`
|
|
104
104
|
3. Load templates **on-demand** as each workflow step references them (not upfront)
|
|
105
105
|
|
|
106
106
|
**Helpers** (loaded on-demand per phase):
|
|
107
107
|
|
|
108
|
-
1. Read `skills/sprint-forge/assets/helpers/analyzer.md` — work type detection
|
|
109
|
-
2. Read `skills/sprint-forge/assets/helpers/analysis
|
|
108
|
+
1. Read `skills/sprint-forge/assets/helpers/analyzer.md` — work type detection when INIT cannot classify the request cheaply
|
|
109
|
+
2. Read one `skills/sprint-forge/assets/helpers/analysis/{workType}.md` helper — work-type analysis and sizing signals (INIT phase)
|
|
110
110
|
3. Read `skills/sprint-forge/assets/helpers/reviewer.md` — checklist tiers, validation commands, output format (SPRINT phase)
|
|
111
111
|
|
|
112
112
|
**All skill paths are relative to the workflow root (the plugin installation directory).**
|
package/commands/forge.md
CHANGED
|
@@ -1,55 +1,33 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
3
|
-
argument-hint: <
|
|
2
|
+
description: Route the Kyro forge workflow with progressive disclosure
|
|
3
|
+
argument-hint: <scope or request>
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# /kyro:forge —
|
|
6
|
+
# /kyro:forge — Router
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Use this command to continue Kyro work without loading the whole workflow upfront.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Startup
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
> **The orchestrator is the single source of truth for the lifecycle.**
|
|
17
|
-
> See `agents/orchestrator.md` for the full detailed protocol.
|
|
12
|
+
1. Read `.agents/kyro/kyro.json` if it exists.
|
|
13
|
+
2. Resolve the active scope from `$ARGUMENTS`, `activeScope`, or the only directory under `.agents/kyro/scopes/`.
|
|
14
|
+
3. For a resolved scope, read `.agents/kyro/scopes/{scope}/state.json` first, then `.agents/kyro/scopes/{scope}/index.json` if present.
|
|
15
|
+
4. Do not read ROADMAP, sprint Markdown, templates, or helper files until the selected route requires them.
|
|
18
16
|
|
|
19
|
-
##
|
|
17
|
+
## Route
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- **Phase 1**: Analyze (INIT mode) — codebase exploration, findings, roadmap creation
|
|
32
|
-
- GATE 1: Approve INIT summary
|
|
33
|
-
- **Phase 2**: First Sprint — generate Sprint 1 from roadmap
|
|
34
|
-
- GATE 2: Approve sprint plan
|
|
35
|
-
|
|
36
|
-
### SPRINT Flow (ROADMAP exists)
|
|
37
|
-
|
|
38
|
-
- **Phase 3**: Generate Next Sprint — read roadmap, retro, and debt; build sprint
|
|
39
|
-
- GATE 3: Approve sprint plan
|
|
40
|
-
|
|
41
|
-
### Both Flows Converge
|
|
42
|
-
|
|
43
|
-
- **Phase 4**: Implement — task by task execution with review and debug protocols
|
|
44
|
-
- GATE 4: Approve implementation
|
|
45
|
-
- **Phase 5**: Review & Close — quality gates, retro, debt update, rule proposals
|
|
46
|
-
|
|
47
|
-
### Learning Capture
|
|
48
|
-
|
|
49
|
-
Review corrections and propose new rules for `.agents/kyro/scopes/rules.md`.
|
|
19
|
+
| Condition | Load next |
|
|
20
|
+
|-----------|-----------|
|
|
21
|
+
| No project state | Create or validate `.agents/kyro/kyro.json`, then continue routing. |
|
|
22
|
+
| No scope or no roadmap | `skills/sprint-forge/assets/modes/INIT.md` |
|
|
23
|
+
| Roadmap exists and no active sprint | `skills/sprint-forge/assets/modes/plan-sprint.md` |
|
|
24
|
+
| Active sprint has pending tasks | `skills/sprint-forge/assets/modes/execute-task.md` |
|
|
25
|
+
| Active sprint needs quality validation | `skills/sprint-forge/assets/modes/review-task.md` |
|
|
26
|
+
| Sprint/session is ready to close | `skills/sprint-forge/assets/modes/close-sprint.md` |
|
|
27
|
+
| State is inconsistent or interrupted | `skills/sprint-forge/assets/modes/recover.md` |
|
|
50
28
|
|
|
51
29
|
## Rules
|
|
52
30
|
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
31
|
+
- Load only the routed mode plus the helpers named by that mode.
|
|
32
|
+
- Enforce orchestrator gates from `agents/orchestrator.md` only at gate moments.
|
|
33
|
+
- Update `state.json`, `index.json`, and relevant `*.summary.json` after each phase checkpoint.
|
package/commands/status.md
CHANGED
|
@@ -1,92 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Route Kyro status and debt reports from structured summaries first
|
|
3
3
|
argument-hint: [brief|full|debt|debt-add|debt-resolve|debt-escalate]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# /kyro:status —
|
|
6
|
+
# /kyro:status — Router
|
|
7
7
|
|
|
8
|
-
Report
|
|
8
|
+
Report Kyro progress without loading all sprint Markdown by default.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Startup
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
1. Read `.agents/kyro/kyro.json`.
|
|
13
|
+
2. Resolve scope from `$ARGUMENTS`, `activeScope`, or `.agents/kyro/scopes/`.
|
|
14
|
+
3. Read `.agents/kyro/scopes/{scope}/state.json` and `index.json` first.
|
|
15
|
+
4. Prefer `ROADMAP.summary.json`, `SPRINT-*.summary.json`, and `DEBT.summary.json` when present. Use `sizingDecision` from summaries to explain sprint count without opening roadmap Markdown.
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Route
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
| Request | Load next |
|
|
20
|
+
|---------|-----------|
|
|
21
|
+
| `brief` or empty | Summaries only; include sprint count rationale from `sizingDecision`; open Markdown only for missing critical fields. |
|
|
22
|
+
| `full` | `skills/sprint-forge/assets/modes/STATUS.md`, then summaries, then Markdown fallbacks. |
|
|
23
|
+
| `debt` | `skills/sprint-forge/assets/helpers/debt-tracker.md` plus debt summary/table. |
|
|
24
|
+
| `debt-add`, `debt-resolve`, `debt-escalate` | `debt-tracker.md`, then update Markdown and summaries. |
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
2. **Read project state** — README, ROADMAP, all sprint files
|
|
23
|
-
3. **Summarize state** and generate report:
|
|
26
|
+
## Missing summaries
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
══════════════════════════════════════
|
|
27
|
-
KYRO — Project Status
|
|
28
|
-
══════════════════════════════════════
|
|
28
|
+
If a summary file is missing, fall back to the Markdown source, produce the requested report, and mention that `kyro doctor --tokens` will report the missing optimization.
|
|
29
29
|
|
|
30
|
-
##
|
|
31
|
-
Sprint 1: ██████████ 10/10 (100%) ✓ Complete
|
|
32
|
-
Sprint 2: ████████░░ 8/10 ( 80%) ✓ Complete
|
|
33
|
-
Sprint 3: ███████░░░ 7/10 ( 70%) ~ In Progress
|
|
34
|
-
Sprint 4: ░░░░░░░░░░ 0/10 ( 0%) Planned
|
|
30
|
+
## Rules
|
|
35
31
|
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- Aged: 2
|
|
40
|
-
- Critical: 1
|
|
41
|
-
|
|
42
|
-
## Roadmap Health
|
|
43
|
-
- Sprints completed: 2/5
|
|
44
|
-
- Roadmap adaptations: 1 (Sprint 3 scope reduced)
|
|
45
|
-
- Carry-over tasks: 3
|
|
46
|
-
|
|
47
|
-
## Next Sprint Preview
|
|
48
|
-
Sprint 4: [title from roadmap]
|
|
49
|
-
- Suggested phases: [count]
|
|
50
|
-
- Carry-over tasks: [count]
|
|
51
|
-
- Critical debt items due: [count]
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Variants
|
|
55
|
-
|
|
56
|
-
- **brief** — Sprint progress + next sprint preview only
|
|
57
|
-
- **full** — Complete report with all sections
|
|
58
|
-
- **debt** — Focus on technical debt table and aged items
|
|
59
|
-
|
|
60
|
-
## Debt Management
|
|
61
|
-
|
|
62
|
-
The `debt-*` variants provide direct debt lifecycle actions. Read `skills/sprint-forge/assets/helpers/debt-tracker.md` before executing any of these.
|
|
63
|
-
|
|
64
|
-
### debt-add
|
|
65
|
-
|
|
66
|
-
Add a new debt item:
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
/kyro:status debt-add "Missing error boundary in dashboard" --origin "Sprint 3 retro" --target "Sprint 4"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
### debt-resolve
|
|
73
|
-
|
|
74
|
-
Mark a debt item as resolved:
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
/kyro:status debt-resolve 3 --sprint "Sprint 3"
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### debt-escalate
|
|
81
|
-
|
|
82
|
-
Flag aged debt items (open >3 sprints) and prompt for triage:
|
|
83
|
-
- Should this become a dedicated sprint?
|
|
84
|
-
- Should the priority be increased?
|
|
85
|
-
- Is this still relevant or can it be closed as N/A?
|
|
86
|
-
|
|
87
|
-
### Debt Rules
|
|
88
|
-
|
|
89
|
-
- Debt items are never deleted — only their status changes
|
|
90
|
-
- Every sprint inherits the full debt table from the previous sprint
|
|
91
|
-
- Items open for >3 sprints should be escalated during status review
|
|
92
|
-
- New debt discovered during execution gets added with origin "Sprint N phase"
|
|
32
|
+
- Do not read every sprint file for `brief` when summaries exist.
|
|
33
|
+
- Never delete debt items; only update status fields.
|
|
34
|
+
- Keep `index.json` aligned with any status or debt mutation.
|
package/commands/wrap-up.md
CHANGED
|
@@ -1,85 +1,29 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Route Kyro session closure with minimal context loading
|
|
3
3
|
argument-hint: [session notes]
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# /kyro:wrap-up —
|
|
6
|
+
# /kyro:wrap-up — Router
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Close the current Kyro session without loading the full lifecycle.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Startup
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
1. Read `.agents/kyro/kyro.json`.
|
|
13
|
+
2. Resolve scope and read `.agents/kyro/scopes/{scope}/state.json` plus `index.json`.
|
|
14
|
+
3. Read `skills/sprint-forge/assets/helpers/handoff.md`.
|
|
15
|
+
4. Load `skills/sprint-forge/assets/modes/close-sprint.md` only when a sprint milestone or retro update is required.
|
|
15
16
|
|
|
16
|
-
##
|
|
17
|
+
## Checklist
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
1. Audit workspace changes with `git status`.
|
|
20
|
+
2. Run configured quality checks if available.
|
|
21
|
+
3. Capture session learnings and proposed rules.
|
|
22
|
+
4. Update handoff/re-entry context.
|
|
23
|
+
5. Refresh `state.json`, `index.json`, and changed `*.summary.json`.
|
|
19
24
|
|
|
20
|
-
|
|
25
|
+
## Rules
|
|
21
26
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- Ask: "Should I commit these changes before closing?"
|
|
26
|
-
- If yes, create a descriptive commit
|
|
27
|
-
- If no, document the uncommitted state in step 4
|
|
28
|
-
|
|
29
|
-
### Step 2: Quality Check
|
|
30
|
-
|
|
31
|
-
Run quality gates from `config.json`:
|
|
32
|
-
|
|
33
|
-
1. **Lint**: Run the project's lint command (if configured)
|
|
34
|
-
2. **Typecheck**: Run the project's typecheck command (if configured)
|
|
35
|
-
3. **Tests**: Run related tests (if configured)
|
|
36
|
-
4. Report results — if failures exist, ask whether to fix now or defer
|
|
37
|
-
|
|
38
|
-
### Step 3: Learning Capture
|
|
39
|
-
|
|
40
|
-
Prompt for learnings from this session:
|
|
41
|
-
|
|
42
|
-
1. Review corrections made during the session — any patterns?
|
|
43
|
-
2. Review unexpected discoveries — worth capturing?
|
|
44
|
-
3. For each learning, format as:
|
|
45
|
-
```
|
|
46
|
-
[LEARN] Category: One-line rule
|
|
47
|
-
```
|
|
48
|
-
4. Learnings are proposed for `.agents/kyro/scopes/rules.md` and recorded in the sprint retro after approval
|
|
49
|
-
|
|
50
|
-
### Step 4: Next Session Context
|
|
51
|
-
|
|
52
|
-
Generate a context note for the next session:
|
|
53
|
-
|
|
54
|
-
1. **What was being worked on**: Current task/sprint, files modified
|
|
55
|
-
2. **What's done**: Tasks completed this session
|
|
56
|
-
3. **What's next**: Remaining tasks, next priorities
|
|
57
|
-
4. **Blockers**: Any unresolved issues or decisions needed
|
|
58
|
-
5. If a sprint is active, update re-entry prompts with current state
|
|
59
|
-
|
|
60
|
-
### Step 5: Session Summary
|
|
61
|
-
|
|
62
|
-
Display session summary:
|
|
63
|
-
|
|
64
|
-
1. Inspect sprint artifacts and git history for current progress:
|
|
65
|
-
- Tasks completed this session
|
|
66
|
-
- Learnings proposed or captured
|
|
67
|
-
- Commits created this session
|
|
68
|
-
2. Display summary table:
|
|
69
|
-
```
|
|
70
|
-
Session Summary
|
|
71
|
-
───────────────────────
|
|
72
|
-
Duration: {time}
|
|
73
|
-
Tasks: {completed}/{total}
|
|
74
|
-
Learnings: {count} captured
|
|
75
|
-
Commits: {count} this session
|
|
76
|
-
Status: {clean/uncommitted changes}
|
|
77
|
-
```
|
|
78
|
-
3. Confirm the handoff and re-entry prompts reflect the current state
|
|
79
|
-
|
|
80
|
-
### Output
|
|
81
|
-
|
|
82
|
-
After completing all 5 steps:
|
|
83
|
-
1. Display the summary
|
|
84
|
-
2. Confirm session is ready to close
|
|
85
|
-
3. Suggest running `/kyro:forge` if a sprint milestone was reached and a retrospective is needed
|
|
27
|
+
- Do not load roadmap or sprint Markdown unless summaries are missing or a closure update requires the source artifact.
|
|
28
|
+
- Preserve global runtime and project state paths.
|
|
29
|
+
- Ask before committing, deleting, or rewriting user-owned content.
|
|
@@ -50,6 +50,6 @@ exports.codexAdapter = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
function buildAgentsBlock() {
|
|
53
|
-
return `## Kyro AI\n\
|
|
53
|
+
return `## Kyro AI\n\nUse installed Kyro command skills: \`kyro-forge\`, \`kyro-status\`, \`kyro-wrap-up\`.\n\nRuntime: \`${constants_1.KYRO_ROOT}/\`\nProject state: \`.agents/kyro/kyro.json\`\nArtifacts: \`${constants_1.ARTIFACT_ROOT}/{scope}/\`\nSkills: \`${constants_1.AGENT_SKILLS_ROOT}/kyro-*\`\n\nLoad command routers only when a Kyro skill is invoked. Do not load full Kyro docs unless the router asks for them. Preserve non-Kyro content; Kyro owns only this marked block.\n`;
|
|
54
54
|
}
|
|
55
55
|
//# sourceMappingURL=codex.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../src/cli/adapters/codex.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"codex.js","sourceRoot":"","sources":["../../../src/cli/adapters/codex.ts"],"names":[],"mappings":";;;AAAA,4CAAkF;AAClF,8BAAwC;AACxC,qDAA4F;AAC5F,yCAAoD;AAGpD,MAAM,WAAW,GAAG,WAAW,CAAC;AAChC,MAAM,iBAAiB,GAAG,WAAW,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AE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,yBAAyB,WAAW,EAAE,EAAE,MAAM,EAAE,8BAA8B,EAAE,CAAC;QAC3I,CAAC;QACD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,gEAAgE,EAAE,CAAC;IAC7H,CAAC;CACF,CAAC;AAEF,SAAS,gBAAgB;IACvB,OAAO,qHAAqH,qBAAS,gEAAgE,yBAAa,0BAA0B,6BAAiB,iMAAiM,CAAC;AACjc,CAAC"}
|
|
@@ -26,7 +26,7 @@ function getCommandSkillPath(command) {
|
|
|
26
26
|
function buildCommandSkill(command) {
|
|
27
27
|
const title = command === 'wrap-up' ? 'Kyro Wrap-Up' : `Kyro ${capitalize(command)}`;
|
|
28
28
|
const description = getCommandDescription(command);
|
|
29
|
-
return `---\nname: kyro-${command}\ndescription: ${description}\nlicense: Apache-2.0\nmetadata:\n author: synapsync\n version: "1.0"\n scope: [root]\n---\n\n# ${title}\n\
|
|
29
|
+
return `---\nname: kyro-${command}\ndescription: ${description}\nlicense: Apache-2.0\nmetadata:\n author: synapsync\n version: "1.0"\n scope: [root]\n---\n\n# ${title}\n\nCommand stub. Read \`${constants_1.KYRO_COMMANDS_ROOT}/${command}.md\`, then load only the files that router requests.\n\nRuntime: \`${constants_1.KYRO_ROOT}/\`\nArtifacts: \`${constants_1.ARTIFACT_ROOT}/{scope}/\`\n\nDo not ask the user to restate this workflow in natural language.\n`;
|
|
30
30
|
}
|
|
31
31
|
function getCommandDescription(command) {
|
|
32
32
|
if (command === 'forge')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-skills.js","sourceRoot":"","sources":["../../../src/cli/adapters/command-skills.ts"],"names":[],"mappings":";;AAGA,8DAYC;AAED,sEAEC;AAED,kDAEC;AAvBD,4CAA8G;AAG9G,SAAgB,yBAAyB,CAAC,IAAqB;IAC7D,KAAK,MAAM,OAAO,IAAI,yBA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/D,CAAC"}
|
package/dist/cli/app.js
CHANGED
package/dist/cli/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/cli/app.ts"],"names":[],"mappings":";;AAOA,wBAyCC;AAhDD,8CAA2C;AAC3C,gDAAmD;AACnD,wCAAwC;AACxC,oDAAiD;AACjD,iCAAyE;AACzE,uCAAyC;AAElC,KAAK,UAAU,MAAM;IAC1B,MAAM,CAAC,OAAO,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEtD,IAAI,OAAO,KAAK,EAAE,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;QACxC,MAAM,IAAA,YAAM,GAAE,CAAC;QACf,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;QACnE,IAAA,gBAAS,GAAE,CAAC;QACZ,OAAO;IACT,CAAC;IAED,IAAI,OAAO,KAAK,WAAW,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACzE,OAAO,CAAC,GAAG,CAAC,IAAA,yBAAkB,GAAE,CAAC,CAAC;QAClC,OAAO;IACT,CAAC;IAED,MAAM,OAAO,GAAG,IAAA,sBAAY,EAAC,IAAI,CAAC,CAAC;IAEnC,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QACjB,IAAA,uBAAgB,EAAC,OAAO,CAAC,CAAC;QAC1B,OAAO;IACT,CAAC;IAED,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,SAAS;YACZ,IAAA,iBAAO,EAAC,OAAO,CAAC,CAAC;YACjB,MAAM;QACR,KAAK,QAAQ;YACX,IAAA,eAAM,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/cli/app.ts"],"names":[],"mappings":";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AoB,CAAC,CAAC;IACrE,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAsB,UAAU,EAAE,MAAM,UAAU,CAAC;AAE/D,wBAAgB,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,IAAI,CAYjE"}
|
|
@@ -8,8 +8,9 @@ const fs_1 = require("../fs");
|
|
|
8
8
|
const help_1 = require("../help");
|
|
9
9
|
const state_1 = require("../state");
|
|
10
10
|
const registry_1 = require("../adapters/registry");
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
const token_audit_1 = require("./token-audit");
|
|
12
|
+
function doctor(options) {
|
|
13
|
+
const checks = runDoctorChecks(options?.tokens ?? false);
|
|
13
14
|
let failed = false;
|
|
14
15
|
for (const check of checks) {
|
|
15
16
|
const icon = check.status === 'pass' ? 'PASS' : check.status === 'warn' ? 'WARN' : 'FAIL';
|
|
@@ -22,8 +23,8 @@ function doctor() {
|
|
|
22
23
|
if (failed)
|
|
23
24
|
process.exit(1);
|
|
24
25
|
}
|
|
25
|
-
function runDoctorChecks() {
|
|
26
|
-
|
|
26
|
+
function runDoctorChecks(includeTokenAudit) {
|
|
27
|
+
const checks = [
|
|
27
28
|
checkPackageVersionSync(),
|
|
28
29
|
checkPackageAssets(),
|
|
29
30
|
checkClaudePlugin(),
|
|
@@ -31,6 +32,9 @@ function runDoctorChecks() {
|
|
|
31
32
|
checkGlobalRuntime(),
|
|
32
33
|
...checkAdapterProjections(),
|
|
33
34
|
];
|
|
35
|
+
if (includeTokenAudit)
|
|
36
|
+
checks.push(...(0, token_audit_1.runTokenAuditChecks)());
|
|
37
|
+
return checks;
|
|
34
38
|
}
|
|
35
39
|
function checkPackageVersionSync() {
|
|
36
40
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":";;AAUA,wBAYC;AAtBD,qCAAqC;AACrC,yCAAoC;AACpC,4CAAgG;AAChG,8BAAqG;AACrG,kCAA6C;AAC7C,oCAA0D;AAC1D,mDAA4D;AAC5D,+CAAoD;AAGpD,SAAgB,MAAM,CAAC,OAAoC;IACzD,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC,CAAC;IACzD,IAAI,MAAM,GAAG,KAAK,CAAC;IAEnB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;QAC1F,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACxD,IAAI,KAAK,CAAC,MAAM;YAAE,OAAO,CAAC,GAAG,CAAC,kBAAkB,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QAChE,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM;YAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,CAAC;IAED,IAAI,MAAM;QAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9B,CAAC;AAED,SAAS,eAAe,CAAC,iBAA0B;IACjD,MAAM,MAAM,GAAG;QACb,uBAAuB,EAAE;QACzB,kBAAkB,EA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