@dtlabs/ai-toolkit 0.2.0 → 0.2.1
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.
|
@@ -123,6 +123,8 @@ For each document with gaps, invoke the corresponding agent with a **targeted re
|
|
|
123
123
|
|
|
124
124
|
## Phase 6 — Write Validation Report
|
|
125
125
|
|
|
126
|
+
**Always execute this phase**, regardless of whether gaps were found. The report is required even when validation is clean.
|
|
127
|
+
|
|
126
128
|
Write `{PREFIX}-Validation-Report.md` in the same directory:
|
|
127
129
|
|
|
128
130
|
```markdown
|
|
@@ -113,8 +113,9 @@ for (let cycle = 1; cycle <= MAX_CYCLES; cycle++) {
|
|
|
113
113
|
tokenLedger.push({ agent: `validate-feature-docs (cycle ${cycle})`, model: 'haiku', phase_delta_tokens: valTokens })
|
|
114
114
|
|
|
115
115
|
// valResult is the agent's text output — check for gap indicators
|
|
116
|
+
// Use only 'MISSING:' as the gap signal: 'gaps found' also matches 'ZERO GAPS FOUND'
|
|
116
117
|
const resultText = typeof valResult === 'string' ? valResult : JSON.stringify(valResult)
|
|
117
|
-
const hasGaps = resultText.includes('MISSING:')
|
|
118
|
+
const hasGaps = resultText.includes('MISSING:')
|
|
118
119
|
|
|
119
120
|
if (!hasGaps) {
|
|
120
121
|
validationSummary = `0 gaps (clean on cycle ${cycle})`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
## 0.1.4 (2026-07-21)
|
|
2
|
+
## [0.2.1](https://github.com/dtlab-tech/ai-toolkit/compare/v0.2.0...v0.2.1) (2026-07-27)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* validate-feature-docs always writes report; fix false-positive gap detection ([68caf3e](https://github.com/dtlab-tech/ai-toolkit/commit/68caf3e25214bcb219df1654c4b3ede5cc42eb3b))
|
|
8
|
+
* validate-feature-docs always writes report; fix false-positive gap detection in pm-phase1 ([d99fdb3](https://github.com/dtlab-tech/ai-toolkit/commit/d99fdb39be1663539bd0ed7e6ca4facc2c53fd76))
|
|
9
|
+
|
|
2
10
|
## [0.2.0](https://github.com/dtlab-tech/ai-toolkit/compare/v0.1.7...v0.2.0) (2026-07-27)
|
|
3
11
|
|
|
4
12
|
|