cabloy 5.1.220 → 5.1.222
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/.cabloy-version +1 -1
- package/.github/workflows/agent-governance.yml +2 -2
- package/.github/workflows/create-cabloy.yml +2 -2
- package/.github/workflows/docs-pages.yml +2 -2
- package/.github/workflows/playwright-e2e.yml +4 -4
- package/.github/workflows/vona-cov-pg.yml +2 -2
- package/.github/workflows/vona-test-crud.yml +2 -2
- package/.github/workflows/vona-test-mysql.yml +2 -2
- package/.github/workflows/vona-test-pg.yml +2 -2
- package/.github/workflows/vona-test-sqlite3.yml +2 -2
- package/.github/workflows/vona-tsc.yml +2 -2
- package/.github/workflows/zova-ui.yml +2 -2
- package/CHANGELOG.md +22 -0
- package/package.json +4 -3
- package/repo-agent-governance/managed-assets.json +15 -15
- package/repo-agent-governance/policies/repository.md +1 -0
- package/repo-agent-governance/skills/cabloy-backend-scaffold/SKILL.md +5 -1
- package/repo-agent-governance/skills/cabloy-backend-scaffold/references/follow-up-checklist.md +7 -5
- package/repo-agent-governance/skills/cabloy-frontend-scaffold/SKILL.md +5 -1
- package/repo-agent-governance/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md +6 -4
- package/repo-docs/backend/unit-testing.md +5 -1
- package/repo-docs/frontend/openapi-sdk-guide.md +2 -0
- package/repo-docs/frontend/scripts.md +8 -0
- package/repo-docs/reference/repo-scripts.md +5 -1
- package/scripts/generateOpenapiIsolated.ts +18 -1
- package/scripts/runIsolatedTest.test.ts +9 -1
- package/scripts/runIsolatedTest.ts +81 -18
- package/scripts/strictGenerationDiagnostics.test.ts +1009 -0
- package/scripts/strictGenerationDiagnostics.ts +61 -0
- package/vona/package.original.json +3 -2
- package/vona/packages-cli/cabloy-cli/package.json +1 -1
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/bean/cli.bin.dev.ts +14 -4
- package/vona/packages-cli/cli-set-api/src/lib/bean/toolsBin/generateEntryFiles.ts +6 -1
- package/vona/packages-cli/cli-set-api/src/lib/bean/toolsBin/generateVonaMeta.ts +2 -10
- package/vona/packages-cli/cli-set-api/src/lib/bean/toolsBin/validateGenerationPaths.ts +27 -0
- package/vona/packages-cli/cli-set-api/test/binDevLifecycle.test.ts +1 -1
- package/vona/packages-cli/cli-set-api/test/strictGenerationPrivacy.test.ts +439 -0
- package/vona/packages-utils/process-helper/package.json +1 -1
- package/vona/packages-utils/process-helper/src/index.test.ts +62 -0
- package/vona/packages-utils/process-helper/src/index.ts +9 -4
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/packages-vona/vona-core/package.json +1 -1
- package/vona/packages-vona/vona-core/src/lib/core/completedReadiness.test.ts +558 -0
- package/vona/packages-vona/vona-core/src/lib/core/completedReadiness.ts +389 -0
- package/vona/packages-vona/vona-core/src/lib/core/context.ts +3 -0
- package/vona/packages-vona/vona-core/src/lib/core/index.ts +11 -0
- package/vona/packages-vona/vona-core/src/lib/core/logger/appLogger.ts +10 -2
- package/vona/packages-vona/vona-core/src/lib/core/logger/diagnosticLogger.test.ts +268 -68
- package/vona/packages-vona/vona-core/src/lib/core/meta.ts +5 -0
- package/vona/packages-vona/vona-core/src/lib/core/testFreshness.ts +3 -9
- package/vona/packages-vona/vona-core/src/lib/core/testStrictMode.ts +9 -0
- package/vona/packages-vona/vona-core/src/lib/framework/start.test.ts +10 -0
- package/vona/packages-vona/vona-core/src/lib/framework/start.ts +8 -0
- package/vona/packages-vona/vona-mock/package.json +1 -1
- package/vona/pnpm-lock.yaml +542 -236
- package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-executor/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-executor/src/bean/bean.executor.ts +124 -4
- package/vona/src/suite-vendor/a-vona/modules/a-executor/src/types/executor.ts +7 -0
- package/vona/src/suite-vendor/a-vona/modules/a-executor/test/readyExisting.test.ts +423 -0
- package/vona/src/suite-vendor/a-vona/modules/a-executor/test/readyExistingCommit.test.ts +174 -0
- package/vona/src/suite-vendor/a-vona/modules/a-instance/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-instance/src/bean/bean.instance.ts +3 -1
- package/vona/src/suite-vendor/a-vona/modules/a-instance/src/lib/existingReadyAdmission.ts +125 -0
- package/vona/src/suite-vendor/a-vona/modules/a-instance/src/service/instance.ts +72 -25
- package/vona/src/suite-vendor/a-vona/modules/a-instance/test/existingReadyAdmission.test.ts +949 -0
- package/vona/src/suite-vendor/a-vona/modules/a-logger/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-logger/test/middlewareSystem.httpLog.test.ts +61 -59
- package/vona/src/suite-vendor/a-vona/modules/a-mail/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-mail/src/service/mail.ts +5 -0
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/src/index.ts +11 -0
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/src/lib/protectedSqliteRegistry.ts +356 -0
- package/vona/src/suite-vendor/a-vona/modules/a-startup/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-startup/test/devSeed.test.ts +61 -2
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/package.original.json +3 -3
- package/zova/packages-cli/cli/package.json +4 -4
- package/zova/packages-cli/cli-set-front/package.json +2 -2
- package/zova/packages-cli/cli-set-front/src/lib/common/restDependencyVersions.ts +22 -1
- package/zova/packages-cli/cli-set-front/test/restDependencies.test.ts +137 -0
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +448 -641
- package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/package.json +2 -2
package/.cabloy-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.1.
|
|
1
|
+
5.1.222
|
|
@@ -17,9 +17,9 @@ jobs:
|
|
|
17
17
|
PNPM_CONFIG_MINIMUM_RELEASE_AGE: 0
|
|
18
18
|
steps:
|
|
19
19
|
- uses: actions/checkout@v6
|
|
20
|
-
- uses: pnpm/action-setup@
|
|
20
|
+
- uses: pnpm/action-setup@v6
|
|
21
21
|
with:
|
|
22
|
-
version:
|
|
22
|
+
version: '12.14.0'
|
|
23
23
|
- uses: actions/setup-node@v6
|
|
24
24
|
with:
|
|
25
25
|
node-version: 24
|
|
@@ -35,9 +35,9 @@ jobs:
|
|
|
35
35
|
- uses: actions/setup-node@v6
|
|
36
36
|
with:
|
|
37
37
|
node-version: 24
|
|
38
|
-
- uses: pnpm/action-setup@
|
|
38
|
+
- uses: pnpm/action-setup@v6
|
|
39
39
|
with:
|
|
40
|
-
version:
|
|
40
|
+
version: '12.14.0'
|
|
41
41
|
- name: start Redis on macOS
|
|
42
42
|
if: runner.os == 'macOS'
|
|
43
43
|
shell: bash
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
PNPM_CONFIG_MINIMUM_RELEASE_AGE: 0
|
|
30
30
|
steps:
|
|
31
31
|
- uses: actions/checkout@v6
|
|
32
|
-
- uses: pnpm/action-setup@
|
|
32
|
+
- uses: pnpm/action-setup@v6
|
|
33
33
|
with:
|
|
34
|
-
version:
|
|
34
|
+
version: '12.14.0'
|
|
35
35
|
- uses: actions/setup-node@v6
|
|
36
36
|
with:
|
|
37
37
|
node-version: 24
|
|
@@ -28,9 +28,9 @@ jobs:
|
|
|
28
28
|
- uses: actions/setup-node@v6
|
|
29
29
|
with:
|
|
30
30
|
node-version: 24
|
|
31
|
-
- uses: pnpm/action-setup@
|
|
31
|
+
- uses: pnpm/action-setup@v6
|
|
32
32
|
with:
|
|
33
|
-
version:
|
|
33
|
+
version: '12.14.0'
|
|
34
34
|
- name: start Redis on macOS
|
|
35
35
|
if: runner.os == 'macOS'
|
|
36
36
|
shell: bash
|
|
@@ -136,9 +136,9 @@ jobs:
|
|
|
136
136
|
- uses: actions/setup-node@v6
|
|
137
137
|
with:
|
|
138
138
|
node-version: 24
|
|
139
|
-
- uses: pnpm/action-setup@
|
|
139
|
+
- uses: pnpm/action-setup@v6
|
|
140
140
|
with:
|
|
141
|
-
version:
|
|
141
|
+
version: '12.14.0'
|
|
142
142
|
- name: start Redis on macOS
|
|
143
143
|
if: runner.os == 'macOS'
|
|
144
144
|
shell: bash
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
- uses: actions/setup-node@v6
|
|
30
30
|
with:
|
|
31
31
|
node-version: ${{ matrix.node-version }}
|
|
32
|
-
- uses: pnpm/action-setup@
|
|
32
|
+
- uses: pnpm/action-setup@v6
|
|
33
33
|
with:
|
|
34
|
-
version:
|
|
34
|
+
version: '12.14.0'
|
|
35
35
|
- name: init
|
|
36
36
|
run: npm run init
|
|
37
37
|
- name: cov
|
|
@@ -22,9 +22,9 @@ jobs:
|
|
|
22
22
|
- uses: actions/setup-node@v6
|
|
23
23
|
with:
|
|
24
24
|
node-version: ${{ matrix.node-version }}
|
|
25
|
-
- uses: pnpm/action-setup@
|
|
25
|
+
- uses: pnpm/action-setup@v6
|
|
26
26
|
with:
|
|
27
|
-
version:
|
|
27
|
+
version: '12.14.0'
|
|
28
28
|
- name: init
|
|
29
29
|
run: npm run init
|
|
30
30
|
- run: npm run vona :create:module demo-student2 -- --suite --ci
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
- uses: actions/setup-node@v6
|
|
30
30
|
with:
|
|
31
31
|
node-version: ${{ matrix.node-version }}
|
|
32
|
-
- uses: pnpm/action-setup@
|
|
32
|
+
- uses: pnpm/action-setup@v6
|
|
33
33
|
with:
|
|
34
|
-
version:
|
|
34
|
+
version: '12.14.0'
|
|
35
35
|
- name: init
|
|
36
36
|
run: npm run init
|
|
37
37
|
- name: run Commerce lifecycle gate
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
- uses: actions/setup-node@v6
|
|
30
30
|
with:
|
|
31
31
|
node-version: ${{ matrix.node-version }}
|
|
32
|
-
- uses: pnpm/action-setup@
|
|
32
|
+
- uses: pnpm/action-setup@v6
|
|
33
33
|
with:
|
|
34
|
-
version:
|
|
34
|
+
version: '12.14.0'
|
|
35
35
|
- name: init
|
|
36
36
|
run: npm run init
|
|
37
37
|
- name: run A-Pay focused gate
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
- uses: actions/setup-node@v6
|
|
30
30
|
with:
|
|
31
31
|
node-version: ${{ matrix.node-version }}
|
|
32
|
-
- uses: pnpm/action-setup@
|
|
32
|
+
- uses: pnpm/action-setup@v6
|
|
33
33
|
with:
|
|
34
|
-
version:
|
|
34
|
+
version: '12.14.0'
|
|
35
35
|
- name: start Redis on macOS
|
|
36
36
|
if: runner.os == 'macOS'
|
|
37
37
|
shell: bash
|
|
@@ -17,9 +17,9 @@ jobs:
|
|
|
17
17
|
- uses: actions/setup-node@v6
|
|
18
18
|
with:
|
|
19
19
|
node-version: ${{ matrix.node-version }}
|
|
20
|
-
- uses: pnpm/action-setup@
|
|
20
|
+
- uses: pnpm/action-setup@v6
|
|
21
21
|
with:
|
|
22
|
-
version:
|
|
22
|
+
version: '12.14.0'
|
|
23
23
|
- name: init
|
|
24
24
|
run: npm run init
|
|
25
25
|
- name: tsc
|
|
@@ -17,9 +17,9 @@ jobs:
|
|
|
17
17
|
- uses: actions/setup-node@v6
|
|
18
18
|
with:
|
|
19
19
|
node-version: ${{ matrix.node-version }}
|
|
20
|
-
- uses: pnpm/action-setup@
|
|
20
|
+
- uses: pnpm/action-setup@v6
|
|
21
21
|
with:
|
|
22
|
-
version:
|
|
22
|
+
version: '12.14.0'
|
|
23
23
|
- name: init
|
|
24
24
|
run: npm run init
|
|
25
25
|
- name: suite
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.222
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Apply feature updates, including MCP-related changes.
|
|
8
|
+
|
|
9
|
+
### Improvements
|
|
10
|
+
|
|
11
|
+
- Add end-to-end tests and email-sending tests.
|
|
12
|
+
- Update the pnpm lockfile.
|
|
13
|
+
|
|
14
|
+
## 5.1.221
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- Incorporate updates from MCP.
|
|
19
|
+
- Incorporate updates from the specification.
|
|
20
|
+
|
|
21
|
+
### Improvements
|
|
22
|
+
|
|
23
|
+
- Update pnpm.
|
|
24
|
+
|
|
3
25
|
## 5.1.220
|
|
4
26
|
|
|
5
27
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cabloy",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.222",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "A Node.js fullstack framework",
|
|
6
6
|
"keywords": [
|
|
@@ -106,7 +106,8 @@
|
|
|
106
106
|
"typescript": "^5.9.3"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
|
-
"node": ">=24.4.0"
|
|
109
|
+
"node": ">=24.4.0",
|
|
110
|
+
"pnpm": ">=11.5.2"
|
|
110
111
|
},
|
|
111
|
-
"packageManager": "pnpm@
|
|
112
|
+
"packageManager": "pnpm@12.14.0"
|
|
112
113
|
}
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
{
|
|
19
19
|
"adapter": "codex",
|
|
20
20
|
"category": "skill",
|
|
21
|
-
"sha256": "
|
|
21
|
+
"sha256": "11a02f57b7fbccc004e2a8d9cacb0e2af9e6f9a881e53852b9d74cb6309f4fc3",
|
|
22
22
|
"source": "skills/cabloy-backend-scaffold/references/follow-up-checklist.md",
|
|
23
23
|
"target": ".agents/skills/cabloy-backend-scaffold/references/follow-up-checklist.md"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"adapter": "codex",
|
|
27
27
|
"category": "skill",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "45ac18019b253a8313b5a229528f6373f1a6814d90f27a70783f787b23936aa0",
|
|
29
29
|
"source": "skills/cabloy-backend-scaffold/SKILL.md",
|
|
30
30
|
"target": ".agents/skills/cabloy-backend-scaffold/SKILL.md"
|
|
31
31
|
},
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
{
|
|
82
82
|
"adapter": "codex",
|
|
83
83
|
"category": "skill",
|
|
84
|
-
"sha256": "
|
|
84
|
+
"sha256": "2bdeea2869862d1e52300da6b946b4b4cd2489b9271144e94e85d8377175c6af",
|
|
85
85
|
"source": "skills/cabloy-frontend-scaffold/references/follow-up-checklist.md",
|
|
86
86
|
"target": ".agents/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md"
|
|
87
87
|
},
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
{
|
|
96
96
|
"adapter": "codex",
|
|
97
97
|
"category": "skill",
|
|
98
|
-
"sha256": "
|
|
98
|
+
"sha256": "af5f73b8c1d52bf0bdd0464c9b29c1f9eccdddece2142da73657d164ab927f95",
|
|
99
99
|
"source": "skills/cabloy-frontend-scaffold/SKILL.md",
|
|
100
100
|
"target": ".agents/skills/cabloy-frontend-scaffold/SKILL.md"
|
|
101
101
|
},
|
|
@@ -354,14 +354,14 @@
|
|
|
354
354
|
{
|
|
355
355
|
"adapter": "claude",
|
|
356
356
|
"category": "skill",
|
|
357
|
-
"sha256": "
|
|
357
|
+
"sha256": "11a02f57b7fbccc004e2a8d9cacb0e2af9e6f9a881e53852b9d74cb6309f4fc3",
|
|
358
358
|
"source": "skills/cabloy-backend-scaffold/references/follow-up-checklist.md",
|
|
359
359
|
"target": ".claude/skills/cabloy-backend-scaffold/references/follow-up-checklist.md"
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
362
|
"adapter": "claude",
|
|
363
363
|
"category": "skill",
|
|
364
|
-
"sha256": "
|
|
364
|
+
"sha256": "45ac18019b253a8313b5a229528f6373f1a6814d90f27a70783f787b23936aa0",
|
|
365
365
|
"source": "skills/cabloy-backend-scaffold/SKILL.md",
|
|
366
366
|
"target": ".claude/skills/cabloy-backend-scaffold/SKILL.md"
|
|
367
367
|
},
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
{
|
|
418
418
|
"adapter": "claude",
|
|
419
419
|
"category": "skill",
|
|
420
|
-
"sha256": "
|
|
420
|
+
"sha256": "2bdeea2869862d1e52300da6b946b4b4cd2489b9271144e94e85d8377175c6af",
|
|
421
421
|
"source": "skills/cabloy-frontend-scaffold/references/follow-up-checklist.md",
|
|
422
422
|
"target": ".claude/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md"
|
|
423
423
|
},
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
{
|
|
432
432
|
"adapter": "claude",
|
|
433
433
|
"category": "skill",
|
|
434
|
-
"sha256": "
|
|
434
|
+
"sha256": "af5f73b8c1d52bf0bdd0464c9b29c1f9eccdddece2142da73657d164ab927f95",
|
|
435
435
|
"source": "skills/cabloy-frontend-scaffold/SKILL.md",
|
|
436
436
|
"target": ".claude/skills/cabloy-frontend-scaffold/SKILL.md"
|
|
437
437
|
},
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
{
|
|
684
684
|
"adapter": "cursor",
|
|
685
685
|
"category": "policy",
|
|
686
|
-
"sha256": "
|
|
686
|
+
"sha256": "b8453cbb90a6b75014615dea5ffb8f8e6b31be1e5c3392c1dc4bc0f4456adb57",
|
|
687
687
|
"source": "policies/repository.md",
|
|
688
688
|
"target": ".cursor/rules/cabloy-governance.mdc"
|
|
689
689
|
},
|
|
@@ -704,14 +704,14 @@
|
|
|
704
704
|
{
|
|
705
705
|
"adapter": "cursor",
|
|
706
706
|
"category": "skill",
|
|
707
|
-
"sha256": "
|
|
707
|
+
"sha256": "11a02f57b7fbccc004e2a8d9cacb0e2af9e6f9a881e53852b9d74cb6309f4fc3",
|
|
708
708
|
"source": "skills/cabloy-backend-scaffold/references/follow-up-checklist.md",
|
|
709
709
|
"target": ".cursor/skills/cabloy-backend-scaffold/references/follow-up-checklist.md"
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
"adapter": "cursor",
|
|
713
713
|
"category": "skill",
|
|
714
|
-
"sha256": "
|
|
714
|
+
"sha256": "45ac18019b253a8313b5a229528f6373f1a6814d90f27a70783f787b23936aa0",
|
|
715
715
|
"source": "skills/cabloy-backend-scaffold/SKILL.md",
|
|
716
716
|
"target": ".cursor/skills/cabloy-backend-scaffold/SKILL.md"
|
|
717
717
|
},
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
{
|
|
768
768
|
"adapter": "cursor",
|
|
769
769
|
"category": "skill",
|
|
770
|
-
"sha256": "
|
|
770
|
+
"sha256": "2bdeea2869862d1e52300da6b946b4b4cd2489b9271144e94e85d8377175c6af",
|
|
771
771
|
"source": "skills/cabloy-frontend-scaffold/references/follow-up-checklist.md",
|
|
772
772
|
"target": ".cursor/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md"
|
|
773
773
|
},
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
{
|
|
782
782
|
"adapter": "cursor",
|
|
783
783
|
"category": "skill",
|
|
784
|
-
"sha256": "
|
|
784
|
+
"sha256": "af5f73b8c1d52bf0bdd0464c9b29c1f9eccdddece2142da73657d164ab927f95",
|
|
785
785
|
"source": "skills/cabloy-frontend-scaffold/SKILL.md",
|
|
786
786
|
"target": ".cursor/skills/cabloy-frontend-scaffold/SKILL.md"
|
|
787
787
|
},
|
|
@@ -1005,14 +1005,14 @@
|
|
|
1005
1005
|
{
|
|
1006
1006
|
"adapter": "codex",
|
|
1007
1007
|
"category": "policy",
|
|
1008
|
-
"sha256": "
|
|
1008
|
+
"sha256": "18d072d31b706f8eadda5d757ee3db7d69c4a7ea5e4c14dc33ab3ac307ae89e0",
|
|
1009
1009
|
"source": "policies/repository.md",
|
|
1010
1010
|
"target": "AGENTS.md"
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
1013
|
"adapter": "claude",
|
|
1014
1014
|
"category": "policy",
|
|
1015
|
-
"sha256": "
|
|
1015
|
+
"sha256": "18d072d31b706f8eadda5d757ee3db7d69c4a7ea5e4c14dc33ab3ac307ae89e0",
|
|
1016
1016
|
"source": "policies/repository.md",
|
|
1017
1017
|
"target": "CLAUDE.md"
|
|
1018
1018
|
}
|
|
@@ -106,4 +106,5 @@ Before inventing a custom implementation path:
|
|
|
106
106
|
- For docs changes: run the docs build and verify links/navigation where practical.
|
|
107
107
|
- For code-generation or workflow guidance changes: verify that the referenced scripts and command families still exist.
|
|
108
108
|
- For code changes: prefer the narrowest meaningful verification first, then use shared root scripts when broader confidence is needed.
|
|
109
|
+
- Keep frontend and backend verification proportional to the change: cover critical behavior using existing infrastructure, not exhaustive upfront test matrices or bespoke source-evaluation/mock harnesses. Prefer a few critical-flow E2E scenarios for frontend work and the smallest meaningful service/model/API/integration tests for backend work; add focused regressions for actual defects. Preserve applicable security, SSR, data-consistency, migration, and acceptance requirements.
|
|
109
110
|
- Any change to `meta.version.ts` requires running `npm run test` so the test database is reinitialized and schema/data consistency issues surface early.
|
|
@@ -237,7 +237,11 @@ Especially relevant pages include:
|
|
|
237
237
|
|
|
238
238
|
Always end with a verification path that matches the scope of the backend change.
|
|
239
239
|
|
|
240
|
-
|
|
240
|
+
Prefer focused tests of critical business behavior using the existing Vona testing infrastructure. Choose the smallest meaningful service/model, controller/API, or integration boundary for the changed contract; browser E2E is not the default backend test layer. Avoid exhaustive upfront mock/fake matrices and bespoke harnesses. Add focused regression coverage when actual defects are fixed; targeted unit and framework tests remain useful when they directly prove new or changed behavior.
|
|
241
|
+
|
|
242
|
+
Keep relevant static checks scope-dependent and preserve applicable authentication/authorization, tenant-isolation, transaction, concurrency, idempotency, migration, and acceptance requirements. These are selected by the affected behavior, not a mandatory matrix for every change. Retain `mockCtx(...)` ownership, test-resource isolation, precise fixture cleanup, and the required `npm run test` after `meta.version.ts` changes. Missing runtime access is a reported gap, not permission to reset resources or invent substitute test machinery. See [Unit Testing](../../../repo-docs/backend/unit-testing.md).
|
|
243
|
+
|
|
244
|
+
Shared checks, when applicable, include:
|
|
241
245
|
|
|
242
246
|
- `npm run test`
|
|
243
247
|
- `npm run tsc`
|
package/repo-agent-governance/skills/cabloy-backend-scaffold/references/follow-up-checklist.md
CHANGED
|
@@ -79,11 +79,13 @@ When the active edition and installed modules provide `@Passport.rbac(...)` and
|
|
|
79
79
|
|
|
80
80
|
## Verification follow-up
|
|
81
81
|
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
- `npm run
|
|
82
|
+
- focused critical-business-path tests using existing Vona service/model, controller/API, or integration infrastructure; browser E2E is not the default backend layer
|
|
83
|
+
- focused regressions for actual defects; avoid exhaustive upfront mock/fake matrices and bespoke harnesses
|
|
84
|
+
- applicable authentication/authorization, tenant-isolation, transaction, concurrency, idempotency, migration, and acceptance checks
|
|
85
|
+
- relevant format, lint, and type checks using the smallest supported scope
|
|
86
|
+
- `npm run test`, including the required run after `meta.version.ts` changes
|
|
87
|
+
- migration verification when affected; `db:reset` remains destructive and requires explicit approval
|
|
88
|
+
- `npm run build` only when the affected artifact or acceptance boundary requires it
|
|
87
89
|
|
|
88
90
|
## Escalation rule
|
|
89
91
|
|
|
@@ -278,7 +278,11 @@ Especially relevant pages include:
|
|
|
278
278
|
|
|
279
279
|
Always end with a verification path that matches the scope of the frontend change.
|
|
280
280
|
|
|
281
|
-
|
|
281
|
+
For ordinary frontend changes, prefer a few critical user flows through the existing E2E infrastructure, selected by affected behavior with spec names, tags, or `--grep`. Reuse existing scenarios or extend them narrowly; do not require exhaustive isolated-test matrices, extensive fake dependencies, or custom source-evaluation loaders before delivery. When an actual problem is fixed, add focused regression coverage. Targeted unit or framework tests remain useful when they efficiently prove the behavior being changed; this is not a ban on existing tests or managed test-resource isolation.
|
|
282
|
+
|
|
283
|
+
Keep relevant format, lint, and type checks lightweight and scope-dependent. Prepare only the affected flavor's required artifacts for runtime verification. Preserve applicable route, SSR/hydration, authentication, authorization, contract, and acceptance checks; frontend E2E does not replace server-side enforcement. If runtime verification is unavailable or not authorized, report the gap rather than building a substitute harness. See [Frontend Scripts](../../../repo-docs/frontend/scripts.md) for edition-aware preparation and filtered E2E commands.
|
|
284
|
+
|
|
285
|
+
Shared checks, when applicable, include:
|
|
282
286
|
|
|
283
287
|
- `npm run tsc`
|
|
284
288
|
- `npm run build:zova`
|
package/repo-agent-governance/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md
CHANGED
|
@@ -42,10 +42,12 @@ After generating or extending a frontend thread, check which follow-up layers ap
|
|
|
42
42
|
|
|
43
43
|
## Verification follow-up
|
|
44
44
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
45
|
+
- relevant format, lint, and type checks using the smallest supported scope
|
|
46
|
+
- a few affected critical user flows through existing E2E scenarios, selected by spec, tag, or `--grep`
|
|
47
|
+
- focused regressions for actual defects; no exhaustive upfront fake matrices or custom source-evaluation harnesses
|
|
48
|
+
- affected-flavor artifact preparation when runtime verification needs updated output
|
|
49
|
+
- applicable route, SSR/hydration, authentication, authorization, and contract checks; do not replace server-side enforcement with UI coverage
|
|
50
|
+
- report unavailable or unauthorized runtime proof explicitly; do not create substitute test machinery
|
|
49
51
|
|
|
50
52
|
## Escalation rule
|
|
51
53
|
|
|
@@ -4,7 +4,11 @@ This guide explains the most important Vona testing workflows in the Cabloy mono
|
|
|
4
4
|
|
|
5
5
|
## Why testing is emphasized
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Keep testing proportional to the backend change: cover critical business behavior using the existing Vona testing infrastructure, and add focused regression coverage when actual problems are fixed. Choose the smallest meaningful service/model, controller/API, or integration boundary for the changed contract; browser E2E is not the default backend test layer.
|
|
8
|
+
|
|
9
|
+
Test-driven development and targeted unit or framework tests remain useful when they clarify and directly prove new or changed behavior. Exhaustive upfront mock/fake matrices and bespoke harnesses are not a delivery prerequisite.
|
|
10
|
+
|
|
11
|
+
Preserve applicable authentication/authorization, tenant-isolation, transaction, concurrency, idempotency, migration, and acceptance checks without turning them into an unrelated mandatory matrix. The context, fixture, and resource-isolation rules below still apply, including the required `npm run test` after `meta.version.ts` changes. Missing runtime access must be reported, not worked around with unauthorized resets or substitute test machinery.
|
|
8
12
|
|
|
9
13
|
Vona’s testing story is valuable because it is closely integrated with:
|
|
10
14
|
|
|
@@ -73,6 +73,8 @@ npm run contract:generate:isolated -- training-student
|
|
|
73
73
|
|
|
74
74
|
The isolated command uses the same generator and preserves module ownership validation, but manages a disposable service, claim, and test resources without starting Playwright. Generated files under `zova/src/**` are shared workspace output, not run-owned temporary files; serialize concurrent SDK generation and do not expect automatic rollback.
|
|
75
75
|
|
|
76
|
+
For an explicitly authorized run that must skip historical-claim reaping, use the standalone `--skip-expired-claim-reaping` flag. In this strict lane, generated environment source contains selected keys rather than resolved values, configuration reaches the bootstrap child in memory, service/generator stdout and stderr are discarded, and framework file logging is prevented before transport construction. Failures remain failures with categorical diagnostics and retained current-run claims/resources; there is no automatic retry or fallback to development Swagger. This is not a network or arbitrary-filesystem sandbox, and it does not authorize Provider operations or prove custom seed/logging behavior. See [Strict isolated generation](/reference/repo-scripts#test-isolation-and-development-data) for resource and diagnostic boundaries.
|
|
77
|
+
|
|
76
78
|
The project-level source resolver accepts `OPENAPI_SOURCE_URL` as a complete OpenAPI document URL. It takes precedence over `API_BASE_URL` for generation only and does not change runtime `OPENAPI_BASE_URL_*` request targets:
|
|
77
79
|
|
|
78
80
|
```bash
|
|
@@ -49,6 +49,14 @@ npm run build:zova:commerce:admin
|
|
|
49
49
|
|
|
50
50
|
The `dev:zova:*` commands start the Zova development server, which uses `9000` in the Cabloy Basic default environment. Use this Zova standalone SSR entry for page, route, and hydration iteration. It may be used as Vona's development proxy target, but direct access to `9000` does not prove the Vona request boundary or integrated acceptance.
|
|
51
51
|
|
|
52
|
+
## Proportionate frontend verification
|
|
53
|
+
|
|
54
|
+
For frontend changes, prefer a few critical user flows through the existing E2E infrastructure, together with relevant lightweight format, lint, and type checks. Select scenarios by the behavior being changed rather than running every spec or building exhaustive isolated-test matrices. Reuse the edition-aware preparation and spec/tag/`--grep` filtering below; prepare only the affected artifacts when they have changed.
|
|
55
|
+
|
|
56
|
+
Do not introduce custom source-evaluation loaders or extensive fake dependencies by default for ordinary page interactions. When an actual problem is fixed, add a focused regression test that reproduces it. Targeted unit and framework tests remain useful when they provide direct, low-cost proof; comprehensive upfront coverage is not a delivery prerequisite.
|
|
57
|
+
|
|
58
|
+
This preference does not relax applicable SSR/hydration, authentication, authorization, contract, or acceptance requirements, and UI coverage never replaces server-side enforcement. Managed E2E resource isolation remains required. If runtime verification is unavailable or not authorized, report the gap rather than adding substitute test machinery; live Provider and destructive operations retain their separate authorization boundaries.
|
|
59
|
+
|
|
52
60
|
## Vona integrated SSR browser acceptance
|
|
53
61
|
|
|
54
62
|
The default Basic Web and Admin sites have browser smoke commands that exercise Vona integrated SSR through Vona SSR dispatch at the managed run's dynamically allocated test listener, not through the ordinary Vona development listener (`7102` by default) or the Zova standalone SSR development-server port. Vona supplies the API origin at runtime, so no Zova `.env` change or rebuild is needed solely for the test port; see [Runtime API origins in Vona integrated SSR](/fullstack/ssr-entry-modes#runtime-api-origins-in-vona-integrated-ssr).
|
|
@@ -92,7 +92,11 @@ The wrapper consumes this standalone flag rather than forwarding it to Zova; `--
|
|
|
92
92
|
|
|
93
93
|
The opt-in lane requires strict freshness after application configuration and before module loading: run-owned public/runtime/SQLite directories must be absent or empty, shared and static-isolate database namespaces must be absent, and persistent Redis namespaces must be empty. Read-only discovery failures or preexisting resources fail closed rather than authorizing deletion. Startup requires per-application freshness proof to bypass normal test clearing; database preparation rechecks the namespace, never drops existing databases in this lane, and reuses only a database creation recorded by that application.
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
In the strict opt-in lane, generated `env.ts` contains a selected-key projection of the bootstrap process environment, not serialized configuration values. The CLI passes its resolved configuration to the bootstrap child in memory, preserving resolved-value precedence without exposing every inherited environment key through `app.meta.env`. Strict generation requires test mode and matching run-owned directories before configuration loading or generated-file writes. Ordinary dev/build/test and default contract generation keep their existing environment generation behavior.
|
|
96
|
+
|
|
97
|
+
Strict service and generator stdout/stderr are discarded, not captured for later redaction. Framework logger access bypasses client configuration and transport construction; direct file-transport construction fails before filesystem or rotation access. Parent failures report categorical stages instead of raw child errors, causes or response bodies. Windows output still drains through the native bridges into discard streams; this implementation policy and synthetic coverage are not native Windows runtime verification. Custom filesystem writers, external logging sinks and seed behavior remain outside this framework diagnostic boundary: it is not a universal secret sandbox or secret scanner.
|
|
98
|
+
|
|
99
|
+
This still loads environment configuration, initializes newly allocated test databases and Redis/runtime resources, and runs normal module seeds. Successful runs clean only their inventoried current-run resources after verified shutdown; failed runs retain their claim/resources, without automatic generation retry or fallback. Discarded diagnostics are not recoverable from a retained claim. Generated consumers remain shared checkout writes. Freshness is a snapshot, **not an exclusive lease**, zero-mutation mode, network sandbox, blanket log-redaction guarantee, or authorization to contact a Provider. Independently configured external resources and Provider operations retain their separate ownership and approval requirements. This shared flag does not extend Basic's separately scoped Windows verification to Start.
|
|
96
100
|
|
|
97
101
|
For Vona integrated SSR, the allocated E2E origin is supplied to Zova at runtime as server `SSR_API_BASE_URL` and browser `API_BASE_URL`. Do not edit Zova `.env` files or rebuild solely to match the test port. The current root `npm run test:e2e` consumes prebuilt frontend artifacts; refresh affected SSR/REST output and synchronize dependencies when their inputs change. See [Runtime API origins in Vona integrated SSR](/fullstack/ssr-entry-modes#runtime-api-origins-in-vona-integrated-ssr) for configuration overrides and scope.
|
|
98
102
|
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
withIsolatedVona,
|
|
8
8
|
withIsolatedRun,
|
|
9
9
|
} from './runIsolatedTest.ts';
|
|
10
|
+
import { strictGenerationFailure } from './strictGenerationDiagnostics.ts';
|
|
10
11
|
|
|
11
12
|
const OPENAPI_VERSION = 'V31';
|
|
12
13
|
const SOURCE_TIMEOUT_MS = 30_000;
|
|
@@ -78,6 +79,15 @@ export async function validateOpenapiSource(source: string) {
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
export async function generateOpenapiIsolated(args: string[]) {
|
|
82
|
+
const strict = args.some(arg => /^--skip-expired-claim-reaping(?:=|$)/.test(arg));
|
|
83
|
+
try {
|
|
84
|
+
return await generateOpenapiIsolatedInternal(args);
|
|
85
|
+
} catch (error) {
|
|
86
|
+
throw strict ? strictGenerationFailure('run', error) : error;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
async function generateOpenapiIsolatedInternal(args: string[]) {
|
|
81
91
|
const { generatorArgs, skipExpiredClaimReaping } = parseIsolatedOpenapiArgs(args);
|
|
82
92
|
const command = getOpenapiGeneratorCommand(generatorArgs);
|
|
83
93
|
if (process.env.E2E_BASE_URL !== undefined) {
|
|
@@ -104,5 +114,12 @@ export async function generateOpenapiIsolated(args: string[]) {
|
|
|
104
114
|
}
|
|
105
115
|
|
|
106
116
|
if (process.argv[1] && fileURLToPath(import.meta.url) === resolve(process.argv[1])) {
|
|
107
|
-
|
|
117
|
+
const args = process.argv.slice(2);
|
|
118
|
+
try {
|
|
119
|
+
await generateOpenapiIsolated(args);
|
|
120
|
+
} catch (error) {
|
|
121
|
+
if (!args.some(arg => /^--skip-expired-claim-reaping(?:=|$)/.test(arg))) throw error;
|
|
122
|
+
console.error(strictGenerationFailure('run', error).message);
|
|
123
|
+
process.exitCode = 1;
|
|
124
|
+
}
|
|
108
125
|
}
|
|
@@ -46,6 +46,7 @@ import {
|
|
|
46
46
|
waitForReady,
|
|
47
47
|
withIsolatedRun,
|
|
48
48
|
} from './runIsolatedTest.ts';
|
|
49
|
+
import { StrictGenerationError } from './strictGenerationDiagnostics.ts';
|
|
49
50
|
|
|
50
51
|
const isolationSource = resolve(
|
|
51
52
|
ROOT_DIR,
|
|
@@ -367,7 +368,14 @@ for (const marker of ['__CABLOY_BASIC__', '__CABLOY_START__']) {
|
|
|
367
368
|
root,
|
|
368
369
|
{ skipExpiredClaimReaping: true },
|
|
369
370
|
),
|
|
370
|
-
|
|
371
|
+
error => {
|
|
372
|
+
assert.ok(error instanceof StrictGenerationError);
|
|
373
|
+
assert.equal(error.stage, 'run');
|
|
374
|
+
assert.equal(error.message, 'Strict contract generation failed: run');
|
|
375
|
+
assert.doesNotMatch(error.stack ?? '', /generator failed/);
|
|
376
|
+
assert.equal(error.cause, undefined);
|
|
377
|
+
return true;
|
|
378
|
+
},
|
|
371
379
|
);
|
|
372
380
|
assert.equal((await loadTestClaim(claimPath)).status, 'failed');
|
|
373
381
|
assert.equal(existsSync(dataRoot), true);
|