@haposoft/cafekit 0.7.13 → 0.7.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haposoft/cafekit",
3
- "version": "0.7.13",
3
+ "version": "0.7.15",
4
4
  "description": "Spec-Driven Development workflow for AI coding assistants. Supports Claude Code and Antigravity with spec-first workflows plus Claude Code hapo: skills.",
5
5
  "author": "Haposoft <nghialt@haposoft.com>",
6
6
  "license": "MIT",
@@ -11,15 +11,17 @@ Focus on capabilities and outcomes, not code structure.
11
11
  - Features and capabilities
12
12
  - Domain language and concepts
13
13
  - Data relationships and workflows
14
-
15
- **Avoid**:
16
- - File paths and directory structure
17
- - Function/method names and signatures
18
- - Type definitions and interfaces
19
- - Class names and API contracts
20
- - Specific data structures
21
-
22
- **Rationale**: Implementation details (files, methods, types) are defined in design.md. Tasks describe the functional work to be done.
14
+ **Required (Hybrid Human-AI Style)**:
15
+ Every sub-task MUST balance Human Intent (for PM review) and Code-Level Details (for AI implementation).
16
+ Detail bullets must include:
17
+ 1. **Human Intent (The "Why")**: Briefly explain the business logic, expected UX behavior, or why this code exists (e.g., "Mục đích: Chặn user sử dụng extension nếu chưa đồng ý Privacy").
18
+ 2. **AI Code-Level Details (The "How")**:
19
+ - File paths and specific UI components to create/modify.
20
+ - Database tables, columns, and Zod/Type schemas (e.g., `Update users.consent_version`).
21
+ - API payloads, routes, and JSON contracts.
22
+ - Edge cases, error handling, and exact validation thresholds (e.g., `Return 403 if invalid`).
23
+
24
+ **Rationale**: Humans review tasks to verify business requirements are met; AI Coders (like god-developer or ck) read tasks to write explicit code. If you only write business jargon, the AI hallucinates. If you only write code names, the human reviewer cannot verify the business value. You MUST provide both.
23
25
 
24
26
  ### 2. Task Integration & Progression
25
27