forked from bchanot/claude
feat(a11y): skill (scan, keyboard walk, report, fix loop on the bugfix circuit), lazy rules/a11y.md, profiles, locks
This commit is contained in:
1 parent
45e3454b99
commit
60d447e544
16 files changed
+284
-7
No files matched your search
@@ -114,7 +114,7 @@ Template:
|
||||
|
||||
```markdown
|
||||
# CONTRACT — <slug>
|
||||
- date: <YYYY-MM-DD> | flow: <ship-feature|feat|bugfix|hotfix|init-project|onboard|guardrails> | branch: <branch>
|
||||
- date: <YYYY-MM-DD> | flow: <ship-feature|feat|bugfix|hotfix|init-project|onboard|guardrails|a11y> | branch: <branch>
|
||||
- status: active
|
||||
|
||||
## REQUEST (verbatim — IMMUTABLE)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
cso
|
||||
harden personal
|
||||
guardrails personal
|
||||
a11y personal
|
||||
analyze personal
|
||||
|
||||
# SEO / GEO / web standards
|
||||
|
||||
@@ -19,6 +19,7 @@ code-clean personal
|
||||
commit-change personal
|
||||
explain-diff personal
|
||||
guardrails personal
|
||||
a11y personal
|
||||
|
||||
# Dev-lifecycle skills (agent-skills trio)
|
||||
observability-and-instrumentation external
|
||||
|
||||
@@ -46,6 +46,7 @@ geo personal
|
||||
web-validate personal
|
||||
harden personal
|
||||
guardrails personal
|
||||
a11y personal
|
||||
analyze personal
|
||||
cso
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ geo personal
|
||||
web-validate personal
|
||||
harden personal
|
||||
guardrails personal
|
||||
a11y personal
|
||||
analyze personal
|
||||
cso
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ geo personal
|
||||
web-validate personal
|
||||
harden personal
|
||||
guardrails personal
|
||||
a11y personal
|
||||
analyze personal
|
||||
|
||||
# === Perf + canary ===================================================
|
||||
|
||||
@@ -28,6 +28,7 @@ refactor personal
|
||||
|
||||
# Validation companion (basic W3C/a11y check during build)
|
||||
web-validate personal
|
||||
a11y personal
|
||||
|
||||
# External: design skills
|
||||
emil-design-eng external
|
||||
|
||||
@@ -15,6 +15,7 @@ BSK="$REPO/skills/bugfix/SKILL.md"
|
||||
HOT="$REPO/agents/hotfixer.md"
|
||||
HSK="$REPO/skills/hotfix/SKILL.md"
|
||||
GSK="$REPO/skills/guardrails/SKILL.md"
|
||||
ASK="$REPO/skills/a11y/SKILL.md"
|
||||
HSKL="$REPO/skills/hotfix/SKILL.md"
|
||||
PASS=0; FAIL=0
|
||||
|
||||
@@ -79,6 +80,15 @@ tf "guardrails positive control" "$GSK" "Positive control"
|
||||
tf "guardrails approval gate" "$GSK" "Nothing is applied without the user's explicit acceptance"
|
||||
tf "guardrails re-pass baseline" "$GSK" "GUARDRAILS-NO-NEW"
|
||||
|
||||
echo "── skills/a11y/SKILL.md (fix loop reuses the bugfix circuit) ──"
|
||||
tf "a11y contract include" "$ASK" "lib/contract-interview.md"
|
||||
tf "a11y uses shared include" "$ASK" "lib/verify-secure-loop.md"
|
||||
tf "a11y dispatches bugfixer" "$ASK" 'subagent_type="bugfixer"'
|
||||
tf "a11y scanner is the oracle" "$ASK" "EXPECT: A11Y-CLEAR"
|
||||
tf "a11y positive control" "$ASK" "Positive control"
|
||||
tf "a11y approval gate" "$ASK" "Nothing is applied without the user's explicit acceptance"
|
||||
tf "a11y re-pass baseline" "$ASK" "A11Y-NO-NEW"
|
||||
|
||||
echo "── agents/bugfixer.md (bugfix executor — sonnet, no Agent) ──"
|
||||
tn "bugfixer lacks Agent tool" "$BUG" "Agent"
|
||||
tf "bugfixer model sonnet" "$BUG" "model: sonnet"
|
||||
|
||||
@@ -9,8 +9,8 @@ has() { if grep -qF "$2" "$R/$1"; then ok; else ko "$1 missing: $2"; fi; }
|
||||
lacks() { if grep -qF "$2" "$R/$1"; then ko "$1 must NOT contain: $2"; else ok; fi; }
|
||||
fm_lacks() { if awk 'NR<=10' "$R/$1" | grep -qF "$2"; then ko "$1 frontmatter must NOT contain: $2"; else ok; fi; }
|
||||
|
||||
# 1) gate wired in the 16 reflection skills (orchestrators, /analyze, /guardrails)
|
||||
for s in ship-feature init-project feat bugfix onboard seo geo web-validate harden audit-delta tour code-clean hotfix client-handover analyze guardrails; do
|
||||
# 1) gate wired in the 17 reflection skills (orchestrators, /analyze, /guardrails, /a11y)
|
||||
for s in ship-feature init-project feat bugfix onboard seo geo web-validate harden audit-delta tour code-clean hotfix client-handover analyze guardrails a11y; do
|
||||
has "skills/$s/SKILL.md" 'lib/model-gate.md'
|
||||
done
|
||||
# 2) gate NOT wired in the pure-execution/read-only skills (exclusion list)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Verify + secure loop — shared orchestrator include (feat, bugfix, guardrails)
|
||||
# Verify + secure loop — shared orchestrator include (feat, bugfix, guardrails, a11y)
|
||||
|
||||
Runs in the ORCHESTRATOR MAIN LOOP after the dev step completes. Turns a
|
||||
finished diff into a verified, security-cleared change through two fresh
|
||||
|
||||
Reference in new issue
Block a user