@trieungoctam/speckit 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +37 -5
  2. package/dist/adapters/antigravity-adapter.js +5 -5
  3. package/dist/adapters/claude-code-adapter.js +10 -5
  4. package/dist/adapters/codex-adapter.js +7 -3
  5. package/dist/adapters/cursor-adapter.js +10 -3
  6. package/dist/adapters/opencode-adapter.js +1 -0
  7. package/dist/cli.js +32 -0
  8. package/dist/commands/context.js +56 -22
  9. package/dist/commands/doctor.js +2 -1
  10. package/dist/commands/graph.d.ts +7 -0
  11. package/dist/commands/graph.js +51 -0
  12. package/dist/commands/init.js +3 -1
  13. package/dist/commands/memory.d.ts +6 -0
  14. package/dist/commands/memory.js +11 -0
  15. package/dist/commands/plan.js +19 -2
  16. package/dist/commands/quick.js +20 -2
  17. package/dist/commands/ready.d.ts +7 -0
  18. package/dist/commands/ready.js +20 -0
  19. package/dist/commands/run.js +15 -2
  20. package/dist/commands/session.d.ts +9 -0
  21. package/dist/commands/session.js +49 -0
  22. package/dist/commands/sprint.d.ts +7 -0
  23. package/dist/commands/sprint.js +54 -0
  24. package/dist/commands/start.js +4 -3
  25. package/dist/commands/sync.js +5 -2
  26. package/dist/commands/triage.js +2 -15
  27. package/dist/core/agent-scaffold.d.ts +2 -0
  28. package/dist/core/agent-scaffold.js +57 -0
  29. package/dist/core/beads-mirror.d.ts +3 -0
  30. package/dist/core/beads-mirror.js +46 -0
  31. package/dist/core/memory.d.ts +1 -0
  32. package/dist/core/memory.js +47 -0
  33. package/dist/core/readiness.d.ts +13 -0
  34. package/dist/core/readiness.js +120 -0
  35. package/dist/core/scaffold.js +72 -43
  36. package/dist/core/session-manager.d.ts +15 -0
  37. package/dist/core/session-manager.js +139 -0
  38. package/dist/core/skill-catalog.d.ts +2 -0
  39. package/dist/core/skill-catalog.js +177 -0
  40. package/dist/core/story.d.ts +5 -0
  41. package/dist/core/story.js +34 -0
  42. package/dist/core/synced-stories.d.ts +8 -0
  43. package/dist/core/synced-stories.js +17 -0
  44. package/dist/core/templates.d.ts +2 -0
  45. package/dist/core/templates.js +54 -0
  46. package/docs/development-roadmap.md +9 -7
  47. package/docs/product-contract.md +7 -4
  48. package/docs/project-changelog.md +66 -0
  49. package/docs/release-checklist.md +1 -1
  50. package/docs/spec-enterprise-harness-plan.md +18 -1
  51. package/docs/workflow-model.md +23 -0
  52. package/package.json +1 -1
@@ -11,11 +11,15 @@ The product vocabulary is Spec-only. External tools may exist underneath, but ge
11
11
  ```text
12
12
  idea
13
13
  -> spec start
14
+ -> super-agent route
15
+ -> spec memory
14
16
  -> spec shape
15
17
  -> spec plan
18
+ -> spec sprint
16
19
  -> spec context
17
20
  -> graph triage
18
21
  -> spec run
22
+ -> spec checkpoint
19
23
  -> spec review
20
24
  -> spec close
21
25
  ```
@@ -26,7 +30,10 @@ idea
26
30
  | --- | --- | --- |
27
31
  | Spec Flow | Phase order and state transitions | `.speckit/flows/*.md` |
28
32
  | Spec Prompt | Phase-specific instructions | `.speckit/prompts/**/*.md` |
33
+ | Spec Super Agent | Phase routing and orchestration policy | `.speckit/agents/super-agent.md` |
34
+ | Spec Skills | Focused phase capabilities loaded on demand | `.speckit/skills/*.md` |
29
35
  | Spec Session | Durable continuity across agents | `.speckit/sessions/<id>/*` |
36
+ | Spec Memory | Durable project rules and lessons | `.speckit/memory/*` |
30
37
  | Spec Context | Bounded task context | `.speckit/context/current.md` |
31
38
  | Spec Tool | Phase-aware allowed/denied actions | `.speckit/tool-policy.yaml` |
32
39
  | Spec Graph | Work queue and priority bridge | `.speckit/graph/*` |
@@ -38,8 +45,14 @@ idea
38
45
  speckit init --enterprise --ide all
39
46
  speckit doctor --deep
40
47
  speckit start "<idea>"
48
+ speckit memory refresh
49
+ speckit session checkpoint
50
+ speckit session compact
51
+ speckit session resume
41
52
  speckit shape "<idea>"
