cfsa-antigravity 2.5.0 → 2.6.0

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": "cfsa-antigravity",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "CFSA Pipeline — Constraint-First Specification Architecture for AI agents. Production-grade from line one.",
5
5
  "scripts": {
6
6
  "changeset": "changeset",
@@ -1,6 +1,6 @@
1
1
  # Kit Sync State
2
2
 
3
3
  upstream: https://github.com/RepairYourTech/cfsa-antigravity
4
- last_synced_commit: dcc4be60e1815572706beb831a87daed6d7b0f14
5
- last_synced_at: 2026-03-17T00:12:26Z
6
- kit_version: 2.5.0
4
+ last_synced_commit: 3b681461bb17210e795e7a4d05a3393ba1e57438
5
+ last_synced_at: 2026-03-17T01:38:22Z
6
+ kit_version: 2.6.0
@@ -29,6 +29,19 @@ Read `.agent/skills/idea-extraction/SKILL.md` — follow the Recursive Domain Ex
29
29
 
30
30
  Read `## Expansion Mode` and `## Structural Classification` from `docs/plans/ideation/ideation-index.md`.
31
31
 
32
+ ## 2.5. Read Engagement Tier
33
+
34
+ Read `## Engagement Tier` from `docs/plans/ideation/ideation-index.md`. Apply gate behavior rules for this session:
35
+
36
+ | Tier | Structural gates (domain maps, classification, sub-domain structure) | Product gates (personas, MoSCoW, feature scope, competitive positioning) |
37
+ |------|----------------------------------------------------------------------|-------------------------------------------------------------------------|
38
+ | 🤖 **Auto** | Auto-confirm: apply Deep Think, write reasoning to feature files, proceed | Auto-confirm: apply Deep Think, write reasoning to feature files, proceed |
39
+ | 🤝 **Hybrid** | Auto-confirm: apply Deep Think, write reasoning to feature files, proceed | **Pause for user**: present findings, wait for explicit confirmation |
40
+ | 💬 **Interactive** | **Pause for user**: present findings, wait for explicit confirmation | **Pause for user**: present findings, wait for explicit confirmation |
41
+
42
+ > [!IMPORTANT]
43
+ > **Auto-confirmed gates must still write.** When a gate is auto-confirmed, the agent writes the Deep Think reasoning and decision to the relevant file immediately — just as if the user had confirmed it. The file trail must be identical regardless of tier. This ensures the Auto tier review checkpoint in `ideate-validate` has full traceability.
44
+
32
45
  ### Full Mode (recommended for 3+ domains)
33
46
 
34
47
  #### Level 0 — Global Domain Map
@@ -42,7 +55,7 @@ Read `## Expansion Mode` and `## Structural Classification` from `docs/plans/ide
42
55
  - In the relevant parent's CX file (surface CX or global CX)
43
56
  - In `ideation-cx.md` if cross-surface
44
57
  5. Update `ideation-index.md` structure map with paths
45
- 6. **Gate**: Present domain map. User confirms before Level 1.
58
+ 6. **Gate** *(structural)*: Present domain map. **Interactive/Hybrid**: User confirms before Level 1. **Auto**: Auto-confirm with Deep Think reasoning written to `ideation-index.md`.
46
59
 
47
60
  #### Level 1 — Domain Breadth Sweep
48
61
 
@@ -57,7 +70,7 @@ For each domain (dependency order — foundational first):
57
70
  5. Note cross-cuts in the domain's CX file
58
71
  6. **NEW DOMAINS DISCOVERED?** → Classify, create, update index, loop to Level 0
59
72
  7. Mark domain status as `[BREADTH]`
60
- 8. **Gate**: Pause after EACH domain. "Here's what I mapped for [Domain]. Missing anything?" After ALL: "All domains at BREADTH. Ready to drill?"
73
+ 8. **Gate** *(structural)*: Pause after EACH domain. **Interactive/Hybrid**: "Here's what I mapped for [Domain]. Missing anything?" After ALL: "All domains at BREADTH. Ready to drill?" **Auto**: Auto-confirm with Deep Think reasoning written to domain index.
61
74
 
62
75
  #### Level 2+ — Vertical Drilling
63
76
 
@@ -71,9 +84,9 @@ For each domain (dependency order), for each child:
71
84
  6. Cross-cuts with evidence → add to parent's CX file with synthesis questions
72
85
  7. **Feature reveals 2+ interacting capabilities?** → Run **Promotion Protocol** (convert .md to folder)
73
86
  8. **NEW DOMAINS DISCOVERED?** → Loop to Level 0
74
- 9. When Deep Think yields zero hypotheses AND user confirms → mark `[EXHAUSTED]`
87
+ 9. When Deep Think yields zero hypotheses AND user confirms (or auto-confirms for Auto tier) → mark `[EXHAUSTED]`
75
88
  10. Status propagation: all children `[EXHAUSTED]` → node is `[EXHAUSTED]`
76
- 11. **Gate**: Pause after each domain is drilled.
89
+ 11. **Gate** *(product)*: Pause after each domain is drilled. **Interactive**: Full review. **Hybrid**: Pause for review. **Auto**: Auto-confirm with Deep Think reasoning written to domain index.
77
90
 
78
91
  #### Cross-Cut Synthesis (Continuous)
79
92
 
@@ -19,7 +19,7 @@ pipeline:
19
19
 
20
20
  Classify the user's input, create the fractal `ideation/` folder structure, and load skills.
21
21
 
22
- **Prerequisite**: If invoked standalone (not from `/ideate`), verify the user has provided input either an `@file` reference or a verbal description. If no input is provided, prompt: "What would you like to build? Describe your idea, or provide a file with `/ideate-extract @path/to/file.md`."
22
+ **Prerequisite**: If standalone, verify user provided input via `@file` or verbal. If none, prompt: \"What would you like to build? Provide a file or describe your idea.\"
23
23
 
24
24
  ---
25
25
 
@@ -170,27 +170,30 @@ For each concept classified as **domain** in the confirmed table:
170
170
  - **Thin document**: Create domain folders with depth markers on feature files.
171
171
  - **Verbal / one-liner**: Create domain folders with scaffolding. Feature files are `[SURFACE]`.
172
172
 
173
- ## 1.6. User Intent Check (ALL input types)
173
+ ## 1.6. Engagement Tier Selection (ALL input types)
174
174
 
175
- Read `.agent/skills/brainstorming/SKILL.md` and follow its methodology.
175
+ All three tiers are available for all input types. Present with the recommended default for this input type (Rich/Thin/Chat Hybrid, Verbal → Interactive):
176
176
 
177
- After seeding, present a summary and ask how the user wants to proceed. Present all options:
177
+ > **How involved do you want to be?**
178
+ > 1. 🤖 **Auto** — I explore independently via Deep Think. You review at the end.
179
+ > 2. 🤝 **Hybrid** *(recommended)* — Structural stuff auto, product decisions pause for you.
180
+ > 3. 💬 **Interactive** — I pause at every gate. Full interview mode.
178
181
 
179
- 1. **Full exploration** *(recommended for 3+ domains)* Recursive breadth-before-depth with Deep Think
180
- 2. **Process as-is** — Proceed with what's captured; fill gaps as they arise
181
- 3. **Expand vertically** — Drill deeper into existing features
182
- 4. **Expand horizontally** — Add new feature domains not yet covered
183
- 5. **Explore cross-cutting concerns** — Map how existing features interact
184
- 6. **Combination** — User specifies dimensions and order
185
- 7. **Audit ambiguity first** — Run inline check before deciding
182
+ **Wait for user answer.** Write the engagement tier to `ideation-index.md` under `## Engagement Tier` immediately.
186
183
 
187
- **Wait for user answer do not assume.**
184
+ ## 1.6.5. Expansion Mode Selection (ALL input types)
188
185
 
189
- ## 1.7. Expansion Mode Routing
186
+ Present expansion mode options:
190
187
 
191
- Write the expansion mode to `ideation-index.md` per the super-index template.
188
+ 1. **Full exploration** *(recommended for 3+ domains)* Breadth-before-depth with Deep Think
189
+ 2. **Process as-is** — Proceed with what's captured
190
+ 3. **Expand vertically** — Drill deeper into existing features
191
+ 4. **Expand horizontally** — Add new domains
192
+ 5. **Cross-cutting concerns** — Map feature interactions
193
+ 6. **Combination** — User specifies dimensions and order
194
+ 7. **Audit ambiguity first** — Inline check before deciding
192
195
 
193
- This flag is read by `ideate-discover.md` to shape exploration behavior.
196
+ **Wait for user answer.** Write expansion mode to `ideation-index.md` under `## Expansion Mode` immediately.
194
197
 
195
198
  ## 2. Load skills
196
199
 
@@ -23,6 +23,14 @@ Explore constraints, verify domain exhaustion, and compile the vision summary.
23
23
 
24
24
  ---
25
25
 
26
+ ## 7.5. Read Engagement Tier
27
+
28
+ Read `## Engagement Tier` from `docs/plans/ideation/ideation-index.md`. Apply to gates in this shard:
29
+
30
+ - **Auto**: Steps 8 (constraints, metrics, competitive positioning) → agent self-interviews using Deep Think, writes answers to files. Step 10.5 (below) provides a review checkpoint before compilation.
31
+ - **Hybrid**: Steps 8 product decisions → pause for user. Structural checks → auto.
32
+ - **Interactive**: All steps pause for user confirmation.
33
+
26
34
  ## 8. Constraints and metrics
27
35
 
28
36
  Read `.agent/skills/idea-extraction/SKILL.md` and follow its Deep Think Protocol.
@@ -40,7 +48,11 @@ Explore constraints with the user. Write to `docs/plans/ideation/meta/constraint
40
48
 
41
49
  **Deep Think**: "Based on the product type and user personas, what constraints would I expect that haven't been mentioned? For example, does this product handle payments (PCI)? Does it serve minors (COPPA)? Does it store health data (HIPAA)?"
42
50
 
43
- Write constraints to `meta/constraints.md`. If the surface classification changed, update `ideation-index.md` `## Structural Classification` section.
51
+ **Interactive/Hybrid**: Present each constraint question to user, wait for answers. Write each confirmed constraint to `meta/constraints.md` immediately.
52
+
53
+ **Auto**: Self-interview using Deep Think. Write all answers with reasoning to `meta/constraints.md` immediately. Mark each answer as `[AUTO-CONFIRMED]` for traceability.
54
+
55
+ If the surface classification changed, update `ideation-index.md` `## Structural Classification` section.
44
56
 
45
57
  ### Success metrics
46
58
 
@@ -113,6 +125,19 @@ If proportionality fails, return to `/ideate-discover` for the under-explored ar
113
125
 
114
126
  ---
115
127
 
128
+ ## 10.5. Auto Tier Review Checkpoint (Auto tier only)
129
+
130
+ If engagement tier is **Auto**, present a comprehensive review before compilation:
131
+
132
+ 1. **List all auto-confirmed decisions** with their Deep Think reasoning — from domain classification, feature drilling, constraints, personas, competitive positioning
133
+ 2. **Highlight any `[AUTO-CONFIRMED]` entries** in `meta/constraints.md`, `meta/personas.md`, and `meta/competitive-landscape.md`
134
+ 3. **Present for review**: "I explored your idea independently. Here's everything I decided and why. Override anything before I compile the vision."
135
+ 4. **Wait for user response.** Apply any overrides. Write corrections to files immediately.
136
+
137
+ For **Hybrid** and **Interactive** tiers, skip this step — the user already confirmed during exploration.
138
+
139
+ ---
140
+
116
141
  ## 11. Compile vision document
117
142
 
118
143
  Read `.agent/skills/prd-templates/references/vision-template.md` for the output template.
@@ -29,7 +29,26 @@ shards: [ideate-extract, ideate-discover, ideate-validate]
29
29
  | One-liner / verbal | User describes idea in chat, no files | Interview (deep) — builds vision from scratch domain by domain |
30
30
  | Full exploration | Any input with 3+ domains | Full — Recursive breadth-before-depth with Deep Think protocol, cross-cut detection active throughout |
31
31
 
32
- **Quality guarantee**: All input types produce the **same output quality** using the same fractal structure. The ideation output from a one-liner is structurally identical to one from a rich document. Every node has an index, CX file, and children. Every feature has a Role Lens. Only the amount of interview work differs.
32
+ ### Engagement Tiers
33
+
34
+ After input classification, the user chooses how much involvement they want. All tiers are available for all input types — the pipeline recommends a default but the user picks.
35
+
36
+ | Tier | Gate behavior | Default for |
37
+ |------|---------------|-------------|
38
+ | 🤖 **Auto** | Pipeline uses Deep Think to self-interview at every gate. User reviews compiled output at the end. | — |
39
+ | 🤝 **Hybrid** | Structural/mechanical gates auto-confirm. Product decisions (personas, MoSCoW, competitive positioning, constraints) pause for user. | Rich doc, thin doc, chat transcript |
40
+ | 💬 **Interactive** | Every gate pauses for explicit user confirmation. | Verbal / one-liner |
41
+
42
+ **Full matrix — Input × Tier:**
43
+
44
+ | Input Type | 🤖 Auto | 🤝 Hybrid | 💬 Interactive |
45
+ |---|---|---|---|
46
+ | Rich document | AI extracts + self-interviews gaps | AI extracts, pauses for product calls | AI extracts, pauses at every gate |
47
+ | Thin document | AI expands all domains independently | AI expands, pauses for product calls | AI expands with user at every step |
48
+ | Chat transcript | AI filters noise + self-interviews | AI filters, pauses for product calls | AI filters with user validation |
49
+ | Verbal / one-liner | AI generates vision from scratch via Deep Think | AI generates, pauses for product calls | Full traditional interview |
50
+
51
+ **Quality guarantee**: All input types and engagement tiers produce the **same output quality** using the same fractal structure. The ideation output from an Auto one-liner is structurally identical to an Interactive rich document. Every node has an index, CX file, and children. Every feature has a Role Lens. Only the amount of human involvement differs.
33
52
 
34
53
  Transform a raw idea into comprehensive, structured ideation output through exhaustive recursive exploration with the Deep Think protocol.
35
54
 
@@ -63,9 +82,9 @@ Check whether `docs/plans/ideation/ideation-index.md` already exists.
63
82
 
64
83
  | # | Shard | What It Does |
65
84
  |---|-------|-------------|
66
- | 1 | [`ideate-extract`](.agent/workflows/ideate-extract.md) | Classifies input, determines structural classification (4 shapes), creates fractal `ideation/` folder structure using Node Classification Gate, seeds domain folders, runs user intent check, sets expansion mode, loads skills |
67
- | 2 | [`ideate-discover`](.agent/workflows/ideate-discover.md) | Recursive breadth-before-depth exploration with Deep Think. Creates fractal nodes (folders with index + CX) and leaf feature files (with Role Lens). Hierarchical CX detection active throughout. |
68
- | 3 | [`ideate-validate`](.agent/workflows/ideate-validate.md) | Constraints, metrics, competitive positioning, leaf-node exhaustion check, fractal structure compliance, vision summary compilation |
85
+ | 1 | [`ideate-extract`](.agent/workflows/ideate-extract.md) | Classifies input, determines structural classification (4 shapes), creates fractal `ideation/` folder structure using Node Classification Gate, seeds domain folders, asks engagement tier + expansion mode, loads skills |
86
+ | 2 | [`ideate-discover`](.agent/workflows/ideate-discover.md) | Recursive breadth-before-depth exploration with Deep Think. Gate behavior controlled by engagement tier. Creates fractal nodes (folders with index + CX) and leaf feature files (with Role Lens). Hierarchical CX detection active throughout. |
87
+ | 3 | [`ideate-validate`](.agent/workflows/ideate-validate.md) | Constraints, metrics, competitive positioning, leaf-node exhaustion check, fractal structure compliance, vision summary compilation. Auto tier gets a review checkpoint before compilation. |
69
88
 
70
89
  ---
71
90
 
@@ -73,7 +92,7 @@ Check whether `docs/plans/ideation/ideation-index.md` already exists.
73
92
 
74
93
  ### Step 1 — Run `.agent/workflows/ideate-extract.md`
75
94
 
76
- Classifies the user's input (rich doc, thin PRD, chat transcript, verbal), determines structural classification (single-surface, multi-surface-shared, multi-product-hub, multi-product-peer), checks for existing ideation folder (re-run check), creates the fractal `docs/plans/ideation/` folder structure using the Node Classification Gate, runs user intent check to determine expansion mode, sets the expansion mode flag in `ideation-index.md`, and loads skills.
95
+ Classifies the user's input (rich doc, thin PRD, chat transcript, verbal), determines structural classification (single-surface, multi-surface-shared, multi-product-hub, multi-product-peer), checks for existing ideation folder (re-run check), creates the fractal `docs/plans/ideation/` folder structure using the Node Classification Gate, asks user to choose engagement tier (Auto/Hybrid/Interactive) and expansion mode, writes both to `ideation-index.md` immediately, and loads skills.
77
96
 
78
97
  ### Step 2 — Run `.agent/workflows/ideate-discover.md`
79
98