cfsa-antigravity 2.3.0 → 2.3.1

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.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "CFSA Pipeline — Constraint-First Specification Architecture for AI agents. Production-grade from line one.",
5
5
  "scripts": {
6
6
  "changeset": "changeset",
@@ -122,18 +122,24 @@ Read `.agent/skills/session-continuity/protocols/ambiguity-gates.md` and run the
122
122
 
123
123
  ## 14. Request review and propose next steps
124
124
 
125
+ > [!CAUTION]
126
+ > **FORBIDDEN next steps from this workflow**: You may ONLY propose `/write-architecture-spec` (next shard) or `/write-be-spec` as the next step. Proposing `/plan-phase`, `/implement-slice`, or any workflow that comes after BE/FE specs is **strictly forbidden** from this point in the pipeline. The IA layer feeds into the BE and FE spec layers — those layers MUST be completed before planning or implementation can begin, regardless of project type (web app, CLI tool, bash script, API-only, etc.). Every project has backend contracts and interface specifications, even if the "frontend" is a terminal or a CLI `--help` output.
127
+
125
128
  You may only notify the user of completion if you have completed the Cross-Reference check, the Dependency Graph validation, and the Ambiguity gate.
126
129
 
127
130
  Use `notify_user` to present the completed IA shard for review. Your message MUST include:
128
131
  1. **The shard created** (link to the file)
129
132
  2. **Cross-reference verification** (confirmation that links are bidirectional)
130
133
  3. **Ambiguity Gate confirmation** (confirmation that no implementer would need to guess)
131
- 4. **The Pipeline State** (propose the next task from the options below)
134
+ 4. **The Pipeline State** (propose the next task from the **ONLY** permitted options below)
132
135
 
133
136
  Do NOT proceed to the next step until the user sends a message explicitly approving this output. Proposing next steps is not the same as receiving approval. Wait for explicit approval before continuing.
134
137
 
135
138
  Read `.agent/progress/spec-pipeline.md` to determine the pipeline state, then propose the appropriate next step:
136
139
 
137
140
  - **More skeleton shards remain** → "Next: Run `/write-architecture-spec` for shard [next-shard-number]"
138
- - **All IA shards complete** → "All IA shards complete and /audit-ambiguity ia has already run (mandatory Step 13 above). If it scored 0%, proceed to /write-be-spec. If it found gaps, resolve them and re-run /audit-ambiguity ia as a fresh invocation before proceeding."
141
+ - **All IA shards complete** → "All IA shards complete and /audit-ambiguity ia has already run (mandatory Step 13 above). If it scored 0%, proceed to `/write-be-spec`. If it found gaps, resolve them and re-run /audit-ambiguity ia as a fresh invocation before proceeding."
139
142
  - **Self-audit found unresolvable issues** → Present the issues for discussion before proposing next step
143
+
144
+ > [!IMPORTANT]
145
+ > **No other next steps are valid.** If you believe this project does not need BE or FE specs, you are wrong. Every project type maps to the pipeline's spec layers — CLI tools have command contracts (BE) and terminal output specs (FE), bash scripts have function contracts (BE) and usage/help specs (FE), API-only services have endpoint contracts (BE) and client SDK/docs specs (FE). The pipeline does not skip layers.
@@ -61,3 +61,10 @@ Read .agent/skills/code-review-pro/SKILL.md and apply its adversarial review dis
61
61
  - [ ] Access control covers all roles and all interaction types
62
62
  - [ ] Edge cases cover concurrent access, deletion cascades, and state conflicts
63
63
  - [ ] Cross-shard dependencies are bidirectional
64
+
65
+ ---
66
+
67
+ ## Post-Completion: Mandatory Next Step
68
+
69
+ > [!CAUTION]
70
+ > After completing all IA shards, the **only** valid next step is `/write-be-spec`. Do NOT propose `/plan-phase` or `/implement-slice` — those require completed BE and FE specs. This applies to ALL project types: web apps, CLI tools, bash scripts, APIs, desktop apps. No project skips the BE/FE spec layers.
@@ -90,10 +90,20 @@ If this BE spec introduces a technology not already in the project's tech stack:
90
90
 
91
91
  ## 14. Request review and propose next steps
92
92
 
93
+ > [!CAUTION]
94
+ > **FORBIDDEN next steps from this workflow**: You may ONLY propose `/write-be-spec` (next shard) or `/write-fe-spec` as the next step. Proposing `/plan-phase` or `/implement-slice` from this workflow is **strictly forbidden** — those require completed FE specs. This applies to ALL project types including CLI tools, bash scripts, and API-only services.
95
+
93
96
  Read .agent/skills/verification-before-completion/SKILL.md and follow its methodology.
94
97
 
95
98
  Use `notify_user` presenting:
96
99
  1. **Spec created** (link)
97
100
  2. **Cross-reference verification**
98
101
  3. **Ambiguity Gate confirmation**
99
- 4. **Pipeline State** — read `.agent/progress/spec-pipeline.md` and propose next step
102
+ 4. **Pipeline State** — read `.agent/progress/spec-pipeline.md` and propose the next step from the **ONLY** permitted options below:
103
+
104
+ - **More BE specs remain** → "Next: Run `/write-be-spec` for shard [next-shard-number]"
105
+ - **All BE specs complete** → "All BE specs complete and `/audit-ambiguity be` has already run (mandatory Step 12 above). If it scored 0%, proceed to `/write-fe-spec`. If it found gaps, resolve them and re-run `/audit-ambiguity be` before proceeding."
106
+ - **Self-audit found unresolvable issues** → Present the issues for discussion before proposing next step
107
+
108
+ > [!IMPORTANT]
109
+ > **No other next steps are valid.** `/plan-phase` requires both BE AND FE specs to be complete. After all BE specs pass audit, the mandatory next workflow is `/write-fe-spec`.
@@ -83,7 +83,14 @@ Use `notify_user` presenting:
83
83
  1. **Spec created** (link)
84
84
  2. **Cross-reference verification**
85
85
  3. **Ambiguity Gate confirmation**
86
- 4. **Pipeline State** — read `.agent/progress/spec-pipeline.md` and propose next step
86
+ 4. **Pipeline State** — read `.agent/progress/spec-pipeline.md` and propose the next step from the **ONLY** permitted options below:
87
+
88
+ - **More FE specs remain** → "Next: Run `/write-fe-spec` for shard [next-shard-number]"
89
+ - **All FE specs complete** → "All FE specs complete and `/audit-ambiguity fe` has already run (mandatory Step 11 above). If it scored 0% and the Navigation Completeness Check passes (Step 14 below), proceed to `/plan-phase`. If gaps remain, resolve them first."
90
+ - **Self-audit found unresolvable issues** → Present the issues for discussion before proposing next step
91
+
92
+ > [!IMPORTANT]
93
+ > `/plan-phase` is valid ONLY from this workflow, and ONLY when all FE specs show ✅, `/audit-ambiguity fe` scores 0%, and the Navigation Completeness Check (Step 14) passes.
87
94
 
88
95
  ## 14. Navigation Completeness Check
89
96