@appsforgood/next-supabase-kit 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +22 -555
  3. package/UPGRADE.md +18 -73
  4. package/USER_GUIDE.html +808 -0
  5. package/USER_GUIDE.md +183 -0
  6. package/agents/app-engineer/agent.md +34 -0
  7. package/agents/copy/agent.md +40 -0
  8. package/agents/design/agent.md +33 -0
  9. package/agents/optional/deploy/agent.md +18 -0
  10. package/agents/optional/docs/agent.md +16 -0
  11. package/agents/optional/lead-architect/agent.md +20 -0
  12. package/agents/optional/research/agent.md +16 -0
  13. package/agents/planner/agent.md +37 -0
  14. package/agents/qa/agent.md +37 -0
  15. package/agents/security/agent.md +30 -0
  16. package/assistant-adapters/cursor-agent-kit.mdc +5 -26
  17. package/catalog.json +21 -0
  18. package/dist/index.js +931 -8227
  19. package/dist/index.js.map +1 -1
  20. package/examples/next-supabase-installed/.agent-kit/config.json +23 -26
  21. package/examples/next-supabase-installed/.agent-kit/manifest.json +83 -222
  22. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/browser-qa.toml +6 -0
  23. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/copy.toml +6 -0
  24. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/frontend.toml +6 -0
  25. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/plan.toml +6 -0
  26. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/security.toml +6 -0
  27. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +6 -0
  28. package/examples/next-supabase-installed/.antigravity/agent-kit/commands/test.toml +6 -0
  29. package/examples/next-supabase-installed/.antigravity/agent-kit/plugin.json +12 -0
  30. package/examples/next-supabase-installed/.antigravity/runtime-skills/accessibility-wcag/SKILL.md +26 -0
  31. package/examples/next-supabase-installed/.antigravity/runtime-skills/browser-qa/SKILL.md +67 -0
  32. package/examples/next-supabase-installed/.antigravity/runtime-skills/deslop/SKILL.md +62 -0
  33. package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +107 -0
  34. package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +23 -0
  35. package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +23 -0
  36. package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +25 -0
  37. package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +21 -0
  38. package/examples/next-supabase-installed/.antigravity/runtime-skills/product-copy/SKILL.md +54 -0
  39. package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +22 -0
  40. package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +23 -0
  41. package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +27 -0
  42. package/examples/next-supabase-installed/.claude/agents/app-engineer.md +34 -0
  43. package/examples/next-supabase-installed/.claude/agents/copy.md +40 -0
  44. package/examples/next-supabase-installed/.claude/agents/design.md +33 -0
  45. package/examples/next-supabase-installed/.claude/agents/planner.md +37 -0
  46. package/examples/next-supabase-installed/.claude/agents/qa.md +37 -0
  47. package/examples/next-supabase-installed/.claude/agents/security.md +30 -0
  48. package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +41 -0
  49. package/examples/next-supabase-installed/.codex/agents/copy.toml +47 -0
  50. package/examples/next-supabase-installed/.codex/agents/design.toml +40 -0
  51. package/examples/next-supabase-installed/.codex/agents/planner.toml +44 -0
  52. package/examples/next-supabase-installed/.codex/agents/qa.toml +44 -0
  53. package/examples/next-supabase-installed/.codex/agents/security.toml +37 -0
  54. package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +34 -0
  55. package/examples/next-supabase-installed/.cursor/agents/copy.md +40 -0
  56. package/examples/next-supabase-installed/.cursor/agents/design.md +33 -0
  57. package/examples/next-supabase-installed/.cursor/agents/planner.md +37 -0
  58. package/examples/next-supabase-installed/.cursor/agents/qa.md +37 -0
  59. package/examples/next-supabase-installed/.cursor/agents/security.md +30 -0
  60. package/examples/next-supabase-installed/.cursor/rules/cursor-agent-kit.mdc +12 -0
  61. package/examples/next-supabase-installed/.cursor/skills/accessibility-wcag/SKILL.md +26 -0
  62. package/examples/next-supabase-installed/.cursor/skills/browser-qa/SKILL.md +67 -0
  63. package/examples/next-supabase-installed/.cursor/skills/deslop/SKILL.md +62 -0
  64. package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +107 -0
  65. package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +23 -0
  66. package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +23 -0
  67. package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +25 -0
  68. package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +21 -0
  69. package/examples/next-supabase-installed/.cursor/skills/product-copy/SKILL.md +54 -0
  70. package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +22 -0
  71. package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +23 -0
  72. package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +27 -0
  73. package/examples/next-supabase-installed/.github/copilot-instructions.md +23 -0
  74. package/examples/next-supabase-installed/AGENTS.md +30 -0
  75. package/examples/next-supabase-installed/CLAUDE.md +7 -0
  76. package/examples/next-supabase-installed/README.md +2 -14
  77. package/examples/next-supabase-installed/USER_GUIDE.html +808 -0
  78. package/examples/next-supabase-installed/USER_GUIDE.md +183 -0
  79. package/examples/next-supabase-installed/skills/accessibility-wcag/SKILL.md +26 -0
  80. package/examples/next-supabase-installed/skills/browser-qa/SKILL.md +67 -0
  81. package/examples/next-supabase-installed/skills/deslop/SKILL.md +62 -0
  82. package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +107 -0
  83. package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +23 -0
  84. package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +23 -0
  85. package/examples/next-supabase-installed/skills/planning/SKILL.md +25 -0
  86. package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +21 -0
  87. package/examples/next-supabase-installed/skills/product-copy/SKILL.md +54 -0
  88. package/examples/next-supabase-installed/skills/ship/SKILL.md +22 -0
  89. package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +23 -0
  90. package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +27 -0
  91. package/examples/next-supabase-installed/tree.txt +60 -42
  92. package/package.json +20 -46
  93. package/research/agent-skill-gap-report.md +133 -0
  94. package/skills/accessibility-wcag/SKILL.md +26 -0
  95. package/skills/browser-qa/SKILL.md +67 -0
  96. package/skills/deslop/SKILL.md +62 -0
  97. package/skills/frontend-design/SKILL.md +107 -0
  98. package/skills/nextjs-app-router/SKILL.md +23 -0
  99. package/skills/optional/debug/SKILL.md +11 -0
  100. package/skills/optional/docs/SKILL.md +10 -0
  101. package/skills/optional/ui-polish/SKILL.md +10 -0
  102. package/skills/optional/upgrade/SKILL.md +10 -0
  103. package/skills/owasp-security-review/SKILL.md +23 -0
  104. package/skills/planning/SKILL.md +25 -0
  105. package/skills/postgres-migrations/SKILL.md +21 -0
  106. package/skills/product-copy/SKILL.md +54 -0
  107. package/skills/ship/SKILL.md +22 -0
  108. package/skills/supabase-auth-rls/SKILL.md +23 -0
  109. package/skills/testing-qa/SKILL.md +27 -0
  110. package/templates/next-supabase/AGENTS.md +19 -129
  111. package/templates/next-supabase/CLAUDE.md +4 -36
  112. package/BEST_PRACTICE_EVIDENCE.md +0 -45
  113. package/DOGFOOD.md +0 -201
  114. package/GOVERNANCE.md +0 -45
  115. package/LOOP_CODING.md +0 -107
  116. package/MAINTAINER_RELEASE.md +0 -100
  117. package/REPOSITORY_SETTINGS.md +0 -83
  118. package/RESEARCH_CITATION_POLICY.md +0 -26
  119. package/SUPPLY_CHAIN.md +0 -57
  120. package/agents/deployment-observability-engineer.md +0 -13
  121. package/agents/docs-maintainer.md +0 -17
  122. package/agents/frontend-design-lead.md +0 -22
  123. package/agents/lead-architect.md +0 -25
  124. package/agents/marketing-copy-lead.md +0 -20
  125. package/agents/nextjs-engineer.md +0 -20
  126. package/agents/planner.md +0 -20
  127. package/agents/qa-engineer.md +0 -19
  128. package/agents/research-analyst.md +0 -13
  129. package/agents/security-reviewer.md +0 -16
  130. package/agents/supabase-postgres-engineer.md +0 -19
  131. package/antigravity/commands/accessibility-pass.toml +0 -16
  132. package/antigravity/commands/audit.toml +0 -16
  133. package/antigravity/commands/browser-qa.toml +0 -18
  134. package/antigravity/commands/copy.toml +0 -16
  135. package/antigravity/commands/distinctiveness-pass.toml +0 -16
  136. package/antigravity/commands/frontend.toml +0 -18
  137. package/antigravity/commands/handoff.toml +0 -16
  138. package/antigravity/commands/layout-cleanup.toml +0 -16
  139. package/antigravity/commands/plan.toml +0 -18
  140. package/antigravity/commands/responsive-cleanup.toml +0 -16
  141. package/antigravity/commands/review.toml +0 -16
  142. package/antigravity/commands/screenshot-critique.toml +0 -16
  143. package/antigravity/commands/security.toml +0 -16
  144. package/antigravity/commands/setup.toml +0 -16
  145. package/antigravity/commands/ship.toml +0 -17
  146. package/antigravity/commands/spec.toml +0 -17
  147. package/antigravity/commands/test.toml +0 -17
  148. package/antigravity/commands/ui-audit.toml +0 -17
  149. package/antigravity/commands/ui-polish.toml +0 -17
  150. package/antigravity/commands/upgrade.toml +0 -17
  151. package/antigravity/plugin.json +0 -70
  152. package/assistant-adapters/antigravity.md +0 -65
  153. package/assistant-adapters/claude-code-subagents.md +0 -38
  154. package/assistant-adapters/codex-agents.md +0 -53
  155. package/assistant-adapters/cursor-frontend.mdc +0 -16
  156. package/assistant-adapters/cursor-planner.mdc +0 -14
  157. package/assistant-adapters/cursor-security.mdc +0 -18
  158. package/assistant-adapters/github-copilot-instructions.md +0 -35
  159. package/assistant-adapters/github-next-supabase.instructions.md +0 -28
  160. package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +0 -32
  161. package/assistant-adapters/model-selection/codex-config.example.toml +0 -32
  162. package/assistant-adapters/model-selection/cursor-model-selection.mdc +0 -24
  163. package/assistant-adapters/model-selection/github-copilot-model-selection.md +0 -20
  164. package/assistant-adapters/orchestrator-runtime.md +0 -39
  165. package/checklists/accessibility.md +0 -12
  166. package/checklists/agent-council.md +0 -13
  167. package/checklists/brand-content.md +0 -15
  168. package/checklists/deployment.md +0 -10
  169. package/checklists/design-critique.md +0 -13
  170. package/checklists/frontend-distinctiveness.md +0 -12
  171. package/checklists/frontend-product-quality.md +0 -13
  172. package/checklists/frontend-quality.md +0 -21
  173. package/checklists/marketing-copy.md +0 -11
  174. package/checklists/owasp.md +0 -12
  175. package/checklists/rls.md +0 -10
  176. package/checklists/testing.md +0 -12
  177. package/checklists/ui-acceptance-rubric.md +0 -58
  178. package/checklists/ui-detectors.md +0 -81
  179. package/checklists/upgrade.md +0 -13
  180. package/checklists/visual-regression.md +0 -11
  181. package/design-adapters/claude-design.prompt.md +0 -27
  182. package/design-adapters/figma.prompt.md +0 -18
  183. package/design-adapters/google-stitch.prompt.md +0 -36
  184. package/design-adapters/human-designer-brief.prompt.md +0 -36
  185. package/design-briefs/admin-dashboard.md +0 -21
  186. package/design-briefs/ai-workflow-product.md +0 -25
  187. package/design-briefs/community-social.md +0 -26
  188. package/design-briefs/content-app.md +0 -21
  189. package/design-briefs/ecommerce.md +0 -25
  190. package/design-briefs/education-course.md +0 -25
  191. package/design-briefs/marketplace.md +0 -21
  192. package/design-briefs/portfolio-venue.md +0 -25
  193. package/design-briefs/saas.md +0 -21
  194. package/design-briefs/tool.md +0 -21
  195. package/examples/next-supabase-installed/.agent-kit/agent-roster.json +0 -267
  196. package/examples/next-supabase-installed/.agent-kit/model-routing.json +0 -171
  197. package/examples/next-supabase-installed/.agent-kit/overrides.json +0 -3
  198. package/examples/next-supabase-installed/audit-output.json +0 -405
  199. package/model-routing/default-model-routing.json +0 -171
  200. package/profiles/admin-app.md +0 -17
  201. package/profiles/content-app.md +0 -17
  202. package/profiles/marketplace.md +0 -17
  203. package/profiles/saas.md +0 -17
  204. package/profiles/stack-next-firebase.md +0 -25
  205. package/profiles/stack-next-postgres.md +0 -24
  206. package/profiles/stack-remix-supabase.md +0 -24
  207. package/prompts/audit-project-setup.md +0 -28
  208. package/prompts/brand-content-intake.md +0 -17
  209. package/prompts/copy-review.md +0 -15
  210. package/prompts/council-session-review.md +0 -17
  211. package/prompts/creative-direction-matrix.md +0 -22
  212. package/prompts/design-critique-gate.md +0 -28
  213. package/prompts/docs-update.md +0 -16
  214. package/prompts/frontend-design-review.md +0 -35
  215. package/prompts/frontend-distinctiveness-benchmark.md +0 -32
  216. package/prompts/frontend-product-quality-scorecard.md +0 -35
  217. package/prompts/implement-feature.md +0 -14
  218. package/prompts/lifecycle-command-index.md +0 -180
  219. package/prompts/migration-review.md +0 -14
  220. package/prompts/screenshot-review.md +0 -28
  221. package/prompts/security-review.md +0 -17
  222. package/prompts/ui-command-index.md +0 -124
  223. package/prompts/upgrade-review.md +0 -18
  224. package/prompts/visual-qa-plan.md +0 -16
  225. package/research/proposed-updates.md +0 -70
  226. package/research/scan-config.json +0 -261
  227. package/research/scan-plan.md +0 -24
  228. package/research/summaries/.gitkeep +0 -1
  229. package/research/summaries/agent-workflow-patterns.md +0 -37
  230. package/research/summaries/agentic-engineering-maturity-levels.md +0 -54
  231. package/research/summaries/creative-design-patterns.md +0 -38
  232. package/research/summaries/design-critique-patterns.md +0 -34
  233. package/research/summaries/docs-and-agent-patterns.md +0 -64
  234. package/research/summaries/dogfood-adoption-patterns.md +0 -33
  235. package/research/summaries/frontend-design-patterns.md +0 -64
  236. package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +0 -38
  237. package/research/summaries/frontend-product-quality-rubric-patterns.md +0 -37
  238. package/research/summaries/maturity-model-patterns.md +0 -29
  239. package/research/summaries/nextjs-patterns.md +0 -65
  240. package/research/summaries/repo-health-patterns.md +0 -41
  241. package/research/summaries/scan-overview.md +0 -46
  242. package/research/summaries/security-patterns.md +0 -64
  243. package/research/summaries/supabase-rls-patterns.md +0 -54
  244. package/research/summaries/supply-chain-patterns.md +0 -38
  245. package/research/summaries/testing-patterns.md +0 -63
  246. package/research/summaries/upgrade-lifecycle-patterns.md +0 -26
  247. package/research/summaries/visual-qa-patterns.md +0 -39
  248. package/rosters/next-supabase-default-council.json +0 -267
  249. package/runtime-skills/README.md +0 -7
  250. package/runtime-skills/accessibility-wcag/SKILL.md +0 -8
  251. package/runtime-skills/agent-handoff-tracing/SKILL.md +0 -8
  252. package/runtime-skills/best-practice-maturity-review/SKILL.md +0 -8
  253. package/runtime-skills/content-first-design/SKILL.md +0 -8
  254. package/runtime-skills/conversion-copywriting/SKILL.md +0 -8
  255. package/runtime-skills/deployment-observability/SKILL.md +0 -8
  256. package/runtime-skills/docs-maintainer/SKILL.md +0 -8
  257. package/runtime-skills/frontend-design-system/SKILL.md +0 -8
  258. package/runtime-skills/frontend-distinctiveness-benchmark/SKILL.md +0 -8
  259. package/runtime-skills/frontend-product-quality-rubric/SKILL.md +0 -8
  260. package/runtime-skills/landing-page-copy/SKILL.md +0 -8
  261. package/runtime-skills/nextjs-app-router/SKILL.md +0 -8
  262. package/runtime-skills/onboarding-empty-state-copy/SKILL.md +0 -8
  263. package/runtime-skills/owasp-security-review/SKILL.md +0 -8
  264. package/runtime-skills/planning-council/SKILL.md +0 -8
  265. package/runtime-skills/positioning-messaging/SKILL.md +0 -8
  266. package/runtime-skills/postgres-migrations/SKILL.md +0 -8
  267. package/runtime-skills/product-voice-tone/SKILL.md +0 -8
  268. package/runtime-skills/reference-led-design-critique/SKILL.md +0 -8
  269. package/runtime-skills/supabase-auth-rls/SKILL.md +0 -8
  270. package/runtime-skills/testing-qa/SKILL.md +0 -8
  271. package/runtime-skills/ui-improvement-harness/SKILL.md +0 -12
  272. package/runtime-skills/upgrade-maintenance/SKILL.md +0 -8
  273. package/runtime-skills/visual-regression-qa/SKILL.md +0 -8
  274. package/schemas/agent-roster.schema.json +0 -54
  275. package/schemas/agentic-level.schema.json +0 -47
  276. package/schemas/audit-report-v2.schema.json +0 -71
  277. package/schemas/audit-report.schema.json +0 -50
  278. package/schemas/correction-rules.schema.json +0 -32
  279. package/schemas/council-session.schema.json +0 -65
  280. package/schemas/model-routing.schema.json +0 -72
  281. package/schemas/onboarding-state.schema.json +0 -36
  282. package/schemas/orchestrator.schema.json +0 -167
  283. package/schemas/project-context.schema.json +0 -94
  284. package/schemas/runtime-event.schema.json +0 -66
  285. package/schemas/runtime-run.schema.json +0 -58
  286. package/schemas/session-event.schema.json +0 -48
  287. package/schemas/studio-session.schema.json +0 -48
  288. package/skills/accessibility-wcag.md +0 -15
  289. package/skills/agent-handoff-tracing.md +0 -44
  290. package/skills/best-practice-maturity-review.md +0 -26
  291. package/skills/content-first-design.md +0 -50
  292. package/skills/conversion-copywriting.md +0 -38
  293. package/skills/deployment-observability.md +0 -14
  294. package/skills/docs-maintainer.md +0 -19
  295. package/skills/frontend-design-system.md +0 -68
  296. package/skills/frontend-distinctiveness-benchmark.md +0 -40
  297. package/skills/frontend-product-quality-rubric.md +0 -59
  298. package/skills/landing-page-copy.md +0 -29
  299. package/skills/nextjs-app-router.md +0 -18
  300. package/skills/onboarding-empty-state-copy.md +0 -37
  301. package/skills/owasp-security-review.md +0 -19
  302. package/skills/planning-council.md +0 -21
  303. package/skills/positioning-messaging.md +0 -42
  304. package/skills/postgres-migrations.md +0 -14
  305. package/skills/product-voice-tone.md +0 -35
  306. package/skills/reference-led-design-critique.md +0 -48
  307. package/skills/supabase-auth-rls.md +0 -20
  308. package/skills/testing-qa.md +0 -15
  309. package/skills/ui-improvement-harness.md +0 -96
  310. package/skills/upgrade-maintenance.md +0 -32
  311. package/skills/visual-regression-qa.md +0 -42
  312. package/templates/next-supabase/.agent-kit/orchestrator.json +0 -48
  313. package/templates/next-supabase/.agent-kit/runtime/gitignore.template +0 -2
  314. package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +0 -34
  315. package/templates/next-supabase/AGENT_ROSTER.md +0 -101
  316. package/templates/next-supabase/ASSISTANT_ADAPTERS.md +0 -146
  317. package/templates/next-supabase/COUNCIL.md +0 -54
  318. package/templates/next-supabase/DECISIONS.md +0 -87
  319. package/templates/next-supabase/DEPLOYMENT.md +0 -51
  320. package/templates/next-supabase/DESIGN.md +0 -180
  321. package/templates/next-supabase/DOCS.md +0 -80
  322. package/templates/next-supabase/LOOP_CODING.md +0 -98
  323. package/templates/next-supabase/MESSAGING.md +0 -81
  324. package/templates/next-supabase/MODEL_ROUTING.md +0 -130
  325. package/templates/next-supabase/QUALITY_GATES.md +0 -98
  326. package/templates/next-supabase/SKILLS.md +0 -235
  327. package/templates/next-supabase/SPEC.md +0 -122
  328. package/templates/next-supabase/STYLE_GUIDE.md +0 -121
  329. package/templates/next-supabase/TESTING.md +0 -107
