v1.4.0 — Spec Sync, CLI, and Enhanced Skills
What's New
New Skill: vibe-spec-sync
Bidirectional spec-code sync. Detects drift from staged changes, presents drift items for approval, and writes approved updates back to the spec. Links to decisions and cross-checks test coverage after sync.
New: vibe-cli — CI/CD Enforcement
A pure-bash CLI (scripts/vibe-cli) that wraps critical skills into CI/CD-friendly commands with proper exit codes and JSON output.
vibe-cli pre-commit # Secrets, debug code, disabled tests → exit 1 if blocked
vibe-cli coverage # Line + spec-to-test coverage → exit 1 if below target
vibe-cli spec-drift # Detect spec-code drift → exit 2 if drift found
vibe-cli decisions # Extract decisions from staged diff
vibe-cli hook install # Install as git pre-commit hookAll commands support --json for machine-readable output.
Enhanced Skills
vibe-decision-journal — Now 3 modes:
- Automatic extraction from staged diffs (no manual invocation needed)
- Explicit recording (original manual mode)
- Session sweep (end-of-session extraction)
- Adds JSONL storage, deduplication, and supersession tracking
vibe-adversarial-test-generation — Now 2 modes:
- Adversarial (original edge-case mode)
- Spec-driven — generates tests from spec requirements with
# req:[ID]traceability markers
vibe-coverage-enforcer — Now 3 dimensions:
- Line coverage by tier (original)
- Spec-to-test coverage (requirement → test mapping via
req:IDmarkers) - Spec-to-code coverage (requirement → implementation mapping)
The Spec-Code-Test Loop
These skills now form a connected workflow:
Code changes → decision-journal (extract) → spec-sync (update spec)
→ adversarial-test-generation (spec-driven tests) → coverage-enforcer (verify 3 dimensions)
→ spec-vs-code-audit (final verification)
The CLI exposes the critical parts for automation in CI/CD pipelines.
Full Changelog: v1.3.0...v1.4.0