cfsa-antigravity 2.3.1 → 2.4.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/README.md +1 -1
- package/package.json +1 -1
- package/template/.agent/kit-sync.md +3 -12
- package/template/.agent/workflows/sync-kit.md +22 -22
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Constraint-First Specification Architecture — production-grade from line one
|
|
4
4
|
|
|
5
|
-
A pipeline that turns a raw idea into exhaustively specified, test-driven, production-quality code through progressive gates. Stack-agnostic.
|
|
5
|
+
A pipeline that turns a raw idea into exhaustively specified, test-driven, production-quality code through progressive gates. Stack-agnostic. Built for Antigravity on Linux/WSL. Every line of code is production-grade from the moment it's written.
|
|
6
6
|
|
|
7
7
|
## Quick Install
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
<!-- This file is created and updated automatically by /sync-kit.
|
|
2
|
-
Commit it to your project repo — it records which kit version
|
|
3
|
-
the project is on and serves as the baseline for the next sync. -->
|
|
4
|
-
|
|
5
|
-
> [!NOTE]
|
|
6
|
-
> **`FIRST_SYNC_PENDING` values are placeholders.** They are populated automatically
|
|
7
|
-
> when you run `/sync-kit` for the first time. Do not manually edit them — let the
|
|
8
|
-
> sync command fill them in.
|
|
9
|
-
|
|
10
1
|
# Kit Sync State
|
|
11
2
|
|
|
12
3
|
upstream: https://github.com/RepairYourTech/cfsa-antigravity
|
|
13
|
-
last_synced_commit:
|
|
14
|
-
last_synced_at:
|
|
15
|
-
kit_version:
|
|
4
|
+
last_synced_commit: d5fb37b9e886719e436a6ca52bb9c94ab839acb6
|
|
5
|
+
last_synced_at: 2026-03-16T23:22:30Z
|
|
6
|
+
kit_version: 2.4.0
|
|
@@ -18,37 +18,37 @@ Pull improvements from the upstream [cfsa-antigravity](https://github.com/Repair
|
|
|
18
18
|
|
|
19
19
|
Read `.agent/kit-sync.md` in the project root.
|
|
20
20
|
|
|
21
|
-
- **File exists** → extract `last_synced_commit` and `
|
|
22
|
-
- **File missing** →
|
|
21
|
+
- **File exists** → extract `last_synced_commit`, `upstream`, and `kit_version` values. Proceed to Step 1.
|
|
22
|
+
- **File missing** → **HARD STOP**: "No sync tracking file found. This file is auto-generated during kit installation. To fix: run `npx cfsa-antigravity init --force` to reinstall the kit with sync tracking, or manually create `.agent/kit-sync.md` with the upstream URL and the commit hash of your last known kit version."
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
-
## 1.
|
|
26
|
+
## 1. Fetch upstream and identify changes
|
|
27
27
|
|
|
28
28
|
// turbo
|
|
29
29
|
|
|
30
|
-
### 1a.
|
|
30
|
+
### 1a. Clone or fetch the upstream repo
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
To compare against the upstream, you MUST fetch the actual upstream repository. Use one of these approaches:
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
1. **Preferred — shallow clone to /tmp** (fastest):
|
|
35
|
+
```bash
|
|
36
|
+
git clone --depth=50 <upstream_url> /tmp/cfsa-upstream
|
|
37
|
+
cd /tmp/cfsa-upstream
|
|
38
|
+
```
|
|
39
|
+
2. **Alternative — GitHub MCP**: Use `list_commits` and `get_file_contents` from the `github-mcp-server` to compare files.
|
|
35
40
|
|
|
36
|
-
### 1b.
|
|
41
|
+
### 1b. Diff from last synced commit
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
Using the cloned repo (or GitHub API), get the list of changed files since the last sync:
|
|
39
44
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
| `.agent/workflows/` | All workflow files |
|
|
46
|
-
| `.agent/skills/` | All skill directories (SKILL.md + sub-files) |
|
|
47
|
-
| `.agent/skill-library/` | MANIFEST.md, README.md, subdirectories |
|
|
48
|
-
| `.agent/progress/` | Directory structure |
|
|
49
|
-
| `docs/` | README.md, kit-architecture.md, audits/, plans/ scaffolding (including `ideation/` folder structure) |
|
|
45
|
+
```bash
|
|
46
|
+
git log <last_synced_commit>..HEAD --name-only --pretty=format:""
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
If the command returns no files (or the API shows no commits after `last_synced_commit`): report "No changes since last sync (commit `<hash>`, version `<kit_version>`)" and skip to Step 8.5.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Work only with the changed files in Steps 2–7.
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
@@ -228,15 +228,15 @@ Scan these files for any literal `{{` characters:
|
|
|
228
228
|
|
|
229
229
|
## 9. Update sync state
|
|
230
230
|
|
|
231
|
-
Write or update `.agent/kit-sync.md`:
|
|
231
|
+
Read the upstream's `package.json` to get the current kit version. Write or update `.agent/kit-sync.md`:
|
|
232
232
|
|
|
233
233
|
```markdown
|
|
234
234
|
# Kit Sync State
|
|
235
235
|
|
|
236
236
|
upstream: https://github.com/RepairYourTech/cfsa-antigravity
|
|
237
|
-
last_synced_commit: <current HEAD commit hash>
|
|
237
|
+
last_synced_commit: <current upstream HEAD commit hash>
|
|
238
238
|
last_synced_at: <ISO 8601 timestamp>
|
|
239
|
-
kit_version:
|
|
239
|
+
kit_version: <version from upstream package.json, e.g. 2.3.1>
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
This file is committed to the project repo — it records which kit version the project is on and serves as the baseline for the next sync.
|