@leejungkiin/awkit 1.7.0 → 1.7.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/bin/awk.js CHANGED
@@ -368,7 +368,7 @@ function copyDirRecursive(src, dest, options = {}) {
368
368
  const entries = fs.readdirSync(src, { withFileTypes: true });
369
369
 
370
370
  for (const entry of entries) {
371
- if (entry.name === '.DS_Store') continue;
371
+ if (entry.name === '.DS_Store' || entry.name === '.git') continue;
372
372
 
373
373
  const srcPath = path.join(src, entry.name);
374
374
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leejungkiin/awkit",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Antigravity Workflow Kit v1.6 Unified AI agent orchestration system with Mindful Checkpoints.",
5
5
  "main": "bin/awk.js",
6
6
  "private": false,
@@ -102,13 +102,13 @@ function checkGate(domain, action) {
102
102
  case 'git': {
103
103
  const gitConfig = automation.git;
104
104
  if (!gitConfig) {
105
- return { allowed: true, config: null, reason: 'No automation.git config — default allow' };
105
+ return { allowed: false, config: null, reason: 'No automation.git config — default block' };
106
106
  }
107
- if (action === 'commit' && gitConfig.autoCommit === false) {
108
- return { allowed: false, config: gitConfig, reason: 'automation.git.autoCommit is false' };
107
+ if (action === 'commit' && gitConfig.autoCommit !== true) {
108
+ return { allowed: false, config: gitConfig, reason: 'automation.git.autoCommit is not true (default off)' };
109
109
  }
110
- if (action === 'push' && gitConfig.autoPush === false) {
111
- return { allowed: false, config: gitConfig, reason: 'automation.git.autoPush is false' };
110
+ if (action === 'push' && gitConfig.autoPush !== true) {
111
+ return { allowed: false, config: gitConfig, reason: 'automation.git.autoPush is not true (default off)' };
112
112
  }
113
113
  return { allowed: true, config: gitConfig, reason: 'automation.git allows this action' };
114
114
  }
@@ -33,7 +33,9 @@ BEFORE claiming any status or expressing satisfaction:
33
33
  - If NO: State actual status with evidence
34
34
  - If YES: State claim WITH evidence
35
35
  5. ONLY THEN: Make the claim
36
- 6. AUTO-COMMIT: Build 0 errors git add → git commit → git push (non-force)
36
+ 6. AUTO-COMMIT (TÙY CHỌN Mặc định TẮT):
37
+ - Chỉ tự động commit nếu `automation.git.autoCommit: true` được bật trong `.project-identity`.
38
+ - Nếu được bật: Build 0 errors → git add → git commit → git push (non-force)
37
39
  - Do NOT ask user permission for regular commits
38
40
  - Use conventional commit message (fix:/feat:/refactor:)
39
41
  - If push fails → git pull --rebase && git push (retry once)
@@ -99,7 +101,7 @@ If you catch yourself thinking any of these, STOP and run verification:
99
101
 
100
102
  **Build:**
101
103
  ```
102
- ✅ [Run build] → [See: BUILD SUCCEEDED] → auto git add+commit+push → "Build passes, committed & pushed"
104
+ ✅ [Run build] → [See: BUILD SUCCEEDED] → (nếu bật auto git) auto git add+commit+push → "Build passes, committed & pushed"
103
105
  ❌ "Linter passed so build is fine"
104
106
  ❌ Build succeeded but forgot to commit
105
107
  ```
@@ -54,8 +54,8 @@
54
54
  }
55
55
  },
56
56
  "git": {
57
- "autoCommit": true,
58
- "autoPush": true
57
+ "autoCommit": false,
58
+ "autoPush": false
59
59
  },
60
60
  "obsidian": {
61
61
  "enabled": false,
@@ -50,8 +50,8 @@
50
50
  }
51
51
  },
52
52
  "git": {
53
- "autoCommit": true,
54
- "autoPush": true
53
+ "autoCommit": false,
54
+ "autoPush": false
55
55
  },
56
56
  "obsidian": {
57
57
  "enabled": false,
@@ -53,8 +53,8 @@
53
53
  }
54
54
  },
55
55
  "git": {
56
- "autoCommit": true,
57
- "autoPush": true
56
+ "autoCommit": false,
57
+ "autoPush": false
58
58
  },
59
59
  "obsidian": {
60
60
  "enabled": false,
@@ -53,8 +53,8 @@
53
53
  }
54
54
  },
55
55
  "git": {
56
- "autoCommit": true,
57
- "autoPush": true
56
+ "autoCommit": false,
57
+ "autoPush": false
58
58
  },
59
59
  "obsidian": {
60
60
  "enabled": false,
@@ -50,8 +50,8 @@
50
50
  }
51
51
  },
52
52
  "git": {
53
- "autoCommit": true,
54
- "autoPush": true
53
+ "autoCommit": false,
54
+ "autoPush": false
55
55
  },
56
56
  "obsidian": {
57
57
  "enabled": false,