Skip to content

Commit e41ee0c

Browse files
authored
* fix: resolve multiple reported issues (anomalyco#205, anomalyco#182, anomalyco#188, anomalyco#172, anomalyco#173) - fix(observe.sh): replace triple-quote JSON parsing with stdin pipe to prevent ~49% parse failures on payloads with quotes/backslashes/unicode - fix(hooks.json): correct matcher syntax to use simple tool name regexes instead of unsupported logical expressions; move command/path filtering into hook scripts; use exit code 2 for blocking hooks - fix(skills): quote YAML descriptions containing colons in 3 skill files and add missing frontmatter to 2 skill files for Codex CLI compatibility - feat(rules): add paths: filters to all 15 language-specific rule files so they only load when working on matching file types - fix(agents): align model fields with CONTRIBUTING.md recommendations (opus for planner/architect, sonnet for reviewers/workers, haiku for doc-updater) * ci: use AgentShield GitHub Action instead of npx Switch from npx ecc-agentshield to uses: affaan-m/agentshield@v1 for proper GitHub Action demo and marketplace visibility.
1 parent 3bc8672 commit e41ee0c

34 files changed

Lines changed: 164 additions & 64 deletions

‎.github/workflows/security-scan.yml‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28-
- name: Setup Node.js
29-
uses: actions/setup-node@v4
28+
- name: Run AgentShield Security Scan
29+
uses: affaan-m/agentshield@v1
3030
with:
31-
node-version: '20.x'
32-
33-
- name: Run AgentShield security scan
34-
run: npx ecc-agentshield scan --path . --min-severity medium --format terminal
35-
continue-on-error: true # Informational only — ECC contains intentional config examples
31+
path: '.'
32+
min-severity: 'medium'
33+
format: 'terminal'
34+
fail-on-findings: 'false'

‎agents/build-error-resolver.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: build-error-resolver
33
description: Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur. Fixes build/type errors only with minimal diffs, no architectural edits. Focuses on getting the build green quickly.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: sonnet
66
---
77

88
# Build Error Resolver

‎agents/code-reviewer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: code-reviewer
33
description: Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.
44
tools: ["Read", "Grep", "Glob", "Bash"]
5-
model: opus
5+
model: sonnet
66
---
77

88
You are a senior code reviewer ensuring high standards of code quality and security.

‎agents/database-reviewer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: database-reviewer
33
description: PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: sonnet
66
---
77

88
# Database Reviewer

‎agents/doc-updater.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: doc-updater
33
description: Documentation and codemap specialist. Use PROACTIVELY for updating codemaps and documentation. Runs /update-codemaps and /update-docs, generates docs/CODEMAPS/*, updates READMEs and guides.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: haiku
66
---
77

88
# Documentation & Codemap Specialist

‎agents/e2e-runner.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: e2e-runner
33
description: End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: sonnet
66
---
77

88
# E2E Test Runner

‎agents/go-build-resolver.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: go-build-resolver
33
description: Go build, vet, and compilation error resolution specialist. Fixes build errors, go vet issues, and linter warnings with minimal changes. Use when Go builds fail.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: sonnet
66
---
77

88
# Go Build Error Resolver

‎agents/go-reviewer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: go-reviewer
33
description: Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance. Use for all Go code changes. MUST BE USED for Go projects.
44
tools: ["Read", "Grep", "Glob", "Bash"]
5-
model: opus
5+
model: sonnet
66
---
77

88
You are a senior Go code reviewer ensuring high standards of idiomatic Go and best practices.

‎agents/python-reviewer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: python-reviewer
33
description: Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.
44
tools: ["Read", "Grep", "Glob", "Bash"]
5-
model: opus
5+
model: sonnet
66
---
77

88
You are a senior Python code reviewer ensuring high standards of Pythonic code and best practices.

‎agents/refactor-cleaner.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: refactor-cleaner
33
description: Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.
44
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
5-
model: opus
5+
model: sonnet
66
---
77

88
# Refactor & Dead Code Cleaner

0 commit comments

Comments
 (0)