@appsforgood/next-supabase-kit 0.2.1 → 0.4.0
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.
- package/CHANGELOG.md +13 -0
- package/README.md +22 -548
- package/UPGRADE.md +11 -77
- package/USER_GUIDE.md +181 -0
- package/agents/app-engineer/agent.md +32 -0
- package/agents/copy/agent.md +27 -0
- package/agents/design/agent.md +27 -0
- package/agents/optional/deploy/agent.md +12 -0
- package/agents/optional/docs/agent.md +12 -0
- package/agents/optional/lead-architect/agent.md +12 -0
- package/agents/optional/research/agent.md +12 -0
- package/agents/planner/agent.md +29 -0
- package/agents/qa/agent.md +35 -0
- package/agents/security/agent.md +28 -0
- package/assistant-adapters/cursor-agent-kit.mdc +5 -26
- package/catalog.json +20 -0
- package/dist/index.js +892 -8219
- package/dist/index.js.map +1 -1
- package/examples/next-supabase-installed/.agent-kit/config.json +26 -0
- package/examples/next-supabase-installed/.agent-kit/manifest.json +78 -223
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/browser-qa.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/copy.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/frontend.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/plan.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/security.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/test.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/plugin.json +12 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +26 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/product-copy/SKILL.md +22 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/.claude/agents/app-engineer.md +32 -0
- package/examples/next-supabase-installed/.claude/agents/copy.md +27 -0
- package/examples/next-supabase-installed/.claude/agents/design.md +27 -0
- package/examples/next-supabase-installed/.claude/agents/planner.md +29 -0
- package/examples/next-supabase-installed/.claude/agents/qa.md +35 -0
- package/examples/next-supabase-installed/.claude/agents/security.md +28 -0
- package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +39 -0
- package/examples/next-supabase-installed/.codex/agents/copy.toml +34 -0
- package/examples/next-supabase-installed/.codex/agents/design.toml +34 -0
- package/examples/next-supabase-installed/.codex/agents/planner.toml +36 -0
- package/examples/next-supabase-installed/.codex/agents/qa.toml +42 -0
- package/examples/next-supabase-installed/.codex/agents/security.toml +35 -0
- package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +32 -0
- package/examples/next-supabase-installed/.cursor/agents/copy.md +27 -0
- package/examples/next-supabase-installed/.cursor/agents/design.md +27 -0
- package/examples/next-supabase-installed/.cursor/agents/planner.md +29 -0
- package/examples/next-supabase-installed/.cursor/agents/qa.md +35 -0
- package/examples/next-supabase-installed/.cursor/agents/security.md +28 -0
- package/examples/next-supabase-installed/.cursor/rules/cursor-agent-kit.mdc +12 -0
- package/examples/next-supabase-installed/.cursor/skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/.cursor/skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +26 -0
- package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/.cursor/skills/product-copy/SKILL.md +22 -0
- package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/.github/copilot-instructions.md +23 -0
- package/examples/next-supabase-installed/AGENTS.md +30 -0
- package/examples/next-supabase-installed/CLAUDE.md +7 -0
- package/examples/next-supabase-installed/README.md +2 -14
- package/examples/next-supabase-installed/USER_GUIDE.md +181 -0
- package/examples/next-supabase-installed/skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +26 -0
- package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/skills/product-copy/SKILL.md +22 -0
- package/examples/next-supabase-installed/skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/tree.txt +57 -45
- package/package.json +15 -42
- package/research/agent-skill-gap-report.md +128 -0
- package/skills/accessibility-wcag/SKILL.md +26 -0
- package/skills/browser-qa/SKILL.md +67 -0
- package/skills/frontend-design/SKILL.md +26 -0
- package/skills/nextjs-app-router/SKILL.md +23 -0
- package/skills/optional/debug/SKILL.md +11 -0
- package/skills/optional/docs/SKILL.md +10 -0
- package/skills/optional/ui-polish/SKILL.md +10 -0
- package/skills/optional/upgrade/SKILL.md +10 -0
- package/skills/owasp-security-review/SKILL.md +23 -0
- package/skills/planning/SKILL.md +25 -0
- package/skills/postgres-migrations/SKILL.md +21 -0
- package/skills/product-copy/SKILL.md +22 -0
- package/skills/ship/SKILL.md +22 -0
- package/skills/supabase-auth-rls/SKILL.md +23 -0
- package/skills/testing-qa/SKILL.md +27 -0
- package/templates/next-supabase/AGENTS.md +19 -129
- package/templates/next-supabase/CLAUDE.md +4 -36
- package/BEST_PRACTICE_EVIDENCE.md +0 -45
- package/DOGFOOD.md +0 -187
- package/GOVERNANCE.md +0 -45
- package/LOOP_CODING.md +0 -107
- package/MAINTAINER_RELEASE.md +0 -100
- package/REPOSITORY_SETTINGS.md +0 -81
- package/RESEARCH_CITATION_POLICY.md +0 -26
- package/SUPPLY_CHAIN.md +0 -56
- package/agents/deployment-observability-engineer.md +0 -13
- package/agents/docs-maintainer.md +0 -17
- package/agents/frontend-design-lead.md +0 -22
- package/agents/lead-architect.md +0 -25
- package/agents/marketing-copy-lead.md +0 -20
- package/agents/nextjs-engineer.md +0 -20
- package/agents/planner.md +0 -20
- package/agents/qa-engineer.md +0 -19
- package/agents/research-analyst.md +0 -13
- package/agents/security-reviewer.md +0 -16
- package/agents/supabase-postgres-engineer.md +0 -19
- package/antigravity/commands/accessibility-pass.toml +0 -16
- package/antigravity/commands/audit.toml +0 -16
- package/antigravity/commands/browser-qa.toml +0 -18
- package/antigravity/commands/copy.toml +0 -16
- package/antigravity/commands/distinctiveness-pass.toml +0 -16
- package/antigravity/commands/frontend.toml +0 -18
- package/antigravity/commands/handoff.toml +0 -16
- package/antigravity/commands/layout-cleanup.toml +0 -16
- package/antigravity/commands/plan.toml +0 -18
- package/antigravity/commands/responsive-cleanup.toml +0 -16
- package/antigravity/commands/review.toml +0 -16
- package/antigravity/commands/screenshot-critique.toml +0 -16
- package/antigravity/commands/security.toml +0 -16
- package/antigravity/commands/setup.toml +0 -16
- package/antigravity/commands/ship.toml +0 -17
- package/antigravity/commands/spec.toml +0 -17
- package/antigravity/commands/test.toml +0 -17
- package/antigravity/commands/ui-audit.toml +0 -17
- package/antigravity/commands/ui-polish.toml +0 -17
- package/antigravity/commands/upgrade.toml +0 -17
- package/antigravity/plugin.json +0 -70
- package/assistant-adapters/antigravity.md +0 -65
- package/assistant-adapters/claude-code-subagents.md +0 -38
- package/assistant-adapters/codex-agents.md +0 -53
- package/assistant-adapters/cursor-frontend.mdc +0 -16
- package/assistant-adapters/cursor-planner.mdc +0 -14
- package/assistant-adapters/cursor-security.mdc +0 -18
- package/assistant-adapters/github-copilot-instructions.md +0 -35
- package/assistant-adapters/github-next-supabase.instructions.md +0 -28
- package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +0 -32
- package/assistant-adapters/model-selection/codex-config.example.toml +0 -32
- package/assistant-adapters/model-selection/cursor-model-selection.mdc +0 -24
- package/assistant-adapters/model-selection/github-copilot-model-selection.md +0 -20
- package/assistant-adapters/orchestrator-runtime.md +0 -39
- package/checklists/accessibility.md +0 -12
- package/checklists/agent-council.md +0 -13
- package/checklists/brand-content.md +0 -15
- package/checklists/deployment.md +0 -10
- package/checklists/design-critique.md +0 -13
- package/checklists/frontend-distinctiveness.md +0 -12
- package/checklists/frontend-product-quality.md +0 -13
- package/checklists/frontend-quality.md +0 -21
- package/checklists/marketing-copy.md +0 -11
- package/checklists/owasp.md +0 -12
- package/checklists/rls.md +0 -10
- package/checklists/testing.md +0 -12
- package/checklists/ui-acceptance-rubric.md +0 -58
- package/checklists/ui-detectors.md +0 -81
- package/checklists/upgrade.md +0 -13
- package/checklists/visual-regression.md +0 -11
- package/design-adapters/claude-design.prompt.md +0 -27
- package/design-adapters/figma.prompt.md +0 -18
- package/design-adapters/google-stitch.prompt.md +0 -36
- package/design-adapters/human-designer-brief.prompt.md +0 -36
- package/design-briefs/admin-dashboard.md +0 -21
- package/design-briefs/ai-workflow-product.md +0 -25
- package/design-briefs/community-social.md +0 -26
- package/design-briefs/content-app.md +0 -21
- package/design-briefs/ecommerce.md +0 -25
- package/design-briefs/education-course.md +0 -25
- package/design-briefs/marketplace.md +0 -21
- package/design-briefs/portfolio-venue.md +0 -25
- package/design-briefs/saas.md +0 -21
- package/design-briefs/tool.md +0 -21
- package/examples/next-supabase-installed/.agent-kit/agent-roster.json +0 -267
- package/examples/next-supabase-installed/.agent-kit/model-routing.json +0 -171
- package/examples/next-supabase-installed/.agent-kit/overrides.json +0 -3
- package/examples/next-supabase-installed/audit-output.json +0 -405
- package/model-routing/default-model-routing.json +0 -171
- package/profiles/admin-app.md +0 -17
- package/profiles/content-app.md +0 -17
- package/profiles/marketplace.md +0 -17
- package/profiles/saas.md +0 -17
- package/profiles/stack-next-firebase.md +0 -25
- package/profiles/stack-next-postgres.md +0 -24
- package/profiles/stack-remix-supabase.md +0 -24
- package/prompts/audit-project-setup.md +0 -28
- package/prompts/brand-content-intake.md +0 -17
- package/prompts/copy-review.md +0 -15
- package/prompts/council-session-review.md +0 -17
- package/prompts/creative-direction-matrix.md +0 -22
- package/prompts/design-critique-gate.md +0 -28
- package/prompts/docs-update.md +0 -16
- package/prompts/frontend-design-review.md +0 -35
- package/prompts/frontend-distinctiveness-benchmark.md +0 -32
- package/prompts/frontend-product-quality-scorecard.md +0 -35
- package/prompts/implement-feature.md +0 -14
- package/prompts/lifecycle-command-index.md +0 -180
- package/prompts/migration-review.md +0 -14
- package/prompts/screenshot-review.md +0 -28
- package/prompts/security-review.md +0 -17
- package/prompts/ui-command-index.md +0 -124
- package/prompts/upgrade-review.md +0 -18
- package/prompts/visual-qa-plan.md +0 -16
- package/research/proposed-updates.md +0 -70
- package/research/scan-config.json +0 -261
- package/research/scan-plan.md +0 -24
- package/research/summaries/.gitkeep +0 -1
- package/research/summaries/agent-workflow-patterns.md +0 -37
- package/research/summaries/agentic-engineering-maturity-levels.md +0 -54
- package/research/summaries/creative-design-patterns.md +0 -38
- package/research/summaries/design-critique-patterns.md +0 -34
- package/research/summaries/docs-and-agent-patterns.md +0 -64
- package/research/summaries/dogfood-adoption-patterns.md +0 -33
- package/research/summaries/frontend-design-patterns.md +0 -64
- package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +0 -38
- package/research/summaries/frontend-product-quality-rubric-patterns.md +0 -37
- package/research/summaries/maturity-model-patterns.md +0 -29
- package/research/summaries/nextjs-patterns.md +0 -65
- package/research/summaries/repo-health-patterns.md +0 -41
- package/research/summaries/scan-overview.md +0 -46
- package/research/summaries/security-patterns.md +0 -64
- package/research/summaries/supabase-rls-patterns.md +0 -54
- package/research/summaries/supply-chain-patterns.md +0 -38
- package/research/summaries/testing-patterns.md +0 -63
- package/research/summaries/upgrade-lifecycle-patterns.md +0 -26
- package/research/summaries/visual-qa-patterns.md +0 -39
- package/rosters/next-supabase-default-council.json +0 -267
- package/runtime-skills/README.md +0 -7
- package/runtime-skills/accessibility-wcag/SKILL.md +0 -8
- package/runtime-skills/agent-handoff-tracing/SKILL.md +0 -8
- package/runtime-skills/best-practice-maturity-review/SKILL.md +0 -8
- package/runtime-skills/content-first-design/SKILL.md +0 -8
- package/runtime-skills/conversion-copywriting/SKILL.md +0 -8
- package/runtime-skills/deployment-observability/SKILL.md +0 -8
- package/runtime-skills/docs-maintainer/SKILL.md +0 -8
- package/runtime-skills/frontend-design-system/SKILL.md +0 -8
- package/runtime-skills/frontend-distinctiveness-benchmark/SKILL.md +0 -8
- package/runtime-skills/frontend-product-quality-rubric/SKILL.md +0 -8
- package/runtime-skills/landing-page-copy/SKILL.md +0 -8
- package/runtime-skills/nextjs-app-router/SKILL.md +0 -8
- package/runtime-skills/onboarding-empty-state-copy/SKILL.md +0 -8
- package/runtime-skills/owasp-security-review/SKILL.md +0 -8
- package/runtime-skills/planning-council/SKILL.md +0 -8
- package/runtime-skills/positioning-messaging/SKILL.md +0 -8
- package/runtime-skills/postgres-migrations/SKILL.md +0 -8
- package/runtime-skills/product-voice-tone/SKILL.md +0 -8
- package/runtime-skills/reference-led-design-critique/SKILL.md +0 -8
- package/runtime-skills/supabase-auth-rls/SKILL.md +0 -8
- package/runtime-skills/testing-qa/SKILL.md +0 -8
- package/runtime-skills/ui-improvement-harness/SKILL.md +0 -12
- package/runtime-skills/upgrade-maintenance/SKILL.md +0 -8
- package/runtime-skills/visual-regression-qa/SKILL.md +0 -8
- package/schemas/agent-roster.schema.json +0 -54
- package/schemas/agentic-level.schema.json +0 -47
- package/schemas/audit-report-v2.schema.json +0 -71
- package/schemas/audit-report.schema.json +0 -50
- package/schemas/correction-rules.schema.json +0 -32
- package/schemas/council-session.schema.json +0 -65
- package/schemas/model-routing.schema.json +0 -72
- package/schemas/onboarding-state.schema.json +0 -36
- package/schemas/orchestrator.schema.json +0 -167
- package/schemas/project-context.schema.json +0 -94
- package/schemas/runtime-event.schema.json +0 -66
- package/schemas/runtime-run.schema.json +0 -58
- package/schemas/session-event.schema.json +0 -48
- package/schemas/studio-session.schema.json +0 -48
- package/skills/accessibility-wcag.md +0 -15
- package/skills/agent-handoff-tracing.md +0 -44
- package/skills/best-practice-maturity-review.md +0 -26
- package/skills/content-first-design.md +0 -50
- package/skills/conversion-copywriting.md +0 -38
- package/skills/deployment-observability.md +0 -14
- package/skills/docs-maintainer.md +0 -19
- package/skills/frontend-design-system.md +0 -68
- package/skills/frontend-distinctiveness-benchmark.md +0 -40
- package/skills/frontend-product-quality-rubric.md +0 -59
- package/skills/landing-page-copy.md +0 -29
- package/skills/nextjs-app-router.md +0 -18
- package/skills/onboarding-empty-state-copy.md +0 -37
- package/skills/owasp-security-review.md +0 -19
- package/skills/planning-council.md +0 -21
- package/skills/positioning-messaging.md +0 -42
- package/skills/postgres-migrations.md +0 -14
- package/skills/product-voice-tone.md +0 -35
- package/skills/reference-led-design-critique.md +0 -48
- package/skills/supabase-auth-rls.md +0 -20
- package/skills/testing-qa.md +0 -15
- package/skills/ui-improvement-harness.md +0 -96
- package/skills/upgrade-maintenance.md +0 -32
- package/skills/visual-regression-qa.md +0 -42
- package/templates/next-supabase/.agent-kit/orchestrator.json +0 -48
- package/templates/next-supabase/.agent-kit/runtime/gitignore.template +0 -2
- package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +0 -35
- package/templates/next-supabase/AGENT_ROSTER.md +0 -101
- package/templates/next-supabase/ASSISTANT_ADAPTERS.md +0 -146
- package/templates/next-supabase/COUNCIL.md +0 -54
- package/templates/next-supabase/DECISIONS.md +0 -87
- package/templates/next-supabase/DEPLOYMENT.md +0 -49
- package/templates/next-supabase/DESIGN.md +0 -180
- package/templates/next-supabase/DOCS.md +0 -80
- package/templates/next-supabase/LOOP_CODING.md +0 -98
- package/templates/next-supabase/MESSAGING.md +0 -81
- package/templates/next-supabase/MODEL_ROUTING.md +0 -130
- package/templates/next-supabase/QUALITY_GATES.md +0 -97
- package/templates/next-supabase/SKILLS.md +0 -235
- package/templates/next-supabase/SPEC.md +0 -122
- package/templates/next-supabase/STYLE_GUIDE.md +0 -121
- package/templates/next-supabase/TESTING.md +0 -91
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
# Agent Roster
|
|
2
|
-
|
|
3
|
-
This project uses `.agent-kit/agent-roster.json` as the default council contract. Agents should use it before planning, implementation, review, and handoff. Use `MODEL_ROUTING.md` and `.agent-kit/model-routing.json` to select model profiles for each agent. The roster contract is backed by `.agent-kit/schemas/agent-roster.schema.json`.
|
|
4
|
-
|
|
5
|
-
## Default Rule
|
|
6
|
-
|
|
7
|
-
Planner handles planning by default. Lead Architect reviews core changes before implementation. Frontend Design Lead owns content-first creative direction, reference-led critique, frontend distinctiveness benchmarking, product-quality scoring, UI detector severity review, command-based UI polish/audit loops, and visual QA before significant frontend implementation is accepted. Marketing Copy Lead owns positioning, value proposition, public-facing copy, proof, objections, voice, and CTA hierarchy before conversion-facing copy is accepted. Security Reviewer, QA Engineer, Documentation Maintainer, and Deployment/Observability Engineer join when their trigger areas are touched. Meaningful multi-agent work records council-session evidence in `COUNCIL.md` or a structured record that follows `.agent-kit/schemas/council-session.schema.json`.
|
|
8
|
-
|
|
9
|
-
## Default Workflows
|
|
10
|
-
|
|
11
|
-
### Planning
|
|
12
|
-
|
|
13
|
-
Use when the request asks for a plan, roadmap, phases, scope, or a breakdown.
|
|
14
|
-
|
|
15
|
-
Handoff order:
|
|
16
|
-
|
|
17
|
-
1. Planner
|
|
18
|
-
2. Lead Architect
|
|
19
|
-
3. QA Engineer
|
|
20
|
-
4. Documentation Maintainer
|
|
21
|
-
|
|
22
|
-
### Core Change
|
|
23
|
-
|
|
24
|
-
Use when the request touches schema, auth, RLS, API behavior, Server Actions, Route Handlers, dependency changes, package behavior, upgrade workflows, release workflows, or cross-layer architecture.
|
|
25
|
-
|
|
26
|
-
Handoff order:
|
|
27
|
-
|
|
28
|
-
1. Planner
|
|
29
|
-
2. Lead Architect
|
|
30
|
-
3. Supabase/Postgres Engineer
|
|
31
|
-
4. Next.js Engineer
|
|
32
|
-
5. Security Reviewer
|
|
33
|
-
6. QA Engineer
|
|
34
|
-
7. Documentation Maintainer
|
|
35
|
-
8. Deployment/Observability Engineer
|
|
36
|
-
|
|
37
|
-
### Frontend Change
|
|
38
|
-
|
|
39
|
-
Use when the request touches screens, components, layout, visual design, accessibility, responsiveness, screenshot review, UI audit, UI polish, or browser QA.
|
|
40
|
-
|
|
41
|
-
Handoff order:
|
|
42
|
-
|
|
43
|
-
1. Planner
|
|
44
|
-
2. Frontend Design Lead
|
|
45
|
-
3. Marketing Copy Lead when the surface is public-facing or conversion-facing
|
|
46
|
-
4. Next.js Engineer
|
|
47
|
-
5. QA Engineer
|
|
48
|
-
6. Documentation Maintainer
|
|
49
|
-
|
|
50
|
-
Required outputs:
|
|
51
|
-
|
|
52
|
-
- Brand/content intake
|
|
53
|
-
- Copy/value-proposition brief when public-facing or conversion-facing
|
|
54
|
-
- Creative-direction rationale
|
|
55
|
-
- Reference-set evidence
|
|
56
|
-
- Frontend distinctiveness benchmark
|
|
57
|
-
- Design critique verdict
|
|
58
|
-
- Frontend product-quality scorecard
|
|
59
|
-
- Domain-specific UI rationale
|
|
60
|
-
- UI detector findings and severity
|
|
61
|
-
- UI command workflow applied when polishing or auditing
|
|
62
|
-
- Visual QA evidence
|
|
63
|
-
- State coverage
|
|
64
|
-
- Accessibility checks
|
|
65
|
-
- Desktop/mobile verification
|
|
66
|
-
- Authenticated screen evidence when applicable
|
|
67
|
-
|
|
68
|
-
### Marketing Copy
|
|
69
|
-
|
|
70
|
-
Use when the request touches copy, copywriting, marketing, positioning, messaging, value proposition, landing pages, headlines, CTAs, conversion, onboarding, empty states, or pricing.
|
|
71
|
-
|
|
72
|
-
Handoff order:
|
|
73
|
-
|
|
74
|
-
1. Planner
|
|
75
|
-
2. Marketing Copy Lead
|
|
76
|
-
3. Frontend Design Lead
|
|
77
|
-
4. QA Engineer
|
|
78
|
-
5. Documentation Maintainer
|
|
79
|
-
|
|
80
|
-
Required outputs:
|
|
81
|
-
|
|
82
|
-
- Discovery questions answered or explicitly marked unknown
|
|
83
|
-
- Audience and segment assumptions
|
|
84
|
-
- Problem, pain, desired outcome, and value proposition
|
|
85
|
-
- Differentiators, proof points, objections, and counter-messaging
|
|
86
|
-
- Voice/tone guidance
|
|
87
|
-
- Page or flow copy inventory
|
|
88
|
-
- CTA and conversion hypothesis
|
|
89
|
-
- Handoff notes for design and implementation
|
|
90
|
-
|
|
91
|
-
## Handoff Rules
|
|
92
|
-
|
|
93
|
-
- Each agent must state its decision, risk, and required next handoff.
|
|
94
|
-
- Each meaningful council session must record workflow, affected layers, required outputs, handoff decisions, risks, evidence, and verification status.
|
|
95
|
-
- Core changes cannot skip Lead Architect.
|
|
96
|
-
- Frontend changes cannot skip content/brand intake, creative-direction rationale, reference-set evidence, distinctiveness benchmark, design critique verdict, product-quality scorecard, UI detector severity review, visual QA evidence, or Frontend Design Lead review.
|
|
97
|
-
- Public-facing or conversion-facing copy cannot skip Marketing Copy Lead discovery questions, value proposition, proof, objection, voice/tone, and CTA review.
|
|
98
|
-
- Auth, data mutation, dependency, external-call, secret, and release-risk changes cannot skip Security Reviewer.
|
|
99
|
-
- Behavior changes cannot skip QA evidence.
|
|
100
|
-
- Significant changes cannot skip living docs.
|
|
101
|
-
- Upgrade changes cannot skip `UPGRADE.md`, conflict review, audit evidence, and rollback notes.
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# Assistant Adapters
|
|
2
|
-
|
|
3
|
-
Use this file to record how the agent council is activated in the AI coding tools used by this project.
|
|
4
|
-
|
|
5
|
-
Canonical source of truth:
|
|
6
|
-
|
|
7
|
-
- `AGENTS.md`
|
|
8
|
-
- `AGENT_ROSTER.md`
|
|
9
|
-
- `.agent-kit/agent-roster.json`
|
|
10
|
-
- `MODEL_ROUTING.md`
|
|
11
|
-
- `.agent-kit/model-routing.json`
|
|
12
|
-
- `.agent-kit/orchestrator.json`
|
|
13
|
-
- `.agent-kit/project-context.json`
|
|
14
|
-
- `.agent-kit/project-context.md`
|
|
15
|
-
- `.agent-kit/corrections/project-rules.json`
|
|
16
|
-
- `.agent-kit/corrections/agent-rules.json`
|
|
17
|
-
- `COUNCIL.md`
|
|
18
|
-
- `.agent-kit/council-sessions/`
|
|
19
|
-
- `.agent-kit/schemas/council-session.schema.json`
|
|
20
|
-
- `.agent-kit/schemas/studio-session.schema.json`
|
|
21
|
-
- `.agent-kit/schemas/session-event.schema.json`
|
|
22
|
-
- `.agent-kit/schemas/project-context.schema.json`
|
|
23
|
-
- `.agent-kit/schemas/correction-rules.schema.json`
|
|
24
|
-
- `.agent-kit/schemas/orchestrator.schema.json`
|
|
25
|
-
- `.agent-kit/schemas/runtime-run.schema.json`
|
|
26
|
-
- `.agent-kit/schemas/runtime-event.schema.json`
|
|
27
|
-
- `QUALITY_GATES.md`
|
|
28
|
-
|
|
29
|
-
## Active Tool Surfaces
|
|
30
|
-
|
|
31
|
-
| Tool | Instruction surface | Instruction status | Model-selection status | Enforcement | Evidence | Notes |
|
|
32
|
-
| --- | --- | --- | --- | --- | --- | --- |
|
|
33
|
-
| Codex / AGENTS.md-compatible tools | `AGENTS.md`, `.codex/config.toml`, `.codex/agents/*.toml` | TBD | TBD | Partial | TBD | Run `agent-kit init --activate codex` to generate council custom agents and copy `.codex/config.toml`. |
|
|
34
|
-
| GitHub Copilot / VS Code | `.github/copilot-instructions.md` and `.github/instructions/*.instructions.md` | TBD | TBD | Advisory | TBD | Run `agent-kit init --activate copilot` to promote Copilot instruction files. |
|
|
35
|
-
| Cursor | `.cursor/rules/*.mdc`, `.cursor/agents/*.md`, `.cursor/skills/*/SKILL.md` | Active on init (rules); subagents on `--activate cursor` | Advisory | Partial | Run `agent-kit init --activate cursor`; verify subagents. | Delegate to `.cursor/agents/` instead of role-playing the council. |
|
|
36
|
-
| Claude Code | `.claude/agents/*.md` and optional `CLAUDE.md` | TBD | TBD | Partial | TBD | Run `agent-kit init --activate claude` to generate subagents from `.agent-kit/agent-roster.json` and install `CLAUDE.md`. |
|
|
37
|
-
| Antigravity | `.antigravity/agent-kit/plugin.json`, `.antigravity/agent-kit/commands/*.toml`, `.antigravity/runtime-skills/*/SKILL.md` | TBD | TBD | Advisory | TBD | Run `agent-kit init --activate antigravity`, then `agent-kit adapter validate antigravity`; optional native validation is `agy plugin validate` when available. |
|
|
38
|
-
| Agent Kit Runtime | `.agent-kit/orchestrator.json`, `@appsforgood/agent-kit-runtime`, `agent-kit orchestrate ...` | Disabled by default | Enforced aliases and capability gates when active | Enforced local graph and approval policy | TBD | This is the executable council. IDE adapters above remain instruction surfaces. |
|
|
39
|
-
|
|
40
|
-
## Model Selection
|
|
41
|
-
|
|
42
|
-
- Use `.agent-kit/model-routing.json` as the provider-neutral routing contract.
|
|
43
|
-
- Use `MODEL_ROUTING.md` for dated setup comments and evidence requirements.
|
|
44
|
-
- Treat exact model names as June 2026 recommendations that must be reviewed when IDE or provider docs change.
|
|
45
|
-
- Do not claim per-agent model enforcement in tools where model selection is controlled by a user picker, organization policy, or hosted agent setting.
|
|
46
|
-
|
|
47
|
-
## Adapter Rules
|
|
48
|
-
|
|
49
|
-
- Keep `AGENTS.md`, `AGENT_ROSTER.md`, and `.agent-kit/agent-roster.json` as the source of truth.
|
|
50
|
-
- Adapter files should reference the council contract; they should not fork role definitions, security policy, frontend quality rules, or release gates.
|
|
51
|
-
- Agents should read project context and active correction rules before meaningful work.
|
|
52
|
-
- Agents should record meaningful decisions, handoffs, human corrections, artifacts, required-output status, and verification with `agent-kit session ...` commands when the CLI is available.
|
|
53
|
-
- Agents should run `agent-kit session render` after changing session evidence so Markdown views stay current.
|
|
54
|
-
- Agents may run `agent-kit studio export` after rendering sessions when a local visual review page would help the user inspect collaboration.
|
|
55
|
-
- Do not place secrets, tokens, credentials, private URLs, or customer data in assistant instruction files.
|
|
56
|
-
- Keep commands concrete and verified. Document known failures or environment prerequisites.
|
|
57
|
-
- Update this file when a tool is added, removed, or confirmed to load the project instructions.
|
|
58
|
-
- Record MCP/tool connector setup separately from model-selection setup. Tool access and model choice are different controls.
|
|
59
|
-
- Do not claim an orchestrated run from IDE delegation alone. Require runtime status, events, checkpoint, and scoped commit evidence.
|
|
60
|
-
|
|
61
|
-
## Executable Runtime
|
|
62
|
-
|
|
63
|
-
Install `@appsforgood/agent-kit-runtime`, configure credential references and deterministic aliases in `.agent-kit/orchestrator.json`, then run:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
agent-kit orchestrate validate
|
|
67
|
-
agent-kit orchestrate plan "Describe the goal"
|
|
68
|
-
agent-kit orchestrate run "Describe the goal"
|
|
69
|
-
agent-kit orchestrate approve <run-id>
|
|
70
|
-
agent-kit orchestrate status <run-id>
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Runs use explicit roster sequences, SQLite checkpoints, risk-tiered approvals, redacted JSONL evidence, an isolated Git worktree, Docker-first mutations, and an optional approved Cursor host executor. The runtime may create one scoped commit; it never merges, pushes, or opens a pull request. See `.agent-kit/assistant-adapters/orchestrator-runtime.md`.
|
|
74
|
-
|
|
75
|
-
## Cursor Activation
|
|
76
|
-
|
|
77
|
-
`agent-kit init` installs the canonical Cursor rules automatically:
|
|
78
|
-
|
|
79
|
-
- `.cursor/rules/cursor-agent-kit.mdc`
|
|
80
|
-
- `.cursor/rules/cursor-model-selection.mdc`
|
|
81
|
-
|
|
82
|
-
Verification steps:
|
|
83
|
-
|
|
84
|
-
1. Run `agent-kit init --stack next-supabase` in the target project.
|
|
85
|
-
2. Confirm both files exist under `.cursor/rules/`.
|
|
86
|
-
3. Open Cursor Settings > Rules and verify the rules are active for the workspace.
|
|
87
|
-
4. Start a meaningful task and confirm the agent reads `AGENTS.md`, `.agent-kit/agent-roster.json`, and project context before implementation.
|
|
88
|
-
5. Record the verification date, owner, and evidence path in the Active Tool Surfaces table above.
|
|
89
|
-
|
|
90
|
-
If a project already customized `.cursor/rules/`, review `.agent-kit/conflicts/` after `agent-kit update` before adopting newer adapter wording.
|
|
91
|
-
|
|
92
|
-
Run `agent-kit init --activate cursor` to generate `.cursor/agents/*.md` and `.cursor/skills/*/SKILL.md` from the roster and kit skills.
|
|
93
|
-
|
|
94
|
-
## Multi-agent delegation
|
|
95
|
-
|
|
96
|
-
Same council playbook across IDEs — delegate to specialists instead of role-playing every role in one thread.
|
|
97
|
-
|
|
98
|
-
| Risk / work | Cursor | Codex | Claude Code |
|
|
99
|
-
| --- | --- | --- | --- |
|
|
100
|
-
| Auth / RLS / secrets | `@security-reviewer` or Task `security-review` | spawn `security-reviewer.toml` | `@security-reviewer` |
|
|
101
|
-
| Planning / scope | `@planner` | spawn `planner.toml` | `@planner` |
|
|
102
|
-
| Frontend UI | `@frontend-design-lead` | spawn `frontend-design-lead.toml` | `@frontend-design-lead` |
|
|
103
|
-
| QA / behavior changes | `@qa-engineer` or Task `bugbot` | spawn `qa-engineer.toml` | `@qa-engineer` |
|
|
104
|
-
|
|
105
|
-
Record evidence with `agent-kit session checkpoint --file <json>` when the CLI is available.
|
|
106
|
-
|
|
107
|
-
## Codex Activation
|
|
108
|
-
|
|
109
|
-
`agent-kit init --activate codex` installs:
|
|
110
|
-
|
|
111
|
-
- `.codex/config.toml`
|
|
112
|
-
- `.codex/agents/*.toml` council custom agents with `model_reasoning_effort` from `.agent-kit/model-routing.json`
|
|
113
|
-
|
|
114
|
-
Validate with `agent-kit adapter validate codex`.
|
|
115
|
-
|
|
116
|
-
## Antigravity Activation
|
|
117
|
-
|
|
118
|
-
`agent-kit init --activate antigravity` installs a native runtime adapter without changing the canonical Agent Kit operating model:
|
|
119
|
-
|
|
120
|
-
- `.antigravity/agent-kit/plugin.json`
|
|
121
|
-
- `.antigravity/agent-kit/commands/*.toml`
|
|
122
|
-
- `.antigravity/runtime-skills/*/SKILL.md`
|
|
123
|
-
- `.antigravity/agent-kit/README.md`
|
|
124
|
-
|
|
125
|
-
Validate the structural package with:
|
|
126
|
-
|
|
127
|
-
```bash
|
|
128
|
-
agent-kit adapter validate antigravity
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
If the local machine has the Antigravity CLI, teams may also run native plugin validation and record that evidence here. Runtime command files are adapters only; `AGENTS.md`, `.agent-kit/agent-roster.json`, `QUALITY_GATES.md`, `.agent-kit/prompts/ui-command-index.md`, `.agent-kit/checklists/ui-detectors.md`, and Agent Studio sessions remain canonical.
|
|
132
|
-
|
|
133
|
-
The frontend adapter surface includes `/frontend` plus focused UI improvement commands: `/ui-audit`, `/ui-polish`, `/layout-cleanup`, `/responsive-cleanup`, `/accessibility-pass`, `/distinctiveness-pass`, `/screenshot-critique`, and `/browser-qa`. These commands invoke existing Frontend Design Lead, QA, accessibility, screenshot, and documentation gates; they do not replace the council workflow.
|
|
134
|
-
|
|
135
|
-
## Acceptance Evidence
|
|
136
|
-
|
|
137
|
-
Before claiming strong or best-practice maturity, replace the TBD rows above with:
|
|
138
|
-
|
|
139
|
-
- The active tool and instruction-surface path.
|
|
140
|
-
- The active model profile or model-selection policy.
|
|
141
|
-
- The enforcement level: enforced, partial, advisory, or manual.
|
|
142
|
-
- The command, screenshot, PR, or session evidence proving the instructions loaded.
|
|
143
|
-
- Any manual invocation needed to select the correct agent, rule, or subagent.
|
|
144
|
-
- The Agent Studio session path, rendered Markdown, or audit output proving the agent read context and recorded handoff evidence.
|
|
145
|
-
- Optional `.agent-kit/studio/index.html` evidence when a static local Studio export was used.
|
|
146
|
-
- The date and owner of the verification.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# Council Sessions
|
|
2
|
-
|
|
3
|
-
Use this file to record agent council evidence for meaningful planning, core-change, frontend-change, security-review, release, or research work.
|
|
4
|
-
|
|
5
|
-
The machine-readable roster lives at `.agent-kit/agent-roster.json`. Model profile routing lives at `.agent-kit/model-routing.json`. Project-specific context lives in `.agent-kit/project-context.json` and `.agent-kit/project-context.md`. Durable corrections live in `.agent-kit/corrections/`. Schemas live in `.agent-kit/schemas/`. For structured Agent Studio records, write session metadata to `.agent-kit/council-sessions/<session-id>/session.json`, append visible events to `events.jsonl`, and render `index.md` plus `transcript.md`. Run `agent-kit studio export` when a self-contained local HTML view is useful for inspecting sessions. Legacy structured session JSON files should follow `.agent-kit/schemas/council-session.schema.json`. Machine-readable audit output follows `.agent-kit/schemas/audit-report.schema.json`.
|
|
6
|
-
|
|
7
|
-
## Session Template
|
|
8
|
-
|
|
9
|
-
```md
|
|
10
|
-
## YYYY-MM-DD - Short Request Name
|
|
11
|
-
|
|
12
|
-
- Workflow: planning | core-change | frontend-change | security-review | release | research
|
|
13
|
-
- Status: planned | in-progress | blocked | complete
|
|
14
|
-
- Request: What the user asked for
|
|
15
|
-
- Affected layers: data, business logic, presentation, auth, deployment, docs
|
|
16
|
-
|
|
17
|
-
### Required Outputs
|
|
18
|
-
|
|
19
|
-
| Output | Status | Evidence |
|
|
20
|
-
| --- | --- | --- |
|
|
21
|
-
| Phased checklist | Missing/Partial/Complete/N/A | Link or note |
|
|
22
|
-
| Architecture decision | Missing/Partial/Complete/N/A | Link or note |
|
|
23
|
-
| Security review | Missing/Partial/Complete/N/A | Link or note |
|
|
24
|
-
| Test evidence | Missing/Partial/Complete/N/A | Command or report |
|
|
25
|
-
| Visual QA evidence | Missing/Partial/Complete/N/A | Screenshot, Storybook, or visual diff |
|
|
26
|
-
| Docs impact | Missing/Partial/Complete/N/A | Updated file |
|
|
27
|
-
|
|
28
|
-
### Handoffs
|
|
29
|
-
|
|
30
|
-
| Agent | Decision | Risk | Next Handoff | Evidence |
|
|
31
|
-
| --- | --- | --- | --- | --- |
|
|
32
|
-
| Planner | TBD | TBD | Lead Architect | TBD |
|
|
33
|
-
|
|
34
|
-
### Verification
|
|
35
|
-
|
|
36
|
-
| Command Or Review | Result | Notes |
|
|
37
|
-
| --- | --- | --- |
|
|
38
|
-
| TBD | Pass/Fail/Skipped | TBD |
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Rules
|
|
42
|
-
|
|
43
|
-
- Every handoff must include decision, risk, next handoff, and evidence.
|
|
44
|
-
- Meaningful multi-agent work should use `agent-kit session start`, `decision`, `handoff`, `correct`, `artifact`, `verify`, `output`, and `render` when the CLI is available.
|
|
45
|
-
- Static Studio export is optional, but exported HTML must be regenerated after session evidence changes and must not contain secrets.
|
|
46
|
-
- Structured session JSON records must pass `agent-kit audit`.
|
|
47
|
-
- Agent Studio `events.jsonl` rows must stay append-only, valid JSONL, and free of secrets.
|
|
48
|
-
- Required outputs must be explicitly marked `complete`, `not-applicable`, `missing`, or `partial`; do not close a session as complete while any required output is still missing or partial.
|
|
49
|
-
- Core changes must include Lead Architect evidence.
|
|
50
|
-
- Auth, data mutation, dependency, external-call, secret, and release-risk work must include Security Reviewer evidence.
|
|
51
|
-
- User-facing frontend work must include Frontend Design Lead, reference-set evidence, design critique verdict, creative direction, accessibility, and visual QA evidence.
|
|
52
|
-
- Public-facing or conversion-facing copy work must include Marketing Copy Lead evidence, discovery questions, value proposition, proof, objections, voice/tone, and CTA hierarchy.
|
|
53
|
-
- Behavior changes must include QA evidence or a documented test gap.
|
|
54
|
-
- Human corrections must be recorded before continuing work and promoted into durable project or agent rules when they should affect future sessions.
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# Decisions
|
|
2
|
-
|
|
3
|
-
Record architectural, technical, security, release, and design-direction decisions here.
|
|
4
|
-
|
|
5
|
-
## Template
|
|
6
|
-
|
|
7
|
-
```md
|
|
8
|
-
## YYYY-MM-DD - Decision Title
|
|
9
|
-
|
|
10
|
-
### Context
|
|
11
|
-
|
|
12
|
-
What problem, constraint, or tradeoff forced this decision?
|
|
13
|
-
|
|
14
|
-
### Decision
|
|
15
|
-
|
|
16
|
-
What did we choose?
|
|
17
|
-
|
|
18
|
-
### Consequences
|
|
19
|
-
|
|
20
|
-
What becomes easier, harder, safer, or riskier because of this decision?
|
|
21
|
-
|
|
22
|
-
### Follow-Up
|
|
23
|
-
|
|
24
|
-
What should be revisited later?
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Active Decisions
|
|
28
|
-
|
|
29
|
-
Add new decisions above this line or keep newest first.
|
|
30
|
-
|
|
31
|
-
Record major frontend choices here when a creative direction, reference set, anti-reference, brand constraint, information architecture, visual QA tier, or component-system rule materially affects implementation.
|
|
32
|
-
|
|
33
|
-
## Runtime Adapter Rule
|
|
34
|
-
|
|
35
|
-
### Context
|
|
36
|
-
|
|
37
|
-
Agent Kit may expose runtime-native command surfaces such as Antigravity plugin commands.
|
|
38
|
-
|
|
39
|
-
### Decision
|
|
40
|
-
|
|
41
|
-
Runtime command files are adapters. `AGENTS.md`, `.agent-kit/agent-roster.json`, `QUALITY_GATES.md`, canonical `.agent-kit/skills/`, and Agent Studio session records remain the source of truth.
|
|
42
|
-
|
|
43
|
-
### Consequences
|
|
44
|
-
|
|
45
|
-
Native commands improve invocation ergonomics, but project policy, security gates, handoff rules, model routing, and documentation contracts stay centralized in Agent Kit files.
|
|
46
|
-
|
|
47
|
-
## UI Improvement Harness Rule
|
|
48
|
-
|
|
49
|
-
### Context
|
|
50
|
-
|
|
51
|
-
Frontend work needs repeatable audit, polish, screenshot, responsive, accessibility, distinctiveness, and browser QA loops rather than one-off taste review.
|
|
52
|
-
|
|
53
|
-
### Decision
|
|
54
|
-
|
|
55
|
-
Use `.agent-kit/prompts/ui-command-index.md`, `.agent-kit/checklists/ui-detectors.md`, `.agent-kit/checklists/ui-acceptance-rubric.md`, and `.agent-kit/skills/ui-improvement-harness.md` as the source of truth for UI improvement commands and detector severity.
|
|
56
|
-
|
|
57
|
-
### Consequences
|
|
58
|
-
|
|
59
|
-
Meaningful UI work must classify blocker, major, and minor findings, require desktop and mobile screenshot evidence, and include authenticated or permission-state evidence for protected screens.
|
|
60
|
-
|
|
61
|
-
## Agent Kit Model Routing
|
|
62
|
-
|
|
63
|
-
### Context
|
|
64
|
-
|
|
65
|
-
AI coding tools differ in whether repository files can enforce per-agent model selection.
|
|
66
|
-
|
|
67
|
-
### Decision
|
|
68
|
-
|
|
69
|
-
Use `MODEL_ROUTING.md` and `.agent-kit/model-routing.json` as the provider-neutral source for agent model profiles. Record IDE-specific setup and limitations in `ASSISTANT_ADAPTERS.md`.
|
|
70
|
-
|
|
71
|
-
### Consequences
|
|
72
|
-
|
|
73
|
-
Exact model names remain dated recommendations, while agents keep stable profile intent and evidence requirements.
|
|
74
|
-
|
|
75
|
-
## Optional Executable Orchestrator
|
|
76
|
-
|
|
77
|
-
### Context
|
|
78
|
-
|
|
79
|
-
IDE rules and subagents provide advisory council routing but are not proof that an executable, resumable workflow ran.
|
|
80
|
-
|
|
81
|
-
### Decision
|
|
82
|
-
|
|
83
|
-
Keep `.agent-kit/orchestrator.json` disabled by default. When programmatic execution is required, install `@appsforgood/agent-kit-runtime`, validate deterministic aliases and credential references, and use its bounded LangGraph, SQLite checkpoint, approval, MCP, Docker, worktree, and redacted-evidence contracts. Permit at most one approved scoped commit; retain merge, push, pull request, deployment, and migration decisions for the operator.
|
|
84
|
-
|
|
85
|
-
### Consequences
|
|
86
|
-
|
|
87
|
-
The project can opt into stronger execution enforcement without making provider credentials or native runtime dependencies part of baseline Agent Kit use. Host execution and private network exceptions require explicit local rationale and approval evidence.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Deployment
|
|
2
|
-
|
|
3
|
-
## Environments
|
|
4
|
-
|
|
5
|
-
Document each environment:
|
|
6
|
-
|
|
7
|
-
- Local
|
|
8
|
-
- Preview
|
|
9
|
-
- Production
|
|
10
|
-
|
|
11
|
-
## Environment Variables
|
|
12
|
-
|
|
13
|
-
Document required variables with placeholder examples only.
|
|
14
|
-
|
|
15
|
-
Required Supabase variables usually include:
|
|
16
|
-
|
|
17
|
-
- `NEXT_PUBLIC_SUPABASE_URL`
|
|
18
|
-
- `NEXT_PUBLIC_SUPABASE_ANON_KEY`
|
|
19
|
-
- Server-only service-role key when needed
|
|
20
|
-
|
|
21
|
-
Optional Agent Kit runtime provider credentials must be referenced with `env:` names or OS-keychain entries. Do not copy resolved values into `.agent-kit/orchestrator.json`, deployment config, run evidence, or CI logs.
|
|
22
|
-
|
|
23
|
-
## Migration Order
|
|
24
|
-
|
|
25
|
-
Before deploying code that depends on database changes:
|
|
26
|
-
|
|
27
|
-
1. Review migration safety.
|
|
28
|
-
2. Apply schema and RLS changes.
|
|
29
|
-
3. Verify policies and constraints.
|
|
30
|
-
4. Deploy application code.
|
|
31
|
-
5. Run smoke tests.
|
|
32
|
-
|
|
33
|
-
## Observability
|
|
34
|
-
|
|
35
|
-
Document:
|
|
36
|
-
|
|
37
|
-
- Application logs
|
|
38
|
-
- Supabase logs
|
|
39
|
-
- Error reporting
|
|
40
|
-
- Cron or background jobs
|
|
41
|
-
- Alerting expectations
|
|
42
|
-
|
|
43
|
-
## Rollback
|
|
44
|
-
|
|
45
|
-
Document rollback steps for code, database migrations, and environment variable mistakes.
|
|
46
|
-
|
|
47
|
-
If an orchestrated run produced a worktree or scoped commit, record the run ID, branch, commit, approval decisions, whether any migration/deploy command actually ran, and the manual keep/remove/merge decision. The runtime does not perform that repository or deployment step automatically.
|
|
48
|
-
|
|
49
|
-
Link upgrade-specific rollback evidence from `UPGRADE.md` when the release includes package, framework, Agent Kit, or migration changes.
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
# Design Direction
|
|
2
|
-
|
|
3
|
-
This file is the persistent visual identity and content-direction contract for coding agents, design agents, and human reviewers.
|
|
4
|
-
|
|
5
|
-
Use it before designing or changing any user-facing screen. If the project already has a mature brand or design system, keep that system and record the override in `.agent-kit/overrides.json`.
|
|
6
|
-
|
|
7
|
-
## Brand And Content Inputs
|
|
8
|
-
|
|
9
|
-
Define the real product context before UI work starts.
|
|
10
|
-
|
|
11
|
-
| Area | Required Decision |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| Product category | SaaS, admin, marketplace, content, tool, ecommerce, portfolio, venue, education, community, AI workflow, or other |
|
|
14
|
-
| Primary audience | Who uses the product and what they already understand |
|
|
15
|
-
| User needs | Jobs users are trying to complete, written in the user's language |
|
|
16
|
-
| Content inventory | Real nouns, labels, data types, records, assets, and domain terms available to the UI |
|
|
17
|
-
| Brand personality | 3-5 traits that should be visible in layout, typography, imagery, and interaction tone |
|
|
18
|
-
| Visual constraints | Existing logo, colors, fonts, imagery, accessibility constraints, and platform conventions |
|
|
19
|
-
| Competitive context | Category references to learn from and avoid copying |
|
|
20
|
-
| Non-goals | Visual tropes, copy patterns, or interaction styles that must not be used |
|
|
21
|
-
|
|
22
|
-
## Reference Set And Anti-References
|
|
23
|
-
|
|
24
|
-
Use references for learning, not copying. Record what the project should absorb and what it must avoid.
|
|
25
|
-
|
|
26
|
-
| Reference | What To Learn | What Not To Copy | Source-Safety Notes |
|
|
27
|
-
| --- | --- | --- | --- |
|
|
28
|
-
| Reference A | TBD | TBD | No brand marks, protected layout signatures, proprietary assets, or exact copy |
|
|
29
|
-
| Reference B | TBD | TBD | TBD |
|
|
30
|
-
| Reference C | Optional | Optional | Optional |
|
|
31
|
-
|
|
32
|
-
Anti-references:
|
|
33
|
-
|
|
34
|
-
- TBD: pattern, palette, layout, copy, or interaction style to avoid.
|
|
35
|
-
- TBD: another explicit non-goal.
|
|
36
|
-
|
|
37
|
-
Common visual tropes to reject unless a mature brand system explicitly requires them:
|
|
38
|
-
|
|
39
|
-
- Accent-border cards, glow rails, neon strokes, gradient borders, and one-sided colored panel borders.
|
|
40
|
-
- Generic gradient heroes, gradient text, abstract blobs, card soup, oversized rounded glass panels, and ornamental icon walls.
|
|
41
|
-
- Fake dashboard metrics, decorative credibility badges, vague SaaS sayings, filler "features / benefits / how it works" sections, and color-only status styling.
|
|
42
|
-
|
|
43
|
-
## Creative Direction
|
|
44
|
-
|
|
45
|
-
Before implementation, produce at least two distinct visual directions and choose one.
|
|
46
|
-
|
|
47
|
-
| Direction | What Makes It Distinct | Best For | Risks |
|
|
48
|
-
| --- | --- | --- | --- |
|
|
49
|
-
| Direction A | TBD | TBD | TBD |
|
|
50
|
-
| Direction B | TBD | TBD | TBD |
|
|
51
|
-
| Direction C | Optional | Optional | Optional |
|
|
52
|
-
|
|
53
|
-
Chosen direction:
|
|
54
|
-
|
|
55
|
-
- Name: TBD
|
|
56
|
-
- Rationale: TBD
|
|
57
|
-
- Rejected alternatives: TBD
|
|
58
|
-
|
|
59
|
-
## Design Tokens
|
|
60
|
-
|
|
61
|
-
Tokens are the normative values. Prose explains how to apply them.
|
|
62
|
-
|
|
63
|
-
| Token Area | Required Decisions |
|
|
64
|
-
| --- | --- |
|
|
65
|
-
| Color | Semantic colors, surface colors, text colors, state colors, contrast notes |
|
|
66
|
-
| Typography | Font family, scale, weights, line height, heading/body relationship |
|
|
67
|
-
| Spacing | Base unit, dense/admin spacing, section spacing, responsive spacing |
|
|
68
|
-
| Radius | Component radius defaults and exceptions |
|
|
69
|
-
| Motion | Duration, easing, reduced-motion behavior |
|
|
70
|
-
| Shadow/Depth | When elevation is allowed and when it is prohibited |
|
|
71
|
-
| Imagery | Product, place, person, object, or workflow asset rules |
|
|
72
|
-
|
|
73
|
-
## Information Architecture
|
|
74
|
-
|
|
75
|
-
The first screen must show the real product, task, object, or workflow.
|
|
76
|
-
|
|
77
|
-
Document:
|
|
78
|
-
|
|
79
|
-
- Primary workflow.
|
|
80
|
-
- Secondary workflows.
|
|
81
|
-
- Navigation model.
|
|
82
|
-
- Data hierarchy.
|
|
83
|
-
- Empty, loading, error, disabled, success, and permission-denied states.
|
|
84
|
-
- Mobile-first layout changes.
|
|
85
|
-
|
|
86
|
-
## Design Critique Gate
|
|
87
|
-
|
|
88
|
-
Run `.agent-kit/prompts/design-critique-gate.md` before accepting significant frontend work.
|
|
89
|
-
|
|
90
|
-
| Area | Verdict |
|
|
91
|
-
| --- | --- |
|
|
92
|
-
| First-screen specificity | TBD |
|
|
93
|
-
| Product/content fit | TBD |
|
|
94
|
-
| Distinctiveness | Weak, adequate, or strong |
|
|
95
|
-
| Generic AI-site risk | TBD |
|
|
96
|
-
| Accessibility risk | TBD |
|
|
97
|
-
| Required changes | TBD |
|
|
98
|
-
|
|
99
|
-
## Frontend Distinctiveness Benchmark
|
|
100
|
-
|
|
101
|
-
Run `.agent-kit/prompts/frontend-distinctiveness-benchmark.md` before accepting significant frontend work. This benchmark proves the UI is specific to the product, not just polished.
|
|
102
|
-
|
|
103
|
-
| Area | Required Evidence |
|
|
104
|
-
| --- | --- |
|
|
105
|
-
| First-screen proof | The first viewport shows the real product object, task, workflow, content, or decision |
|
|
106
|
-
| Content fingerprint | Product nouns, labels, data shapes, records, actions, edge cases, and domain terms visible in the UI |
|
|
107
|
-
| Reference benchmark | 3-5 references with lessons to learn and 2-3 anti-references with tropes to avoid |
|
|
108
|
-
| Creative divergence | At least two plausible directions compared before implementation |
|
|
109
|
-
| Asset provenance | Real, generated, licensed, and placeholder assets identified with usage constraints |
|
|
110
|
-
| State proof | Loading, empty, error, disabled, success, permission, and focus states captured where relevant |
|
|
111
|
-
| Visual QA proof | Desktop, mobile, and high-risk state evidence reviewed for the change risk |
|
|
112
|
-
| UI detector proof | `.agent-kit/checklists/ui-detectors.md` completed with blocker, major, minor, pass, and not-applicable findings |
|
|
113
|
-
|
|
114
|
-
Distinctiveness verdict:
|
|
115
|
-
|
|
116
|
-
- Verdict: Reject, adequate, or distinctive
|
|
117
|
-
- Generic-AI-site risk: TBD
|
|
118
|
-
- Source-safety risks: TBD
|
|
119
|
-
- Required changes before acceptance: TBD
|
|
120
|
-
|
|
121
|
-
## Product Quality Scorecard
|
|
122
|
-
|
|
123
|
-
Run `.agent-kit/prompts/frontend-product-quality-scorecard.md` before accepting significant frontend work. Score each dimension as `0`, `1`, or `2`.
|
|
124
|
-
|
|
125
|
-
| Dimension | Score | Evidence |
|
|
126
|
-
| --- | --- | --- |
|
|
127
|
-
| User/task fit | TBD | Does the first screen show the real product task, object, workflow, or content? |
|
|
128
|
-
| Content specificity | TBD | Are real nouns, labels, data shapes, assets, and domain terms visible? |
|
|
129
|
-
| Visual identity | TBD | Does the visual direction belong to this product instead of a generic category? |
|
|
130
|
-
| Information architecture | TBD | Are primary and secondary workflows clear and scannable? |
|
|
131
|
-
| Component states | TBD | Are loading, empty, error, disabled, success, permission, and focus states handled where relevant? |
|
|
132
|
-
| Accessibility and interaction | TBD | Are keyboard path, focus, contrast, labels, motion, and error feedback covered? |
|
|
133
|
-
| Source safety | TBD | Did references teach decisions without copied brand marks, layouts, copy, assets, or visual signatures? |
|
|
134
|
-
|
|
135
|
-
Total score:
|
|
136
|
-
|
|
137
|
-
- Score: TBD / 14
|
|
138
|
-
- Verdict: Reject, adequate, or strong
|
|
139
|
-
- Critical zeroes: TBD
|
|
140
|
-
- Required changes before acceptance: TBD
|
|
141
|
-
|
|
142
|
-
Acceptance threshold:
|
|
143
|
-
|
|
144
|
-
- Reject if user/task fit, content specificity, accessibility and interaction, or source safety scores `0`.
|
|
145
|
-
- Reject if total score is below `10`.
|
|
146
|
-
- Treat `10-11` as adequate and `12-14` as strong.
|
|
147
|
-
- Best-practice frontend evidence requires at least `12`, no critical zeroes, desktop/mobile review, and visual QA evidence for the change risk.
|
|
148
|
-
|
|
149
|
-
## Component Direction
|
|
150
|
-
|
|
151
|
-
List product-specific components and the states they require.
|
|
152
|
-
|
|
153
|
-
| Component | Purpose | States | Accessibility Notes |
|
|
154
|
-
| --- | --- | --- | --- |
|
|
155
|
-
| Primary action surface | TBD | Default, hover, focus, disabled, loading, success, error | TBD |
|
|
156
|
-
|
|
157
|
-
## Asset Rules
|
|
158
|
-
|
|
159
|
-
- Use real product, object, place, person, gameplay, workflow, or generated imagery when visual inspection matters.
|
|
160
|
-
- Avoid generic abstract gradients, vague device mockups, fake metrics, and stock-like decoration.
|
|
161
|
-
- If no assets exist, document the missing asset need and use a purposeful placeholder with clear dimensions.
|
|
162
|
-
- Keep image alt text specific to the content or empty only when the image is decorative.
|
|
163
|
-
|
|
164
|
-
## Acceptance Evidence
|
|
165
|
-
|
|
166
|
-
Frontend work is not accepted until the following evidence exists:
|
|
167
|
-
|
|
168
|
-
- Brand and content inputs are filled or explicitly marked as not applicable.
|
|
169
|
-
- Reference set, anti-references, and source-safety notes are filled.
|
|
170
|
-
- A creative-direction matrix was considered.
|
|
171
|
-
- The chosen direction is reflected in tokens, layout, copy, and imagery.
|
|
172
|
-
- A design critique verdict records product fit, distinctiveness, generic-risk, and required changes.
|
|
173
|
-
- A frontend distinctiveness benchmark records first-screen proof, content fingerprint, reference benchmark, creative divergence, asset provenance, state proof, visual QA proof, generic-risk, and source-safety risks.
|
|
174
|
-
- A product-quality scorecard records user/task fit, content specificity, visual identity, information architecture, component states, accessibility and interaction, source safety, total score, and verdict.
|
|
175
|
-
- Desktop and mobile screenshots were reviewed.
|
|
176
|
-
- UI detector findings were classified and blockers were resolved.
|
|
177
|
-
- Authenticated or permission-state screenshots were reviewed when the changed surface requires login, roles, tenant context, or permissions.
|
|
178
|
-
- Accessibility risks and component states were reviewed.
|
|
179
|
-
- Visual QA tier is documented in `TESTING.md` for high-risk UI changes.
|
|
180
|
-
- Baseline visual changes are approved intentionally when visual regression tooling exists.
|