@relipa/ai-flow-kit 0.0.4-beta.2 → 0.0.4-beta.3

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/AIFLOW.md CHANGED
@@ -83,7 +83,7 @@ claude # open Claude → AI auto-starts Gate 1
83
83
 
84
84
  | Step | Action | Purpose |
85
85
  |------|--------|---------|
86
- | 1 | Load ticket from `.claude/context/current.json` | Get PM's requirements, comments |
86
+ | 1 | Load ticket from `.aiflow/context/current.json` | Get PM's requirements, comments |
87
87
  | 2 | Read `CLAUDE.md` + source code | Understand architecture, tech stack, patterns |
88
88
  | 3 | Investigate related files & data flow | Identify affected areas, dependencies |
89
89
  | 4 | Ask clarifying questions (one at a time) | Ensure full understanding |
@@ -415,7 +415,7 @@ aiflow guide # view quickstart guide
415
415
 
416
416
  ## Multi-AI Environment Setup
417
417
 
418
- One of the core strengths of `ai-flow-kit` is that the **Gate Workflow** is tool-agnostic. Since state is saved in `.claude/context/current.json` and the `plan/` directory, you can switch tools mid-task.
418
+ One of the core strengths of `ai-flow-kit` is that the **Gate Workflow** is tool-agnostic. Since state is saved in `.aiflow/context/current.json` and the `plan/` directory, you can switch tools mid-task.
419
419
 
420
420
  ### How to Switch Tools
421
421
  1. **Analyze (Gate 1)** using Claude Code CLI (great for deep codebase scans).
package/CHANGELOG.md CHANGED
@@ -9,7 +9,10 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
- > Changes that are merged but not yet released.
12
+ ### Changed
13
+ - Neutralized project structure by moving shared ticket context to `.aiflow/context/current.json`.
14
+ - Updated all AI templates (Claude, Cursor, Gemini, Copilot) to point to the new shared context location.
15
+ - Updated `aiflow use` and `aiflow prompt` to work with the new neutral path.
13
16
 
14
17
  ---
15
18
 
package/QUICK_START.md CHANGED
@@ -103,7 +103,7 @@ claude # AI auto-starts Gate 1 immediately
103
103
  > **Multi-Tool Support:**
104
104
  > - If using **Cursor**: Gate Workflow is enforced via `.cursorrules`.
105
105
  > - If using **Gemini CLI**: Rules are loaded from `GEMINI.md`.
106
- > - The AI will automatically detect if you are mid-task by reading `.claude/context/current.json`.
106
+ > - The AI will automatically detect if you are mid-task by reading `.aiflow/context/current.json`.
107
107
 
108
108
  ### Step 3: GATE 1 — AI Analyzes Requirement
109
109
 
@@ -111,7 +111,7 @@ claude # AI auto-starts Gate 1 immediately
111
111
 
112
112
  When you open Claude, AI will **automatically** start analyzing:
113
113
 
114
- 1. **Read ticket** from `.claude/context/current.json`
114
+ 1. **Read ticket** from `.aiflow/context/current.json`
115
115
  2. **Read source code** — understand architecture, related files, data flow
116
116
  3. **Ask clarifying questions** (one at a time) if anything is unclear
117
117
  4. **Output** `plan/PROJ-33/requirement.md` containing:
package/README.md CHANGED
@@ -154,7 +154,7 @@ aiflow init --framework spring-boot,reactjs --adapter backlog,jira
154
154
 
155
155
  ### `aiflow use <ticket>`
156
156
 
157
- Load ticket context into `.claude/context/current.json`.
157
+ Load ticket context into `.aiflow/context/current.json`.
158
158
 
