contract-driven-delivery 1.16.0 → 2.0.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 (34) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +35 -28
  3. package/assets/agents/backend-engineer.md +2 -2
  4. package/assets/agents/change-classifier.md +4 -4
  5. package/assets/agents/ci-cd-gatekeeper.md +1 -1
  6. package/assets/agents/contract-reviewer.md +1 -1
  7. package/assets/agents/dependency-security-reviewer.md +1 -1
  8. package/assets/agents/e2e-resilience-engineer.md +1 -1
  9. package/assets/agents/frontend-engineer.md +1 -1
  10. package/assets/agents/monkey-test-engineer.md +1 -1
  11. package/assets/agents/qa-reviewer.md +1 -1
  12. package/assets/agents/repo-context-scanner.md +1 -1
  13. package/assets/agents/spec-architect.md +1 -1
  14. package/assets/agents/spec-drift-auditor.md +1 -1
  15. package/assets/agents/stress-soak-engineer.md +1 -1
  16. package/assets/agents/test-strategist.md +1 -1
  17. package/assets/agents/ui-ux-reviewer.md +1 -1
  18. package/assets/agents/visual-reviewer.md +1 -1
  19. package/assets/skills/cdd-close/SKILL.md +9 -9
  20. package/assets/skills/cdd-new/SKILL.md +28 -28
  21. package/assets/skills/cdd-resume/SKILL.md +15 -15
  22. package/assets/skills/contract-driven-delivery/SKILL.md +6 -0
  23. package/assets/skills/contract-driven-delivery/references/agent-log-protocol.md +90 -60
  24. package/assets/skills/contract-driven-delivery/scripts/generate_change_scaffold.py +1 -1
  25. package/assets/skills/contract-driven-delivery/scripts/validate_spec_traceability.py +1 -1
  26. package/assets/skills/contract-driven-delivery/templates/agent-log.example.yml +14 -0
  27. package/assets/skills/contract-driven-delivery/templates/change-classification.md +1 -1
  28. package/assets/skills/contract-driven-delivery/templates/tasks.yml +39 -0
  29. package/assets/specs-templates/change-classification.md +1 -1
  30. package/assets/specs-templates/tasks.yml +39 -0
  31. package/dist/cli/index.js +10228 -555
  32. package/package.json +6 -2
  33. package/assets/skills/contract-driven-delivery/templates/tasks.md +0 -50
  34. package/assets/specs-templates/tasks.md +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contract-driven-delivery",
3
- "version": "1.16.0",
3
+ "version": "2.0.0",
4
4
  "description": "Contract-driven delivery kit for AI coding agents with deterministic context indexes, manifest-backed read-scope governance, and orchestrated contracts-first delivery.",
5
5
  "keywords": [
6
6
  "contract-driven",
@@ -46,9 +46,13 @@
46
46
  "node": ">=18.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "commander": "^12.0.0"
49
+ "ajv": "^8.17.1",
50
+ "ajv-formats": "^3.0.1",
51
+ "commander": "^12.0.0",
52
+ "js-yaml": "^4.1.0"
50
53
  },
51
54
  "devDependencies": {
55
+ "@types/js-yaml": "^4.0.9",
52
56
  "@types/node": "^20.0.0",
53
57
  "esbuild": "^0.20.0",
54
58
  "typescript": "^5.0.0",
@@ -1,50 +0,0 @@
1
- ---
2
- change-id: <change-id>
3
- status: in-progress
4
- ---
5
-
6
- <!-- [x]=done [-]=N/A [ ]=pending -->
7
-
8
- # Tasks
9
-
10
- ## 1. Preparation
11
- - [ ] 1.1 Confirm classification and required artifacts
12
- - [ ] 1.2 Confirm contracts to update
13
- - [ ] 1.3 Confirm CI/CD gate plan
14
-
15
- ## 2. Contract Updates
16
- - [ ] 2.1 API contract
17
- - [ ] 2.2 CSS/UI contract
18
- - [ ] 2.3 Env contract
19
- - [ ] 2.4 Data shape contract
20
- - [ ] 2.5 Business logic contract
21
- - [ ] 2.6 CI/CD contract
22
-
23
- ## 3. Tests First
24
- - [ ] 3.1 Unit/contract tests
25
- - [ ] 3.2 Integration tests
26
- - [ ] 3.3 E2E/resilience tests
27
- - [ ] 3.4 Data-boundary/monkey tests
28
- - [ ] 3.5 Stress/soak tests if required
29
-
30
- ## 4. Implementation
31
- - [ ] 4.1 Backend
32
- - [ ] 4.2 Frontend
33
- - [ ] 4.3 Env/deploy
34
- - [ ] 4.4 CI/CD workflows
35
-
36
- ## 5. Review
37
- - [ ] 5.1 UI/UX review
38
- - [ ] 5.2 Visual review
39
- - [ ] 5.3 Contract review
40
- - [ ] 5.4 QA review
41
-
42
- ## 6. Verification
43
- - [ ] 6.1 Local gates
44
- - [ ] 6.2 PR required gates
45
- - [ ] 6.3 Informational gates
46
- - [ ] 6.4 Nightly/weekly/manual gates if required
47
-
48
- ## 7. Archive
49
- - [ ] 7.1 Archive change
50
- - [ ] 7.2 Promote durable learnings to contracts or CLAUDE.md
@@ -1,54 +0,0 @@
1
- ---
2
- change-id: <change-id>
3
- status: in-progress
4
- tier:
5
- context-governance: v1
6
- archive-tasks: ["7.1", "7.2"]
7
- depends-on: []
8
- ---
9
-
10
- <!-- [x]=done [-]=N/A [ ]=pending -->
11
-
12
- # Tasks
13
-
14
- ## 1. Preparation
15
- - [ ] 1.1 Confirm classification and required artifacts
16
- - [ ] 1.2 Confirm contracts to update
17
- - [ ] 1.3 Confirm CI/CD gate plan
18
-
19
- ## 2. Contract Updates
20
- - [ ] 2.1 API contract
21
- - [ ] 2.2 CSS/UI contract
22
- - [ ] 2.3 Env contract
23
- - [ ] 2.4 Data shape contract
24
- - [ ] 2.5 Business logic contract
25
- - [ ] 2.6 CI/CD contract
26
-
27
- ## 3. Tests First
28
- - [ ] 3.1 Unit/contract tests
29
- - [ ] 3.2 Integration tests
30
- - [ ] 3.3 E2E/resilience tests
31
- - [ ] 3.4 Data-boundary/monkey tests
32
- - [ ] 3.5 Stress/soak tests if required
33
-
34
- ## 4. Implementation
35
- - [ ] 4.1 Backend
36
- - [ ] 4.2 Frontend
37
- - [ ] 4.3 Env/deploy
38
- - [ ] 4.4 CI/CD workflows
39
-
40
- ## 5. Review
41
- - [ ] 5.1 UI/UX review
42
- - [ ] 5.2 Visual review
43
- - [ ] 5.3 Contract review
44
- - [ ] 5.4 QA review
45
-
46
- ## 6. Verification
47
- - [ ] 6.1 Local gates
48
- - [ ] 6.2 PR required gates
49
- - [ ] 6.3 Informational gates
50
- - [ ] 6.4 Nightly/weekly/manual gates if required
51
-
52
- ## 7. Archive
53
- - [ ] 7.1 Archive change
54
- - [ ] 7.2 Promote durable learnings to contracts or CLAUDE.md