thoth-agents 0.3.3 → 0.3.4
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/marketplace.json +1 -1
- package/README.md +24 -14
- package/dist/{chunk-YUCGIJPP.js → chunk-6GQYMWWT.js} +1 -1
- package/dist/{chunk-XO74DXBZ.js → chunk-F2K4CS5J.js} +32 -23
- package/dist/{chunk-UQOCEMU3.js → chunk-W5GCMYA3.js} +59 -20
- package/dist/cli/index.js +3 -3
- package/dist/cli/skills.d.ts +2 -0
- package/dist/cli/tui/index.js +2 -2
- package/dist/harness/core/agent-pack.d.ts +3 -3
- package/dist/harness/core/sdd.d.ts +30 -23
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/plugin/.claude-plugin/.thoth-agents-plugin-assets.json +2 -2
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/agents/oracle.md +6 -6
- package/plugin/agents/orchestrator.md +8 -7
- package/plugin/skills/plan-reviewer/SKILL.md +107 -0
- package/plugin/skills/plan-reviewer/templates/plan-review.md +65 -0
- package/plugin/skills/thoth-constitution/templates/constitution.md +2 -2
- package/plugin/skills/thoth-init/SKILL.md +1 -1
- package/plugin/skills/thoth-init/scripts/init.mjs +1 -0
- package/plugin/skills/thoth-sdd/SKILL.md +21 -15
- package/skills/README.md +4 -2
- package/skills/plan-reviewer/SKILL.md +107 -0
- package/skills/plan-reviewer/templates/plan-review.md +65 -0
- package/skills/thoth-constitution/templates/constitution.md +2 -2
- package/skills/thoth-init/SKILL.md +1 -1
- package/skills/thoth-init/scripts/init.mjs +1 -0
- package/skills/thoth-sdd/SKILL.md +21 -15
- package/plugin/skills/thoth-sdd/references/phases/analyze.md +0 -21
- package/skills/thoth-sdd/references/phases/analyze.md +0 -21
|
@@ -5,32 +5,35 @@ description: Run thoth-agents Direct, Accelerated, or Full specification-driven
|
|
|
5
5
|
|
|
6
6
|
# Thoth SDD
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Assess the work, recommend the lightest route that preserves correctness, and
|
|
9
|
+
let the user select:
|
|
9
10
|
|
|
10
11
|
- **Direct**: `implement -> verify`
|
|
11
12
|
- **Accelerated**: `specify -> plan -> tasks -> implement -> verify -> archive`
|
|
12
|
-
- **Full**: `explore -> specify -> plan -> tasks ->
|
|
13
|
+
- **Full**: `explore -> specify -> plan -> tasks -> implement -> verify -> archive`
|
|
13
14
|
|
|
14
|
-
Conditional phases are `clarify`, `checklist`, and `converge`. Direct creates no
|
|
15
|
+
Conditional phases are `clarify`, `checklist`, `plan-review`, and `converge`. Direct creates no
|
|
15
16
|
SDD artifacts and may cover multiple documentation or mechanical files when the
|
|
16
17
|
intent is clear and risk is low.
|
|
17
18
|
|
|
18
19
|
Accelerated is a **fast-forward** route: root writes `spec.md`, `plan.md`, and
|
|
19
|
-
`tasks.md` in one uninterrupted pass
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
`tasks.md` in one uninterrupted pass and creates optional artifacts only for a
|
|
21
|
+
concrete risk. After `ready`, both artifact-backed routes pause once to offer
|
|
22
|
+
`Review plan with Oracle (Recommended)` or `Proceed without review`. Full uses
|
|
23
|
+
separate planning gates because uncertainty or failure cost justifies them.
|
|
22
24
|
|
|
23
|
-
An explicitly named route
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
An explicitly named route counts as the user's selection. Otherwise assess and
|
|
26
|
+
recommend Direct, Accelerated, or Full, then wait for the user to choose; the
|
|
27
|
+
recommendation is not the decision. A generic request to “use SDD” makes
|
|
28
|
+
Accelerated the minimum recommendation but does not force it.
|
|
26
29
|
|
|
27
30
|
## Ownership
|
|
28
31
|
|
|
29
32
|
- Root owns sequential coordination artifacts, gate execution, and archive.
|
|
30
33
|
- Explorer owns Full-route repository discovery.
|
|
31
34
|
- Designer, quick, deep, or root may implement according to scope.
|
|
32
|
-
- Oracle
|
|
33
|
-
never approves its own work.
|
|
35
|
+
- Oracle owns `plan-review` when the user selects it and **every** `verify`. The
|
|
36
|
+
implementation writer never approves its own work.
|
|
34
37
|
|
|
35
38
|
## Progressive loading
|
|
36
39
|
|
|
@@ -49,7 +52,7 @@ Read only the current phase contract:
|
|
|
49
52
|
| plan | `references/phases/plan.md` |
|
|
50
53
|
| checklist | `references/phases/checklist.md` |
|
|
51
54
|
| tasks | `references/phases/tasks.md` |
|
|
52
|
-
|
|
|
55
|
+
| plan-review | bundled `plan-reviewer` skill |
|
|
53
56
|
| implement | `references/phases/implement.md` |
|
|
54
57
|
| verify | `references/phases/verify.md` |
|
|
55
58
|
| converge | `references/phases/converge.md` |
|
|
@@ -66,12 +69,15 @@ node scripts/validate.mjs --change openspec/changes/<feature> --route <accelerat
|
|
|
66
69
|
- **Accelerated**: `specify`, then `ready` after the fast-forward planning pass,
|
|
67
70
|
then `closeout` after independent verification and an archive report marked
|
|
68
71
|
`READY`.
|
|
69
|
-
- **Full**: `specify`, `plan`, `tasks`, then `ready` before
|
|
70
|
-
`closeout` after independent verification.
|
|
72
|
+
- **Full**: `specify`, `plan`, `tasks`, then `ready` before the optional review
|
|
73
|
+
choice or implementation, and `closeout` after independent verification.
|
|
71
74
|
- **Checklist**: run only when activated; the later `ready` gate includes it if
|
|
72
75
|
present.
|
|
73
76
|
|
|
74
|
-
`ready` validates the artifacts needed before
|
|
77
|
+
`ready` validates the artifacts needed before the user chooses
|
|
78
|
+
`Review plan with Oracle (Recommended)` or `Proceed without review`. Review
|
|
79
|
+
approval remains separate from implementation confirmation and never satisfies
|
|
80
|
+
final verification.
|
|
75
81
|
`closeout` additionally requires completed tasks, independent oracle PASS,
|
|
76
82
|
complete FR/buildable-SC evidence, an observed PASS or explicit residual RISK
|
|
77
83
|
for every outcome SC, and an archive report ready for the transactional archive
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Analyze contract
|
|
2
|
-
|
|
3
|
-
**Owner**: oracle (read-only, independent)<br>
|
|
4
|
-
**Applies to**: Full
|
|
5
|
-
|
|
6
|
-
Review `spec.md`, `plan.md`, `tasks.md`, the constitution, and any activated
|
|
7
|
-
checklist across three separate dimensions:
|
|
8
|
-
|
|
9
|
-
- **Completeness**: all accepted scope, FRs, buildable SCs, stories, failures,
|
|
10
|
-
and constraints have downstream coverage.
|
|
11
|
-
- **Correctness**: requirements and technical choices are testable, feasible,
|
|
12
|
-
and consistent with repository evidence and the constitution.
|
|
13
|
-
- **Coherence**: spec, plan, tasks, dependencies, and verification seams do not
|
|
14
|
-
contradict or duplicate one another.
|
|
15
|
-
|
|
16
|
-
Buildable SCs require tasks; outcome SCs require measurable validation intent,
|
|
17
|
-
not fake implementation tasks. Report stable finding IDs with
|
|
18
|
-
CRITICAL/HIGH/MEDIUM/LOW severity, coverage percentages, checklist status, and a
|
|
19
|
-
`ready` or `blocked` verdict. Any CRITICAL finding, constitution violation, or
|
|
20
|
-
FR/buildable SC with zero task coverage blocks implementation. Never edit
|
|
21
|
-
artifacts; root owns remediation.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Analyze contract
|
|
2
|
-
|
|
3
|
-
**Owner**: oracle (read-only, independent)<br>
|
|
4
|
-
**Applies to**: Full
|
|
5
|
-
|
|
6
|
-
Review `spec.md`, `plan.md`, `tasks.md`, the constitution, and any activated
|
|
7
|
-
checklist across three separate dimensions:
|
|
8
|
-
|
|
9
|
-
- **Completeness**: all accepted scope, FRs, buildable SCs, stories, failures,
|
|
10
|
-
and constraints have downstream coverage.
|
|
11
|
-
- **Correctness**: requirements and technical choices are testable, feasible,
|
|
12
|
-
and consistent with repository evidence and the constitution.
|
|
13
|
-
- **Coherence**: spec, plan, tasks, dependencies, and verification seams do not
|
|
14
|
-
contradict or duplicate one another.
|
|
15
|
-
|
|
16
|
-
Buildable SCs require tasks; outcome SCs require measurable validation intent,
|
|
17
|
-
not fake implementation tasks. Report stable finding IDs with
|
|
18
|
-
CRITICAL/HIGH/MEDIUM/LOW severity, coverage percentages, checklist status, and a
|
|
19
|
-
`ready` or `blocked` verdict. Any CRITICAL finding, constitution violation, or
|
|
20
|
-
FR/buildable SC with zero task coverage blocks implementation. Never edit
|
|
21
|
-
artifacts; root owns remediation.
|