Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Avila e42e8ba19c fix: remove shorthand model names causing 404 API errors (#453)
Remove `model: sonnet/haiku/opus` from 396 component files. The Anthropic
API requires full model IDs (e.g., claude-sonnet-4-6), so shorthand names
cause 404 errors. Removing the field lets Claude Code use the user's
configured default model instead.

Fixes #99

https://claude.ai/code/session_01Hqx78XZNbdfh38YGZn4g4T

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-25 20:19:17 -04:00
Mónica González Paz fc83c2a9c4 feat: enterprise quality hooks and agents from pm-workspace (#397)
* feat: add enterprise quality hooks and agents from pm-workspace

Add 3 quality gate hooks and 2 specialized agents contributed from
pm-workspace (https://github.com/gonzalezpazmonica/pm-workspace):

Hooks (new category: quality-gates/):
- tdd-gate: Enforces TDD — blocks editing production code without tests
- plan-gate: Warns about implementing without an approved specification
- scope-guard: Detects files modified outside the declared spec scope

Agents:
- sdd-spec-writer: Creates executable specifications for AI agents
- commit-guardian: 10-check pre-commit verification protocol

All components are generic (no Azure DevOps dependency), MIT licensed,
and follow the project's component structure conventions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address all 12 cubic review issues on enterprise hooks and agents

Fixes applied per cubic-dev-ai review:

Hooks (JSON configs):
- Add MultiEdit matcher to tdd-gate, plan-gate (was bypassing gate)
- Use $CLAUDE_PROJECT_DIR for all hook paths (avoid CWD-dependent failures)

tdd-gate.sh:
- Narrow test file globs: use suffix-based patterns (*Test.ext, *.test.ext)
  instead of overly broad *test* substring match (P1 fix)
- Improve test discovery: search nearby dirs first (same module), fallback
  to project-wide with -maxdepth 6 to limit latency on large repos

plan-gate.sh:
- Remove `set -euo pipefail` that caused unintentional blocking when find
  fails on non-existent dirs
- Add `|| true` to find to prevent exit-on-error

scope-guard.sh:
- Fix spec selection: use -printf '%T@ %p' sorted by mtime (not path sort)
  with macOS fallback using xargs ls -t
- Broaden declared-file regex: support longer extensions and @ in paths
- Fix word-splitting: use while-read loop instead of unquoted for-in
- Fix matching: use case-based suffix match instead of substring grep

commit-guardian.md:
- CHECK 3: Fix Python build command (per-file py_compile, not bare)
- CHECK 3: Add Go and Rust build detection, add SKIP when no build system
- CHECK 10: Change from WARN to BLOCK for malformed commit messages

sdd-spec-writer.md:
- Add explicit .spec.md naming convention requirement (quality gate hooks
  depend on this filename pattern for spec detection)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address cubic review round 2 — null-delimit macOS fallback, existence-only spec check

- scope-guard.sh: use -print0/xargs -0 for macOS fallback to handle
  paths with spaces safely (cubic P2)
- plan-gate.sh: replace full enumeration with find -print -quit for
  existence-only check, avoiding unnecessary latency in large repos
  (cubic P2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:17:40 -05:00
Daniel Avila 93b26a24e8 feat: Migrate 119 agents from VoltAgent/awesome-claude-code-subagents (#340) 2026-02-07 18:19:47 -05:00
Dani b7c9eb1990 update agents 2025-10-01 14:49:11 -04:00