@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
package/UPGRADE.md CHANGED
@@ -1,92 +1,37 @@
1
1
  # Upgrade Guide
2
2
 
3
- This file defines how maintainers and downstream projects should upgrade Agent Kit safely.
3
+ ## 0.4.1
4
4
 
5
- ## Principles
5
+ npm `0.4.0` was the simplify cut. `0.4.1` adds `deslop`, the 4-token `frontend-design` skill, catalog pointers on agents, and leftover-0.3 `doctor` warnings. Those leftover warnings are not a failure. `update` still never deletes old council docs.
6
6
 
7
- - Upgrades are reviewable changes, not blind overwrites.
8
- - Existing project docs and local overrides are preserved by default.
9
- - Breaking behavior must be called out in `CHANGELOG.md`, `ROADMAP.md`, and release notes.
10
- - Downstream projects should prove setup validity after each upgrade with `agent-kit audit`.
11
-
12
- ## Maintainer Release Checklist
7
+ ```bash
8
+ npx @appsforgood/next-supabase-kit@0.4.1 update
9
+ npx @appsforgood/next-supabase-kit@0.4.1 doctor
10
+ ```
13
11
 
14
- Before publishing a new package version:
12
+ Do not re-init.
15
13
 
16
- 1. Update changesets plus root/runtime changelogs with user-visible changes, migration notes, and deprecations.
17
- 2. Update `ROADMAP.md` and `BEST_PRACTICE_EVIDENCE.md` when a research finding becomes enforced behavior.
18
- 3. Run `npm run release:check`.
19
- 4. Run `agent-kit package validate` from the source repository when runtime adapter or package assets changed.
20
- 5. Confirm root and runtime pack dry runs include only public-safe files.
21
- 6. Publish runtime then root through npm Trusted Publishing with separate SBOM attestations.
22
- 7. Verify public runtime import plus root `doctor`, `init`, `audit`, and `orchestrate validate`.
14
+ ## 0.4.0
23
15
 
24
- ## Downstream Upgrade Checklist
16
+ This is a breaking simplify. `init` now writes `AGENTS.md`, `USER_GUIDE.md`, and native IDE agents/skills. It does not install the 17-doc operating system, Studio, or orchestrator files.
25
17
 
26
- From a downstream project:
18
+ `update` never deletes your existing files. Old `SPEC.md`, `QUALITY_GATES.md`, and `.agent-kit/` trees stay as unmanaged leftovers.
27
19
 
28
20
  ```bash
21
+ npx @appsforgood/next-supabase-kit@latest init --activate all
29
22
  npx @appsforgood/next-supabase-kit@latest doctor
30
- npx @appsforgood/next-supabase-kit@latest diff
31
- npx @appsforgood/next-supabase-kit@latest update
32
- npx @appsforgood/next-supabase-kit@latest adapter validate antigravity
33
- npx @appsforgood/next-supabase-kit@latest audit --min-readiness baseline-setup
34
- ```
35
-
36
- Projects using executable orchestration should also upgrade the optional runtime deliberately:
37
-
38
- ```bash
39
- npm install --save-dev @appsforgood/agent-kit-runtime@latest
40
- agent-kit orchestrate validate
41
- agent-kit orchestrate plan "Upgrade verification"
42
23
  ```
43
24
 
44
- Review `.agent-kit/orchestrator.json` conflict proposals, schema changes, provider capability declarations, MCP/host/private-network exceptions, Docker image availability, native `better-sqlite3` install policy, and checkpoint compatibility before enabling runs. Finish or cancel paused runs before changing runtime versions.
45
-
46
- The package includes an older-install regression fixture that exercises this path. The fixture proves update preserves customized docs, writes conflict templates, installs new current baseline docs and `.agent-kit/` assets, then audits with zero failures.
25
+ Use `--legacy-docs` only if you still want a copy of leftover living-doc templates.
47
26
 
48
- `agent-kit diff` includes an upgrade preview. Review `preview.wouldCreate`, `preview.wouldWriteConflicts`, `agentRoster`, `modelRouting`, and `libraryFolders.missing` before running update so the branch owner knows which files will be created, which local docs will be preserved through conflicts, and which `.agent-kit/` assets will be refreshed.
27
+ Read `USER_GUIDE.md` for how to invoke agents. QA must capture desktop and mobile screenshots for user-visible work.
49
28
 
50
- For mature projects, raise the gate after local evidence is updated:
29
+ ## Downstream habit
51
30
 
52
31
  ```bash
53
- npx @appsforgood/next-supabase-kit@latest audit --min-readiness best-practice-candidate
32
+ npx agent-kit update
33
+ npx agent-kit doctor
34
+ npx agent-kit adapter validate all
54
35
  ```
55
36
 
56
- ## Review Order
57
-
58
- 1. Create a branch before running `agent-kit update`.
59
- 2. Run `agent-kit diff` and review every changed root markdown template.
60
- 3. Check `.agent-kit/conflicts/` before accepting template updates.
61
- 4. Preserve valid local customizations in `.agent-kit/overrides.json`.
62
- 5. Review `AGENTS.md`, `AGENT_ROSTER.md`, `ASSISTANT_ADAPTERS.md`, `MODEL_ROUTING.md`, `COUNCIL.md`, `QUALITY_GATES.md`, `SECURITY.md`, `TESTING.md`, `DEPLOYMENT.md`, and this file.
63
- 6. If using Antigravity, review `.antigravity/agent-kit/plugin.json`, `.antigravity/agent-kit/commands/*.toml`, and `.antigravity/runtime-skills/*/SKILL.md`.
64
- 7. Run project tests and release checks before merging.
65
- 8. Record any accepted deviations in `DECISIONS.md`.
66
-
67
- ## Next.js And Supabase Stack Upgrades
68
-
69
- - Use official Next.js upgrade guides and codemods for framework changes.
70
- - Treat Supabase schema, RLS, storage, and auth changes as migration work, not ad hoc dashboard edits.
71
- - Verify migration history before deployment.
72
- - Record migration order, rollback risk, and verification evidence in `DEPLOYMENT.md`.
73
- - Regenerate types after database schema changes when the project relies on generated Supabase types.
74
-
75
- ## Rollback
76
-
77
- Keep rollback evidence next to the upgrade:
78
-
79
- - Git branch or commit to revert.
80
- - Package version before and after the upgrade.
81
- - Template conflicts reviewed or deferred.
82
- - Database migrations applied, reverted, or not applicable.
83
- - Verification commands and results.
84
- - Owner and date.
85
-
86
- ## Upgrade History
87
-
88
- | Date | From | To | Scope | Evidence | Owner |
89
- | --- | --- | --- | --- | --- | --- |
90
- | 2026-06-14 | TypeScript 5 / Node 22 types | TypeScript 6 / Node 25 types | Dev dependency update for package validation and CI parity | `npm run typecheck`, `npm test`, `npm audit --audit-level=moderate` | Maintainers |
91
- | 2026-06 | 0.1.0 | 0.1.1 | Package rename to `@appsforgood/next-supabase-kit`, harness readiness gates, adapter install on init, publish prep | `CHANGELOG.md` 0.1.1 entry, `npm run release:check` green, commit `37e1a0f` | lukey662 |
92
- | 2026-07-02 | none | 0.1.1 (self-install) | Dogfooded the kit into this repo's own root: `agent-kit init` installed root docs, `.agent-kit/`, and confirmed the Cursor rules' referenced files exist | `.agent-kit/manifest.json`, `agent-kit audit` zero failures, `COUNCIL.md` 2026-07-02 session | lukey662 |
37
+ Do not re-init to upgrade.