cabloy 5.1.161 → 5.1.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/.cabloy-version +1 -1
  2. package/CHANGELOG.md +13 -0
  3. package/CLAUDE.md +1 -1
  4. package/CONTRIBUTING.md +1 -1
  5. package/README.md +34 -58
  6. package/package.json +1 -1
  7. package/repo-docs/.vitepress/config.mjs +58 -32
  8. package/repo-docs/ai/ai-spec-driven-development.md +99 -0
  9. package/repo-docs/ai/docs-skills-rules-mapping.md +25 -8
  10. package/repo-docs/ai/edition-consistency-checklist.md +2 -3
  11. package/repo-docs/ai/introduction.md +7 -4
  12. package/repo-docs/ai/playbook-spec-execution.md +19 -5
  13. package/repo-docs/ai/playbook-spec-generation.md +69 -101
  14. package/repo-docs/ai/repo-guidance.md +1 -1
  15. package/repo-docs/ai/skills.md +31 -10
  16. package/repo-docs/backend/dto-guide.md +1 -0
  17. package/repo-docs/backend/openapi-guide.md +1 -1
  18. package/repo-docs/editions/overview.md +51 -120
  19. package/repo-docs/frontend/environment-config-guide.md +1 -1
  20. package/repo-docs/frontend/form-layout-guide.md +4 -2
  21. package/repo-docs/frontend/introduction.md +2 -1
  22. package/repo-docs/frontend/quickstart.md +2 -8
  23. package/repo-docs/frontend/scripts.md +7 -3
  24. package/repo-docs/frontend/ssr-architecture-overview.md +1 -1
  25. package/repo-docs/frontend/ssr-build-deploy-guide.md +4 -2
  26. package/repo-docs/fullstack/comparison-with-other-frameworks.md +6 -2
  27. package/repo-docs/fullstack/contract-loop-playbook.md +4 -0
  28. package/repo-docs/fullstack/introduction.md +13 -4
  29. package/repo-docs/fullstack/parallel-worktree-environment.md +2 -0
  30. package/repo-docs/fullstack/quickstart.md +65 -74
  31. package/repo-docs/fullstack/semantic-presentation-contract.md +121 -0
  32. package/repo-docs/fullstack/ssr-site-and-flavor-setup.md +2 -2
  33. package/repo-docs/index.md +16 -11
  34. package/repo-docs/reference/glossary.md +30 -0
  35. package/repo-docs/reference/package-map.md +1 -1
  36. package/repo-docs/reference/repo-scripts.md +6 -4
  37. package/vona/pnpm-lock.yaml +10 -96
  38. package/zova/pnpm-lock.yaml +8 -0
  39. package/zova/src/suite/a-home/modules/home-base/src/.metadata/component/siteEntryTables.ts +12 -0
  40. package/zova/src/suite/a-home/modules/home-base/src/.metadata/index.ts +13 -0
  41. package/zova/src/suite/a-home/modules/home-base/src/component/siteEntryTables/controller.tsx +71 -0
  42. package/zova/src/suite/a-home/modules/home-base/src/config/locale/en-us.ts +8 -0
  43. package/zova/src/suite/a-home/modules/home-base/src/config/locale/zh-cn.ts +8 -0
  44. package/zova/src/suite/a-home/modules/home-indexadmin/package.json +3 -0
  45. package/zova/src/suite/a-home/modules/home-indexadmin/src/page/dashboard/controller.tsx +6 -13
  46. package/zova/src/suite/a-home/modules/home-indexweb/package.json +3 -1
  47. package/zova/src/suite/a-home/modules/home-indexweb/src/page/home/controller.tsx +6 -14
  48. package/repo-docs/ai/edition-detection.md +0 -30
  49. package/repo-docs/editions/cabloy-basic.md +0 -26
  50. package/repo-docs/editions/cabloy-start.md +0 -53
  51. package/repo-docs/editions/choosing-between-basic-and-start.md +0 -83
  52. package/repo-docs/editions/detection.md +0 -31
package/.cabloy-version CHANGED
@@ -1 +1 @@
1
- 5.1.161
1
+ 5.1.162
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.1.162
4
+
5
+ ### Features
6
+
7
+ - Add a home prompt capability.
8
+ - Document Vona integrated SSR and Zova standalone SSR support.
9
+
10
+ ### Improvements
11
+
12
+ - Update AI spec-driven development, playbook specification generation, and Cabloy Editions documentation.
13
+ - Refresh the README, quickstart guide, skills documentation, and configuration.
14
+ - Update dependencies and the pnpm lockfile.
15
+
3
16
  ## 5.1.161
4
17
 
5
18
  ### Bug Fixes
package/CLAUDE.md CHANGED
@@ -72,7 +72,7 @@ Before inventing a custom implementation path:
72
72
  - For SSR theme-sensitive frontend work, detect the active edition marker and UI library before making assumptions. Cabloy Basic currently means DaisyUI + Tailwind CSS assumptions; Cabloy Start currently means Vuetify assumptions.
73
73
  - In Web SSR without cookie-backed theme resolution, do not treat server reads of `$theme.dark`, `$theme.darkMode`, or `$token` as final browser truth. Keep theme-sensitive SSR branching hydration-tolerant or defer final theme-sensitive decisions to the client.
74
74
  - Do not assume Cabloy Basic and Cabloy Start use the same adapter-level SSR theme handoff. Verify the active theme handler and client hydration path before changing SSR theme behavior.
