thoth-agents 0.3.5 → 0.3.7

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 (40) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +25 -16
  3. package/dist/{chunk-W5GCMYA3.js → chunk-HIXSRHEG.js} +295 -66
  4. package/dist/cli/index.js +37 -4
  5. package/dist/cli/install.d.ts +2 -0
  6. package/dist/cli/operations/opencode.d.ts +2 -2
  7. package/dist/cli/owned-skills.d.ts +20 -0
  8. package/dist/cli/tui/index.js +1 -1
  9. package/dist/harness/core/owned-skills.d.ts +2 -0
  10. package/dist/index.js +5 -4
  11. package/package.json +1 -1
  12. package/plugin/.claude-plugin/plugin.json +1 -1
  13. package/plugin/.codex-plugin/plugin.json +1 -1
  14. package/plugin/skills/plan-reviewer/SKILL.md +5 -1
  15. package/plugin/skills/thoth-archive/SKILL.md +7 -3
  16. package/plugin/skills/thoth-constitution/SKILL.md +7 -4
  17. package/plugin/skills/thoth-init/SKILL.md +28 -20
  18. package/plugin/skills/thoth-init/scripts/init.mjs +99 -74
  19. package/plugin/skills/thoth-sdd/SKILL.md +17 -13
  20. package/plugin/skills/thoth-sdd/references/phases/checklist.md +3 -0
  21. package/plugin/skills/thoth-sdd/references/phases/plan.md +8 -4
  22. package/plugin/skills/thoth-sdd/references/phases/specify.md +3 -1
  23. package/plugin/skills/thoth-sdd/references/phases/tasks.md +10 -3
  24. package/plugin/skills/thoth-sdd/references/phases/verify.md +4 -3
  25. package/plugin/skills/thoth-sdd/templates/plan.md +14 -6
  26. package/plugin/skills/thoth-sdd/templates/tasks.md +20 -7
  27. package/skills/README.md +5 -3
  28. package/skills/plan-reviewer/SKILL.md +5 -1
  29. package/skills/thoth-archive/SKILL.md +7 -3
  30. package/skills/thoth-constitution/SKILL.md +7 -4
  31. package/skills/thoth-init/SKILL.md +28 -20
  32. package/skills/thoth-init/scripts/init.mjs +99 -74
  33. package/skills/thoth-sdd/SKILL.md +17 -13
  34. package/skills/thoth-sdd/references/phases/checklist.md +3 -0
  35. package/skills/thoth-sdd/references/phases/plan.md +8 -4
  36. package/skills/thoth-sdd/references/phases/specify.md +3 -1
  37. package/skills/thoth-sdd/references/phases/tasks.md +10 -3
  38. package/skills/thoth-sdd/references/phases/verify.md +4 -3
  39. package/skills/thoth-sdd/templates/plan.md +14 -6
  40. package/skills/thoth-sdd/templates/tasks.md +20 -7
@@ -6,11 +6,17 @@
6
6
 
7
7
  ## Constitution Check (pre-design)
8
8
 
9
- Repeat every active Constitution principle by its exact heading. Each entry must
10
- use one status and concrete evidence; placeholders are invalid in a completed
11
- plan.
9
+ Read `openspec/memory/constitution.md` and extract every active numbered
10
+ principle heading. Build one ordered name set and reuse it unchanged in both
11
+ Constitution Checks: do not add, remove, abbreviate, or rename a heading between
12
+ the pre-design and post-design lists.
12
13
 
13
- - **[Exact principle heading]**: PASS | JUSTIFIED EXCEPTION | FAIL — [concrete evidence]
14
+ Each entry must use the canonical form
15
+ `- **<exact principle heading>**: <PASS | JUSTIFIED EXCEPTION | FAIL> — <concrete evidence>`.
16
+ Placeholders are invalid, and any `FAIL` blocks task generation. Replace the
17
+ anchor below; do not append entries beside an example list.
18
+
19
+ <!-- PRE-DESIGN-CONSTITUTION-ENTRIES -->
14
20
 
15
21
  ## Design
16
22
 
@@ -33,6 +39,8 @@ plan.
33
39
 
34
40
  ## Constitution Check (post-design)
35
41
 
36
- Repeat the same active principles used by the pre-design check.
42
+ Reuse the exact ordered principle names from the pre-design check and provide
43
+ fresh evidence about the completed design. Replace the anchor below; the two
44
+ checks must differ only in status/evidence, never in principle coverage.
37
45
 
38
- - **[Exact principle heading]**: PASS | JUSTIFIED EXCEPTION | FAIL — [concrete design evidence]
46
+ <!-- POST-DESIGN-CONSTITUTION-ENTRIES -->
@@ -1,5 +1,20 @@
1
1
  # Tasks: [Feature name]
2
2
 
3
+ ## Authoring contract
4
+
5
+ Replace every HTML anchor below with real content; do not append new tasks next
6
+ to retained examples. Across the entire file, task identifiers start at `T001`
7
+ and increase by exactly one without resetting for a new story or section.
8
+
9
+ The canonical task form is:
10
+ ``- [ ] T001 [P] [US1] Description with FR-###/SC-### coverage in `path/to/file` | Verify: observable outcome``
11
+
12
+ `[P]` is optional and must precede the optional `[US#]` tag. Before
13
+ `| Verify:`, each task must contain exactly one backtick span, reserved for one
14
+ literal repository-relative path. Do not use placeholders, globs, absolute or
15
+ home-relative paths, repository escapes, URIs, or extra backticks. Every task
16
+ must end with a concrete `Verify` outcome.
17
+
3
18
  ## MVP scope
4
19
 
5
20
  [Name the first independently testable story and its completion evidence.]
@@ -10,20 +25,18 @@
10
25
 
11
26
  ## Story US1
12
27
 
13
- - [ ] T001 [US1] Add the failing behavior test for FR-001 and buildable SC-001 in `[exact/test/path]` | Verify: the focused test fails for the missing behavior
14
- - [ ] T002 [US1] Implement FR-001 and buildable SC-001 in `[exact/source/path]` | Verify: the focused test passes
15
- - [ ] T003 [P] [US1] Update independent documentation for FR-001 in `[exact/doc/path]` | Verify: the documented contract matches the tested behavior
28
+ <!-- STORY-US1-TASKS -->
16
29
 
17
30
  Outcome SCs remain verification targets; do not manufacture implementation tasks
18
31
  for them.
19
32
 
20
33
  ## Parallel execution
21
34
 
22
- [Keep exactly one form below. Use `[P]` only when mutable paths cannot overlap.]
35
+ [Replace the anchor with exactly one form: concrete task pairings covering every
36
+ `[P]` task, or `- None: <evidence-backed reason>`. Never keep both forms.]
23
37
 
24
- - T003 may run with T001 because `[exact/doc/path]` and `[exact/test/path]` do not overlap.
25
- - None: [reason no tasks can safely overlap]
38
+ <!-- PARALLEL-EXECUTION-EVIDENCE -->
26
39
 
27
40
  ## Final verification
28
41
 
29
- - [ ] T004 [US1] Map FR-001 and buildable SC-001 evidence in `[verify-report path]` | Verify: oracle records a passing verdict with executed evidence
42
+ <!-- FINAL-VERIFICATION-TASKS -->