159
159
  ```bash
160
160
  # Backlog
@@ -24,7 +24,7 @@ keywords: bug, fix, error, crash, broken
24
24
 
25
25
  ### 1. Read context from ticket (if available)
26
26
 
27
- Check `.claude/context/current.json`:
27
+ Check `.aiflow/context/current.json`:
28
28
  - `description` — bug description from the ticket
29
29
  - `comments` — discussions, additional info
30
30
  - `context.files` — related files mentioned
@@ -16,7 +16,7 @@ keywords: ticket, validate, context, requirement, backlog, jira, analyze, unders
16
16
 
17
17
  ### Step 1: Load Ticket & Read Source Code
18
18
 
19
- 1. Read `.claude/context/current.json` — ticket info from Backlog/Jira
19
+ 1. Read `.aiflow/context/current.json` — ticket info from Backlog/Jira
20
20
  2. Read `CLAUDE.md` — understand project architecture, tech stack, conventions
21
21
  3. Read related source files — trace data flow, identify patterns, dependencies
22
22
  4. Read ticket comments — additional context from PM/team
@@ -3,7 +3,7 @@
3
3
  > **Absolute Rule: Complete Gate N before entering Gate N+1.**
4
4
  > **Do not skip, shorten, or merge Gates.**
5
5
 
6
- You have superpowers. When a ticket context exists in `.claude/context/current.json`:
6
+ You have superpowers. When a ticket context exists in `.aiflow/context/current.json`:
7
7
  - **AUTO-START Gate 1 immediately** — do NOT wait for the developer to ask.
8
8
  - Read instructions and follow the gate sequence below — NO EXCEPTIONS.
9
9
 
@@ -14,7 +14,7 @@ You have superpowers. When a ticket context exists in `.claude/context/current.j
14
14
  **INVOKE:** `validate-ticket` skill
15
15
 
16
16
  AI actively reads ticket + source code to understand the requirement:
17
- 1. Read `.claude/context/current.json` — ticket info
17
+ 1. Read `.aiflow/context/current.json` — ticket info
18
18
  2. Read source code — architecture, related files, data flow
19
19
  3. If anything is unclear — ask ONE question at a time, wait for reply
20
20
  4. Output `plan/[ticket-id]/requirement.md` with:
@@ -3,6 +3,6 @@
3
3
  You are an expert AI assistant specialized in this project's stack. Follow the Gate Workflow and Team Rules strictly.
4
4
 
5
5
  > [!IMPORTANT]
6
- > Always check for context in `.claude/context/current.json` and progress in the `plan/` folder before suggesting changes.
6
+ > Always check for context in `.aiflow/context/current.json` and progress in the `plan/` folder before suggesting changes.
7
7
 
8
8
  If the Gate Workflow hasn't started, wait for the developer to type **"start"** or **"Gate 1"**.
@@ -3,6 +3,6 @@
3
3
  You are an expert AI assistant specialized in this project's stack. Follow the Gate Workflow and Team Rules strictly.
4
4
 
5
5
  > [!IMPORTANT]
6
- > Always check `.claude/context/current.json` and the `plan/` directory before starting any task to understand current context and progress.
6
+ > Always check `.aiflow/context/current.json` and the `plan/` directory before starting any task to understand current context and progress.
7
7
 
8
8
  If Gate 1 doesn't auto-start, wait for the developer to type **"start"**, **"Gate 1"** or **"Analyze ticket"**.
@@ -3,6 +3,6 @@
3
3
  You are an expert AI assistant specialized in this project's stack. Follow the Gate Workflow and Team Rules strictly.
4
4
 
5
5
  > [!IMPORTANT]
6
- > When starting a session, always read `.claude/context/current.json` to load ticket context and check the `plan/` directory for existing progress.
6
+ > When starting a session, always read `.aiflow/context/current.json` to load ticket context and check the `plan/` directory for existing progress.
7
7
 
8
8
  If no instructions are automatically followed, wait for the developer to type **"start"** or **"Gate 1"** to start the analysis.
@@ -3,7 +3,7 @@
3
3
  You are an expert AI assistant. Follow the project's Gate Workflow and Team Rules strictly.
4
4
 
5
5
  ## Context Awareness
6
- - **Ticket context**: `.claude/context/current.json`
6
+ - **Ticket context**: `.aiflow/context/current.json`
7
7
  - **Task progress**: `plan/[ticket-id]/`
8
8
  - **Rules**: `.rules/`
9
9
 
@@ -24,7 +24,7 @@ When you run `aiflow init`, it generates a `.cursorrules` file.
24
24
 
25
25
  ### 2. Gemini CLI
26
26
  Pass `GEMINI.md` as system instructions to your Gemini session.
27
- - **Tip**: Always ensure the AI reads `.claude/context/current.json` first to load the ticket context.
27
+ - **Tip**: Always ensure the AI reads `.aiflow/context/current.json` first to load the ticket context.
28
28
  - Gemini is excellent for large context analysis during Gate 1.
29
29
 
30
30
  ### 3. GitHub Copilot / Codex