@@ -1,80 +0,0 @@
1
- # Developer Docs
2
-
3
- ## Setup
4
-
5
- Document local setup:
6
-
7
- ```bash
8
- npm install
9
- npm run dev
10
- ```
11
-
12
- Add required environment variables in `.env.example`. Never place real secrets in docs.
13
-
14
- Run `agent-kit setup` to open Agent Office. The office and wizard show **Agentic Engineering Level** (L3–L6 computed from audit/adapter/context signals). See `LOOP_CODING.md` and kit `DOCS.md` for climb patterns. Do not confuse Agentic L5/L6 with audit readiness or visual QA tiers.
15
-
16
- ## Architecture Overview
17
-
18
- Document:
19
-
20
- - Agent council routing in `.agent-kit/agent-roster.json`
21
- - Assistant activation surfaces in `ASSISTANT_ADAPTERS.md`
22
- - Optional runtime adapter surfaces such as `.antigravity/agent-kit/` and `.antigravity/runtime-skills/`
23
- - Optional executable orchestration in `@appsforgood/agent-kit-runtime`, configured by `.agent-kit/orchestrator.json`
24
- - Model profile routing in `MODEL_ROUTING.md` and `.agent-kit/model-routing.json`
25
- - Council-session evidence in `COUNCIL.md`
26
- - Agent, council-session, model-routing, and audit-report schemas in `.agent-kit/schemas/`
27
- - Quality gate maturity model in `QUALITY_GATES.md`
28
- - Upgrade lifecycle in `UPGRADE.md`
29
- - Design identity and content-direction contract in `DESIGN.md`
30
- - Messaging, positioning, proof, objections, voice, and CTA contract in `MESSAGING.md`
31
- - Application routes
32
- - Shared components
33
- - Server-only modules
34
- - Supabase client creation
35
- - Auth middleware
36
- - Migrations and seed data
37
- - Test setup
38
-
39
- ## Key Workflows
40
-
41
- Document primary workflows, including:
42
-
43
- - Planning and core-change handoffs from `AGENT_ROSTER.md`
44
- - Tool-specific assistant activation from `ASSISTANT_ADAPTERS.md`
45
- - Runtime command validation with `agent-kit adapter validate antigravity` when Antigravity is active
46
- - Offline runtime validation and planning with `agent-kit orchestrate validate` and `agent-kit orchestrate plan`
47
- - UI improvement command workflows from `.agent-kit/prompts/ui-command-index.md`
48
- - Deterministic UI detector and acceptance review from `.agent-kit/checklists/ui-detectors.md` and `.agent-kit/checklists/ui-acceptance-rubric.md`
49
- - Model-selection setup, enforcement status, and limitations from `MODEL_ROUTING.md`
50
- - Council-session evidence capture from `COUNCIL.md`
51
- - Upgrade review, conflict handling, migration review, and rollback evidence from `UPGRADE.md`
52
- - Baseline, strong, and best-practice evidence review from `QUALITY_GATES.md`
53
- - Brand/content intake and creative-direction selection before frontend implementation
54
- - Reference-led design critique, anti-references, source-safety notes, and distinctiveness verdict from `DESIGN.md`
55
- - Frontend product-quality scorecard from `DESIGN.md`
56
- - Marketing-copy workflow, proof mapping, objection handling, and CTA hierarchy from `MESSAGING.md`
57
- - Visual QA tier and baseline approval workflow for high-risk UI changes
58
- - Sign up, login, logout, and session refresh
59
- - Main user workflow
60
- - Admin workflow
61
- - Data creation and update workflow
62
- - Deployment workflow
63
-
64
- Runtime command files are adapters only. Native commands such as `/plan`, `/security`, `/frontend`, `/ui-audit`, `/ui-polish`, `/layout-cleanup`, `/responsive-cleanup`, `/accessibility-pass`, `/distinctiveness-pass`, `/screenshot-critique`, `/browser-qa`, `/copy`, `/handoff`, `/audit`, `/setup`, `/upgrade`, and `/ship` should point back to `AGENTS.md`, `.agent-kit/agent-roster.json`, `QUALITY_GATES.md`, `.agent-kit/skills/`, and Agent Studio evidence.
65
-
66
- ## Optional Orchestrator
67
-
68
- Install `@appsforgood/agent-kit-runtime` only when the project needs executable council workflows. Keep `.agent-kit/orchestrator.json` disabled until provider aliases, credential references, mutation roles, MCP allowlists, Docker policy, limits, and approvals are reviewed.
69
-
70
- The runtime compiles roster sequences to bounded LangGraph nodes, checkpoints in SQLite, records redacted JSONL evidence, pauses for risk-tiered approvals, and uses an isolated Git worktree. It may create one approved scoped commit but never merges, pushes, opens a pull request, deploys, or applies migrations automatically. `agent-kit studio serve` exposes the same run and approval state in its Runs tab.
71
-
72
- High-risk UI work must include desktop and mobile screenshots plus authenticated or permission-state evidence when the surface requires login, roles, tenant context, or permissions.
73
-
74
- ## Integration Points
75
-
76
- Document external APIs, webhooks, storage buckets, cron jobs, email providers, analytics, and monitoring.
77
-
78
- ## Troubleshooting
79
-
80
- Record known issues, expected logs, and operational checks.
@@ -1,98 +0,0 @@
1
- # Loop Coding
2
-
3
- Loop coding means the agent repeats **plan → act → check → fix** until a stop condition, instead of finishing in one chat turn. The Agent Kit is opinionated about **which loops are safe** and **which checkpoints must stay in place**.
4
-
5
- This document describes loop types, kit-safe patterns, and limits.
6
-
7
- ## Loop Types
8
-
9
- | Loop type | What it means | Kit-safe version |
10
- | --- | --- | --- |
11
- | **Agent loop** | Same agent iterates on feedback until done | Use scoped prompts (for example `.agent-kit/prompts/implement-feature.md`); review each turn; do not remove Security Reviewer or QA gates |
12
- | **Eval-driven loop** | Code changes until **tests, audit, or evals pass** | `npm test` + `agent-kit audit` + CI |
13
- | **Self-improving loop** | Agent critiques its own output and revises | Manual: delegate to `@qa-engineer` or run tests between passes; **avoid fully unsupervised self-critique on auth, RLS, or release tooling** |
14
- | **Council / team loop** | Planner → specialist → Security → QA handoffs | `agent-kit session handoff` + IDE subagents — the kit's core operating model |
15
- | **Background / overnight loop** | Runs without a human present | **Defer by default** — requires worktree policy, cost caps, kill switches, and stronger eval gates than agent freedom |
16
-
17
- ## Practical Rule
18
-
19
- Climb maturity by adding **checkpoints** (tests, audit, guards, human review), not by removing them. Unsupervised loops are only healthy when **eval gates are stronger than the agent's freedom**.
20
-
21
- ## Eval-Driven PR Loop (recommended)
22
-
23
- For feature work:
24
-
25
- 1. **Plan** — Planner classifies scope; Lead Architect maps affected layers when the change is core.
26
- 2. **Implement** — Next.js / Supabase engineers (or general agent with council rules loaded).
27
- 3. **Check** — run the smallest reliable gate set:
28
- ```bash
29
- npm test
30
- agent-kit audit --min-readiness baseline-setup
31
- agent-kit adapter validate all # when IDE surfaces change
32
- ```
33
- 4. **Fix** — repeat implement/check until green or blocked on a documented gap.
34
- 5. **Record** — `agent-kit session render` and mirror summary in `COUNCIL.md` for meaningful multi-agent work.
35
-
36
- See [TESTING.md](TESTING.md) for CI gate expectations.
37
-
38
- ## Council Loop (multi-agent)
39
-
40
- The default handoff order lives in `AGENTS.md` and `.agent-kit/agent-roster.json`:
41
-
42
- 1. Planner — scope, workflow, council selection
43
- 2. Lead Architect — core changes
44
- 3. Domain engineers — data, UI, copy as needed
45
- 4. Security Reviewer — auth, mutations, secrets, dependencies, release risk
46
- 5. QA Engineer — behavior evidence
47
- 6. Documentation Maintainer — living docs and council record
48
-
49
- Use Agent Studio when the CLI is available:
50
-
51
- ```bash
52
- agent-kit session start --workflow core-change --request "Short title"
53
- agent-kit session handoff --from planner --to lead-architect --decision "..." --risk "..." --next "..." --evidence "..."
54
- agent-kit session verify --command "npm test" --result pass
55
- agent-kit session output phased-checklist --status complete --evidence "..."
56
- agent-kit session render
57
- ```
58
-
59
- When CLI tooling is unavailable, append the session template in `COUNCIL.md`.
60
-
61
- ## Hooks And Local Automation (Level 6 enablers)
62
-
63
- The kit does **not** ship unsupervised orchestration. It documents safe local enablers:
64
-
65
- | Pattern | Purpose | Starting point |
66
- | --- | --- | --- |
67
- | Pre-commit test or audit | Catch drift before commit | `.agent-kit/prompts/audit-project-setup.md`, project `npm test` |
68
- | Post-edit lint/typecheck | Fast feedback on save | Project ESLint / `tsc --noEmit` in editor or CI |
69
- | Optional hosted audit | Advisory unless explicitly enabled and required | `agent-kit init --github-actions`; `AGENT_KIT_ACTIONS_ENABLED=true` |
70
- | Adapter validate on PR | Prove IDE activation stays valid | `agent-kit adapter validate all` when adapter assets change |
71
-
72
- For Cursor-specific hook/automation patterns, see Cursor Automations docs and keep Planner-first triage **opt-in** — never as a replacement for Security Reviewer or human release approval.
73
-
74
- ## MCP Routing (delegation hint)
75
-
76
- Match MCP servers to council roles:
77
-
78
- | Role | Typical MCP use |
79
- | --- | --- |
80
- | Supabase/Postgres Engineer | Schema, migrations, RLS, logs, advisors |
81
- | Security Reviewer | Dependency/advisory checks; no broad production writes without review |
82
- | Deployment/Observability Engineer | Hosting logs, release status, error tracking |
83
- | QA Engineer | Test runners, visual diff tools where configured |
84
-
85
- Record active MCP surfaces in `ASSISTANT_ADAPTERS.md` when they affect council behavior.
86
-
87
- ## What Not To Default
88
-
89
- - Overnight unsupervised agent runs on auth, RLS, or release tooling
90
- - Agents managing agents without eval harness and kill switches
91
- - Removing human review from publish, migration, or security-sensitive paths
92
-
93
- ## Related Docs
94
-
95
- - `AGENTS.md` — council roles and default handoffs
96
- - `QUALITY_GATES.md` — Baseline / Strong / Mature evidence tiers
97
- - `COUNCIL.md` — session evidence template
98
- - `TESTING.md` — project test and CI gate expectations
@@ -1,81 +0,0 @@
1
- # Messaging And Copy
2
-
3
- This file is the persistent positioning, value proposition, voice, and copy-evidence contract for agents and reviewers.
4
-
5
- Use it before writing or changing public-facing pages, onboarding, empty states, pricing, upgrade prompts, CTAs, lifecycle emails, notifications, or conversion-critical UX copy.
6
-
7
- ## Discovery Questions
8
-
9
- Answer these before final copy is accepted. If an answer is unknown, mark it as `TBD` and treat the copy as provisional.
10
-
11
- | Question | Current Answer | Evidence |
12
- | --- | --- | --- |
13
- | Who is the primary audience? | TBD | User research, customer notes, analytics, brief, or stakeholder input |
14
- | What painful, expensive, slow, risky, or annoying problem do they need solved? | TBD | Customer language, support notes, interviews, or domain research |
15
- | What outcome do they want? | TBD | Success metric, workflow completion, time saved, risk reduced, revenue gained, or quality improved |
16
- | What alternatives do they use today? | TBD | Competitors, spreadsheets, manual work, agencies, internal tools, or doing nothing |
17
- | Why is this product meaningfully different? | TBD | Feature, workflow, data, quality, speed, trust, price, integration, or niche focus |
18
- | What proof supports the claim? | TBD | Demo, shipped feature, customer quote, case study, benchmark, integration, certification, or domain expertise |
19
- | What objections could stop signup, activation, or purchase? | TBD | Trust, cost, time, migration, privacy, compliance, risk, support, or switching cost |
20
- | What action should the user take next? | TBD | Signup, book demo, start workflow, invite team, connect account, import data, or contact support |
21
-
22
- ## Positioning
23
-
24
- One-sentence positioning statement:
25
-
26
- > For `TBD audience` who need `TBD outcome`, this product is a `TBD category` that `TBD differentiator`, unlike `TBD alternative`.
27
-
28
- Primary value proposition:
29
-
30
- - TBD
31
-
32
- Secondary value propositions:
33
-
34
- - TBD
35
- - TBD
36
-
37
- Non-goals and claims to avoid:
38
-
39
- - TBD
40
-
41
- ## Proof And Objections
42
-
43
- | Claim | Proof Required | Current Proof | Status |
44
- | --- | --- | --- | --- |
45
- | TBD | TBD | TBD | Missing, partial, or proven |
46
-
47
- | Objection | Response | Evidence Or Product Support |
48
- | --- | --- | --- |
49
- | TBD | TBD | TBD |
50
-
51
- ## Voice And Tone
52
-
53
- | Area | Decision |
54
- | --- | --- |
55
- | Voice traits | 3-5 traits, such as direct, expert, calm, playful, premium, practical, editorial, or technical |
56
- | Words to use | Product nouns, customer terms, category language, and approved phrases |
57
- | Words to avoid | Vague SaaS claims, unsupported AI claims, hype, jargon, or legally risky terms |
58
- | Error tone | Clear cause, useful recovery, no blame |
59
- | Security/privacy tone | Specific, factual, no invented guarantees |
60
- | Pricing/upgrade tone | Transparent, no hidden conditions or forced urgency |
61
-
62
- ## Page And Flow Copy Inventory
63
-
64
- | Surface | Goal | Primary Message | Primary CTA | Secondary CTA | Proof | Objections |
65
- | --- | --- | --- | --- | --- | --- | --- |
66
- | Homepage hero | TBD | TBD | TBD | TBD | TBD | TBD |
67
- | Signup or onboarding | TBD | TBD | TBD | TBD | TBD | TBD |
68
- | Empty state | TBD | TBD | TBD | TBD | TBD | TBD |
69
- | Pricing or upgrade | Optional | Optional | Optional | Optional | Optional | Optional |
70
-
71
- ## Acceptance Evidence
72
-
73
- Copy work is not accepted until:
74
-
75
- - Discovery questions are answered or explicitly marked unknown.
76
- - Audience, pain, outcome, differentiator, proof, objections, voice, and conversion goal are documented.
77
- - Claims are tied to proof or marked as assumptions.
78
- - CTA hierarchy has one primary action and clear secondary actions.
79
- - Onboarding, empty, error, permission, and upgrade copy provides a useful next step.
80
- - Marketing Copy Lead has handed off public-facing pages to Frontend Design Lead for layout and hierarchy review.
81
- - Risky claims are reviewed before release.
@@ -1,130 +0,0 @@
1
- # Model Routing
2
-
3
- Use this file to choose the right model profile for each agent and to record how the active AI coding tools apply those choices.
4
-
5
- Canonical source of truth:
6
-
7
- - `.agent-kit/model-routing.json`
8
- - `.agent-kit/schemas/model-routing.schema.json`
9
- - `.agent-kit/orchestrator.json`
10
- - `.agent-kit/agent-roster.json`
11
- - `ASSISTANT_ADAPTERS.md`
12
-
13
- ## Policy
14
-
15
- - Keep role behavior in `AGENTS.md`, `AGENT_ROSTER.md`, and `.agent-kit/agent-roster.json`.
16
- - Keep reusable skills in `SKILLS.md` and `.agent-kit/skills/`.
17
- - Keep model choice as a dated, reviewable routing layer.
18
- - Do not store secrets, API keys, billing notes, private model entitlement details, or workspace-only vendor terms in this file.
19
- - If an IDE cannot enforce per-agent model choice, document the limitation honestly and use the closest manual or advisory setup.
20
- - Runtime aliases must use an ordered candidate list, explicit required capabilities, and bounded attempts. Missing capabilities are skipped before a provider call.
21
-
22
- ## Agent Profiles
23
-
24
- | Agent | Default profile | Effort | Escalate when |
25
- | --- | --- | --- | --- |
26
- | Planner | `balanced-reasoning` | Medium | Scope affects architecture, auth, data, release, or package behavior. |
27
- | Lead Architect | `deep-reasoning-large-context` | High | Always for core-change council review. |
28
- | Supabase/Postgres Engineer | `deep-reasoning-large-context` | High | Schema, RLS, migration order, rollback, or authorization impact exists. |
29
- | Next.js Engineer | `coding-large-context` | Medium | Server/client boundary, caching, auth, or mutation behavior is uncertain. |
30
- | Frontend Design Lead | `creative-vision-large-context` | High | Significant UI, screenshots, references, content strategy, or visual QA is involved. |
31
- | Marketing Copy Lead | `creative-vision-large-context` | High | Positioning, value proposition, conversion copy, voice/tone, proof review, or public-facing copy handoff is involved. |
32
- | Security Reviewer | `deep-reasoning-large-context` | High | OWASP, IDOR, SSRF, injection, broken auth, dependency, secret, or release risk exists. |
33
- | QA Engineer | `balanced-reasoning` | Medium | Flaky tests, concurrency, auth flows, visual regression, or hard-to-reproduce bugs exist. |
34
- | Documentation Maintainer | `fast-targeted` | Low | Docs encode architecture, migrations, security, or release decisions. |
35
- | Deployment/Observability Engineer | `fast-targeted` | Low | Production release, rollback, env vars, logs, or incident review is involved. |
36
-
37
- ## Tool Setup
38
-
39
- | Tool | Instruction surface | Model-selection status | Enforcement | Evidence |
40
- | --- | --- | --- | --- | --- |
41
- | Codex | `AGENTS.md`, `.codex/config.toml`, optional `.codex/agents/*.toml` | Unverified | Partial | Record date, owner, command/session, and active model settings. |
42
- | Claude Code | `CLAUDE.md`, `.claude/agents/*.md` | Unverified | Partial | Record date, owner, subagent files, and model frontmatter behavior. |
43
- | Cursor | `.cursor/rules/*.mdc` | Unverified | Advisory | Record date, owner, model picker/team setting, and loaded rule evidence. |
44
- | GitHub Copilot | `.github/copilot-instructions.md`, `.github/instructions/*.instructions.md` | Unverified | Advisory | Record date, owner, selected chat/coding-agent model, and loaded instruction evidence. |
45
- | Antigravity | `.antigravity/agent-kit/plugin.json`, `.antigravity/agent-kit/commands/*.toml`, `.antigravity/runtime-skills/*/SKILL.md` | Unverified | Advisory | Record date, owner, `agent-kit adapter validate antigravity`, and optional native `agy plugin validate` output. |
46
- | Agent Kit Runtime | `.agent-kit/orchestrator.json` | Alias routing and fallbacks | Enforced | Record `orchestrate validate`, provider probes, selected provider/model events, and fallback reasons. |
47
-
48
- ## Runtime Aliases
49
-
50
- The executable runtime supports native adapters for OpenAI, Anthropic, Gemini, and OpenAI-compatible APIs including xAI/Grok, DeepSeek, Kimi, GLM, OpenRouter, Ollama, LM Studio, and vLLM. Configure project-owned model names in `.agent-kit/orchestrator.json`; do not copy dated IDE recommendations into active runtime aliases without verifying provider documentation and access.
51
-
52
- Each alias is deterministic: candidates are attempted in order, capability mismatches do not consume an attempt, provider failures are recorded, and `maxAttempts` bounds fallback. Tool-using agents automatically require the `tools` capability, so text-only local models fail closed instead of receiving unsupported tool calls.
53
-
54
- ## June 2026 Commented Recommendations
55
-
56
- These are setup comments, not permanent guarantees. Verify against the active IDE and provider docs before enabling.
57
-
58
- ### Codex
59
-
60
- ```toml
61
- # ~/.codex/config.toml or trusted project .codex/config.toml
62
- # June 2026 Agent Kit suggestion:
63
- # model = "gpt-5.5"
64
- # model_reasoning_effort = "medium"
65
- #
66
- # For custom Codex agents, pin only where the role needs it:
67
- # model = "gpt-5.5"
68
- # model_reasoning_effort = "high"
69
- ```
70
-
71
- ### Claude Code
72
-
73
- ```md
74
- ---
75
- name: lead-architect
76
- description: Use for architecture, cross-layer changes, and core-change council review.
77
- # June 2026 Agent Kit suggestion:
78
- # model: opus
79
- # effort: high
80
- ---
81
- ```
82
-
83
- ### Cursor
84
-
85
- ```mdc
86
- ---
87
- description: Agent Kit model-selection reminder.
88
- alwaysApply: true
89
- ---
90
-
91
- <!--
92
- June 2026 Agent Kit suggestion:
93
- - Use the model picker or team model policy for the active task.
94
- - Prefer a deep reasoning model for Lead Architect, Security Reviewer, and Supabase/Postgres Engineer.
95
- - Prefer a fast/balanced coding model for Docs, Deployment, and low-risk QA passes.
96
- - Cursor rules advise model choice; they should not be treated as hard enforcement.
97
- -->
98
- ```
99
-
100
- ### GitHub Copilot
101
-
102
- ```md
103
- <!--
104
- June 2026 Agent Kit suggestion:
105
- - Select the strongest available model for architecture, security, RLS, and release-risk review.
106
- - Use a faster model for docs-only or low-risk mechanical changes.
107
- - Repository instructions advise model choice; Copilot model selection remains tool/user controlled.
108
- -->
109
- ```
110
-
111
- ### Antigravity
112
-
113
- ```md
114
- <!--
115
- June 2026 Agent Kit suggestion:
116
- - Use native `/plan`, `/security`, `/frontend`, `/copy`, `/handoff`, `/audit`, `/setup`, `/upgrade`, and `/ship` commands as runtime entrypoints.
117
- - Keep model choice aligned with MODEL_ROUTING.md profiles, but record that Antigravity model enforcement is advisory unless the runtime/workspace provides stronger controls.
118
- - Validate structural assets with `agent-kit adapter validate antigravity`; native `agy plugin validate` is optional when the CLI is installed.
119
- -->
120
- ```
121
-
122
- ## Acceptance Evidence
123
-
124
- Before claiming strong or best-practice maturity, record:
125
-
126
- - Active IDE/tool and version or environment.
127
- - Model picker or config location.
128
- - Which agent profiles are enforced, partial, advisory, or manual.
129
- - Screenshot, command, session transcript, or PR evidence that instructions loaded.
130
- - Date and owner of the verification.
@@ -1,98 +0,0 @@
1
- # Quality Gates
2
-
3
- This file defines the project maturity model. Use it to decide whether a change is merely working, strong enough for normal delivery, or best-practice ready.
4
-
5
- ## Maturity Levels
6
-
7
- `agent-kit audit --json` reports one readiness verdict:
8
-
9
- - `needs-setup`: required install or council contract checks are failing.
10
- - `baseline-setup`: setup is valid, but starter evidence placeholders remain.
11
- - `needs-improvement`: no blocking failures, but warnings remain.
12
- - `best-practice-candidate`: static audit found no failures or warnings.
13
-
14
- Use `agent-kit audit --min-readiness <level>` in CI when the project wants a merge or release threshold. New projects usually start at `baseline-setup`; mature projects should move toward `best-practice-candidate`.
15
-
16
- ### Baseline
17
-
18
- Baseline means the project is usable and the agent kit can audit it.
19
-
20
- - `AGENTS.md`, `AGENT_ROSTER.md`, `ASSISTANT_ADAPTERS.md`, `COUNCIL.md`, `SPEC.md`, `DECISIONS.md`, `DOCS.md`, `DESIGN.md`, `MESSAGING.md`, `MODEL_ROUTING.md`, `STYLE_GUIDE.md`, `SECURITY.md`, `TESTING.md`, `DEPLOYMENT.md`, and `UPGRADE.md` exist.
21
- - `.agent-kit/agent-roster.json`, `.agent-kit/model-routing.json`, disabled-by-default `.agent-kit/orchestrator.json`, and `.agent-kit/schemas/` exist.
22
- - `.agent-kit/assistant-adapters/` exists.
23
- - Runtime adapters such as Antigravity are validated with `agent-kit adapter validate <target>` before being treated as active.
24
- - Agent Studio schemas for project context, correction rules, session events, and studio sessions exist when the installed kit version includes them.
25
- - Planner is the default planning route.
26
- - Lead Architect reviews core changes.
27
- - Security Reviewer reviews auth, RLS, dependency, secret, external-call, and release-risk changes.
28
- - Marketing Copy Lead reviews public-facing or conversion-facing copy, positioning, proof, objections, voice, and CTA hierarchy.
29
- - QA evidence is recorded before behavior changes are accepted.
30
-
31
- ### Strong
32
-
33
- Strong means the project is safe for repeated team or agent delivery.
34
-
35
- - Council sessions record workflow, decision, risk, next handoff, required outputs, and evidence.
36
- - `.agent-kit/project-context.json` and `.agent-kit/project-context.md` capture product intent, users, workflows, auth/data assumptions, integrations, design direction, quality target, and open questions.
37
- - Active project and agent corrections are reviewed before implementation and are reflected in future session behavior.
38
- - Agent Studio sessions render current `index.md` and `transcript.md` files after visible decisions, handoffs, artifacts, corrections, or verification change.
39
- - Optional static Studio exports are regenerated from local files after session evidence changes and are checked for secret leakage.
40
- - `ASSISTANT_ADAPTERS.md` records active AI tool surfaces, model-selection status, enforcement level, and verification evidence.
41
- - `MODEL_ROUTING.md` records active model-selection status, dated recommendations, enforcement limits, and known IDE limitations.
42
- - `MESSAGING.md` captures audience, pain, desired outcome, alternatives, differentiator, proof, objections, voice, conversion goal, and copy inventory.
43
- - `SPEC.md` documents affected architecture, behavioral contracts, data model, RLS inventory, and critical workflows.
44
- - `SECURITY.md` covers OWASP Top 10, Supabase RLS, service-role isolation, secrets, IDOR prevention, dependency risk, and external-call risk.
45
- - `DESIGN.md` captures audience, user needs, real content, brand constraints, reference set, anti-references, creative direction, design critique verdict, distinctiveness benchmark, product-quality scorecard, design tokens, and visual QA tier.
46
- - `STYLE_GUIDE.md` defines component patterns, states, responsive behavior, accessibility, and anti-generic AI-site rules.
47
- - `TESTING.md` defines unit, regression, smoke, visual QA, accessibility, and release checks.
48
- - `DEPLOYMENT.md` documents environments, migrations, env vars, observability, rollback, and post-release verification.
49
- - `UPGRADE.md` documents diff/update flow, release notes, migration review, generated types, and rollback evidence.
50
- - When executable orchestration is enabled, `orchestrate validate` passes and provider aliases, credentials, mutation roles, MCP, Docker, limits, and approvals have named owners.
51
-
52
- ### Best-Practice
53
-
54
- Best-practice means evidence can survive handoff, release, and later audit.
55
-
56
- - Every meaningful change maps affected layers: data, business logic, presentation, auth, deployment, docs, and tests.
57
- - Multi-agent work has local Agent Studio evidence: context loaded, corrections considered, decisions and handoffs recorded, required outputs tracked, artifacts linked, verification captured, and rendered Markdown current.
58
- - Supabase RLS policies are inventory-backed, least-privilege, and tested for cross-user or cross-tenant access.
59
- - Production readiness covers Next.js routing/rendering, caching, error boundaries, metadata, accessibility, performance, security headers, and Core Web Vitals evidence.
60
- - Frontend work starts from brand/content intake, reference-set review, anti-references, and creative-direction options, then proves first-screen proof, content fingerprint, asset provenance, product-quality scorecard, distinctiveness, UI detector findings, desktop, mobile, key states, keyboard flow, and visual QA evidence.
61
- - Public-facing and conversion-facing copy starts from discovery questions, audience, pain, outcome, differentiator, proof, objections, voice/tone, and CTA hierarchy, with unsupported claims marked as assumptions.
62
- - Test evidence includes the smallest useful unit/regression checks plus critical-path smoke coverage.
63
- - Release evidence includes install or production smoke, migration order, dependency audit, package or deployment verification, logs, and rollback notes.
64
- - Runtime adapter evidence includes command/plugin validation, portable `SKILL.md` coverage, package allowlist coverage, and proof that adapter files point back to Agent Kit source-of-truth contracts.
65
- - Repo health includes issue/PR templates, CODEOWNERS, dependency updates, CodeQL or equivalent scanning, dependency review, provenance expectations, support, conduct, and governance.
66
- - Public or shared package releases use Trusted Publishing or equivalent identity-bound release provenance.
67
- - Executable runs have offline plan evidence, explicit approvals, bounded provider/tool outcomes, redacted run events, isolated worktree status, scoped commit review, and a manual merge/remove decision.
68
-
69
- ## Change Acceptance Matrix
70
-
71
- | Change Type | Required Council | Required Evidence |
72
- | --- | --- | --- |
73
- | Planning or roadmap | Planner, Documentation Maintainer | Updated roadmap or checklist with owner, status, and acceptance evidence |
74
- | Core architecture | Planner, Lead Architect, QA, Docs | Affected-layer map, preserved contracts, tests, updated `SPEC.md` or `DECISIONS.md` |
75
- | Supabase/Auth/RLS | Lead Architect, Supabase/Postgres Engineer, Security Reviewer, QA | Migration notes, RLS inventory, negative authorization test, rollback risk |
76
- | Frontend/UI | Frontend Design Lead, QA, Docs | Brand/content intake, reference-set evidence, design critique verdict, distinctiveness benchmark, product-quality scorecard, creative direction, UI detector severity findings, component states, accessibility, desktop/mobile visual QA, authenticated screen evidence when applicable |
77
- | Marketing/copy | Marketing Copy Lead, Frontend Design Lead, QA, Docs | `MESSAGING.md`, audience and pain, value proposition, proof, objections, voice/tone, CTA hierarchy, risky-claim review |
78
- | Security-sensitive | Security Reviewer, Lead Architect, QA | OWASP review, boundary validation, dependency/secret review, regression or smoke evidence |
79
- | Release/package | Deployment/Observability Engineer, Security Reviewer, QA, Docs | Release gate output, dependency audit, install/deploy smoke, provenance or publish identity evidence |
80
- | Runtime adapter/package | Planner, Lead Architect, Security Reviewer, QA, Docs | `agent-kit adapter validate`, `agent-kit package validate`, command/skill asset coverage, source-of-truth references, no secret-like runtime assets |
81
- | Executable orchestration | Planner, Lead Architect, Security Reviewer, QA, Docs, Deployment/Observability Engineer | `orchestrate validate` and plan, provider/MCP policy, approvals, run ID/events, worktree/commit, timeout/cancel behavior, manual integration decision |
82
- | Upgrade/dependency | Planner, Lead Architect, Security Reviewer, QA, Docs, Deployment/Observability Engineer | Release notes, codemods or migration guide, `agent-kit diff`, conflict review, audit output, rollback notes |
83
-
84
- ## Evidence Rules
85
-
86
- - Hosted GitHub Actions is opt-in. A billing, spending-limit, or pre-execution entitlement failure is not test evidence and does not block commit/push or phase progression when local required gates pass; a project may separately require hosted checks only after reliable Actions startup and branch protection are verified.
87
- - A checklist item is not done until the evidence is linked or named.
88
- - A test is not evidence unless it covers the behavior, risk, or contract being claimed.
89
- - A screenshot is not visual QA unless it covers the important viewport, state, and content.
90
- - A UI detector pass is not complete until blockers, majors, minors, accepted exceptions, screenshots, viewport, auth state, and data state are named.
91
- - A high-risk UI change is not accepted while blocker detector findings remain or authenticated workflow evidence is missing.
92
- - A research finding is not a best practice until it is promoted into templates, skills, checklists, audit checks, tests, release gates, or documented decisions.
93
- - A runtime command is not canonical policy; it is accepted only when it wraps `AGENTS.md`, `.agent-kit/agent-roster.json`, `QUALITY_GATES.md`, canonical skills, and Agent Studio evidence.
94
- - A fresh install can be baseline setup while still warning on `TBD`, example rows, or starter instruction text; those placeholders must be replaced before claiming strong or best-practice maturity.
95
- - A local customization is acceptable only when `.agent-kit/overrides.json` explains why and when it was reviewed.
96
- - A human correction is not durable until it is stored in `.agent-kit/corrections/`, remains secret-safe, has a clear scope, and is visible to future agents through installed instructions.
97
- - An upgrade is not complete until `UPGRADE.md` records version changes, migration impact, rollback process, and verification evidence.
98
- - IDE delegation is not executable-runtime evidence. Require `orchestrate status`, versioned run events, checkpoint state, and worktree/commit evidence.