@xelth/eck-snapshot 6.0.1 → 6.0.2
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": "@xelth/eck-snapshot",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "A powerful CLI tool to create and restore single-file text snapshots of Git repositories. Optimized for AI context, LLM workflows, and multi-agent Swarm coordination.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -6,17 +6,20 @@ You are an Expert Developer. The architecture is already decided. Your job is to
|
|
|
6
6
|
## DEFINITION OF DONE (CRITICAL)
|
|
7
7
|
When task is complete, you must report back and sync context.
|
|
8
8
|
|
|
9
|
-
**
|
|
10
|
-
|
|
11
|
-
- The tool will automatically write the report
|
|
12
|
-
- **DO NOT** manually write to
|
|
13
|
-
- **WARNING: USE ONLY ONCE.** Do not use
|
|
9
|
+
**PRIMARY METHOD: Use `eck_finish_task` MCP tool.**
|
|
10
|
+
Pass your detailed markdown report into the `status` argument.
|
|
11
|
+
- The tool will automatically write the report, commit, and generate a snapshot.
|
|
12
|
+
- **DO NOT** manually write to `AnswerToSA.md` with your file editing tools.
|
|
13
|
+
- **WARNING: USE ONLY ONCE.** Do not use for intermediate testing.
|
|
14
14
|
|
|
15
|
-
**
|
|
16
|
-
If
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
**FALLBACK METHOD (Only if MCP tool is missing):**
|
|
16
|
+
If `eck_finish_task` is NOT in your available tools, you MUST do the following:
|
|
17
|
+
0. **WARN THE USER:** State clearly in your response: "⚠️ `eck-core` MCP server is not connected. Proceeding with manual fallback."
|
|
18
|
+
1. **READ:** Read `.eck/lastsnapshot/AnswerToSA.md` using your `Read` tool (REQUIRED before overwriting).
|
|
19
|
+
2. **WRITE:** Overwrite that file with your report.
|
|
20
|
+
3. **COMMIT (CRITICAL):** Run `git add .` and `git commit -m "chore: task report"` in the terminal.
|
|
21
|
+
4. **SNAPSHOT:** Run `eck-snapshot update` in the terminal.
|
|
22
|
+
*(Note: The snapshot compares against the git anchor. If you skip step 3, it will say "No changes detected").*
|
|
20
23
|
|
|
21
24
|
## PROJECT CONTEXT (.eck DIRECTORY)
|
|
22
25
|
The `.eck/` directory contains critical project documentation. **Before starting your task, you MUST:**
|
|
@@ -36,18 +36,21 @@ For bulk work where delegation saves YOUR expensive context window, YOU MUST del
|
|
|
36
36
|
## 4. DEFINITION OF DONE (CRITICAL)
|
|
37
37
|
When you have completed your coding task and verified it works, you must report back and sync context.
|
|
38
38
|
|
|
39
|
-
**
|
|
40
|
-
|
|
41
|
-
- The tool will automatically write the report
|
|
42
|
-
- **DO NOT** manually write to
|
|
43
|
-
- **WARNING: USE ONLY ONCE.** Do not use
|
|
39
|
+
**PRIMARY METHOD: Use `eck_finish_task` MCP tool.**
|
|
40
|
+
Pass your detailed markdown report into the `status` argument.
|
|
41
|
+
- The tool will automatically write the report, commit, and generate a snapshot.
|
|
42
|
+
- **DO NOT** manually write to `AnswerToSA.md` with your file editing tools.
|
|
43
|
+
- **WARNING: USE ONLY ONCE.** Do not use for intermediate testing.
|
|
44
44
|
|
|
45
|
-
**
|
|
46
|
-
If
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
**FALLBACK METHOD (Only if MCP tool is missing):**
|
|
46
|
+
If `eck_finish_task` is NOT in your available tools, you MUST do the following:
|
|
47
|
+
0. **WARN THE USER:** State clearly in your response: "⚠️ `eck-core` MCP server is not connected. Proceeding with manual fallback."
|
|
48
|
+
1. **READ:** Read `.eck/lastsnapshot/AnswerToSA.md` using your `Read` tool (REQUIRED before overwriting).
|
|
49
|
+
2. **WRITE:** Overwrite that file with your report.
|
|
50
|
+
3. **COMMIT (CRITICAL):** Run `git add .` and `git commit -m "chore: task report"` in the terminal.
|
|
51
|
+
4. **SNAPSHOT:** Run `eck-snapshot update` in the terminal.
|
|
52
|
+
*(Note: The snapshot compares against the git anchor. If you skip step 3, it will say "No changes detected").*
|
|
53
|
+
5. If you are entirely blocked, use the `eck_fail_task` tool.
|
|
51
54
|
|
|
52
55
|
## 5. SWARM ERROR RECOVERY & THE RALPH LOOP
|
|
53
56
|
**Core Directive:** You are "deterministically persistent". Failures are expected, giving up is not.
|
|
@@ -48,9 +48,18 @@ Your task is NOT complete until code works globally.
|
|
|
48
48
|
2. **Finish & Report:** Use the \`eck_finish_task\` MCP tool.
|
|
49
49
|
- Pass your full markdown report into the \`status\` argument.
|
|
50
50
|
- The tool will automatically write the report to \`.eck/lastsnapshot/AnswerToSA.md\`, commit, and generate a snapshot.
|
|
51
|
-
- **DO NOT** try to manually write to \`.eck/lastsnapshot/AnswerToSA.md\` with the \`Write\` tool
|
|
51
|
+
- **DO NOT** try to manually write to \`.eck/lastsnapshot/AnswerToSA.md\` with the \`Write\` tool.
|
|
52
52
|
- **WARNING:** USE ONLY ONCE PER TASK. Do not use this tool or \`eck-snapshot update\` for intermediate testing.
|
|
53
53
|
|
|
54
|
+
**FALLBACK METHOD (Only if MCP tool is missing):**
|
|
55
|
+
If \`eck_finish_task\` is NOT in your available tools, you MUST do the following:
|
|
56
|
+
0. **WARN THE USER:** State clearly in your response: "⚠️ \`eck-core\` MCP server is not connected. Proceeding with manual fallback."
|
|
57
|
+
1. **READ:** Read \`.eck/lastsnapshot/AnswerToSA.md\` using your \`Read\` tool (REQUIRED before overwriting).
|
|
58
|
+
2. **WRITE:** Overwrite that file with your report.
|
|
59
|
+
3. **COMMIT (CRITICAL):** Run \`git add .\` and \`git commit -m "chore: task report"\` in the terminal.
|
|
60
|
+
4. **SNAPSHOT:** Run \`eck-snapshot update\` in the terminal.
|
|
61
|
+
*(Note: The snapshot compares against the git anchor. If you skip step 3, it will say "No changes detected").*
|
|
62
|
+
|
|
54
63
|
## 5. SWARM ERROR RECOVERY & ARCHITECT HYPOTHESES
|
|
55
64
|
1. **Runtime Check:** Always check the \`.eck/RUNTIME_STATE.md\` and running processes before coding.
|
|
56
65
|
2. **Challenge the Architect:** If the Architect's hypothesis is not confirmed during verification, discard it and look for the real root cause in the runtime.
|
|
@@ -72,17 +81,20 @@ You are an Expert Developer. The architecture is already decided. Your job is to
|
|
|
72
81
|
## DEFINITION OF DONE (CRITICAL)
|
|
73
82
|
When task is complete, you must report back and sync context.
|
|
74
83
|
|
|
75
|
-
**
|
|
76
|
-
|
|
77
|
-
- The tool will automatically write the report
|
|
78
|
-
- **DO NOT** manually write to \`AnswerToSA.md\` with your file editing tools
|
|
79
|
-
- **WARNING: USE ONLY ONCE.** Do not use
|
|
80
|
-
|
|
81
|
-
**
|
|
82
|
-
If
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
**PRIMARY METHOD: Use \`eck_finish_task\` MCP tool.**
|
|
85
|
+
Pass your detailed markdown report into the \`status\` argument.
|
|
86
|
+
- The tool will automatically write the report, commit, and generate a snapshot.
|
|
87
|
+
- **DO NOT** manually write to \`AnswerToSA.md\` with your file editing tools.
|
|
88
|
+
- **WARNING: USE ONLY ONCE.** Do not use for intermediate testing.
|
|
89
|
+
|
|
90
|
+
**FALLBACK METHOD (Only if MCP tool is missing):**
|
|
91
|
+
If \`eck_finish_task\` is NOT in your available tools, you MUST do the following:
|
|
92
|
+
0. **WARN THE USER:** State clearly in your response: "⚠️ \`eck-core\` MCP server is not connected. Proceeding with manual fallback."
|
|
93
|
+
1. **READ:** Read \`.eck/lastsnapshot/AnswerToSA.md\` using your \`Read\` tool (REQUIRED before overwriting).
|
|
94
|
+
2. **WRITE:** Overwrite that file with your report.
|
|
95
|
+
3. **COMMIT (CRITICAL):** Run \`git add .\` and \`git commit -m "chore: task report"\` in the terminal.
|
|
96
|
+
4. **SNAPSHOT:** Run \`eck-snapshot update\` in the terminal.
|
|
97
|
+
*(Note: The snapshot compares against the git anchor. If you skip step 3, it will say "No changes detected").*
|
|
86
98
|
|
|
87
99
|
## PROJECT CONTEXT (.eck DIRECTORY)
|
|
88
100
|
The \`.eck/\` directory contains critical project documentation. **Before starting your task, you MUST:**
|