@xelth/eck-snapshot 6.0.0 → 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.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",
package/setup.json CHANGED
@@ -188,6 +188,19 @@
188
188
  "lib"
189
189
  ],
190
190
  "priority": 6
191
+ },
192
+ "postgresql": {
193
+ "files": [
194
+ "postgresql.conf",
195
+ "pg_hba.conf",
196
+ "PG_VERSION"
197
+ ],
198
+ "directories": [
199
+ "data/base",
200
+ "data/global",
201
+ "data/pg_wal"
202
+ ],
203
+ "priority": 10
191
204
  }
192
205
  }
193
206
  },
@@ -532,6 +545,38 @@
532
545
  ".so",
533
546
  ".out"
534
547
  ]
548
+ },
549
+ "postgresql": {
550
+ "filesToIgnore": [
551
+ "PG_VERSION",
552
+ "postmaster.pid",
553
+ "postmaster.opts",
554
+ "pg_ident.conf",
555
+ "*.log"
556
+ ],
557
+ "dirsToIgnore": [
558
+ "base/",
559
+ "global/",
560
+ "pg_wal/",
561
+ "pg_xact/",
562
+ "pg_commit_ts/",
563
+ "pg_dynshmem/",
564
+ "pg_logical/",
565
+ "pg_multixact/",
566
+ "pg_notify/",
567
+ "pg_replslot/",
568
+ "pg_serial/",
569
+ "pg_snapshots/",
570
+ "pg_stat/",
571
+ "pg_stat_tmp/",
572
+ "pg_subtrans/",
573
+ "pg_tblspc/",
574
+ "pg_twophase/"
575
+ ],
576
+ "extensionsToIgnore": [
577
+ ".fsm",
578
+ ".vm"
579
+ ]
535
580
  }
536
581
  }
537
582
  },
@@ -576,70 +621,70 @@
576
621
  "capabilities": ["npm", "git", "basic editing"],
577
622
  "restrictions": ["Do not use for complex architectural tasks"]
578
623
  },
