cfsa-antigravity 2.18.1 → 2.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfsa-antigravity",
3
- "version": "2.18.1",
3
+ "version": "2.18.3",
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: 9434b89a7d1ad33b85d8b5556f80795366c96bde
5
- last_synced_at: 2026-03-25T04:15:18Z
6
- kit_version: 2.18.1
4
+ last_synced_commit: 883f18075e7bb024653a1f7bf700e8e80d91959b
5
+ last_synced_at: 2026-03-25T05:05:28Z
6
+ kit_version: 2.18.3
@@ -100,8 +100,8 @@ docs/plans/ia/
100
100
  ├── 01-operations.md ← ## Features seeded from ideation/surfaces/desktop/01-operations/ (index + feature files)
101
101
  ├── 02-device-history.md ← ## Features seeded from ideation/domains/02-device-history/ (index + feature files)
102
102
 
103
- docs/plans/desktop/be/ ← per-surface BE specs
104
- docs/plans/desktop/fe/ ← per-surface FE specs
105
- docs/plans/shared/be/ ← shared BE specs
106
- docs/plans/shared/fe/ ← shared FE specs
103
+ docs/plans/be/desktop/ ← per-surface BE specs (inside be/)
104
+ docs/plans/fe/desktop/ ← per-surface FE specs (inside fe/)
105
+ docs/plans/be/ ← shared BE specs (pre-scaffolded, serves as shared surface)
106
+ docs/plans/fe/ ← shared FE specs (pre-scaffolded, serves as shared surface)
107
107
  ```
@@ -211,9 +211,9 @@ Create or update `docs/plans/index.md`:
211
211
 
212
212
  | Surface | BE Index | FE Index | Description |
213
213
  |---------|----------|----------|-------------|
214
- | **Shared** | [shared/be/index.md](shared/be/index.md) | | Cross-surface contracts |
215
- | **[Surface 1]** | [surface-1/be/index.md](surface-1/be/index.md) | [surface-1/fe/index.md](surface-1/fe/index.md) | [description] |
216
- | **[Surface 2]** | [surface-2/be/index.md](surface-2/be/index.md) | [surface-2/fe/index.md](surface-2/fe/index.md) | [description] |
214
+ | **Shared** | [be/index.md](be/index.md) | [fe/index.md](fe/index.md) | Cross-surface contracts (pre-scaffolded dirs) |
215
+ | **[Surface 1]** | [be/surface-1/index.md](be/surface-1/index.md) | [fe/surface-1/index.md](fe/surface-1/index.md) | [description] |
216
+ | **[Surface 2]** | [be/surface-2/index.md](be/surface-2/index.md) | [fe/surface-2/index.md](fe/surface-2/index.md) | [description] |
217
217
 
218
218
  ## Pipeline
219
219
 
@@ -42,7 +42,7 @@ How each workflow determines which surface's row to read:
42
42
 
43
43
  | Workflow Type | Resolution Method |
44
44
  |--------------|-------------------|
45
- | Spec-writing (`write-be-spec`, `write-fe-spec`) | Shard directory path: `docs/plans/desktop/be/` → surface `desktop`; flat `docs/plans/be/` → surface `shared` |
45
+ | Spec-writing (`write-be-spec`, `write-fe-spec`) | Shard directory path: `docs/plans/be/desktop/` → surface `desktop`; flat `docs/plans/be/` → surface `shared` |
46
46
  | Implementation (`implement-slice`) | Slice's `surface:` tag from the phase plan |
47
47
  | Planning (`plan-phase`) | Iterates ALL surfaces in the map |
48
48
  | Validation (`validate-phase`) | Runs per-surface commands for all surfaces |
@@ -45,14 +45,12 @@ Grep the entire `docs/plans/` tree for the parent shard number using these patte
45
45
  | `docs/plans/ia/` | Always |
46
46
  | `docs/plans/be/` | If exists |
47
47
  | `docs/plans/fe/` | If exists |
48
- | `docs/plans/shared/be/` | If exists |
49
- | `docs/plans/shared/fe/` | If exists |
50
- | `docs/plans/web/be/` | If exists |
51
- | `docs/plans/web/fe/` | If exists |
52
- | `docs/plans/desktop/be/` | If exists |
53
- | `docs/plans/desktop/fe/` | If exists |
54
- | `docs/plans/mobile/be/` | If exists |
55
- | `docs/plans/mobile/fe/` | If exists |
48
+ | `docs/plans/be/web/` | If exists |
49
+ | `docs/plans/fe/web/` | If exists |
50
+ | `docs/plans/be/desktop/` | If exists |
51
+ | `docs/plans/fe/desktop/` | If exists |
52
+ | `docs/plans/be/mobile/` | If exists |
53
+ | `docs/plans/fe/mobile/` | If exists |
56
54
 
57
55
  ### Exclusions
58
56
 
@@ -4,7 +4,7 @@ Standard procedure for loading skills from the surface stack map before beginnin
4
4
 
5
5
  ## How to Load Skills from the Surface Stack Map
6
6
 
7
- 1. **Determine the surface**: Identify which surface this work belongs to from the directory path or phase plan (e.g., `docs/plans/web/be/` → surface `web`; flat `docs/plans/be/` → surface `shared`).
7
+ 1. **Determine the surface**: Identify which surface this work belongs to from the directory path or phase plan (e.g., `docs/plans/be/web/` → surface `web`; flat `docs/plans/be/` → surface `shared`).
8
8
 
9
9
  2. **Read the surface stack map**: Open `.agent/instructions/tech-stack.md` and locate this surface's row.
10
10
 
@@ -34,9 +34,9 @@ Create directory structure, shard skeleton files, and all layer indexes.
34
34
 
35
35
  IA shards are **shared across all surfaces** — they live in the flat `docs/plans/ia/` directory regardless of project type. IA describes domains, not surfaces.
36
36
 
37
- For each surface identified in the architecture design, plus a `shared/` surface, create per-surface BE and FE subdirectories only (e.g., `docs/plans/shared/be/`, `docs/plans/web/be/`, `docs/plans/web/fe/`, `docs/plans/mobile/fe/`, etc.). Each new directory must include a `.gitkeep` file and a `README.md`.
37
+ For each surface identified in the architecture design, create per-surface subdirectories **inside** `docs/plans/be/` and `docs/plans/fe/` (e.g., `docs/plans/be/web/`, `docs/plans/fe/web/`, `docs/plans/be/mobile/`, `docs/plans/fe/mobile/`, etc.). Each new directory must include a `.gitkeep` file and a `README.md`. **Do NOT create top-level surface directories** (e.g., `docs/plans/web/be/`) — all specs are layer-first. The pre-scaffolded `docs/plans/be/` and `docs/plans/fe/` root directories serve as the shared surface for cross-surface contracts.
38
38
 
39
- Per-surface BE/FE directories hold surface-specific backend and frontend specs. The `shared/` surface contains cross-surface contracts that multiple surfaces depend on.
39
+ Per-surface BE/FE directories hold surface-specific backend and frontend specs. The pre-scaffolded `docs/plans/be/` and `docs/plans/fe/` hold shared cross-surface contracts (downstream workflows already resolve flat `docs/plans/be/` as surface `shared`).
40
40
 
41
41
  ### Mandatory: 00-infrastructure shard (all project types)
42
42
 
@@ -77,7 +77,7 @@ Grep `docs/plans/` recursively for all references to the parent shard number. Th
77
77
  | Parenthetical inline refs | `(see shard 00)` |
78
78
  | Cross-shard links | `[00-infrastructure.md]` |
79
79
 
80
- **Scope**: All directories under `docs/plans/` — `ia/`, `be/`, `fe/`, and any per-surface BE/FE directories (e.g., `shared/be/`, `web/fe/`, `desktop/be/`).
80
+ **Scope**: All directories under `docs/plans/` — `ia/`, `be/`, `fe/`, and any per-surface subdirectories within `be/` and `fe/` (e.g., `be/web/`, `fe/desktop/`, `be/mobile/`).
81
81
 
82
82
  **Exclusion**: Skip the parent stub file itself (it's already marked SPLIT).
83
83
 
@@ -72,7 +72,7 @@ Not every FE spec maps 1:1 to a BE feature spec. Before writing anything, classi
72
72
  - For feature specs: the BE spec(s) and IA shard it maps to
73
73
  - For cross-cutting specs: confirmation that BE spec/IA shard mapping is skipped
74
74
 
75
- Determine this shard's surface from its directory path (e.g., `docs/plans/web/fe/` → surface `web`; flat `docs/plans/fe/` → surface `shared` or the project's single surface).
75
+ Determine this shard's surface from its directory path (e.g., `docs/plans/fe/web/` → surface `web`; flat `docs/plans/fe/` → surface `shared` or the project's single surface).
76
76
 
77
77
  Read `.agent/skills/prd-templates/references/skill-loading-protocol.md` and follow the **Skill Loading Protocol** for the `write-fe-spec-classify` workflow. Load all categories listed in its table for this workflow, plus these bundled skills:
78
78
  - `.agent/skills/error-handling-patterns/SKILL.md`