contract-driven-delivery 2.0.19 → 2.0.20

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,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.20] - 2026-05-15
4
+
5
+ Patch release for UTF-8 BOM handling in Claude agent metadata files.
6
+
7
+ ### Fixed
8
+
9
+ - Removed UTF-8 BOM bytes from packaged Claude agent and skill sources so YAML
10
+ frontmatter starts at `---` and Claude Code can mount subagents reliably.
11
+ - `cdd-kit lint-agents` now rejects agent files that start with `U+FEFF`, since
12
+ frontmatter parsers may otherwise treat the first key as invalid.
13
+ - Added package-source and generated-assets regression coverage to prevent BOM
14
+ bytes from being shipped again.
15
+
3
16
  ## [2.0.19] - 2026-05-15
4
17
 
5
18
  Design ownership patch for the implementation-planning flow.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Contract-Driven Delivery Kit
1
+ # Contract-Driven Delivery Kit
2
2
 
3
3
  **cdd-kit** is a contract-driven delivery kit for AI coding agents. It started with Claude Code skills and now keeps the core workflow provider-neutral: contracts-first, test-first, spec-first. Every change goes through classification, contract review, TDD, implementation, and gate verification, with deterministic context indexes to keep agent work targeted.
4
4
 
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: backend-engineer
3
3
  description: Implement backend changes only after specs, contracts, tests, and CI gates are defined; maintain thin controllers, service boundaries, validation, and error handling.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: change-classifier
3
3
  description: Classify incoming requests into change types and decide required artifacts, contracts, tests, and review gates before implementation.
4
4
  tools: Read, Grep, Glob
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: ci-cd-gatekeeper
3
3
  description: Enforce CI/CD as a required delivery artifact; design and implement required, informational, nightly, weekly, and manual gates with promotion policy.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: contract-reviewer
3
3
  description: Review and maintain API, CSS/UI, env, data-shape, business-rule, and CI/CD contracts for every change. Dependency and migration contracts are recorded here at contract level only; the active audit lives in dependency-security-reviewer.
4
4
  tools: Read, Grep, Glob
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: dependency-security-reviewer
3
3
  description: Reviews dependency CVE risk, license compliance (GPL/AGPL copyleft vs proprietary), lockfile changes, and database migrations whenever lockfiles, dependency manifests, or database migrations are touched.
4
4
  tools: Read, Grep, Glob, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: e2e-resilience-engineer
3
3
  description: Design and implement E2E, browser-behavior, failure-injection, data-boundary, and resilience tests for production-like user journeys.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: frontend-engineer
3
3
  description: Implement frontend changes under API, CSS, UI/UX, accessibility, E2E, and visual review contracts.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: monkey-test-engineer
3
3
  description: Design preventive specs and structured exploratory tests for invalid user operations, adversarial inputs, malformed data, rapid UI actions, and production misuse. Not random fuzzing -- every monkey scenario is mapped to a known failure mode or hardening goal.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: qa-reviewer
3
3
  description: Execute quality gates, verify evidence, route failures back to the correct agent, and decide release readiness.
4
4
  tools: Read, Grep, Glob, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: repo-context-scanner
3
3
  description: Scan a repository and summarize its project profile, commands, contracts, tests, CI/CD, and missing standardization surfaces.
4
4
  tools: Read, Grep, Glob, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: spec-architect
3
3
  description: Evaluate architectural impact, compatibility, data flow, module boundaries, and whether a change requires ADR-like design decisions. Author ADRs when required.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: spec-drift-auditor
3
3
  description: Audit drift between live contracts, implementation code, tests, and CI gates. Does NOT read historical specs/changes ??contracts/ is the single source of truth.
4
4
  tools: Read, Grep, Glob, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: stress-soak-engineer
3
3
  description: Design stress, load, soak, and long-running stability tests for reporting systems, queues, caches, auto-refresh, and data-heavy features.
4
4
  tools: Read, Grep, Glob, Edit, MultiEdit, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: test-strategist
3
3
  description: Convert specs and acceptance criteria into TDD-oriented test plans covering unit, contract, integration, E2E, resilience, monkey, stress, and soak tests.
4
4
  tools: Read, Grep, Glob, Edit, Write
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: ui-ux-reviewer
3
3
  description: Review interaction design, information hierarchy, copy, accessibility, empty/error/loading state semantics, and user journey quality. Does not cover pixel-level visuals or CSS -- those go to visual-reviewer.
4
4
  tools: Read, Grep, Glob
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: visual-reviewer
3
3
  description: Review pixel-level visual output, layout, responsive viewport behavior, screenshot diffs, CSS contract compliance, and component visual state coverage. Does not cover interaction or copy -- those go to ui-ux-reviewer.
4
4
  tools: Read, Grep, Glob, Bash
@@ -1,4 +1,4 @@
1
- ---
1
+ ---
2
2
  name: cdd-new
3
3
  description: Start a new tracked change. Scaffolds all required artifacts, classifies the change by risk tier, commissions the right agents in order, and runs cdd-kit gate. Args: <change description in natural language>
4
4
  ---
package/dist/cli/index.js CHANGED
@@ -10058,6 +10058,15 @@ async function lintAgents(opts) {
10058
10058
  });
10059
10059
  continue;
10060
10060
  }
10061
+ if (content.charCodeAt(0) === 65279) {
10062
+ violations.push({
10063
+ file: filename,
10064
+ rule: "Meta",
10065
+ message: "file starts with UTF-8 BOM (U+FEFF); frontmatter parsers may treat the first key as invalid",
10066
+ level: "error"
10067
+ });
10068
+ content = content.slice(1);
10069
+ }
10061
10070
  const artifactsSection = extractRequiredArtifactsSection(content);
10062
10071
  if (!artifactsSection) {
10063
10072
  violations.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contract-driven-delivery",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
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",