@appsforgood/next-supabase-kit 0.2.1 → 0.3.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 +4 -0
- package/DOGFOOD.md +14 -0
- package/README.md +14 -7
- package/REPOSITORY_SETTINGS.md +3 -1
- package/SUPPLY_CHAIN.md +3 -2
- package/dist/index.js +52 -20
- package/dist/index.js.map +1 -1
- package/examples/next-supabase-installed/.agent-kit/config.json +30 -0
- package/examples/next-supabase-installed/.agent-kit/manifest.json +9 -10
- package/examples/next-supabase-installed/audit-output.json +1 -1
- package/examples/next-supabase-installed/tree.txt +0 -3
- package/package.json +2 -1
- package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +6 -7
- package/templates/next-supabase/DEPLOYMENT.md +2 -0
- package/templates/next-supabase/LOOP_CODING.md +1 -1
- package/templates/next-supabase/QUALITY_GATES.md +1 -0
- package/templates/next-supabase/TESTING.md +17 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"stack": "next-supabase",
|
|
3
|
+
"projectType": "saas",
|
|
4
|
+
"docsMode": "advisory",
|
|
5
|
+
"githubActions": {
|
|
6
|
+
"mode": "off"
|
|
7
|
+
},
|
|
8
|
+
"agentCouncil": {
|
|
9
|
+
"required": true,
|
|
10
|
+
"rosterPath": ".agent-kit/agent-roster.json",
|
|
11
|
+
"defaultWorkflow": "planning",
|
|
12
|
+
"coreChangeWorkflow": "core-change"
|
|
13
|
+
},
|
|
14
|
+
"modelRouting": {
|
|
15
|
+
"required": true,
|
|
16
|
+
"routingPath": ".agent-kit/model-routing.json",
|
|
17
|
+
"reviewCadence": "quarterly-or-when-model-docs-change"
|
|
18
|
+
},
|
|
19
|
+
"designProviders": [
|
|
20
|
+
"stitch",
|
|
21
|
+
"claude",
|
|
22
|
+
"figma",
|
|
23
|
+
"human"
|
|
24
|
+
],
|
|
25
|
+
"research": {
|
|
26
|
+
"maxRepos": 100,
|
|
27
|
+
"githubTokenEnv": "GITHUB_TOKEN",
|
|
28
|
+
"workdir": "research/workdir"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"packageName": "@appsforgood/next-supabase-kit",
|
|
4
|
-
"packageVersion": "0.
|
|
4
|
+
"packageVersion": "0.3.0",
|
|
5
5
|
"stack": "next-supabase",
|
|
6
6
|
"installedAt": "2026-07-04T01:32:06.844Z",
|
|
7
7
|
"docs": [
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"DESIGN.md": "a89eaed5d40e3cbe07a2c216bd56009275d973c30508aaf5bc31aa334a6ebe97",
|
|
52
52
|
"MESSAGING.md": "f1f7c0f11796820b60bb44e42a65749763f7167944ba6acf092a1cf7b59e50de",
|
|
53
53
|
"MODEL_ROUTING.md": "68bc686762ad7ec2b08759fc294b9e6b1be5fcd250ebea9574be71d1eebff5d6",
|
|
54
|
-
"QUALITY_GATES.md": "
|
|
54
|
+
"QUALITY_GATES.md": "b3d5b754972201eae89f7a46fd279c3b12cda3e2145a1445f6329864566249da",
|
|
55
55
|
"STYLE_GUIDE.md": "70b984b69829f23b87af3f85535bed1bce81a0452e451aed876219fb416d7671",
|
|
56
56
|
"SECURITY.md": "6f6aeed911059a9e0259b93322ef25212411d23daee3091975a868585fa280d5",
|
|
57
|
-
"TESTING.md": "
|
|
58
|
-
"LOOP_CODING.md": "
|
|
59
|
-
"DEPLOYMENT.md": "
|
|
57
|
+
"TESTING.md": "f4d604ff7935959d402f952db9be7ca4a444652b12f7ac46c97f4cc08553b4dd",
|
|
58
|
+
"LOOP_CODING.md": "a0f454cf1865dbce985dbdaa3f3232002ad5b83005eaa7c00d212085351d2b45",
|
|
59
|
+
"DEPLOYMENT.md": "da3a395c857dc7809227d4a134939d0d9d10e43dee5b06f14c7d613fd5471301",
|
|
60
60
|
"UPGRADE.md": "589e301cc77eeaa56397c5759a11db596f0930ff1aaf53369be424a227b653d1"
|
|
61
61
|
},
|
|
62
62
|
"assetHashes": {
|
|
@@ -211,24 +211,23 @@
|
|
|
211
211
|
".agent-kit/skills/visual-regression-qa.md": "a8b71c62df726757d3557230c0a4244cc51b136a653afdcd250dc2f7ccfa72c4",
|
|
212
212
|
".cursor/rules/cursor-agent-kit.mdc": "8ac2b33af78a4a7eeac572eaa2fa3549555064a52890eb354dc0cae9b6f458b8",
|
|
213
213
|
".cursor/rules/cursor-model-selection.mdc": "21f4318fb5f9f91f49e81aae3ddb1293cd69b7a366f40271005eb2f425b2d001",
|
|
214
|
-
".github/workflows/agent-kit-audit.yml": "7992324c3a641472a6543cc382f4064be5460a4a6a0346d3199c0aa595393dbb",
|
|
215
214
|
"AGENT_ROSTER.md": "40147eecf3977bf64431204b67f24eb277a834ba5b6f894c053c79c0a9dbb8f5",
|
|
216
215
|
"AGENTS.md": "b27d38f3797485d79295c9caefbd4e8052ffaded37d3f71ca43f195b0d287e07",
|
|
217
216
|
"ASSISTANT_ADAPTERS.md": "b1611a886965095aea7c4a9e86953c0c7001b3455ca47c60969b7e023cadac00",
|
|
218
217
|
"COUNCIL.md": "40bec9051664c9c38b8360ee16f21b5e4716030d19c493cdec67395ab06528e1",
|
|
219
218
|
"DECISIONS.md": "15e281ba65f82393346fa40278d0067b933ac72bd5b079ea066c12be5dd8cea9",
|
|
220
|
-
"DEPLOYMENT.md": "
|
|
219
|
+
"DEPLOYMENT.md": "da3a395c857dc7809227d4a134939d0d9d10e43dee5b06f14c7d613fd5471301",
|
|
221
220
|
"DESIGN.md": "a89eaed5d40e3cbe07a2c216bd56009275d973c30508aaf5bc31aa334a6ebe97",
|
|
222
221
|
"DOCS.md": "350ca7dccecbc56a85f731e73280eba0c5ce57dc7b5a1b908bb85dcabe5493b2",
|
|
223
|
-
"LOOP_CODING.md": "
|
|
222
|
+
"LOOP_CODING.md": "a0f454cf1865dbce985dbdaa3f3232002ad5b83005eaa7c00d212085351d2b45",
|
|
224
223
|
"MESSAGING.md": "f1f7c0f11796820b60bb44e42a65749763f7167944ba6acf092a1cf7b59e50de",
|
|
225
224
|
"MODEL_ROUTING.md": "68bc686762ad7ec2b08759fc294b9e6b1be5fcd250ebea9574be71d1eebff5d6",
|
|
226
|
-
"QUALITY_GATES.md": "
|
|
225
|
+
"QUALITY_GATES.md": "b3d5b754972201eae89f7a46fd279c3b12cda3e2145a1445f6329864566249da",
|
|
227
226
|
"SECURITY.md": "6f6aeed911059a9e0259b93322ef25212411d23daee3091975a868585fa280d5",
|
|
228
227
|
"SKILLS.md": "320b76f37e8b509d597ba01331d3b1a4dc4f1eb68b6d2294ba4125fb2ab02970",
|
|
229
228
|
"SPEC.md": "6424090a564467176fff1f85e93855d41ed383bc525e67ba3d43d4908daad095",
|
|
230
229
|
"STYLE_GUIDE.md": "70b984b69829f23b87af3f85535bed1bce81a0452e451aed876219fb416d7671",
|
|
231
|
-
"TESTING.md": "
|
|
230
|
+
"TESTING.md": "f4d604ff7935959d402f952db9be7ca4a444652b12f7ac46c97f4cc08553b4dd",
|
|
232
231
|
"UPGRADE.md": "589e301cc77eeaa56397c5759a11db596f0930ff1aaf53369be424a227b653d1"
|
|
233
232
|
}
|
|
234
233
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsforgood/next-supabase-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Open agent council, skills, prompts, checklists, and markdown templates for Next.js and Supabase projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"rosters",
|
|
39
39
|
"schemas",
|
|
40
40
|
"examples/next-supabase-installed/.agent-kit/agent-roster.json",
|
|
41
|
+
"examples/next-supabase-installed/.agent-kit/config.json",
|
|
41
42
|
"examples/next-supabase-installed/.agent-kit/model-routing.json",
|
|
42
43
|
"examples/next-supabase-installed/.agent-kit/manifest.json",
|
|
43
44
|
"examples/next-supabase-installed/.agent-kit/overrides.json",
|
|
@@ -13,23 +13,22 @@ permissions:
|
|
|
13
13
|
jobs:
|
|
14
14
|
audit:
|
|
15
15
|
name: Agent kit readiness
|
|
16
|
+
# Automatic hosted CI is opt-in so unavailable Actions billing cannot block delivery.
|
|
17
|
+
# Set the repository variable AGENT_KIT_ACTIONS_ENABLED=true to enable push/PR runs.
|
|
18
|
+
if: ${{ github.event_name == 'workflow_dispatch' || vars.AGENT_KIT_ACTIONS_ENABLED == 'true' }}
|
|
16
19
|
runs-on: ubuntu-latest
|
|
17
20
|
timeout-minutes: 10
|
|
18
21
|
|
|
19
22
|
steps:
|
|
20
23
|
- name: Checkout
|
|
21
|
-
uses: actions/checkout@v6
|
|
24
|
+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
22
25
|
with:
|
|
23
26
|
persist-credentials: false
|
|
24
27
|
|
|
25
28
|
- name: Setup Node
|
|
26
|
-
uses: actions/setup-node@v6
|
|
29
|
+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
27
30
|
with:
|
|
28
31
|
node-version: "24"
|
|
29
|
-
cache: npm
|
|
30
|
-
|
|
31
|
-
- name: Install dependencies
|
|
32
|
-
run: npm ci
|
|
33
32
|
|
|
34
33
|
- name: Run baseline audit gate
|
|
35
|
-
run: npx
|
|
34
|
+
run: npx --yes @appsforgood/next-supabase-kit@0.3.0 audit --json --min-readiness baseline-setup
|
|
@@ -8,6 +8,8 @@ Document each environment:
|
|
|
8
8
|
- Preview
|
|
9
9
|
- Production
|
|
10
10
|
|
|
11
|
+
Hosted GitHub Actions is off by default. Local verification is sufficient for commit/push and normal phase progression when required checks pass. Enable the advisory workflow with `agent-kit init --github-actions`, set `AGENT_KIT_ACTIONS_ENABLED=true` only when automatic runs are wanted, and do not configure it as a required status check until Actions jobs can reliably start.
|
|
12
|
+
|
|
11
13
|
## Environment Variables
|
|
12
14
|
|
|
13
15
|
Document required variables with placeholder examples only.
|
|
@@ -66,7 +66,7 @@ The kit does **not** ship unsupervised orchestration. It documents safe local en
|
|
|
66
66
|
| --- | --- | --- |
|
|
67
67
|
| Pre-commit test or audit | Catch drift before commit | `.agent-kit/prompts/audit-project-setup.md`, project `npm test` |
|
|
68
68
|
| Post-edit lint/typecheck | Fast feedback on save | Project ESLint / `tsc --noEmit` in editor or CI |
|
|
69
|
-
|
|
|
69
|
+
| Optional hosted audit | Advisory unless explicitly enabled and required | `agent-kit init --github-actions`; `AGENT_KIT_ACTIONS_ENABLED=true` |
|
|
70
70
|
| Adapter validate on PR | Prove IDE activation stays valid | `agent-kit adapter validate all` when adapter assets change |
|
|
71
71
|
|
|
72
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.
|
|
@@ -83,6 +83,7 @@ Best-practice means evidence can survive handoff, release, and later audit.
|
|
|
83
83
|
|
|
84
84
|
## Evidence Rules
|
|
85
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.
|
|
86
87
|
- A checklist item is not done until the evidence is linked or named.
|
|
87
88
|
- A test is not evidence unless it covers the behavior, risk, or contract being claimed.
|
|
88
89
|
- A screenshot is not visual QA unless it covers the important viewport, state, and content.
|
|
@@ -44,7 +44,23 @@ Required rules:
|
|
|
44
44
|
|
|
45
45
|
## CI Gates
|
|
46
46
|
|
|
47
|
-
Every project should define the smallest reliable
|
|
47
|
+
Every project should define the smallest reliable verification gate for its risk profile. Local verification is the default and must be recorded before commit/push or phase progression. Hosted GitHub Actions is optional and must not be treated as required when jobs cannot start because of account billing, spending limits, or entitlement.
|
|
48
|
+
|
|
49
|
+
Use `agent-kit init --github-actions` only to install the advisory hosted audit. Automatic runs require the repository variable `AGENT_KIT_ACTIONS_ENABLED=true`; keep `githubActions.mode` as `off` or `advisory` unless branch protection and Actions availability have been explicitly verified.
|
|
50
|
+
|
|
51
|
+
Default local gate (remove only commands the project genuinely does not expose, and record the gap):
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm ci
|
|
55
|
+
npm run typecheck
|
|
56
|
+
npm test
|
|
57
|
+
npm run build
|
|
58
|
+
npm audit --audit-level=high
|
|
59
|
+
npx --yes @appsforgood/next-supabase-kit@0.3.0 audit --min-readiness baseline-setup
|
|
60
|
+
agent-kit session verify --command "local delivery gate" --result pass --notes "Record commands, commit SHA, and verification time."
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
A failed or unavailable hosted job never converts missing local evidence into a pass.
|
|
48
64
|
|
|
49
65
|
Recommended baseline:
|
|
50
66
|
|