@dtlabs/ai-toolkit 0.12.0 → 0.14.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.
- package/CHANGELOG.md +72 -0
- package/bin/cli.js +851 -9
- package/docs/task-executor-bootstrap.md +195 -0
- package/docs/task-executor-cli.md +319 -0
- package/docs/workflow-control-plane.md +95 -0
- package/lib/agent-registry.js +1018 -0
- package/lib/execution-ledger.js +283 -7
- package/lib/task-executor/claude-process.js +563 -0
- package/lib/task-executor/git.js +1362 -0
- package/lib/task-executor/index.js +3729 -0
- package/lib/task-executor/ownership.js +590 -0
- package/lib/task-executor/plan.js +725 -0
- package/lib/task-executor/store.js +1164 -0
- package/lib/workflow-artifacts.js +102 -0
- package/lib/workflow-control.js +219 -0
- package/lib/workflow-runner.js +39 -0
- package/package.json +1 -1
- package/src/claude/agents/{concurrency-safety-assessment.md → gaia-concurrency-safety-assessment.md} +1 -1
- package/src/claude/agents/{define-feature.md → gaia-define-feature.md} +1 -1
- package/src/claude/agents/{dependency-injection-refactoring.md → gaia-dependency-injection-refactoring.md} +1 -1
- package/src/claude/agents/{dependency-supply-chain-security.md → gaia-dependency-supply-chain-security.md} +1 -1
- package/src/claude/agents/{developer-backend.md → gaia-developer-backend.md} +1 -1
- package/src/claude/agents/{developer-frontend.md → gaia-developer-frontend.md} +1 -1
- package/src/claude/agents/{developer-testing.md → gaia-developer-testing.md} +1 -1
- package/src/claude/agents/{domain-model-refactoring.md → gaia-domain-model-refactoring.md} +1 -1
- package/src/claude/agents/{generate-requirements.md → gaia-generate-requirements.md} +1 -1
- package/src/claude/agents/{generate-tech-spec.md → gaia-generate-tech-spec.md} +1 -1
- package/src/claude/agents/{generate-work-breakdown.md → gaia-generate-work-breakdown.md} +5 -5
- package/src/claude/agents/{generic-software-assessment.md → gaia-generic-software-assessment.md} +1 -1
- package/src/claude/agents/{god-class-decomposition.md → gaia-god-class-decomposition.md} +1 -1
- package/src/claude/agents/{init-agents-md.md → gaia-init-agents-md.md} +1 -1
- package/src/claude/agents/{install-toolkit.md → gaia-install-toolkit.md} +1 -1
- package/src/claude/agents/{intervention-documentation-standard.md → gaia-intervention-documentation-standard.md} +10 -10
- package/src/claude/agents/{layered-architecture-assessment.md → gaia-layered-architecture-assessment.md} +1 -1
- package/src/claude/agents/{review-solution.md → gaia-review-solution.md} +1 -1
- package/src/claude/agents/{security-hardening.md → gaia-security-hardening.md} +1 -1
- package/src/claude/agents/{validate-feature-docs.md → gaia-validate-feature-docs.md} +2 -2
- package/src/claude/agents/{validate-work-breakdown-semantic.md → gaia-validate-work-breakdown-semantic.md} +1 -1
- package/src/claude/commands/next-task.md +4 -4
- package/src/claude/skills/assess-codebase/SKILL.md +9 -103
- package/src/claude/skills/define-feature/SKILL.md +2 -2
- package/src/claude/skills/hi-gaia/SKILL.md +1 -1
- package/src/claude/skills/implement-feature/SKILL.md +131 -38
- package/src/claude/skills/init-agents/SKILL.md +2 -2
- package/src/claude/skills/install-toolkit/SKILL.md +2 -2
- package/src/claude/workflows/am-phase1.js +43 -294
- package/src/claude/workflows/am-phase2.js +10 -164
- package/src/claude/workflows/pm-phase1.js +45 -287
- package/src/claude/workflows/pm-phase2.js +51 -511
- package/src/claude/workflows/pm-phase3.js +5 -767
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,76 @@
|
|
|
1
1
|
## 0.1.4 (2026-07-21)
|
|
2
|
+
## [0.14.0](https://github.com/dtlab-tech/ai-toolkit/compare/v0.13.0...v0.14.0) (2026-09-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **FTR-018:** add agent provenance verification via agents resolve ([27fce79](https://github.com/dtlab-tech/ai-toolkit/commit/27fce7943bda58c546528e839fd83c7c7b2ee1ce))
|
|
8
|
+
* **FTR-018:** add checkpoint intent persistence ([27332e3](https://github.com/dtlab-tech/ai-toolkit/commit/27332e3a38ece600af2f3c3964637dc5f09a5607))
|
|
9
|
+
* **FTR-018:** add Claude subprocess adapter with result validation ([ddcfcd0](https://github.com/dtlab-tech/ai-toolkit/commit/ddcfcd07de8253465a4faf98805956491457706c))
|
|
10
|
+
* **FTR-018:** add commit creation with task trailers ([b11c5af](https://github.com/dtlab-tech/ai-toolkit/commit/b11c5afd995b30c3c8ff136e1449d9c94397e1e7))
|
|
11
|
+
* **FTR-018:** add controlled staging with path enumeration ([81cdc26](https://github.com/dtlab-tech/ai-toolkit/commit/81cdc26904191f189eb9aefc5f86941857368db7))
|
|
12
|
+
* **FTR-018:** add cooperative and immediate stop modes ([2a410ba](https://github.com/dtlab-tech/ai-toolkit/commit/2a410ba0b28d6fdfa9369b439a10e098a250bdf0))
|
|
13
|
+
* **FTR-018:** add DAG validation and cycle detection ([ae08348](https://github.com/dtlab-tech/ai-toolkit/commit/ae0834872f41e339d68a43088c229d6185528d2b))
|
|
14
|
+
* **FTR-018:** add evidence evaluation per edge-cases table ([767a9e0](https://github.com/dtlab-tech/ai-toolkit/commit/767a9e040c6600ae6e7ce81816454bde9923c7ea))
|
|
15
|
+
* **FTR-018:** add exclusive lease protocol ([68f42d1](https://github.com/dtlab-tech/ai-toolkit/commit/68f42d14b87ac6c2672415307248e5a47fada574))
|
|
16
|
+
* **FTR-018:** add executor CLI commands to bin/cli.js ([6b59e65](https://github.com/dtlab-tech/ai-toolkit/commit/6b59e650aebe73b47593c7ee24ed2b803468e53c))
|
|
17
|
+
* **FTR-018:** add executor state protocol (store.js) with versioned schema and atomic writes ([f6d989b](https://github.com/dtlab-tech/ai-toolkit/commit/f6d989b42796d8e37099770e2ebc7fa4f282cab3))
|
|
18
|
+
* **FTR-018:** add ledger finalizeActivity for executor task completion ([be6187a](https://github.com/dtlab-tech/ai-toolkit/commit/be6187aead37c0ab7caf956be867df45c5db8fae))
|
|
19
|
+
* **FTR-018:** add N-limit concurrency control and slot reservation ([6f6cfae](https://github.com/dtlab-tech/ai-toolkit/commit/6f6cfae15d47b6f7f371168bc1ef91db12091236))
|
|
20
|
+
* **FTR-018:** add ownership guard for atomic lease transitions ([a2da308](https://github.com/dtlab-tech/ai-toolkit/commit/a2da3080c5bed54e375a5ce1467a2cc01b0482b7))
|
|
21
|
+
* **FTR-018:** add plan snapshot with content digest ([512bfbf](https://github.com/dtlab-tech/ai-toolkit/commit/512bfbfa6d097d52f7e913f1be16031dd2f214fa))
|
|
22
|
+
* **FTR-018:** add platform qualification guard (Windows-only) ([96c09a0](https://github.com/dtlab-tech/ai-toolkit/commit/96c09a0d00280f8a5893cdaa7bc2a1a190247f9c))
|
|
23
|
+
* **FTR-018:** add replan command with approval validation ([094ef1a](https://github.com/dtlab-tech/ai-toolkit/commit/094ef1a683f91f33350feb314d02adcc932a7e66))
|
|
24
|
+
* **FTR-018:** add resume and reconcile command logic ([be3d9a0](https://github.com/dtlab-tech/ai-toolkit/commit/be3d9a078b00666db8e9521e7e9c714c58f97554))
|
|
25
|
+
* **FTR-018:** add review agent dispatch ([0a463e6](https://github.com/dtlab-tech/ai-toolkit/commit/0a463e6346af977f4bee66bd8b9c443df40112c5))
|
|
26
|
+
* **FTR-018:** add sequential executor main loop (execute()) ([32895ad](https://github.com/dtlab-tech/ai-toolkit/commit/32895ad387d509620d143ca03e63d692aa47f102))
|
|
27
|
+
* **FTR-018:** add serial integration with dispatch-order sequencing ([9681bb7](https://github.com/dtlab-tech/ai-toolkit/commit/9681bb7c853c4c42644a05e6a37fd424ec5e4c0b))
|
|
28
|
+
* **FTR-018:** add stable topological scheduler for task ordering ([63ba632](https://github.com/dtlab-tech/ai-toolkit/commit/63ba632bcccb2ba9996836cf9280e5facec819c6))
|
|
29
|
+
* **FTR-018:** add stale lock detection with process liveness ([391295c](https://github.com/dtlab-tech/ai-toolkit/commit/391295c862ac76e4def7ad6d74fcaac6f2cceb69))
|
|
30
|
+
* **FTR-018:** add task dispatch orchestration ([429c892](https://github.com/dtlab-tech/ai-toolkit/commit/429c892d9f6d2b1b9c53bb2987a8104775e873f3))
|
|
31
|
+
* **FTR-018:** add task-executor module skeleton (index.js) ([339fd57](https://github.com/dtlab-tech/ai-toolkit/commit/339fd5708aa02e55cddc8759be13de05b34aa367))
|
|
32
|
+
* **FTR-018:** add verification command executor ([f03a342](https://github.com/dtlab-tech/ai-toolkit/commit/f03a3425144c3d807e30884874f55e5c76ad6e4b))
|
|
33
|
+
* **FTR-018:** add Work Breakdown CSV parser and phase mapping ([84830ac](https://github.com/dtlab-tech/ai-toolkit/commit/84830ac35ca02615c628d6bd1a96c7cbc2dcc6ff))
|
|
34
|
+
* **FTR-018:** add Work Breakdown Markdown parser (plan.js) ([b26ef0e](https://github.com/dtlab-tech/ai-toolkit/commit/b26ef0e2d949ab4d11278266e67ae8c57565de0c))
|
|
35
|
+
* **FTR-018:** document executor CLI contract; fix unreachable exit code 8 ([3e7a02b](https://github.com/dtlab-tech/ai-toolkit/commit/3e7a02bb341dc8e98f964299b54427eedd06a1f2))
|
|
36
|
+
* **FTR-018:** integrate executor into implement-feature skill ([24eb4cd](https://github.com/dtlab-tech/ai-toolkit/commit/24eb4cdacb477aeed2008199dbe44b56f29d16ce))
|
|
37
|
+
* **runtime:** add deterministic workflow host and owned ledger lifecycle ([aa3c350](https://github.com/dtlab-tech/ai-toolkit/commit/aa3c3503a676c77ff3c76019464a738f8bbc060e))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **FTR-018:** fix CI failures on Linux (ubuntu-latest / GitHub Actions) ([7054af9](https://github.com/dtlab-tech/ai-toolkit/commit/7054af9eb4f9109063c0254fe29df75fcabe5a4e))
|
|
43
|
+
* **workflows:** deterministic workflow control plane and owned ledger lifecycle ([aec810f](https://github.com/dtlab-tech/ai-toolkit/commit/aec810f2b93b2ccbb38034e66c0d25897f621298))
|
|
44
|
+
* **workflows:** replace LLM control-plane wrappers with deterministic operations ([603ec2f](https://github.com/dtlab-tech/ai-toolkit/commit/603ec2fd197e3e381362ef2fc974977b45b56798))
|
|
45
|
+
|
|
46
|
+
## [0.13.0](https://github.com/dtlab-tech/ai-toolkit/compare/v0.12.0...v0.13.0) (2026-09-09)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* add --require-verified operational mode to agents resolve ([c8cf8c1](https://github.com/dtlab-tech/ai-toolkit/commit/c8cf8c1d3db4ccbcf109408a4029381db1b21479))
|
|
52
|
+
* add agents cleanup dry-run command ([d773ce2](https://github.com/dtlab-tech/ai-toolkit/commit/d773ce257eb00c988f6218c603a88a9c9df91b86))
|
|
53
|
+
* add agents list and diagnostic resolve CLI commands ([0cd71bd](https://github.com/dtlab-tech/ai-toolkit/commit/0cd71bd037ff11a576c69476ebfd22b1d9025711))
|
|
54
|
+
* add agents preflight command with fail-closed ledger tracking ([3c16268](https://github.com/dtlab-tech/ai-toolkit/commit/3c1626873997ce205cd68f7f7314431d39cc8e9e))
|
|
55
|
+
* add canonical agent registry module with deterministic resolution ([21d5c02](https://github.com/dtlab-tech/ai-toolkit/commit/21d5c028d9c1978952dde234c4241db254383477))
|
|
56
|
+
* add computeFileSha256() helper for manifest integrity ([7fdf938](https://github.com/dtlab-tech/ai-toolkit/commit/7fdf9386d189954eafba8d24d229016510a0f127))
|
|
57
|
+
* add doctor agents command with comprehensive diagnostics ([ce47a78](https://github.com/dtlab-tech/ai-toolkit/commit/ce47a78cfa67ac44209dfa6cb4d2b8aba36ebf51))
|
|
58
|
+
* add ledger CLI facade with whitelisted metadata flags ([f26c6a6](https://github.com/dtlab-tech/ai-toolkit/commit/f26c6a61c83bdca154e4600041025a59a95ce1ff))
|
|
59
|
+
* add pm-phaseN:self ledger self-registration with fail-closed lifecycle ([8a04899](https://github.com/dtlab-tech/ai-toolkit/commit/8a048999943bf6b28e9bca7a4be0f659a11d1fec))
|
|
60
|
+
* add Tier 1 dispatch guard to implement-feature skill ([5326f5f](https://github.com/dtlab-tech/ai-toolkit/commit/5326f5fd6159a8fce67a01e2b41c1a60e2ad4258))
|
|
61
|
+
* add Tier 2 resolution guard to pm-phase workflows ([4f2e4e5](https://github.com/dtlab-tech/ai-toolkit/commit/4f2e4e5d72a57d211b86bc04c44102e1d6d4ef68))
|
|
62
|
+
* add WB agent_type inventory, legacy mapping, and rejection guard ([fc4228b](https://github.com/dtlab-tech/ai-toolkit/commit/fc4228b732fbb3e1d3332f3e24750b86108207e0))
|
|
63
|
+
* detect observable-scope collisions and add collision tests ([9857004](https://github.com/dtlab-tech/ai-toolkit/commit/9857004118aa0b77a39a9f9f7b1961fb2abcaa4f))
|
|
64
|
+
* extend ledger open() with whitelisted metadata and safety invariants ([cbc8cdc](https://github.com/dtlab-tech/ai-toolkit/commit/cbc8cdc600614b8e91daacc737b0e7f8493447f7))
|
|
65
|
+
* extend writeManifest() with optional fileHashes parameter ([9583aff](https://github.com/dtlab-tech/ai-toolkit/commit/9583affb26b97348def78b6973f645533c9cdbbe))
|
|
66
|
+
* **FTR-017:** deterministic agent resolution and orchestrator guard ([57e1e9b](https://github.com/dtlab-tech/ai-toolkit/commit/57e1e9b42a27937cd06a6cf2d1449f37cfeea4a7))
|
|
67
|
+
* **FTR-017:** Phase B completion gate (BE-24) — all 15 agents renamed to gaia-* prefix ([118f6e3](https://github.com/dtlab-tech/ai-toolkit/commit/118f6e3278457f81aea77d0e4a2b95bb661f6b7c))
|
|
68
|
+
* **FTR-017:** Phase B rename developer-* and review-solution agents to gaia-* (BE-09..12) ([2ff27e8](https://github.com/dtlab-tech/ai-toolkit/commit/2ff27e86519cfbdb57404c36860ab2ce5e1af7c3))
|
|
69
|
+
* **FTR-017:** Phase B rename remaining 11 agents to gaia-* prefix (BE-13..23) ([23ceb1f](https://github.com/dtlab-tech/ai-toolkit/commit/23ceb1f4ab5163c1e05ccdd67f7cd0e771800410))
|
|
70
|
+
* hard-stop on missing pm-phase3 and post-return ledger failure ([43e095c](https://github.com/dtlab-tech/ai-toolkit/commit/43e095cfc2f65ea984ae73f687313f9d298502a9))
|
|
71
|
+
* record per-file SHA-256 hashes in installer manifest ([26c9d74](https://github.com/dtlab-tech/ai-toolkit/commit/26c9d7448adc05585b2181bf14f5afadca6c72dd))
|
|
72
|
+
* remove legacy orchestrator references from runtime assets ([76177e3](https://github.com/dtlab-tech/ai-toolkit/commit/76177e3b7f0d78e470a9898ca37cb1a060575bff))
|
|
73
|
+
|
|
2
74
|
## [0.12.0](https://github.com/dtlab-tech/ai-toolkit/compare/v0.11.0...v0.12.0) (2026-09-04)
|
|
3
75
|
|
|
4
76
|
|