thoth-agents 0.2.10 → 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 (150) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +21 -0
  3. package/README.md +301 -311
  4. package/dist/agents/configured-role-prompt.d.ts +9 -0
  5. package/dist/agents/prompt-sections.d.ts +8 -4
  6. package/dist/agents/prompt-utils.d.ts +0 -4
  7. package/dist/{chunk-YYVE7YHR.js → chunk-2MZ5C2RN.js} +1755 -1760
  8. package/dist/chunk-XO74DXBZ.js +1781 -0
  9. package/dist/{chunk-MF5NNCPC.js → chunk-YUCGIJPP.js} +12 -30
  10. package/dist/cli/claude-code-install.d.ts +24 -26
  11. package/dist/cli/claude-code-paths.d.ts +0 -28
  12. package/dist/cli/codex-install.d.ts +2 -2
  13. package/dist/cli/codex-paths.d.ts +0 -2
  14. package/dist/cli/config-io.d.ts +5 -0
  15. package/dist/cli/index.js +294 -133
  16. package/dist/cli/install.d.ts +5 -1
  17. package/dist/cli/model-catalog/cache.d.ts +1 -1
  18. package/dist/cli/operations/claude-code.d.ts +6 -3
  19. package/dist/cli/operations/codex.d.ts +2 -1
  20. package/dist/cli/operations/opencode.d.ts +2 -1
  21. package/dist/cli/operations/types.d.ts +11 -1
  22. package/dist/cli/package-root.d.ts +1 -0
  23. package/dist/cli/providers.d.ts +6 -116
  24. package/dist/cli/skills.d.ts +19 -32
  25. package/dist/cli/thoth-mem-install.d.ts +45 -0
  26. package/dist/cli/tui/components/StatusView.d.ts +12 -1
  27. package/dist/cli/tui/index.js +293 -106
  28. package/dist/cli/tui/operations.d.ts +4 -3
  29. package/dist/cli/types.d.ts +0 -10
  30. package/dist/config/constants.d.ts +20 -16
  31. package/dist/config/index.d.ts +0 -1
  32. package/dist/config/loader.d.ts +1 -1
  33. package/dist/config/schema.d.ts +2 -38
  34. package/dist/config/utils.d.ts +1 -2
  35. package/dist/harness/adapters/codex-surfaces.d.ts +3 -3
  36. package/dist/harness/core/agent-pack.d.ts +37 -29
  37. package/dist/harness/core/memory-governance.d.ts +24 -48
  38. package/dist/harness/core/sdd.d.ts +364 -131
  39. package/dist/harness/generate-integration-packages.d.ts +20 -0
  40. package/dist/harness/opencode-init-command.d.ts +11 -0
  41. package/dist/harness/types.d.ts +14 -1
  42. package/dist/harness/writers/claude-code-subagent.d.ts +3 -1
  43. package/dist/hooks/index.d.ts +0 -5
  44. package/dist/index.js +562 -1314
  45. package/dist/mcp/index.d.ts +1 -2
  46. package/package.json +17 -12
  47. package/plugin/.claude-plugin/.thoth-agents-plugin-assets.json +50 -0
  48. package/plugin/.claude-plugin/plugin.json +8 -0
  49. package/plugin/.codex-plugin/.thoth-agents-plugin-assets.json +16 -0
  50. package/plugin/.codex-plugin/plugin.json +7 -0
  51. package/plugin/.mcp.json +19 -0
  52. package/plugin/agents/deep.md +89 -0
  53. package/plugin/agents/designer.md +89 -0
  54. package/plugin/agents/explorer.md +90 -0
  55. package/plugin/agents/librarian.md +90 -0
  56. package/plugin/agents/oracle.md +92 -0
  57. package/plugin/agents/orchestrator.md +128 -0
  58. package/plugin/agents/quick.md +89 -0
  59. package/plugin/codex.mcp.json +17 -0
  60. package/plugin/settings.json +3 -0
  61. package/plugin/skills/thoth-archive/SKILL.md +40 -0
  62. package/plugin/skills/thoth-archive/scripts/archive.mjs +748 -0
  63. package/plugin/skills/thoth-constitution/SKILL.md +45 -0
  64. package/plugin/skills/thoth-constitution/scripts/validate.mjs +167 -0
  65. package/plugin/skills/thoth-constitution/templates/constitution.md +54 -0
  66. package/plugin/skills/thoth-init/SKILL.md +30 -0
  67. package/plugin/skills/thoth-init/scripts/init.mjs +141 -0
  68. package/plugin/skills/thoth-sdd/SKILL.md +83 -0
  69. package/plugin/skills/thoth-sdd/references/phases/analyze.md +21 -0
  70. package/plugin/skills/thoth-sdd/references/phases/checklist.md +20 -0
  71. package/plugin/skills/thoth-sdd/references/phases/clarify.md +15 -0
  72. package/plugin/skills/thoth-sdd/references/phases/converge.md +14 -0
  73. package/plugin/skills/thoth-sdd/references/phases/explore.md +10 -0
  74. package/plugin/skills/thoth-sdd/references/phases/implement.md +19 -0
  75. package/plugin/skills/thoth-sdd/references/phases/plan.md +15 -0
  76. package/plugin/skills/thoth-sdd/references/phases/specify.md +21 -0
  77. package/plugin/skills/thoth-sdd/references/phases/tasks.md +20 -0
  78. package/plugin/skills/thoth-sdd/references/phases/verify.md +22 -0
  79. package/plugin/skills/thoth-sdd/scripts/validate.mjs +1117 -0
  80. package/plugin/skills/thoth-sdd/templates/archive-report.md +25 -0
  81. package/plugin/skills/thoth-sdd/templates/checklist.md +27 -0
  82. package/plugin/skills/thoth-sdd/templates/plan.md +38 -0
  83. package/plugin/skills/thoth-sdd/templates/spec.md +54 -0
  84. package/plugin/skills/thoth-sdd/templates/tasks.md +29 -0
  85. package/plugin/skills/thoth-sdd/templates/verify-report.md +28 -0
  86. package/skills/README.md +12 -0
  87. package/skills/thoth-archive/SKILL.md +40 -0
  88. package/skills/thoth-archive/scripts/archive.mjs +748 -0
  89. package/skills/thoth-constitution/SKILL.md +45 -0
  90. package/skills/thoth-constitution/scripts/validate.mjs +167 -0
  91. package/skills/thoth-constitution/templates/constitution.md +54 -0
  92. package/skills/thoth-init/SKILL.md +30 -0
  93. package/skills/thoth-init/scripts/init.mjs +141 -0
  94. package/skills/thoth-sdd/SKILL.md +83 -0
  95. package/skills/thoth-sdd/references/phases/analyze.md +21 -0
  96. package/skills/thoth-sdd/references/phases/checklist.md +20 -0
  97. package/skills/thoth-sdd/references/phases/clarify.md +15 -0
  98. package/skills/thoth-sdd/references/phases/converge.md +14 -0
  99. package/skills/thoth-sdd/references/phases/explore.md +10 -0
  100. package/skills/thoth-sdd/references/phases/implement.md +19 -0
  101. package/skills/thoth-sdd/references/phases/plan.md +15 -0
  102. package/skills/thoth-sdd/references/phases/specify.md +21 -0
  103. package/skills/thoth-sdd/references/phases/tasks.md +20 -0
  104. package/skills/thoth-sdd/references/phases/verify.md +22 -0
  105. package/skills/thoth-sdd/scripts/validate.mjs +1117 -0
  106. package/skills/thoth-sdd/templates/archive-report.md +25 -0
  107. package/skills/thoth-sdd/templates/checklist.md +27 -0
  108. package/skills/thoth-sdd/templates/plan.md +38 -0
  109. package/skills/thoth-sdd/templates/spec.md +54 -0
  110. package/skills/thoth-sdd/templates/tasks.md +29 -0
  111. package/skills/thoth-sdd/templates/verify-report.md +28 -0
  112. package/thoth-agents.schema.json +0 -39
  113. package/dist/chunk-WBRGPRRB.js +0 -2353
  114. package/dist/cli/custom-skills.d.ts +0 -48
  115. package/dist/cli/skill-manifest.d.ts +0 -32
  116. package/dist/harness/core/skills.d.ts +0 -211
  117. package/dist/harness/generate-codex-plugin.d.ts +0 -9
  118. package/dist/harness/writers/claude-code-skill-layout.d.ts +0 -16
  119. package/dist/harness/writers/fs-skill-collect.d.ts +0 -7
  120. package/dist/harness/writers/skill-layout.d.ts +0 -16
  121. package/dist/hooks/chat-headers.d.ts +0 -16
  122. package/dist/hooks/phase-reminder/index.d.ts +0 -28
  123. package/dist/hooks/post-read-nudge/index.d.ts +0 -18
  124. package/dist/hooks/skill-sync.d.ts +0 -10
  125. package/dist/hooks/thoth-mem/index.d.ts +0 -46
  126. package/dist/hooks/thoth-mem/protocol.d.ts +0 -7
  127. package/dist/mcp/thoth.d.ts +0 -3
  128. package/dist/sdd/artifact-governance/artifact-loader.d.ts +0 -130
  129. package/dist/sdd/artifact-governance/index.d.ts +0 -6
  130. package/dist/sdd/artifact-governance/tasks-validator.d.ts +0 -17
  131. package/dist/sdd/artifact-governance/types.d.ts +0 -52
  132. package/dist/thoth/client.d.ts +0 -14
  133. package/dist/thoth/index.d.ts +0 -2
  134. package/src/skills/_shared/openspec-convention.md +0 -350
  135. package/src/skills/_shared/persistence-contract.md +0 -163
  136. package/src/skills/_shared/thoth-mem-convention.md +0 -123
  137. package/src/skills/executing-plans/SKILL.md +0 -288
  138. package/src/skills/plan-reviewer/SKILL.md +0 -219
  139. package/src/skills/requirements-interview/SKILL.md +0 -233
  140. package/src/skills/sdd-apply/SKILL.md +0 -89
  141. package/src/skills/sdd-archive/SKILL.md +0 -92
  142. package/src/skills/sdd-clarify/SKILL.md +0 -105
  143. package/src/skills/sdd-constitution/SKILL.md +0 -107
  144. package/src/skills/sdd-design/SKILL.md +0 -155
  145. package/src/skills/sdd-init/SKILL.md +0 -233
  146. package/src/skills/sdd-propose/SKILL.md +0 -101
  147. package/src/skills/sdd-spec/SKILL.md +0 -136
  148. package/src/skills/sdd-tasks/SKILL.md +0 -232
  149. package/src/skills/sdd-verify/SKILL.md +0 -131
  150. package/src/skills/thoth-mem-agents/SKILL.md +0 -210
