docs(agents): reconcile agent configs with actual validation policy, trailers, and review gate#1850
Conversation
…trailers, and review gate Fixes #1818 Co-Authored-By: Claude dev-team-lead (Sonnet 4.6) <noreply@anthropic.com>
|
[security-engineer] Config-only review of #1850 (10 agent-config Scope confirmed: 1. PR Review Gate conditionality — not a new weakening The new CLAUDE.md "PR Review Gate" section makes security review conditional on file-pattern triggers (referenced from That said, since this PR elevates the trigger rules to canonical status in CLAUDE.md, worth flagging as informational for a future PR (not blocking here): the trigger patterns don't catch 2. No unsafe instructions introduced Reviewed all 10 agent files plus CLAUDE.md for anything resembling bypass-review language, protected-branch pushes, or credential handling changes. Found none — the diffs are: pre-commit-hook fiction replaced with the actual Local Validation Policy (lint:fix/format/lint before handback, CI owns full validation), canonical trailer table, wiki-ownership reconciliation, stale The 3.
Verdict: No critical/high findings. One informational recommendation (broaden Security Review Trigger Rules coverage in APPROVED |
|
🎉 This PR is included in version 2.13.0-beta.19 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
.git/hooks/has only.samplefiles). Replaced with CLAUDE.md's actual Local Validation Policy (implementing agents runlint:fix/format/lintbefore handback; CI Quality Gates own full validation).Opus 4.6line).Security-Audit.md(security-engineer) andStyle-Guide.md(ux-designer) — previously contradicted three different ways.frontend-developer.md's nonexistentfeatures/work-items/convention to match the actualpages//components/structure.docs/package.json'sdevscript now runs on--port 3001(was defaulting to 3000, colliding with the app server) — makes CLAUDE.md's already-documented port 3001 true instead of aspirational.§6/§8cross-reference, incomplete agent list indev-team-lead.md, stale frontmatter examples insecurity-engineer.md, stale "MEMORY.md is currently empty" footers (7 files, despite non-empty memory), ux-designer's self-contradictory edit-boundary, worktree-cleanup step conflicting with the (already-flipped, PR docs: flip worktree policy — clean up worktrees when work is complete #1825) worktree policy, e2e-test-engineer's malformed multiline frontmatter scalar, duplicated "persistent Persistent Agent Memory" wording + hardcoded absolute sandbox paths (10 files), and orphaned### 8.numbering in qa/e2e (moved back into their Core Responsibilities blocks).Fixes #1818
Test plan
[MODE: review])Co-Authored-By: Claude dev-team-lead (Sonnet 4.6) noreply@anthropic.com