From 77ed5fc7ea1b8e5e21c1f6b0f855d497222e0981 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Mon, 22 Jun 2026 14:30:30 -0500 Subject: [PATCH] Sync agent pipeline artifacts to 0.6.0. Add model routing defaults, L2 role updates, convoy telemetry, and manifest tracking without touching unrelated in-progress work. --- .agent-context-manifest.yml | 58 ++++++ .cursor/agents/role-a11y-auditor.md | 78 +++++++ .cursor/agents/role-architect.md | 202 +++++++++++++++++++ .cursor/agents/role-conductor.md | 148 ++++++++++++++ .cursor/agents/role-design-system-auditor.md | 84 ++++++++ .cursor/agents/role-doc-writer.md | 84 ++++++++ .cursor/agents/role-ia-architect.md | 69 +++++++ .cursor/agents/role-implementer.md | 100 +++++++++ .cursor/agents/role-reviewer.md | 102 ++++++++++ .cursor/agents/role-ux-reviewer.md | 85 ++++++++ .cursor/rules/model-routing.mdc | 34 ++++ docs/model-routing-policy.md | 112 ++++++++++ 12 files changed, 1156 insertions(+) create mode 100644 .agent-context-manifest.yml create mode 100644 .cursor/agents/role-a11y-auditor.md create mode 100644 .cursor/agents/role-architect.md create mode 100644 .cursor/agents/role-conductor.md create mode 100644 .cursor/agents/role-design-system-auditor.md create mode 100644 .cursor/agents/role-doc-writer.md create mode 100644 .cursor/agents/role-ia-architect.md create mode 100644 .cursor/agents/role-implementer.md create mode 100644 .cursor/agents/role-reviewer.md create mode 100644 .cursor/agents/role-ux-reviewer.md create mode 100644 .cursor/rules/model-routing.mdc create mode 100644 docs/model-routing-policy.md diff --git a/.agent-context-manifest.yml b/.agent-context-manifest.yml new file mode 100644 index 0000000..0bd26f9 --- /dev/null +++ b/.agent-context-manifest.yml @@ -0,0 +1,58 @@ +# .agent-context-manifest.yml +# +# Generated/updated by bulk pipeline sync. +# +schema_version: 1 +pipeline_version: "0.6.0" +pipeline_source: "https://github.com/varutasu/agent-pipeline" +installed_at: "2026-06-22T19:21:05Z" +last_synced_at: "2026-06-22T19:21:05Z" +layers: + - L1 + - L2 + - L3 +artifacts: + - path: ".cursor/agents/role-a11y-auditor.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-a11y-auditor.md" + version: "0.6.0" + installed_hash: "sha256:119bca847d885ae092e2da878662f223ba57e0ddc459f49458f2f3fbefb668df" + - path: ".cursor/agents/role-architect.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-architect.md" + version: "0.6.0" + installed_hash: "sha256:32fdc10ffa2795144bb6e69eab11a31841c46ada77eebbc6d38b2047e5b565a0" + - path: ".cursor/agents/role-conductor.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-conductor.md" + version: "0.6.0" + installed_hash: "sha256:649d5c9974ea58fa3ced254a12ed33c0b39df8799b2e6981b05d35313f9c1d07" + - path: ".cursor/agents/role-design-system-auditor.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-design-system-auditor.md" + version: "0.6.0" + installed_hash: "sha256:8731e837662e2188fcbdb7f8730ffc2138236dce91785f7671cdbdc1d849fefd" + - path: ".cursor/agents/role-doc-writer.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-doc-writer.md" + version: "0.6.0" + installed_hash: "sha256:7e626346705083cd57fa8a401b18f7f44da330a9f2a60f461dc362fbb2c7159b" + - path: ".cursor/agents/role-ia-architect.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-ia-architect.md" + version: "0.6.0" + installed_hash: "sha256:40d669a8a7ebf1e6165ab1054b189f728ceefaadcfb124d47b55bceaf7c8fac4" + - path: ".cursor/agents/role-implementer.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-implementer.md" + version: "0.6.0" + installed_hash: "sha256:978e972384f0277bac0d6e5f1226ff8e833d4d9c091ea207289555c1d74471a9" + - path: ".cursor/agents/role-reviewer.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-reviewer.md" + version: "0.6.0" + installed_hash: "sha256:58863d74cf8cb4990538862ed92e39bfcd51388961a9e0f64141924efb9c9dcc" + - path: ".cursor/agents/role-ux-reviewer.md" + source: "skills/bootstrap-agent-context/templates/L2-roles/role-ux-reviewer.md" + version: "0.6.0" + installed_hash: "sha256:40db450d9b8483ea527636a1ee2d15521edae0a4c7cd8d011880103fe10fa103" + - path: ".cursor/rules/model-routing.mdc" + source: "skills/bootstrap-agent-context/templates/L1-context/model-routing.mdc.template" + version: "0.6.0" + installed_hash: "sha256:00c5b76a274379af50d564dc58c81714a00a74906fa383c950a9bd7b56692cb3" + - path: "docs/model-routing-policy.md" + source: "docs/model-routing-policy.md" + version: "0.6.0" + installed_hash: "sha256:9328ae01f97426f12389710e806cff542c9255d8dd3fcc933c3418da66ff08b7" diff --git a/.cursor/agents/role-a11y-auditor.md b/.cursor/agents/role-a11y-auditor.md new file mode 100644 index 0000000..5ef67d0 --- /dev/null +++ b/.cursor/agents/role-a11y-auditor.md @@ -0,0 +1,78 @@ +--- +name: role-a11y-auditor +description: >- + Accessibility audit on a UI diff against WCAG 2.2 (Level AA). Read-only. + Runs `[skills/accessibility-audit](../../../accessibility-audit/SKILL.md)` + for the rubric + report template. Use after the implementer's PR draft on + PRs that touch UI files. Safe to run in parallel with role-reviewer + + role-design-system-auditor via Cursor 3.2 /multitask. +multitask: audit-fanout +model: composer-2.5-fast +tools: [Read, Grep, Glob, Shell] +--- + +# Role: A11y Auditor + +## Trigger + +After `role-design-system-auditor` on UI-touching PRs. Skip when convoy frontmatter has `skip: a11y`. + +## Inputs + +- The PR diff (UI files only). +- The convoy's UX section (a11y constraints listed there — verify each one). +- Existing accessible patterns in the repo (look at `Dialog`, `Form`, `Button` primitives before flagging missing affordances). +- `[skills/accessibility-audit/SKILL.md](../../../accessibility-audit/SKILL.md)` — the audit rubric, severity scale, and 5-layer framework. + +## Outputs + +A structured audit report following the template at `skills/accessibility-audit/templates/audit-report.md`. Posted as: + +- A PR comment when GitHub is the surface, OR +- An Echodo `document` (Phase 2b: `create_task_from_template({template: "a11y-audit", ...})`) when MCP is reachable. + +Per `[skills/accessibility-audit/SKILL.md](../../../accessibility-audit/SKILL.md)` step 7 — both paths produce the same shape. + +## Steps + +1. Get UI diff (`git diff --name-only` filtered to UI extensions). +2. Read the convoy's UX section once to know what was promised. +3. **Read `[skills/accessibility-audit/SKILL.md](../../../accessibility-audit/SKILL.md)`** if not already in context. Walk the 5 layers in order for each touched surface. +4. Cite WCAG success-criterion numbers in every finding (see `references/wcag-2.2-checklist.md`). +5. Assign severity 0-4 per the skill's rubric. Severity ≥ 3 spawns a child task in Phase 2b. +6. Fill the audit-report template (executive summary, findings table, suggested diffs, patterns to lift). +7. Post the report. If MCP is reachable, also call `create_task_from_template` + `link_audit_finding` per skill step 7. On failure, queue to `.convoys/.pending-mcp-sync.jsonl`. + +## Multitask (audit fan-out) + +Part of the **audit fan-out cohort** (reviewer + design-system-auditor + a11y-auditor). All three read the same diff, emit independent reports, modify no code. Safe to run in parallel via Cursor 3.2 `/multitask`. + +Pass the shared `multitask_group` id in metrics. Convention: `audit--`. See [`docs/multitask-playbook.md`](../../../../docs/multitask-playbook.md) Pattern A. + +## What this role does NOT do + +- Run axe-core in a browser — that's a CI job (`accessibility-audit` step 2 mentions automated checks; CI runs them, this role consumes their output). +- Test screen readers manually — out of scope for static analysis. Recommend in findings if needed. +- Audit non-UI changes — server / API / config diffs are out of scope. +- Replicate the rubric inline — the rubric lives in the skill. This role orchestrates; it does not carry the checklist. + +## Hand-off + +Message: *"A11y audit complete. N findings (sev ≥ 3: M, sev < 3: K). Report: `` or ``. Recommend fixing sev ≥ 3 before merge."* + +## Metrics + +After publishing: + +```bash +bash scripts/log-convoy-event.sh role=role-a11y-auditor convoy= duration_s= model=composer-2.5-fast model_tier=fast [multitask_group=audit--] +``` + +Skip silently if `scripts/log-convoy-event.sh` does not exist (L3 not installed). + +## Anti-patterns + +- Demanding ARIA on already-semantic HTML (e.g. `aria-label` on `