579
- "jas": {
580
- "active": true,
581
- "name": "Junior Architect (Sonnet 4.5)",
582
- "description": "Project Mode Orchestrator (Claude Code only). Smart & Fast Manager. Manages GLM Z.AI workers for efficient task delegation.",
583
- "guiSupport": true,
584
- "identification": {
585
- "markers": ["sonnet", "fast_architect"]
586
- },
587
- "capabilities": [
588
- "glm_zai_frontend",
589
- "glm_zai_backend",
590
- "glm_zai_qa",
591
- "glm_zai_refactor",
592
- "glm_zai_general",
593
- "git operations",
594
- "npm run dev"
595
- ],
596
- "restrictions": [
597
- "Prefer delegating heavy coding to GLM Z.AI workers",
598
- "Focus on glue code and logic verification"
599
- ]
600
- },
601
- "jao": {
602
- "active": true,
603
- "name": "Junior Architect (Opus 4.5)",
604
- "description": "Project Mode Orchestrator (Claude Code only). Deep Thinker & Planner. Expensive. Use for critical architecture, security, and complex logic.",
605
- "guiSupport": true,
606
- "identification": {
607
- "markers": ["opus", "deep_architect"]
608
- },
609
- "capabilities": [
610
- "glm_zai_frontend",
611
- "glm_zai_backend",
612
- "glm_zai_qa",
613
- "glm_zai_refactor",
614
- "glm_zai_general",
615
- "analysis"
616
- ],
617
- "restrictions": [
618
- "STRICTLY DELEGATE boilerplate to GLM Z.AI",
619
- "Verify every line of code generated by workers",
620
- "Plan before execution"
621
- ]
622
- },
623
- "jaz": {
624
- "active": true,
625
- "name": "Junior Architect (GLM-4.7 via OpenCode)",
626
- "description": "Project Orchestrator for OpenCode. Highly accessible/budget-friendly. Manages the GLM Z.AI worker swarm.",
627
- "guiSupport": true,
628
- "identification": {
629
- "markers": ["opencode", "glm-4.7"]
630
- },
631
- "capabilities": [
632
- "glm_zai_frontend",
633
- "glm_zai_backend",
634
- "glm_zai_qa",
635
- "glm_zai_refactor",
636
- "glm_zai_general",
637
- "git operations"
638
- ],
639
- "restrictions": [
640
- "Strictly delegate complex/large logic to workers to preserve context window"
641
- ]
642
- },
624
+ "jas": {
625
+ "active": true,
626
+ "name": "Junior Architect (Sonnet 4.5)",
627
+ "description": "Project Mode Orchestrator (Claude Code only). Smart & Fast Manager. Manages GLM Z.AI workers for efficient task delegation.",
628
+ "guiSupport": true,
629
+ "identification": {
630
+ "markers": ["sonnet", "fast_architect"]
631
+ },
632
+ "capabilities": [
633
+ "glm_zai_frontend",
634
+ "glm_zai_backend",
635
+ "glm_zai_qa",
636
+ "glm_zai_refactor",
637
+ "glm_zai_general",
638
+ "git operations",
639
+ "npm run dev"
640
+ ],
641
+ "restrictions": [
642
+ "Prefer delegating heavy coding to GLM Z.AI workers",
643
+ "Focus on glue code and logic verification"
644
+ ]
645
+ },
646
+ "jao": {
647
+ "active": true,
648
+ "name": "Junior Architect (Opus 4.5)",
649
+ "description": "Project Mode Orchestrator (Claude Code only). Deep Thinker & Planner. Expensive. Use for critical architecture, security, and complex logic.",
650
+ "guiSupport": true,
651
+ "identification": {
652
+ "markers": ["opus", "deep_architect"]
653
+ },
654
+ "capabilities": [
655
+ "glm_zai_frontend",
656
+ "glm_zai_backend",
657
+ "glm_zai_qa",
658
+ "glm_zai_refactor",
659
+ "glm_zai_general",
660
+ "analysis"
661
+ ],
662
+ "restrictions": [
663
+ "STRICTLY DELEGATE boilerplate to GLM Z.AI",
664
+ "Verify every line of code generated by workers",
665
+ "Plan before execution"
666
+ ]
667
+ },
668
+ "jaz": {
669
+ "active": true,
670
+ "name": "Junior Architect (GLM-4.7 via OpenCode)",
671
+ "description": "Project Orchestrator for OpenCode. Highly accessible/budget-friendly. Manages the GLM Z.AI worker swarm.",
672
+ "guiSupport": true,
673
+ "identification": {
674
+ "markers": ["opencode", "glm-4.7"]
675
+ },
676
+ "capabilities": [
677
+ "glm_zai_frontend",
678
+ "glm_zai_backend",
679
+ "glm_zai_qa",
680
+ "glm_zai_refactor",
681
+ "glm_zai_general",
682
+ "git operations"
683
+ ],
684
+ "restrictions": [
685
+ "Strictly delegate complex/large logic to workers to preserve context window"
686
+ ]
687
+ },
643
688
  "production_server": {
644
689
  "active": true,
645
690
  "name": "Production Server Agent (AGENT_PROD_SERVER)",
@@ -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
- **OPTION A: Using MCP Tool (Recommended)**
10
- Call the \`eck_finish_task\` tool. Pass your detailed markdown report into the \`status\` argument.
11
- - The tool will automatically write the report to \`AnswerToSA.md\`, commit, and generate a snapshot.
12
- - **DO NOT** manually write to \`AnswerToSA.md\` with your file editing tools (it will fail safety checks).
13
- - **WARNING: USE ONLY ONCE.** Do not use \`eck_finish_task\` for intermediate testing. It spams snapshot history.
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
- **OPTION B: Manual CLI (Fallback)**
16
- If the MCP tool is unavailable:
17
- 1. **READ** \`.eck/lastsnapshot/AnswerToSA.md\` using your \`Read\` tool (REQUIRED by safety rules before overwriting).
18
- 2. **WRITE** your report to that file.
19
- 3. Run \`eck-snapshot update\` in terminal.
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
- **OPTION A: Using MCP Tool (Recommended)**
40
- Call the \`eck_finish_task\` tool. Pass your detailed markdown report into the \`status\` argument.
41
- - The tool will automatically write the report to \`AnswerToSA.md\`, 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 \`eck_finish_task\` for intermediate testing. It spams snapshot history.
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
- **OPTION B: Manual CLI (Fallback)**
46
- If the MCP tool is unavailable:
47
- 1. **READ** \`.eck/lastsnapshot/AnswerToSA.md\` using your \`Read\` tool (REQUIRED by safety rules before overwriting).
48
- 2. **WRITE** your report to that file.
49
- 3. Run \`eck-snapshot update\` in terminal.
50
- 4. If you are entirely blocked, use the \`eck_fail_task\` tool.
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 (it will fail safety checks).
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
- **OPTION A: Using MCP Tool (Recommended)**
76
- Call the \`eck_finish_task\` tool. Pass your detailed markdown report into the \`status\` argument.
77
- - The tool will automatically write the report to \`AnswerToSA.md\`, commit, and generate a snapshot.
78
- - **DO NOT** manually write to \`AnswerToSA.md\` with your file editing tools (it will fail safety checks).
79
- - **WARNING: USE ONLY ONCE.** Do not use \`eck_finish_task\` for intermediate testing.
80
-
81
- **OPTION B: Manual CLI (Fallback)**
82
- If the MCP tool is unavailable:
83
- 1. **READ** \`.eck/lastsnapshot/AnswerToSA.md\` using your \`Read\` tool (REQUIRED by safety rules before overwriting).
84
- 2. **WRITE** your report to that file.
85
- 3. Run \`eck-snapshot update\` in terminal.
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:**