@@ -0,0 +1,20 @@
1
+ # Tasks contract
2
+
3
+ **Owner**: root<br>
4
+ **Output**: `openspec/changes/<feature>/tasks.md`
5
+
6
+ Every executable line uses exactly:
7
+
8
+ ```text
9
+ - [ ] T### [P?] [US#?] description with FR-###/SC-### coverage in `exact/path` | Verify: observable outcome
10
+ ```
11
+
12
+ IDs are unique and sequential. `[US#]` links story work; omit it only for shared
13
+ setup or closeout. Cover every FR and **buildable** SC. Outcome SCs remain
14
+ verification targets but do not justify artificial implementation tasks.
15
+
16
+ Order test-first work before its implementation, group tasks by independently
17
+ deliverable story, identify the MVP, and state dependencies. `[P]` is permitted
18
+ only when mutable paths provably do not overlap and the Parallel execution
19
+ section names a concrete pairing. If there is no safe parallel work, use
20
+ `- None: <evidence-backed reason>` instead. Avoid ceremonial tasks.
@@ -0,0 +1,22 @@
1
+ # Verify contract
2
+
3
+ **Owner**: oracle, always read-only and independent
4
+
5
+ Oracle verifies Direct, Accelerated, and Full work. The root or writer that
6
+ implemented the change cannot substitute for oracle. Inspect changed code and
7
+ run or validate the smallest sufficient checks.
8
+
9
+ Judge three dimensions separately: **completeness** of accepted scope and
10
+ coverage, **correctness** against behavioral contracts and executed evidence,
11
+ and **coherence** across artifacts, code, tests, and documentation. Map every FR
12
+ and buildable SC to implementation evidence and an executed check. Record
13
+ each outcome SC as PASS with concrete observed evidence or as RISK with an
14
+ explicit ID-matched residual-risk entry, never as an invented implementation
15
+ task.
16
+
17
+ Return `pass` or `fail`, compliance matrix, commands/results, stable findings,
18
+ critical issues, warnings, and remediation anchors. For Direct, return the
19
+ verdict in-session. For Accelerated and Full, root persists oracle's exact result
20
+ using `templates/verify-report.md`. Fail routes to converge (straight back to
21
+ implement for Direct); PASS permits closeout and archive for artifact-backed
22
+ routes.