@haposoft/cafekit 0.7.21 → 0.7.22

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.21",
3
+ "version": "0.7.22",
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",
@@ -30,7 +30,7 @@ DO NOT write implementation code until an approved spec exists.
30
30
  | "No need to scout first" | Coding without knowing the architecture is blind. ALWAYS call `inspect` to scan files. |
31
31
  | "Review process is too tedious, let me just finish it myself" | The system needs an audit trail through agents. ALWAYS delegate via `Task` tool. |
32
32
 
33
- ## Absolute 4-Step Workflow
33
+ ## Absolute Workflow
34
34
 
35
35
  ```mermaid
36
36
  flowchart TD
@@ -40,7 +40,8 @@ flowchart TD
40
40
  C --> D[Step 3: Implement Code (god-developer)]
41
41
  D --> E[Step 4: Auto-Fix Code Review / Max 3 rounds]
42
42
  E -->|Fail (code-auditor)| D
43
- E -->|Pass| F[Report Completion]
43
+ E -->|Pass| F[Step 5: Incremental Docs Sync]
44
+ F --> G[Report Completion]
44
45
  ```
45
46
 
46
47
  ### Step 1: Initialize & Load Spec
@@ -66,6 +67,11 @@ The moment you finish coding, DO NOT proceed further. Switch to `references/qual
66
67
 
67
68
  - Only escalate to the user after 3 consecutive failed review rounds.
68
69
 
70
+ ### Step 5: Incremental Docs Sync
71
+ - After passing the Quality Gate, evaluate if any actual codebase modifications occurred (e.g., check pending files via git status).
72
+ - If files were created or modified: Trigger `docs-keeper` automatically to execute `repomix` and update the global `/docs/` and project logs.
73
+ - Do NOT skip this step! The user explicitly requires documentation to be synced immediately after every `/hapo:develop` action, overriding the default Phase 3-only rule.
74
+
69
75
  ---
70
76
  ## Attached References
71
77
  - `references/quality-gate.md` - Rules for the Code Review loop.