@@ -36,7 +36,7 @@ Copilot uses `.github/copilot-instructions.md` to guide its suggestions.
36
36
  ## Cross-Tool State Resumption
37
37
  The "Secret Sauce" of `ai-flow-kit` is its file-based state management:
38
38
 
39
- 1. **Context**: Saved in `.claude/context/current.json`.
39
+ 1. **Context**: Saved in `.aiflow/context/current.json`.
40
40
  2. **Progress**: Saved as Markdown docs in `plan/[ticket-id]/`.
41
41
  3. **Rules**: Saved in `.rules/`.
42
42
 
@@ -233,7 +233,7 @@ aiflow use JIRA-123
233
233
  [Load from MCP Adapter]
234
234
  - Fetch issue from Jira
235
235
  - Parse description, criteria
236
- - Save to .claude/context/current.json
236
+ - Save to .aiflow/context/current.json
237
237
 
238
238
  aiflow prompt bug-fix
239
239
 
@@ -80,7 +80,7 @@ aiflow use 1.0.0
80
80
  **What it does:**
81
81
  1. Fetches context from MCP adapter (if applicable)
82
82
  2. Parses and validates context
83
- 3. Saves to `.claude/context/current.json`
83
+ 3. Saves to `.aiflow/context/current.json`
84
84
  4. Updates state tracking
85
85
 
86
86
  **Example:**
@@ -90,7 +90,7 @@ Fetching context from Jira...
90
90
  ✓ Title: Fix payment processing error
91
91
  ✓ Description: 2000+ words pulled
92
92
  ✓ Acceptance criteria: 3 items
93
- ✓ Saved to .claude/context/current.json
93
+ ✓ Saved to .aiflow/context/current.json
94
94
 
95
95
  Ready to prompt! Run: aiflow prompt bug-fix
96
96
  ```
@@ -171,7 +171,7 @@ Options are overridden in this order:
171
171
 
172
172
  ```bash
173
173
  # Check context exists
174
- ls .claude/context/
174
+ ls .aiflow/context/
175
175
 
176
176
  # If missing, reload context
177
177
  aiflow use JIRA-123 # Reload from ticket
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relipa/ai-flow-kit",
3
- "version": "0.0.4-beta.2",
3
+ "version": "0.0.4-beta.3",
4
4
  "description": "All-in-one AI Flow Kit for team development with Claude AI - skills, templates, and MCP adapters",
5
5
  "author": "Relipa AI Team",
6
6
  "publishConfig": {
@@ -14,7 +14,7 @@ const path = require('path');
14
14
  // Project root is 3 levels up
15
15
  const projectRoot = path.resolve(__dirname, '..', '..', '..');
16
16
  const skillPath = path.join(projectRoot, '.claude', 'skills', 'using-superpowers', 'SKILL.md');
17
- const contextPath = path.join(projectRoot, '.claude', 'context', 'current.json');
17
+ const contextPath = path.join(projectRoot, '.aiflow', 'context', 'current.json');
18
18
 
19
19
  // ── 1. Load superpowers skill ──────────────────────────────────
20
20
  let skillContent = '';
package/scripts/prompt.js CHANGED
@@ -3,7 +3,7 @@ const path = require('path');
3
3
  const chalk = require('chalk');
4
4
 
5
5
  const PROJECT_DIR = process.cwd();
6
- const CURRENT_FILE = path.join(PROJECT_DIR, '.claude', 'context', 'current.json');
6
+ const CURRENT_FILE = path.join(PROJECT_DIR, '.aiflow', 'context', 'current.json');
7
7
  const RULES_DIR = path.join(PROJECT_DIR, '.rules');
8
8
 
9
9
  // Prompt templates per task type
package/scripts/use.js CHANGED
@@ -7,7 +7,7 @@ const { select, input } = require('@inquirer/prompts');
7
7
  const PROJECT_DIR = process.cwd();
8
8
  const AIFLOW_DIR = path.join(PROJECT_DIR, '.aiflow');
9
9
  const STATE_FILE = path.join(AIFLOW_DIR, 'state.json');
10
- const CONTEXT_DIR = path.join(PROJECT_DIR, '.claude', 'context');
10
+ const CONTEXT_DIR = path.join(PROJECT_DIR, '.aiflow', 'context');
11
11
 
12
12
  // ──────────────────────────────────────────────────────────────
13
13
  // Entry point