42
53
  speckit plan "<feature>"
54
+ speckit sprint plan
55
+ speckit graph triage
43
56
  speckit context <story-or-bead>
44
57
  speckit triage
45
58
  speckit next
@@ -53,7 +66,10 @@ speckit sync
53
66
 
54
67
  - Forbidden legacy vocabulary must not appear in publishable source, docs, tests, prompts, or generated adapter templates.
55
68
  - Every implementation story must link to acceptance criteria and TDD evidence.
69
+ - Every agent run must route through the super-agent policy and the smallest matching Speckit skill.
56
70
  - Every run must have a session handoff.
71
+ - Every long run must checkpoint after red, green, refactor, and review boundaries.
72
+ - Every handoff must have a compact session summary when context has grown noisy.
57
73
  - Every graph task must trace back to a story or spec artifact.
58
74
  - Every review must check AC coverage, TDD evidence, tool policy, and docs impact.
59
75
  - All robot task graph commands must use non-interactive flags.
@@ -61,8 +77,9 @@ speckit sync
61
77
  ## Definition Of Enterprise Ready
62
78
 
63
79
  - `speckit init --enterprise --ide all` creates a complete harness in a temp repo.
80
+ - The generated harness includes `.speckit/agents/super-agent.md` and `.speckit/skills/catalog.md`.
64
81
  - `speckit doctor --deep --json` returns stable machine-readable status.
65
- - `speckit start -> context -> run -> review -> close` preserves a single session id.
82
+ - `speckit start -> session checkpoint -> session compact -> context -> run -> review -> close` preserves a single session id.
66
83
  - `speckit sync -> triage -> next` preserves story-to-graph traceability.
67
84
  - All IDE adapters compile from the same Spec policies.
68
85
  - Tests enforce vocabulary, flow links, adapter parity, and robot-safe graph commands.
@@ -8,7 +8,10 @@ Use for a bounded change.
8
8
 
9
9
  ```bash
10
10
  speckit quick "Add invoice validation"
11
+ speckit memory refresh
12
+ speckit session start "Add invoice validation"
11
13
  speckit run .speckit/stories/<story>.md
14
+ speckit session checkpoint --note "story implemented"
12
15
  speckit review
13
16
  ```
14
17
 
@@ -16,6 +19,8 @@ Outputs:
16
19
 
17
20
  - `.speckit/stories/<story>.md`
18
21
  - `.speckit/evidence/<story>-tdd-evidence.md`
22
+ - `.speckit/sessions/<session>/summary.md`
23
+ - `.speckit/sessions/<session>/artifact-log.md`
19
24
 
20
25
  ## Full Lane
21
26
 
@@ -25,6 +30,8 @@ Use for product or enterprise rollout work.
25
30
  speckit shape "Standardize Agile + TDD across teams"
26
31
  speckit plan "Standardize Agile + TDD across teams"
27
32
  speckit sync
33
+ speckit sprint plan
34
+ speckit graph triage --json
28
35
  speckit next
29
36
  ```
30
37
 
@@ -36,6 +43,9 @@ Outputs:
36
43
  - `.speckit/plans/<plan>/story.md`
37
44
  - `.speckit/plans/<plan>/tdd-evidence.md`
38
45
  - `.speckit/sync/beads-sync.jsonl`
46
+ - `.beads/beads.jsonl`
47
+ - `.speckit/sprint/status.yaml`
48
+ - `.speckit/sprint/plan.md`
39
49
 
40
50
  ## TDD Evidence Gate
41
51
 
@@ -47,3 +57,16 @@ Each code story must record:
47
57
  - Refactor command and result
48
58
 
49
59
  Missing evidence means the story is not review-ready.
60
+
61
+ ## Long Session Gate
62
+
63
+ Long-running agent work must keep durable state outside chat history:
64
+
65
+ - `.speckit/memory/project-context.md` stores project-wide implementation rules.
66
+ - `.speckit/sessions/active.md` points to the active session.
67
+ - `.speckit/sessions/<id>/artifact-log.md` records checkpoints and files touched.
68
+ - `.speckit/sessions/<id>/summary.md` is the compacted handoff for resume.
69
+
70
+ ## Beads Viewer Automation
71
+
72
+ `speckit sync` prepares both Speckit sync metadata and a Beads Viewer-compatible `.beads/beads.jsonl` mirror. `speckit graph triage|plan|insights` refreshes that mirror before invoking `bv --robot-*` from the project root, then falls back to local JSON if Beads Viewer is unavailable or still fails.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trieungoctam/speckit",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Enterprise Agile + TDD workflow compiler for agentic IDEs.",
5
5
  "type": "module",
6
6
  "files": [