From 71757faa901804ceec60127a4dc90abb1083d1af Mon Sep 17 00:00:00 2001 From: varutasu <104105839+varutasu@users.noreply.github.com> Date: Mon, 6 Jul 2026 11:27:33 -0500 Subject: [PATCH] chore: sync agent pipeline v0.6.0 (keep local L1/L3) (#154) * 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. * Record tcg-vault interactive sync (kept local L1/L3 customizations). Update last_synced_at after reviewing behind/conflict artifacts; no overwrites applied. Co-authored-by: Cursor --------- Co-authored-by: Cursor --- .agent-context-manifest.yml | 100 ++++++----------- .convoys/README.md | 5 +- .cursor/agents/role-a11y-auditor.md | 99 ++++++---------- .cursor/agents/role-architect.md | 5 +- .cursor/agents/role-conductor.md | 34 +++++- .cursor/agents/role-design-system-auditor.md | 104 +++++++---------- .cursor/agents/role-doc-writer.md | 3 +- .cursor/agents/role-ia-architect.md | 3 +- .cursor/agents/role-implementer.md | 3 +- .cursor/agents/role-reviewer.md | 3 +- .cursor/agents/role-ux-reviewer.md | 69 +++++++----- .cursor/rules/model-routing.mdc | 34 ++++++ docs/agent-context/model-routing-policy.md | 112 +++++++++++++++++++ scripts/log-convoy-event.sh | 36 ++++-- 14 files changed, 373 insertions(+), 237 deletions(-) create mode 100644 .cursor/rules/model-routing.mdc create mode 100644 docs/agent-context/model-routing-policy.md diff --git a/.agent-context-manifest.yml b/.agent-context-manifest.yml index 7618237..ce82bb9 100644 --- a/.agent-context-manifest.yml +++ b/.agent-context-manifest.yml @@ -1,175 +1,141 @@ # .agent-context-manifest.yml # -# Generated by agent-pipeline bootstrap-agent-context skill. -# Tracks which artifacts the bootstrap installed in this repo, where they -# came from, and what pipeline version they correspond to. +# Generated/updated by bulk pipeline sync. # -# Read by the `sync-agent-context` skill to detect drift and propose updates. -# Don't edit by hand — use the bootstrap or sync skill in Cursor. -# -# Schema: https://github.com/varutasu/agent-pipeline/blob/main/docs/manifest-schema.md - schema_version: 1 -pipeline_version: "0.5.0" +pipeline_version: "0.6.0" pipeline_source: "https://github.com/varutasu/agent-pipeline" installed_at: "2026-05-22T22:25:00Z" -last_synced_at: "2026-05-22T22:25:00Z" - +last_synced_at: "2026-06-22T19:48:24Z" layers: - L1 - L2 - L3 - -# Notes: -# - AGENTS.md is hand-curated per-repo — NOT tracked (always shows drift) -# - docs/SCHEMA_MAP.md is hand-curated per-repo — NOT tracked -# - .convoys/.md files are runtime outputs — NOT tracked artifacts: - path: ".convoys/README.md" source: "skills/bootstrap-agent-context/templates/L3-pipeline/_common/convoys-readme.md.template" - version: "0.5.0" - installed_hash: "sha256:a48548cd3f5d0c40fc179106890661c3be5fcdc13eb705af7cfe9233e0b8b209" - + version: "0.6.0" + installed_hash: "sha256:12bedb29aeecfd6fddd04a96b60ac9cd65a453c4ef18d0086274a36520ebc68f" - path: ".cursor/agents/role-a11y-auditor.md" source: "skills/bootstrap-agent-context/templates/L2-roles/role-a11y-auditor.md" - version: "0.5.0" - installed_hash: "sha256:a59938deceb0246ebd7e477f1f9a442102f9fcbb81b0364f0ddc5f86e95a7930" - + 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.5.0" - installed_hash: "sha256:269bd62af1557c5d353a9f95a613960e3434be4ec6e0c0b5f6b099adf6872044" - + 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.5.0" - installed_hash: "sha256:bc75a3e6646217a015f7bb60c3610afd9b57ae91c7d2fc7a7971f4709b19368a" - + 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.5.0" - installed_hash: "sha256:d214cecb1e8482fc24f2815c8220c860191f08526614f89cf9a5797e4ee9110a" - + 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.5.0" - installed_hash: "sha256:d4e8bf8cee93153506b7b742848462422dbe5cc7fd012c62f6ffd50460e344d4" - + 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.5.0" - installed_hash: "sha256:69685a3a407c4ee25e2606d426c3107d6b917abee80f907e16ade4a16b439839" - + 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.5.0" - installed_hash: "sha256:b4f4d8596068679b90ffc3a2b6d2e1b6548caf8c68a50f7ed640ba8f638c1c4c" - + 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.5.0" - installed_hash: "sha256:1ff38349321402a0ac2be37878dc2c0bcab62e54caf74c422b919aa6d75f9b67" - + 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.5.0" - installed_hash: "sha256:3a1d4b66981f469b15e23a1cd34ab41352759966179e126b3d56ddc1eca4a03e" - + version: "0.6.0" + installed_hash: "sha256:40db450d9b8483ea527636a1ee2d15521edae0a4c7cd8d011880103fe10fa103" - path: ".cursor/rules/api-routes.mdc" source: "skills/bootstrap-agent-context/templates/L1-context/api-routes.mdc.template" version: "0.5.0-local" installed_hash: "sha256:54cd66d71f5a129a67d0f4b1797f5f63b7f9aae3eeabe67217861456ff4db59b" - - path: ".cursor/rules/auth-and-permissions.mdc" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:9b7eb7bea0cad0e43d0e9442eb8b660945cb6935f9f7c82fd7d7d71d66b39a2d" - - path: ".cursor/rules/db-and-schema.mdc" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:83df2cf7121722a092f85165b1a93c755ce57e5361e0f6b2ecc74e9f928c5015" - + - 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: ".cursor/rules/no-go-zones.mdc" source: "skills/bootstrap-agent-context/templates/L1-context/no-go-zones.mdc" version: "0.5.0-local" installed_hash: "sha256:aa7046bc3e0266cb3c9b0eb0ef8f68cc50d6837f65c96861804ff81b9c4afa64" - - path: ".cursor/rules/schema-map.mdc" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:3429bad56384117dc81873b337a6d815bd53799389f7908dedb53dbb7642bced" - - path: ".cursor/rules/ui-and-theming.mdc" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:b841ddda5baa47a76c3726a3c92b2c82a45120fdd461b3243bf970479d1cf1df" - - path: ".cursor/skills/add-api-route/SKILL.md" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:0e29f7e994a51e5a40b8308edab08ee9c1f713e297d68e98029294d8ca568cc7" - - path: ".cursor/skills/add-page/SKILL.md" source: "tcg-vault-local" version: "0.5.0-local" installed_hash: "sha256:318912077a6ced6a3a31f85dc15d069bf7627c161b6735e3fa259ca10766daa9" - - path: ".github/CODEOWNERS" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs/CODEOWNERS.template" version: "0.5.0-local" installed_hash: "sha256:b714a0a011776300abeab92fe8969f150c273c37d0d6b37c1ad2eb67d47decda" - - path: ".github/PULL_REQUEST_TEMPLATE.md" source: "skills/bootstrap-agent-context/templates/L3-pipeline/_common/PULL_REQUEST_TEMPLATE.md.template" version: "0.5.0" installed_hash: "sha256:89863e58b9ec194aef1c94d3596e892467833e8bc880a28994acca401b6d9635" - - path: ".github/workflows/agent-context-drift.yml" source: "skills/bootstrap-agent-context/templates/L3-pipeline/_common/agent-context-drift.yml.template" version: "0.5.0" installed_hash: "sha256:5505c296c1b61d023ee2aca222103097e2b5ed2e0e38da3679cc4f9754457785" - - path: ".github/workflows/ci.yml" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs/ci.yml.template" version: "0.5.0-local" installed_hash: "sha256:6aff7a1c9f2e42606580c241b6dadca7c2d8550aeb959bd69fdd843eb9097cac" - - path: ".github/workflows/pr-health-rollup.yml" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs-prisma-vercel/pr-health-rollup.yml.template" version: "0.5.0-local" installed_hash: "sha256:8747674323807d84395fa027b25e7e27881c5e6b0cc87a138d9cb3f78fd88956" - - path: ".github/workflows/preview-smoke.yml" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs-prisma-vercel/preview-smoke.yml.template" version: "0.5.0-local" installed_hash: "sha256:2e71026b09db8b2f32b6a868d705489600c875082d6320c2369bf2f5ebc315b8" - - path: ".github/workflows/visual-diff.yml" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs-prisma-vercel/visual-diff.yml.template" version: "0.5.0-local" installed_hash: "sha256:88270b1fa59aba99591ec094764dd367deed956bcb746ac6bb195241b3a7dae1" - - path: "docs/agent-context/README.md" source: "skills/bootstrap-agent-context/templates/L1-context/agent-context-readme.md.template" version: "0.5.0-local" installed_hash: "sha256:095b9cc6a30327114c9ddfb4ff57a5fde76b213e12b1c5574a1f96205d60dbad" - + - path: "docs/agent-context/model-routing-policy.md" + source: "docs/model-routing-policy.md" + version: "0.6.0" + installed_hash: "sha256:9328ae01f97426f12389710e806cff542c9255d8dd3fcc933c3418da66ff08b7" - path: "lib/flags/index.js" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs-prisma-vercel/flags-index.ts.template" version: "0.5.0-local" installed_hash: "sha256:1a3cd1f900194eaf4ec86588dd1c3c2bff6a565e742061fc911abdd47bd5f3a5" - - path: "scripts/log-convoy-event.sh" source: "skills/bootstrap-agent-context/templates/L3-pipeline/_common/log-convoy-event.sh" - version: "0.5.0" - installed_hash: "sha256:cd0413691066a177b6b4e6164a9a0978c20a853ad60222ae833b5d53b255818d" - + version: "0.6.0" + installed_hash: "sha256:52bdc8f60b18315dd8ad0f1dd6b727106dfa134b8769b0cd63d8698d5865cf21" - path: "scripts/wt.sh" source: "skills/bootstrap-agent-context/templates/L3-pipeline/_common/wt.sh" version: "0.5.0" installed_hash: "sha256:2a4f44a159f80a8ea6fe53ac507c01a2f91a4e2118d997a98b051808ac35e9a5" - - path: "tests/smoke/app.smoke.spec.ts" source: "skills/bootstrap-agent-context/templates/L3-pipeline/nextjs-prisma-vercel/playwright-smoke.spec.ts.template" version: "0.5.0" diff --git a/.convoys/README.md b/.convoys/README.md index 07502c4..9790199 100644 --- a/.convoys/README.md +++ b/.convoys/README.md @@ -27,6 +27,9 @@ skip: - status: open | in-progress | merged | shipped | abandoned created: +model_policy: + default_session: auto + roles: { ... } # see docs/model-routing-policy.md --- ``` @@ -117,5 +120,5 @@ npx tsx render-dashboard.ts open ~/agent-pipeline-data/dashboard.html ``` -Schema: [`analytics/schemas/convoy-event.json`](https://github.com/varutasu/agent-pipeline/blob/main/analytics/schemas/convoy-event.json). +Schema: [`analytics/schemas/convoy-event.json`](https://github.com/varutasu/agent-pipeline/blob/main/analytics/schemas/convoy-event.json). Model tiers: [`docs/model-routing-policy.md`](https://github.com/varutasu/agent-pipeline/blob/main/docs/model-routing-policy.md). diff --git a/.cursor/agents/role-a11y-auditor.md b/.cursor/agents/role-a11y-auditor.md index ddd7031..5ef67d0 100644 --- a/.cursor/agents/role-a11y-auditor.md +++ b/.cursor/agents/role-a11y-auditor.md @@ -1,13 +1,13 @@ --- name: role-a11y-auditor description: >- - Accessibility audit on a UI diff. Checks for missing labels, keyboard - navigation, focus management, color contrast, semantic HTML, and ARIA - correctness. Read-only. Use after the implementer's PR draft on PRs that - touch UI files. Does not require a browser MCP — works from the diff + - static analysis. Safe to run in parallel with role-reviewer + + 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] --- @@ -20,86 +20,59 @@ After `role-design-system-auditor` on UI-touching PRs. Skip when convoy frontmat ## Inputs - The PR diff (UI files only). -- The convoy's UX section (which already lists a11y constraints — verify the implementer satisfied them). -- Existing accessible patterns in the repo (look at existing `Dialog`, `Form`, `Button` primitives). +- 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 comment for the PR Health rollup: +A structured audit report following the template at `skills/accessibility-audit/templates/audit-report.md`. Posted as: -```markdown -## A11y Audit +- 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. -| Check | Status | Count | -| --- | --- | --- | -| Labels | ✅ / ❌ | | -| Keyboard nav | ✅ / ❌ | | -| Focus management | ✅ / ❌ | | -| Color contrast | ✅ / ⚠️ | | -| Semantic HTML | ✅ / ❌ | | -| ARIA correctness | ✅ / ⚠️ | | -| UX constraint match | ✅ / ❌ | | - -### Critical (must fix) -- -... - -### Warnings (recommended) -- -... - -### Notes -- ... -``` - -## Checklist (apply per file) - -1. **Labels**: every ``, `