@relipa/ai-flow-kit 0.0.7-beta.2 → 0.0.7

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/README.md CHANGED
@@ -57,7 +57,7 @@ PM writes ticket on Backlog/Jira
57
57
 
58
58
  ⛩️ GATE 4 — AI Self-Review [AI + DEV]
59
59
  AI runs: verification + impact-analysis + checklist
60
- AI generates: plan/PROJ-33/summary.md
60
+ AI generates: plan/PROJ-33/task-summary.md
61
61
  DEV reviews → "APPROVED" or "BUG: [description]"
62
62
  │ APPROVED
63
63
 
@@ -92,6 +92,7 @@ npm uninstall -g ai-flow-kit
92
92
  | `aiflow init` | Setup framework, adapters, and multi-AI rules. |
93
93
  | `aiflow use <ticket>` | Load ticket context (Backlog/Jira). |
94
94
  | `aiflow task` | Manage multiple tasks — pause, switch, resume. |
95
+ | `aiflow task next` | Finalize gate approval and prepare for fresh session. |
95
96
  | `aiflow prompt` | Generate tool-optimized prompts (`--env cursor`). |
96
97
  | `aiflow sync-skills` | Manually synchronize AI Instruction files with local custom skills. |
97
98
  | `aiflow telemetry` | Manage telemetry tracking (enable/disable/status). |
@@ -33,7 +33,7 @@ PM writes ticket on Backlog/Jira
33
33
 
34
34
  ⛩️ GATE 4 — AI Self-Review [AI + DEV]
35
35
  AI runs: verification + impact-analysis + checklist
36
- AI generates summary report
36
+ AI generates: task-summary.md
37
37
  DEV reviews → "APPROVED" or "BUG: [description]"
38
38
  │ APPROVED
39
39
 
@@ -33,18 +33,18 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
33
33
  - **Robust Gate Detection** — Refactored `detectCurrentGate` to prioritize `task-state.json` as the source of truth for task progress.
34
34
  - **`aiflow gate approved` CLI output** — Now prints a session-refresh tip to help users maintain clean AI contexts.
35
35
  - **`aiflow update` efficiency** — Now automatically performs skill and instruction synchronization even if the version is unchanged (removes the need for `--force`).
36
- - **Safety First Development** — Removed all automatic `git commit` instructions from AI skills (`subagent-driven-development`, `using-git-worktrees`, `writing-plans`) to ensure developer-led commit management.
36
+ - **Safety First Development** — Removed all automatic `git commit` and `git add` instructions from key AI skills (`subagent-driven-development`, `using-git-worktrees`, `writing-plans`, `generate-spec`) to ensure developer-led commit management.
37
37
  - **Localized CLI** — All interactive prompts and confirmation messages translated to English for consistency.
38
38
  - **`aiflow init` RTK entry** — flag description updated to clarify RTK saves bash output tokens (60–90%).
39
39
  - **`aiflow doctor`** — RTK section merged into new "Token savings" section.
40
- - **README.md / QUICK_START.md** — Updated to reflect `sync-skills` and improved update flow.
40
+ - **README.md / QUICK_START.md / AIFLOW.md** — Updated to reflect session continuity workflow, `sync-skills` command, and improved update flow.
41
41
 
42
42
  ### Fixed
43
43
 
44
- - **Automatic Git Commits Removed** — Removed all `git add` and `git commit` instructions from the `generate-spec` and `writing-plans` skills to prevent unwanted automatic commits during Gate 3/4. Developers now have full manual control over commits.
44
+ - **Automatic Git Commits Removed** — Fully disabled automated version control actions across the entire Skill Registry. Developers now have full manual control over staging and commits, preventing unintended history pollution during AI implementation.
45
45
  - **NestJS auto-detection** — `@nestjs/core` in `package.json` was incorrectly detected as `nodejs-express`; now correctly resolves to `nestjs`.
46
46
  - **PHP project auto-detection** — Projects with `composer.json` but no Laravel dependency now correctly auto-detect as `php-plain` instead of being skipped.
47
- - Fixed `.github/copilot-instructions.md` not being included in automated `.gitignore` rules.
47
+ - **Instruction Safety** — Fixed `.github/copilot-instructions.md` not being included in automated `.gitignore` rules.
48
48
 
49
49
  ---
50
50
 
@@ -100,6 +100,31 @@ Output:
100
100
  claude # AI auto-starts Gate 1 immediately
101
101
  ```
102
102
 
103
+ ### Step 3: Approval & Session Refresh
104
+
105
+ After the AI finishes its task at any Gate (e.g., Gate 1 Requirement Analysis), and you are ready to move to the next gate:
106
+
107
+ 1. Review the output.
108
+ 2. Type **APPROVED** to finish the current gate.
109
+ 3. Run **`aiflow task next`**. This command will:
110
+ - Finalize the current gate state.
111
+ - Generate a `task-summary.md` report.
112
+ - Prepare the task for the next stage.
113
+ 4. **Important:** Open a **fresh chat session** (new chatbox) and type `continue` to start the next gate. This ensures the AI has a clean context.
114
+
115
+ ### Step 4: Resume Task
116
+
117
+ If you switched tasks or started a new session:
118
+
119
+ ```bash
120
+ # Resume the most recent task
121
+ aiflow task resume
122
+
123
+ # Or resume a specific task
124
+ aiflow task resume PROJ-33
125
+ ```
126
+ Then open Claude and the AI will auto-detect the current gate and resume exactly where you left off.
127
+
103
128
  > **Note:** `aiflow prompt` is optional — only needed when pasting into Claude Desktop/Web.
104
129
  >
105
130
  > **Multi-Tool Support:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relipa/ai-flow-kit",
3
- "version": "0.0.7-beta.2",
3
+ "version": "0.0.7",
4
4
  "description": "All-in-one AI Flow Kit for team development with Claude AI - skills, templates, and MCP adapters",
5
5
  "author": "Example Team",
6
6
  "publishConfig": {