75
- - Reuse existing repo terminology: Cabloy, Vona, Zova, suite, module, bean, SSR, SPA, Web, Admin.
75
+ - Reuse existing repo terminology: Cabloy, Vona, Zova, suite, module, bean, SSR, SPA, Web, Admin. For the two SSR entry modes, use Vona integrated SSR for the Vona-served path (default `7102`) and Zova standalone SSR for the direct Zova development-server path (default `9000`); do not confuse the latter with an independently deployable SSR Site/flavor.
76
76
  - For backend base-class placement, use the A / B1 / B2 rule from `repo-docs/ai/class-placement-rule.md`.
77
77
  - Pure helper bases belong in `src/lib`; subclass-only bases should be evaluated case by case and often belong in `src/lib`.
78
78
  - Runtime-anchor bases that still require container-managed or selector/class-token behavior but should not be global beans should prefer `src/service` with `@Service()`.
package/CONTRIBUTING.md CHANGED
@@ -21,7 +21,7 @@ npm run init
21
21
 
22
22
  `npm run init` is more than a package install: it installs multiple workspaces, prepares generated local configuration, initializes and synchronizes Vona and Zova, and generates required frontend and backend artifacts. Run it intentionally rather than as a retry for an unrelated narrow change.
23
23
 
24
- Current CI workflows run on Ubuntu with Node.js 24 after pushes to `main`; do not assume that every pull request is automatically validated. For maintained onboarding guidance, see [Cabloy Basic](https://cabloy.com/editions/cabloy-basic).
24
+ Current CI workflows run on Ubuntu with Node.js 24 after pushes to `main`; do not assume that every pull request is automatically validated. For maintained edition and onboarding guidance, see [Cabloy Editions](https://cabloy.com/editions/overview#cabloy-basic).
25
25
 
26
26
  ## Develop and validate
27
27
 
package/README.md CHANGED
@@ -6,11 +6,11 @@
6
6
  [![Docs](https://img.shields.io/badge/docs-cabloy-4f46e5.svg?style=flat-square)](https://cabloy.com)
7
7
  [![Demo](https://img.shields.io/badge/demo-cabloy.com-059669.svg?style=flat-square)](https://cabloy.com)
8
8
 
9
- Cabloy is a Node.js fullstack framework for AI vibe coding.
9
+ Cabloy is a Node.js fullstack framework for AI vibe coding, with AI Spec-Driven Development for traceable, evidence-backed delivery.
10
10
 
11
- **One fullstack system for AI vibe coding—bidirectional type sync, CLI-first workflows, docs, and skills.**
11
+ **One fullstack system for AI vibe coding—bidirectional type sync, CLI-first workflows, docs, skills, and traceable delivery from product intent to verifiable evidence.**
12
12
 
13
- Instead of stitching separate backend and frontend stacks together, Cabloy keeps their contracts, tooling, and guidance connected in one repository. Vona is its backend framework and runtime layer, and Zova is its frontend framework and application layer. Cabloy Basic and Cabloy Start are related, complete edition baselines built on that shared architecture; see [Editions Overview](https://cabloy.com/editions/overview) for their deliberate differences.
13
+ Instead of stitching separate backend and frontend stacks together, Cabloy keeps their contracts, tooling, and guidance connected in one repository. [AI Spec-Driven Development](https://cabloy.com/ai/ai-spec-driven-development) provides the disciplined path from confirmed Specs to evidence-backed delivery; its precise engineering method is Traceable Spec Delivery. Vona is its backend framework and runtime layer, and Zova is its frontend framework and application layer. Cabloy Basic and Cabloy Start are related, complete edition baselines built on that shared architecture; see [Editions Overview](https://cabloy.com/editions/overview) for their deliberate differences.
14
14
 
15
15
  [Documentation](https://cabloy.com) · [npm](https://www.npmjs.com/package/cabloy) · [Web Demo](https://cabloy.com) · [Admin Demo](https://cabloy.com/admin) · [GitHub](https://github.com/cabloy/cabloy)
16
16
 
@@ -31,74 +31,50 @@ For the complete explanation, see [Fullstack Introduction](https://cabloy.com/fu
31
31
 
32
32
  ## Get Started
33
33
 
34
- ### Prerequisites
34
+ See the [Fullstack Quickstart](https://cabloy.com/fullstack/quickstart).
35
35
 
36
- Before creating a new Cabloy project, make sure your environment has:
36
+ ## AI Spec-Driven Development
37
37
 
38
- | Name | Version |
39
- | ---------- | ---------- |
40
- | pnpm | `>=11.5.2` |
41
- | Node.js | `>=24.4.0` |
42
- | Redis | `>=7.2.6` |
43
- | SQLite3 | `Built-in` |
44
- | MySQL | `>=8` |
45
- | PostgreSQL | `>=16` |
38
+ See the [AI Spec-Driven Development](https://cabloy.com/ai/ai-spec-driven-development).
46
39
 
47
- - `Redis`: powers queue, schedule, startup, broadcast, caching, two-layer cache, and redlock
48
- - `SQLite3`: if you use `better-sqlite3`, set up `node-gyp` before installing dependencies
40
+ ## Editions
49
41
 
50
- Create a new Cabloy project:
42
+ Cabloy is available through two complete project baselines, each maintained in its own repository:
51
43
 
52
- ```bash
53
- npm create cabloy
54
- ```
55
-
56
- The generated project already includes `CLAUDE.md` and the `.claude/` workspace assets. This path creates a Cabloy Basic project baseline. Open this project in Claude Code and start coding immediately with project-specific guidance.
57
-
58
- #### pnpm 11 supply-chain protection note
59
-
60
- `pnpm` 11 enables the `minimumReleaseAge` supply-chain protection by default. Newly published packages may be blocked for a short time window before `pnpm` allows installation.
61
-
62
- This matters for `npm create cabloy` because the command downloads Cabloy from npm and then automatically runs `npm run init`. If your environment blocks newly published packages during that flow, temporarily set `pnpm_config_minimum_release_age=0` for the current shell session and rerun the command.
63
-
64
- **Windows PowerShell**
44
+ - **[Cabloy Basic](https://github.com/cabloy/cabloy)** — the public framework and reference edition, licensed under [MIT](https://github.com/cabloy/cabloy/blob/main/LICENSE), with a DaisyUI + Tailwind CSS UI layer and an e-commerce-oriented demonstration suite.
45
+ - **[Cabloy Start](https://github.com/cabloy/cabloy-start)** — a public starter edition, licensed under [MIT](https://github.com/cabloy/cabloy-start/blob/main/LICENSE), with a Vuetify UI layer and built-in system-management and authorization demonstrations.
65
46
 
66
- ```powershell
67
- $env:pnpm_config_minimum_release_age = "0"
68
- npm create cabloy
69
- ```
47
+ Both editions share Cabloy’s Vona + Zova architecture, CLI-first workflows, bidirectional type synchronization, and AI Spec-Driven Development model. They differ primarily in their default UI layer, included demonstration suites, and out-of-the-box application baseline.
70
48
 
71
- **Windows Command Prompt**
49
+ For fuller guidance on choosing an edition and working in an existing checkout, see [Cabloy Editions](https://cabloy.com/editions/overview).
72
50
 
73
- ```cmd
74
- set pnpm_config_minimum_release_age=0 && npm create cabloy
75
- ```
51
+ **Legend:** ✅ Included in the default edition baseline · — Not included in the default edition baseline
76
52
 
77
- **macOS / Linux**
53
+ ### Default UI Layer
78
54
 
79
- ```bash
80
- pnpm_config_minimum_release_age=0 npm create cabloy
81
- ```
55
+ | Area | Cabloy Basic | Cabloy Start |
56
+ | ---------- | ---------------------- | ------------ |
57
+ | UI library | DaisyUI + Tailwind CSS | Vuetify |
82
58
 
83
- If you already created the project directory and only need to rerun initialization, use the same environment variable with `npm run init`.
59
+ ### Included Core Capabilities
84
60
 
85
- For **Cabloy Start**, clone the public MIT-licensed repository at `https://github.com/cabloy/cabloy-start`, then run `npm run init`. For the complete Start onboarding flow, read the [Cabloy Start](https://cabloy.com/editions/cabloy-start) page.
61
+ | Capability | Description | Cabloy Basic | Cabloy Start |
62
+ | -------------------- | --------------------------------------------------------------------------------- | ------------ | ------------ |
63
+ | Master–detail forms | Supports nested master–detail forms, including multiple levels of detail records. | ✅ | ✅ |
64
+ | Image uploads | Supports local storage and Cloudflare storage backends. | ✅ | ✅ |
65
+ | File uploads | Supports local storage and Cloudflare storage backends. | ✅ | ✅ |
66
+ | Payment integrations | Demonstrates simulated payments, PayPal, and Stripe integrations. | ✅ | ✅ |
67
+ | Markdown editor | Includes image uploads and syntax highlighting. | ✅ | ✅ |
86
68
 
87
- Then continue with the framework docs:
69
+ ### Included Demonstration Suites
88
70
 
89
- - [Fullstack Quickstart](https://cabloy.com/fullstack/quickstart)
90
- - [Documentation](https://cabloy.com)
91
- - [Fullstack Introduction](https://cabloy.com/fullstack/introduction)
92
- - [Backend Introduction](https://cabloy.com/backend/introduction)
93
- - [Frontend Introduction](https://cabloy.com/frontend/introduction)
94
- - [Editions Overview](https://cabloy.com/editions/overview)
95
- - [Choosing Between Cabloy Basic and Cabloy Start](https://cabloy.com/editions/choosing-between-basic-and-start)
71
+ | Suite | What it demonstrates | Cabloy Basic | Cabloy Start |
72
+ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ------------ |
73
+ | Student Training Management | Master–detail forms, nested detail records, image uploads, and file uploads. Cabloy Start additionally demonstrates data-scope-based RBAC. | ✅ | ✅ |
74
+ | E-commerce | A complete Admin site, Web site, personal center, payment flows, Markdown editing, and related capabilities. | ✅ | — |
75
+ | System Management | User management, role management, department management, RBAC authorization, and menu authorization. | — | ✅ |
96
76
 
97
- To upgrade an existing Cabloy project:
98
-
99
- ```bash
100
- npm run upgrade
101
- ```
77
+ > “Not included” means that the suite is not part of the default edition baseline. It does not limit what can be built with Cabloy.
102
78
 
103
79
  ## Highlights
104
80
 
@@ -106,6 +82,7 @@ npm run upgrade
106
82
  - **Bidirectional type sync** — use the contract loop to keep backend contracts and frontend metadata aligned in both directions
107
83
  - **CLI-first workflows** — use explicit commands for scaffolding, generation, refactors, and verification
108
84
  - **Docs and skills** — give people and AI agents reusable, source-grounded guidance for the current repository
85
+ - **AI Spec-Driven Development** — use Traceable Spec Delivery to connect product intent, contracts, bounded work, acceptance procedures, and verifiable evidence
109
86
  - **Vona + Zova** — use aligned backend and frontend layers for code sharing and cross-stack consistency
110
87
  - **Modular delivery** — organize capabilities as suites and modules, then deliver SSR, SPA, Web, and Admin applications with shared conventions
111
88
 
@@ -168,8 +145,7 @@ npm run build
168
145
 
169
146
  For more details, see:
170
147
 
171
- - [Editions Overview](https://cabloy.com/editions/overview)
172
- - [Choosing Between Cabloy Basic and Cabloy Start](https://cabloy.com/editions/choosing-between-basic-and-start)
148
+ - [Cabloy Editions](https://cabloy.com/editions/overview)
173
149
  - [Repo Scripts](https://cabloy.com/reference/repo-scripts)
174
150
  - [Package Map](https://cabloy.com/reference/package-map)
175
151
  - [AI Development Introduction](https://cabloy.com/ai/introduction)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cabloy",
3
- "version": "5.1.161",
3
+ "version": "5.1.162",
4
4
  "gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
5
5
  "description": "A Node.js fullstack framework",
6
6
  "keywords": [
@@ -1,41 +1,66 @@
1
1
  import { defineConfig } from 'vitepress';
2
2
 
3
- const editionsItems = [
4
- { text: 'Overview', link: '/editions/overview' },
5
- {
6
- text: 'Choosing Basic vs Start',
7
- link: '/editions/choosing-between-basic-and-start',
8
- },
9
- { text: 'Cabloy Basic', link: '/editions/cabloy-basic' },
10
- { text: 'Cabloy Start', link: '/editions/cabloy-start' },
11
- { text: 'Edition Detection', link: '/editions/detection' },
12
- ];
3
+ const editionsItems = [{ text: 'Overview', link: '/editions/overview' }];
13
4
 
14
5
  const aiItems = [
15
6
  { text: 'Introduction', link: '/ai/introduction' },
16
- { text: 'Repo Guidance', link: '/ai/repo-guidance' },
17
- { text: 'Skills', link: '/ai/skills' },
18
- { text: 'Class Placement Rule', link: '/ai/class-placement-rule' },
19
- { text: 'Global Bean Lookup', link: '/ai/global-bean-lookup' },
20
- { text: 'Docs / Skills Mapping', link: '/ai/docs-skills-rules-mapping' },
21
- { text: 'CLI to Skill Map', link: '/ai/cli-to-skill-map' },
22
- { text: 'Future Skill Roadmap', link: '/ai/future-skill-roadmap' },
23
- { text: 'Playbook: Backend Module', link: '/ai/playbook-backend-module' },
24
- { text: 'Playbook: Frontend Page', link: '/ai/playbook-frontend-page' },
25
- { text: 'Playbook: Contract Regeneration', link: '/ai/playbook-contract-regeneration' },
26
- { text: 'Playbook: Plan a Suite Specification', link: '/ai/playbook-spec-generation' },
27
7
  {
28
- text: 'Playbook: Execute an Approved Specification Increment',
29
- link: '/ai/playbook-spec-execution',
8
+ text: 'AI Spec-Driven Development',
9
+ collapsed: false,
10
+ items: [
11
+ { text: 'Overview', link: '/ai/ai-spec-driven-development' },
12
+ { text: 'Generate a Cabloy Suite Specification', link: '/ai/playbook-spec-generation' },
13
+ {
14
+ text: 'Execute an Approved Cabloy Specification Increment',
15
+ link: '/ai/playbook-spec-execution',
16
+ },
17
+ ],
18
+ },
19
+ {
20
+ text: 'Repository Guidance & Skills',
21
+ collapsed: true,
22
+ items: [
23
+ { text: 'Repo Guidance', link: '/ai/repo-guidance' },
24
+ { text: 'Skills', link: '/ai/skills' },
25
+ { text: 'Docs / Skills Mapping', link: '/ai/docs-skills-rules-mapping' },
26
+ { text: 'CLI to Skill Map', link: '/ai/cli-to-skill-map' },
27
+ { text: 'Future Skill Roadmap', link: '/ai/future-skill-roadmap' },
28
+ { text: 'CLI for Agents', link: '/ai/cli-for-agents' },
29
+ { text: 'Rules and Config', link: '/ai/rules-and-config' },
30
+ ],
31
+ },
32
+ {
33
+ text: 'Implementation Playbooks',
34
+ collapsed: true,
35
+ items: [
36
+ { text: 'Backend Module', link: '/ai/playbook-backend-module' },
37
+ { text: 'Frontend Page', link: '/ai/playbook-frontend-page' },
38
+ { text: 'Contract Regeneration', link: '/ai/playbook-contract-regeneration' },
39
+ { text: 'Module Removal', link: '/ai/playbook-module-removal' },
40
+ { text: 'Metadata Refresh', link: '/ai/playbook-metadata-refresh' },
41
+ ],
42
+ },
43
+ {
44
+ text: 'Architecture Rules',
45
+ collapsed: true,
46
+ items: [
47
+ { text: 'Class Placement Rule', link: '/ai/class-placement-rule' },
48
+ { text: 'Global Bean Lookup', link: '/ai/global-bean-lookup' },
49
+ ],
50
+ },
51
+ {
52
+ text: 'Edition & Verification',
53
+ collapsed: true,
54
+ items: [
55
+ { text: 'Edition Consistency Checklist', link: '/ai/edition-consistency-checklist' },
56
+ { text: 'Verification', link: '/ai/verification' },
57
+ ],
58
+ },
59
+ {
60
+ text: 'Authoring',
61
+ collapsed: true,
62
+ items: [{ text: 'Technical Blog Authoring', link: '/ai/playbook-technical-blog-authoring' }],
30
63
  },
31
- { text: 'Playbook: Module Removal', link: '/ai/playbook-module-removal' },
32
- { text: 'Playbook: Metadata Refresh', link: '/ai/playbook-metadata-refresh' },
33
- { text: 'Playbook: Technical Blog Authoring', link: '/ai/playbook-technical-blog-authoring' },
34
- { text: 'CLI for Agents', link: '/ai/cli-for-agents' },
35
- { text: 'Rules and Config', link: '/ai/rules-and-config' },
36
- { text: 'Edition Detection', link: '/ai/edition-detection' },
37
- { text: 'Edition Consistency Checklist', link: '/ai/edition-consistency-checklist' },
38
- { text: 'Verification', link: '/ai/verification' },
39
64
  ];
40
65
 
41
66
  const fullstackGroups = [
@@ -104,6 +129,7 @@ const fullstackGroups = [
104
129
  link: '/fullstack/payment-sandbox-configuration',
105
130
  },
106
131
  { text: 'Contract Loop Playbook', link: '/fullstack/contract-loop-playbook' },
132
+ { text: 'Semantic Presentation Contract', link: '/fullstack/semantic-presentation-contract' },
107
133
  {
108
134
  text: 'Admin Resource and Web Self-Service',
109
135
  link: '/fullstack/admin-resource-and-web-self-service',
@@ -658,7 +684,7 @@ export default defineConfig({
658
684
  { text: 'SSR Init Data', link: '/frontend/ssr-init-data' },
659
685
  { text: 'SSR ClientOnly', link: '/frontend/ssr-client-only' },
660
686
  { text: 'SSR SEO Meta', link: '/frontend/ssr-seo-meta' },
661
- { text: 'SSR Env', link: '/frontend/ssr-env' },
687
+ { text: 'SSR Environment Variables', link: '/frontend/ssr-env' },
662
688
  ],
663
689
  },
664
690
  ],
@@ -0,0 +1,99 @@
1
+ # AI Spec-Driven Development
2
+
3
+ **AI Spec-Driven Development** is Cabloy's approach to using AI from confirmed product intent through verifiable delivery evidence. It gives people and AI agents a shared, repository-native way to decide what to build, which contract owns a change, and what proof is required before an increment is called verified.
4
+
5
+ It is a disciplined path within the broader [AI Development](/ai/introduction) area, not a promise of unconstrained prompt-to-code automation.
6
+
7
+ ## From intent to evidence
8
+
9
+ Cabloy implements AI Spec-Driven Development through **Traceable Spec Delivery**, also described as **Spec-to-Evidence Delivery**:
10
+
11
+ ```text
12
+ PRD → SRS → WBS → ATP → Evidence
13
+ ```
14
+
15
+ This is a traceability chain rather than a literal list of every implementation activity:
16
+
17
+ - **PRD** defines product outcomes, scope, audiences, journeys, and business rules.
18
+ - **SRS** defines technical contracts, ownership, data, authorization, lifecycle, API, and nonfunctional boundaries.
19
+ - **WBS** defines bounded delivery work, dependencies, completion checks, and applicable Contract Loop checkpoints. In a suite record, this is commonly maintained in `pdp-wbs.md`.
20
+ - **ATP** defines formal acceptance procedures, expected proof, and release gates.
21
+ - **Evidence** is observed, retained, redacted proof for the applicable authority and revision.
22
+
23
+ Implementation and, when applicable, fullstack contract synchronization happen between the approved WBS increment and the resulting ATP evidence.
24
+
25
+ ## AI Skills
26
+
27
+ To support this workflow, Cabloy provides two complementary AI Skills:
28
+
29
+ - `cabloy-spec-generation` creates or maintains suite-local planning authority and traceability before implementation.
30
+ - `cabloy-spec-execution` coordinates one confirmed, bounded WBS increment through the appropriate specialist workflow, scoped verification, retained evidence, and derived progress updates.
31
+
32
+ Use the skills in Claude Code when the task matches their boundary. Start planning with `/cabloy-spec-generation <business description>`; after one bounded increment is approved, use `/cabloy-spec-execution <WBS-ID>`. They provide procedural routing, readiness and confirmation gates, and evidence discipline; they do not replace the suite records that own product, technical, delivery, acceptance, or evidence authority. For the detailed public workflow, read [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation) and [Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution).
33
+
34
+ ## Repository-native, domain-scoped authority
35
+
36
+ Traceable Spec Delivery does not create a second planning hierarchy or reduce the project to one document. It keeps authority at the record and domain that own it.
37
+
38
+ | Record | Role |
39
+ | --------------------------------------- | ----------------------------------------------------------- |
40
+ | Suite `README.md` | Index, reading order, topology summary, and authority map |
41
+ | `prd.md` | Product authority |
42
+ | `srs.md` and accepted ADRs | Technical contracts and durable decisions |
43
+ | `pdp-wbs.md` | Delivery decomposition, dependencies, and completion checks |
44
+ | `test-plan.md` | ATP procedures and release gates |
45
+ | Evidence records | Observed proof only |
46
+ | `progress.md` and implementation charts | Derived status and views, not upstream authority |
47
+
48
+ Update upstream authority before downstream records. For example, a changed product or technical boundary belongs in the PRD, SRS, or an accepted decision first; its WBS, ATP, progress, evidence, and derived-chart implications follow from that change. Evidence can reveal a mismatch, but it cannot rewrite a requirement or contract.
49
+
50
+ For the detailed authority table, identifiers, and chart boundary, see [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation).
51
+
52
+ ## Evidence-gated delivery
53
+
54
+ **Evidence-gated delivery** means delivery status stays precise about what is known and what has been proven.
55
+
56
+ - `implementation-complete` means the source work is complete, while required ATP or release proof remains.
57
+ - `verified` means all applicable WBS checks and ATPs have durable, linked, redacted observed evidence.
58
+
59
+ A successful build, generation command, chart-freshness check, planning record, screenshot, manual walkthrough, or unrelated test run is not automatically verification. It is verification only when the authoritative test plan defines it as sufficient retained proof for the named increment.
60
+
61
+ Readiness gates, evidence gates, and release gates are also distinct:
62
+
63
+ - **Readiness gates** determine whether an increment may start.
64
+ - **Evidence gates** determine whether a verification or closure claim is justified.
65
+ - **Release gates** are the test-plan-defined conditions for release-level acceptance.
66
+
67
+ ## Deliver bounded, verified vertical increments
68
+
69
+ The controlled execution unit is one named WBS item or an explicitly approved finite phase with a defined closure boundary—not an open-ended request to finish a suite or continue automatically.
70
+
71
+ Before source work begins, an **execution dossier** makes the unit explicit: target and revision, linked authority, dependencies, scope and exclusions, safety and ownership constraints, permitted verification, expected evidence, allowed record updates, blockers, and one next action. After work, a **resumable handoff** records the implemented scope, procedures actually run, resulting evidence and status, any gap or blocker, and exactly one next action.
72
+
73
+ This structure lets a team pause, review, or transfer work without treating an unfinished implementation as verified. See [Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution) for the readiness gates, routing rules, evidence protocol, and handoff format.
74
+
75
+ ## Contract Loop is complementary
76
+
77
+ [Contract Loop](/fullstack/contract-loop-playbook) is Cabloy's bidirectional Vona↔Zova synchronization model. It determines where fullstack contract truth lives, which generated handoff must be refreshed, and how to recover from forward-chain, reverse-chain, consumer, or local-dependency drift.
78
+
79
+ Traceable Spec Delivery and Contract Loop answer different questions:
80
+
81
+ | Concern | Primary model |
82
+ | ------------------------------------------------------------------------------------------- | ----------------------- |
83
+ | What should be built, under which authority, and what proves it? | Traceable Spec Delivery |
84
+ | How do Vona and Zova contract sources, generated handoffs, and consumers stay synchronized? | Contract Loop |
85
+
86
+ A WBS increment can require a Contract Loop checkpoint, but synchronization alone does not establish product authority or close its ATP evidence.
87
+
88
+ ## When presentation semantics are in scope
89
+
90
+ For schema-driven UI, establish the audience, task, scene, meaningful business information areas, and operation-specific DTO boundary before selecting layout mechanics or a renderer. The [Semantic Presentation Contract](/fullstack/semantic-presentation-contract) explains how confirmed product and technical contracts translate into presentation metadata without changing API authority, persistence, validation, authorization, state ownership, or SSR privacy.
91
+
92
+ ## Continue reading
93
+
94
+ - [AI Development Introduction](/ai/introduction)
95
+ - [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation)
96
+ - [Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution)
97
+ - [Contract Loop Playbook](/fullstack/contract-loop-playbook)
98
+ - [Semantic Presentation Contract](/fullstack/semantic-presentation-contract)
99
+ - [Docs, Skills, Rules, and CLI Mapping](/ai/docs-skills-rules-mapping)
@@ -2,7 +2,7 @@
2
2
 
3
3
  This page is for docs, skills, and workflow authors who need to decide where Cabloy AI guidance should live.
4
4
 
5
- This page explains how the Cabloy AI knowledge system is divided across public docs, skills, rules, and CLI capabilities.
5
+ This page explains how the Cabloy AI knowledge system is divided across public docs, suite-local authority records, skills, rules, and CLI capabilities.
6
6
 
7
7
  ## Why this mapping matters
8
8
 
@@ -16,7 +16,7 @@ Without a clear mapping, AI systems and contributors repeat the same mistakes:
16
16
 
17
17
  The goal is to give each layer a distinct job.
18
18
 
19
- ## The four main layers
19
+ ## The five main layers
20
20
 
21
21
  ### 1. Public docs
22
22
 
@@ -38,7 +38,21 @@ Public docs answer questions like:
38
38
  - how does Zova page or model architecture work?
39
39
  - what is different between Cabloy Basic and Cabloy Start?
40
40
 
41
- ### 2. Internal engineering docs
41
+ ### 2. Suite-local authority records
42
+
43
+ Location:
44
+
45
+ - `repo-specs/<suite>/`
46
+
47
+ Use suite records for the authority that governs one business suite:
48
+
49
+ - product requirements and system requirements
50
+ - WBS delivery boundaries and ATP procedures
51
+ - accepted decisions, observed evidence, and derived progress
52
+
53
+ [AI Spec-Driven Development](/ai/ai-spec-driven-development) explains how these domain-scoped records form Traceable Spec Delivery. Public docs explain the method; they do not replace suite authority.
54
+
55
+ ### 3. Internal engineering docs
42
56
 
43
57
  Location:
44
58
 
@@ -57,7 +71,7 @@ Relevant internal records answer questions like:
57
71
  - why is AI enablement structured this way?
58
72
  - what invariants should future contributors preserve?
59
73
 
60
- ### 3. Rules and commands
74
+ ### 4. Rules and commands
61
75
 
62
76
  Locations:
63
77
 
@@ -81,7 +95,7 @@ These layers answer questions like:
81
95
  - when should CLI be preferred over manual scaffolding?
82
96
  - what recurring workflow deserves a named command?
83
97
 
84
- ### 4. Skills
98
+ ### 5. Skills
85
99
 
86
100
  Location:
87
101
 
@@ -105,6 +119,7 @@ Skills answer questions like:
105
119
  Use this quick rule:
106
120
 
107
121
  - if people and agents both need to read and understand it, put it in **public docs**
122
+ - if it is product, contract, delivery, ATP, decision, or observed-evidence authority for one suite, use `repo-specs/<suite>/`
108
123
  - if it is maintainer rationale or long-lived design history, use `repo-docs-internal/`; shared guidance remains complete without any particular internal record
109
124
  - if it is short repo-wide behavioral guidance, put it in **CLAUDE.md**
110
125
  - if it is a named repeatable operator action, put it in a **command**
@@ -114,7 +129,7 @@ Use this quick rule:
114
129
 
115
130
  ### Example: “Always detect Basic vs Start before giving UI-sensitive advice”
116
131
 
117
- - public explanation → [AI Edition Detection](/ai/edition-detection)
132
+ - public explanation → [Cabloy Editions: For AI Development](/editions/overview#for-ai-development)
118
133
  - consistency review surface → [Edition Consistency Checklist](/ai/edition-consistency-checklist)
119
134
  - repo-wide behavior rule → `CLAUDE.md`
120
135
  - procedural enforcement → `cabloy-workflow` skill
@@ -167,7 +182,8 @@ Use this quick rule:
167
182
 
168
183
  ### Example: “How should AI create or maintain a repository-native suite specification?”
169
184
 
170
- - public workflow explanation → [Playbook: Plan a Cabloy Suite Specification](/ai/playbook-spec-generation)
185
+ - public method overview → [AI Spec-Driven Development](/ai/ai-spec-driven-development)
186
+ - public workflow explanation → [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation)
171
187
  - procedural planning, confirmation, traceability, and chart-refresh behavior → `cabloy-spec-generation`
172
188
  - suite-specific PRD, SRS, WBS, ATP, ADR, progress, and observed evidence authority → `repo-specs/<suite>/`
173
189
  - maintainer rationale → `repo-docs-internal/`
@@ -175,7 +191,8 @@ Use this quick rule:
175
191
 
176
192
  ### Example: “How should AI deliver an approved suite task?”
177
193
 
178
- - public workflow explanation → [Playbook: Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution)
194
+ - public method overview → [AI Spec-Driven Development](/ai/ai-spec-driven-development)
195
+ - public workflow explanation → [Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution)
179
196
  - bounded-WBS coordination, readiness gates, evidence, and derived-status behavior → `cabloy-spec-execution`
180
197
  - source implementation → the relevant backend, frontend, contract-loop, or shape-specific skill
181
198
  - product, contract, dependency, scope, or durable-decision changes → return to specification or domain planning
@@ -142,9 +142,8 @@ Before you finish an edition-aware change, ask:
142
142
 
143
143
  ## Read together with
144
144
 
145
- - [Choosing Between Cabloy Basic and Cabloy Start](/editions/choosing-between-basic-and-start)
146
- - [Editions Overview](/editions/overview)
147
- - [Edition Detection for AI Workflows](/ai/edition-detection)
145
+ - [Cabloy Editions: Choosing an Edition](/editions/overview#choosing-an-edition)
146
+ - [Cabloy Editions: For AI Development](/editions/overview#for-ai-development)
148
147
  - [Docs, Skills, Rules, and CLI Mapping](/ai/docs-skills-rules-mapping)
149
148
  - [Rules and Config](/ai/rules-and-config)
150
149
  - [Verification](/ai/verification)
@@ -2,6 +2,8 @@
2
2
 
3
3
  This page is the entrypoint for contributors who are designing, reviewing, or maintaining AI vibe coding workflows in the Cabloy repository.
4
4
 
5
+ For work that must move from confirmed product intent to evidence-backed verification, use [AI Spec-Driven Development](/ai/ai-spec-driven-development). It is a disciplined specification-delivery path within AI Development, not a synonym for every AI vibe coding workflow.
6
+
5
7
  The Cabloy monorepo is a good fit for AI vibe coding because the source tree already contains most of the framework knowledge an agent needs:
6
8
 
7
9
  - root scripts for shared workflows
@@ -68,10 +70,11 @@ Start here when the task is about choosing the right repo surface, docs location
68
70
 
69
71
  ### Specification planning and delivery path
70
72
 
71
- Use this path to establish suite authority before implementation, then deliver one approved, bounded WBS increment with evidence-backed status:
73
+ Use this path to understand [AI Spec-Driven Development](/ai/ai-spec-driven-development), establish suite authority before implementation, then deliver one approved, bounded WBS increment with evidence-backed status:
72
74
 
73
- - [Playbook: Plan a Cabloy Suite Specification](/ai/playbook-spec-generation)
74
- - [Playbook: Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution)
75
+ - [AI Spec-Driven Development](/ai/ai-spec-driven-development)
76
+ - [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation)
77
+ - [Execute an Approved Cabloy Specification Increment](/ai/playbook-spec-execution)
75
78
  - [Skills](/ai/skills)
76
79
  - [Repo Scripts](/reference/repo-scripts)
77
80
  - [Verification](/ai/verification)
@@ -92,7 +95,7 @@ Use this path when the task is about implementing or reviewing Cabloy code with
92
95
 
93
96
  Use this path when the task is about consistency checks, verification, or future workflow planning:
94
97
 
95
- - [Edition Detection](/ai/edition-detection)
98
+ - [Cabloy Editions: For AI Development](/editions/overview#for-ai-development)
96
99
  - [Edition Consistency Checklist](/ai/edition-consistency-checklist)
97
100
  - [Verification](/ai/verification)
98
101
  - [Future Skill Roadmap](/ai/future-skill-roadmap)
@@ -1,21 +1,35 @@
1
- # Playbook: Execute an Approved Cabloy Specification Increment
1
+ # Execute an Approved Cabloy Specification Increment
2
2
 
3
3
  Use this playbook to deliver one approved Cabloy specification increment from a bounded WBS item through implementation, scoped verification, retained evidence, and an accurate progress handoff.
4
4
 
5
5
  The `cabloy-spec-execution` skill is a control plane. It coordinates an approved increment and its specialist workflow; it is not a second product authority, architecture authority, or code generator.
6
6
 
7
- ## When to use this playbook
7
+ This playbook is the execution half of [AI Spec-Driven Development](/ai/ai-spec-driven-development). It operationalizes Traceable Spec Delivery for one bounded increment; it does not redefine upstream authority or make Contract Loop synchronization sufficient evidence of verification.
8
+
9
+ ## Start a bounded execution increment
10
+
11
+ In Claude Code, use either of these entry points:
12
+
13
+ ```text
14
+ /cabloy-spec-execution <WBS-ID>
15
+ /cabloy-spec-execution Execute the next task for <Suite Name>
16
+ ```
17
+
18
+ An explicit `WBS-ID` is the most direct and precise request: it identifies the bounded increment that you want to execute.
19
+
20
+ If you do not know the next `WBS-ID`, use the suite-level request instead. AI reads the suite's WBS, dependencies, current progress, blockers, and acceptance requirements, then proposes the next ready bounded increment or a finite candidate set. Review and explicitly approve the proposed WBS target and execution dossier before any implementation begins. The suite-level request authorizes exploration and recommendation; it does **not** authorize AI to choose or execute adjacent work automatically.
8
21
 
9
22
  Use `cabloy-spec-execution` when you need to:
10
23
 
11
24
  - implement one named `WBS-*` item
25
+ - explore an existing suite and recommend its next ready bounded increment
12
26
  - execute an explicitly named, finite, approved phase with a defined closure boundary
13
27
  - verify or close a named ATP or release-gate task
14
28
  - turn one existing suite-plan increment into implementation and observed proof
15
29
 
16
30
  Requests such as “implement the suite,” “finish all specs,” or “do the next phase” are not bounded enough. Select one WBS task, or explicitly approve a finite task list and its closure boundary, before implementation begins.
17
31
 
18
- Use [Playbook: Plan a Cabloy Suite Specification](/ai/playbook-spec-generation) instead when the task changes a requirement, contract, dependency, scope boundary, or durable decision.
32
+ Use [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation) instead when the task changes a requirement, contract, dependency, scope boundary, or durable decision.
19
33
 
20
34
  ## Establish the execution boundary first
21
35
 
@@ -46,7 +60,7 @@ Read the suite records in this order:
46
60
  6. linked evidence, runbooks, presentation records, or rollout records when they apply
47
61
  7. `implementation-gantt.svg` and `implementation-burndown.svg` as derived views to check for freshness, not authority
48
62
 
49
- When records conflict, return to [Playbook: Plan a Cabloy Suite Specification](/ai/playbook-spec-generation) before implementation. Do not resolve an authority contradiction through an execution note, a chart edit, or a source workaround.
63
+ When records conflict, return to [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation) before implementation. Do not resolve an authority contradiction through an execution note, a chart edit, or a source workaround.
50
64
 
51
65
  ## Stop at readiness gates
52
66
 
@@ -139,6 +153,6 @@ Finish the increment with a concise record of:
139
153
  6. remaining blocker or evidence gap
140
154
  7. exactly one next action
141
155
 
142
- A next action is a handoff, not authorization to execute another task. If it requires an authority change, return to [Playbook: Plan a Cabloy Suite Specification](/ai/playbook-spec-generation).
156
+ A next action is a handoff, not authorization to execute another task. If it requires an authority change, return to [Generate a Cabloy Suite Specification](/ai/playbook-spec-generation).
143
157
 
144
158
  For the public boundaries between docs, skills, suite authority, and CLI workflows, read [Docs, Skills, Rules, and CLI Mapping](/ai/docs-skills-rules-mapping) and [CLI to Skill Map](/ai/cli-to-skill-map).