@dtlabs/ai-toolkit 0.16.6 → 0.16.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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
  ## 0.1.4 (2026-07-21)
2
+ ## [0.16.7](https://github.com/dtlab-tech/ai-toolkit/compare/v0.16.6...v0.16.7) (2026-10-07)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **gaia-generate-work-breakdown:** require tracked placeholder for directory-only tasks ([63d2467](https://github.com/dtlab-tech/ai-toolkit/commit/63d246708508d199a25c9443a93c51c25bbfdf1b))
8
+ * **gaia-generate-work-breakdown:** require tracked placeholder for directory-only tasks ([cd60691](https://github.com/dtlab-tech/ai-toolkit/commit/cd60691130a2c54fb40e6cee25da42a48cea68f0))
9
+
2
10
  ## [0.16.6](https://github.com/dtlab-tech/ai-toolkit/compare/v0.16.5...v0.16.6) (2026-10-06)
3
11
 
4
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtlabs/ai-toolkit",
3
- "version": "0.16.6",
3
+ "version": "0.16.7",
4
4
  "description": "AI Toolkit — reusable agents and procedures for developers to build AI-powered applications.",
5
5
  "files": [
6
6
  "docs/",
@@ -318,6 +318,19 @@ For each task, supply one or more shell commands in `verification.commands` that
318
318
  - File existence: `test -f <path>`
319
319
  - Lint: `npx eslint <file>`
320
320
 
321
+ **Directory-only tasks must never verify with `test -d` alone.** Git does not track empty
322
+ directories — `test -d <path>` only confirms the directory exists in the *current* working tree,
323
+ which is exactly what the agent that just created it will have. It tells you nothing about
324
+ whether anything was actually committed: a fresh clone, or any downstream agent/review step that
325
+ re-checks out the branch, will find the directory simply missing, even though this task's own
326
+ verification reported success. If a task's sole outcome is creating one or more directories (no
327
+ files):
328
+ - Give it a `.gitkeep` (or equivalent) placeholder file in every leaf directory it creates, so
329
+ there is something for git to actually track.
330
+ - Verify with a command that checks the directory is *tracked*, not just present on disk — e.g.
331
+ `git ls-files <path> | grep -q .` or `test -f <path>/.gitkeep` — instead of (or in addition to)
332
+ `test -d <path>`.
333
+
321
334
  ---
322
335
 
323
336
  ## Clarification Protocol