thoth-agents 0.2.9 → 0.2.11
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/README.md +11 -4
- package/dist/agents/prompt-dialects.d.ts +8 -0
- package/dist/{chunk-75JOF37E.js → chunk-6BNAV534.js} +1 -1
- package/dist/{chunk-6NMPKYWY.js → chunk-ASKXWU6E.js} +850 -201
- package/dist/{chunk-YLRPDTU7.js → chunk-OZE7JVGS.js} +80 -54
- package/dist/cli/config-io.d.ts +5 -0
- package/dist/cli/custom-skills.d.ts +2 -1
- package/dist/cli/index.js +19 -18
- package/dist/cli/operations/types.d.ts +2 -0
- package/dist/cli/tui/index.js +91 -18
- package/dist/harness/adapters/codex-surfaces.d.ts +7 -8
- package/dist/harness/core/sdd.d.ts +2 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/skills/sdd-tasks/SKILL.md +39 -15
package/package.json
CHANGED
|
@@ -47,19 +47,43 @@ The orchestrator passes the artifact store mode (`thoth-mem`, `openspec`, or
|
|
|
47
47
|
- In accelerated pipeline, derive task structure directly from the proposal.
|
|
48
48
|
3. If a task plan already exists, recover `sdd/{change-name}/tasks` with the
|
|
49
49
|
same mode-aware retrieval rules before rewriting it.
|
|
50
|
-
4. **
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
4. **Reuse settled evidence before validating**: Reuse settled proposal, design, exploration, and handoff evidence first. Treat accepted scope, success
|
|
51
|
+
criteria, recorded assumptions, and surfaced `handoffHints` as preservation
|
|
52
|
+
constraints. Do not repeat broad discovery merely because the accelerated
|
|
53
|
+
pipeline has no design artifact or because an available artifact omits a
|
|
54
|
+
path.
|
|
55
|
+
5. **Run bounded validation**: Validate only the accepted affected areas, the
|
|
56
|
+
authoritative command source, task-referenced existing files, and neighboring relevant tests needed to make the plan executable.
|
|
57
|
+
- Identify the authoritative command source from project instructions and
|
|
58
|
+
existing conventions (for example `package.json`, `Makefile`, `Cargo.toml`,
|
|
59
|
+
`.csproj`, or `pyproject.toml`). Use only commands confirmed there in
|
|
60
|
+
`Run:` fields; never invent commands or imply that an unchecked command
|
|
61
|
+
exists.
|
|
62
|
+
- For every task that modifies an existing file, verify that path within the
|
|
63
|
+
accepted affected areas. Check neighboring relevant tests only where they
|
|
64
|
+
support a planned task or its Verification block. Never present an unverified path, command, or test reference as confirmed.
|
|
65
|
+
- Do not expand this pass into repository-wide discovery. If a required
|
|
66
|
+
reference remains unresolved, defer or omit the dependent task, add a
|
|
67
|
+
bounded discovery or coordination task when appropriate, and record the
|
|
68
|
+
unresolved reference once under `## Validation Gaps`.
|
|
69
|
+
- Emit one entry per unresolved reference using this exact structure:
|
|
70
|
+
|
|
71
|
+
```md
|
|
72
|
+
## Validation Gaps
|
|
73
|
+
|
|
74
|
+
| Target | Checks performed | Impact / task disposition | Next action |
|
|
75
|
+
| --- | --- | --- | --- |
|
|
76
|
+
| {unverified path, command, or test} | {bounded checks completed} | {blocked, deferred, omitted, or follow-up task} | {specific discovery, owner, or decision needed} |
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
- Escalate a gap that prevents an executable plan. If the accumulated gaps or
|
|
80
|
+
cross-area validation exceed bounded mechanical planning, recommend
|
|
81
|
+
escalation or complexity-based routing; do not use role changes as generic
|
|
82
|
+
failure recovery.
|
|
59
83
|
6. Build a phased checklist for `openspec/changes/{change-name}/tasks.md`. In
|
|
60
84
|
`thoth-mem` mode, produce the same canonical checklist content without
|
|
61
85
|
creating the file.
|
|
62
|
-
|
|
86
|
+
7. Use hierarchical numbering and Markdown checkboxes with per-task verification:
|
|
63
87
|
|
|
64
88
|
```md
|
|
65
89
|
# Tasks: {Change Title}
|
|
@@ -112,21 +136,21 @@ The orchestrator passes the artifact store mode (`thoth-mem`, `openspec`, or
|
|
|
112
136
|
- `- [x]` completed
|
|
113
137
|
- `- [-]` skipped — always append a reason: `- [-] 1.2 Task name — skipped: reason here`
|
|
114
138
|
|
|
115
|
-
|
|
116
|
-
|
|
139
|
+
8. Reference concrete file paths and specific spec scenarios in the tasks.
|
|
140
|
+
9. If the selected mode includes thoth-mem, persist the full checklist with:
|
|
117
141
|
|
|
118
142
|
Use the memory tool binding for `mem_save` with the canonical SDD topic key
|
|
119
143
|
and required metadata fields: `title`, `topic_key`, `type`, `project`,
|
|
120
144
|
`scope`, and `content`.
|
|
121
145
|
|
|
122
|
-
|
|
146
|
+
10. After `tasks.md` is generated, the workflow proceeds to an optional oracle
|
|
123
147
|
plan review via the `plan-reviewer` skill. This is managed outside the scope
|
|
124
148
|
of this skill.
|
|
125
|
-
|
|
149
|
+
11. The artifact governance validator may run **after** `sdd-tasks` as a
|
|
126
150
|
report-only handoff. It captures placement guidance for the future
|
|
127
151
|
pre-`sdd-apply` entrypoint, but it does not enforce execution or overlap
|
|
128
152
|
with plan review.
|
|
129
|
-
|
|
153
|
+
12. The orchestrator handles the `[OKAY]` / `[REJECT]` review loop and any
|
|
130
154
|
necessary fixes before proceeding to execution.
|
|
131
155
|
|
|
132
156
|
## Traceability, TDD Ordering, and Handoff Hints
|