@ryuenn3123/agentic-senior-core 2.5.5 → 2.5.6

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-04-17T04:24:00.020Z",
2
+ "generatedAt": "2026-04-17T04:27:07.129Z",
3
3
  "reportName": "memory-continuity-benchmark",
4
4
  "schemaVersion": "1.0.0",
5
5
  "passed": true,
package/.cursorrules CHANGED
@@ -1,6 +1,6 @@
1
1
  # AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
2
2
 
3
- Generated by Agentic-Senior-Core CLI v2.5.5
3
+ Generated by Agentic-Senior-Core CLI v2.5.6
4
4
  Timestamp: 2026-04-15T00:14:51.184Z
5
5
  Selected profile: beginner
6
6
  Selected policy file: .agent-context/policies/llm-judge-threshold.json
package/.windsurfrules CHANGED
@@ -1,6 +1,6 @@
1
1
  # AGENTIC-SENIOR-CORE DYNAMIC GOVERNANCE RULESET
2
2
 
3
- Generated by Agentic-Senior-Core CLI v2.5.5
3
+ Generated by Agentic-Senior-Core CLI v2.5.6
4
4
  Timestamp: 2026-04-15T00:14:51.184Z
5
5
  Selected profile: beginner
6
6
  Selected policy file: .agent-context/policies/llm-judge-threshold.json
package/lib/cli/utils.mjs CHANGED
@@ -198,34 +198,37 @@ export async function copyGovernanceAssetsToTarget(
198
198
  }
199
199
 
200
200
  // 4. Antigravity / Gemini (Global Settings)
201
- try {
202
- const globalGeminiDir = path.join(os.homedir(), '.gemini', 'antigravity');
203
- const globalGeminiMcpPath = path.join(globalGeminiDir, 'mcp_config.json');
204
-
205
- if (await pathExists(globalGeminiDir)) {
206
- let geminiConfig = { mcpServers: {} };
207
- if (await pathExists(globalGeminiMcpPath)) {
208
- const content = await fs.readFile(globalGeminiMcpPath, 'utf8');
209
- if (content.trim()) {
210
- try { geminiConfig = JSON.parse(content); } catch (e) {}
201
+ const isTmpDir = resolvedTargetDirectoryPath.startsWith(os.tmpdir());
202
+ if (!isTmpDir) {
203
+ try {
204
+ const globalGeminiDir = path.join(os.homedir(), '.gemini', 'antigravity');
205
+ const globalGeminiMcpPath = path.join(globalGeminiDir, 'mcp_config.json');
206
+
207
+ if (await pathExists(globalGeminiDir)) {
208
+ let geminiConfig = { mcpServers: {} };
209
+ if (await pathExists(globalGeminiMcpPath)) {
210
+ const content = await fs.readFile(globalGeminiMcpPath, 'utf8');
211
+ if (content.trim()) {
212
+ try { geminiConfig = JSON.parse(content); } catch (e) {}
213
+ }
211
214
  }
215
+ if (!geminiConfig.mcpServers) geminiConfig.mcpServers = {};
216
+
217
+ const safeProjectName = projectName.replace(/[^a-zA-Z0-9_-]/g, '-');
218
+ const uniqueServerName = `agentic-senior-core-${safeProjectName}`;
219
+
220
+ // For global configs, we use absolute path for cwd
221
+ geminiConfig.mcpServers[uniqueServerName] = {
222
+ command: 'node',
223
+ args: mcpArgs,
224
+ cwd: resolvedTargetDirectoryPath,
225
+ };
226
+
227
+ await fs.writeFile(globalGeminiMcpPath, JSON.stringify(geminiConfig, null, 2) + '\n', 'utf8');
212
228
  }
213
- if (!geminiConfig.mcpServers) geminiConfig.mcpServers = {};
214
-
215
- const safeProjectName = projectName.replace(/[^a-zA-Z0-9_-]/g, '-');
216
- const uniqueServerName = `agentic-senior-core-${safeProjectName}`;
217
-
218
- // For global configs, we use absolute path for cwd
219
- geminiConfig.mcpServers[uniqueServerName] = {
220
- command: 'node',
221
- args: mcpArgs,
222
- cwd: resolvedTargetDirectoryPath,
223
- };
224
-
225
- await fs.writeFile(globalGeminiMcpPath, JSON.stringify(geminiConfig, null, 2) + '\n', 'utf8');
229
+ } catch (err) {
230
+ // Ignore global injection errors
226
231
  }
227
- } catch (err) {
228
- // Ignore global injection errors (e.g. permission issues or user doesn't use it)
229
232
  }
230
233
  }
231
234
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuenn3123/agentic-senior-core",
3
- "version": "2.5.5",
3
+ "version": "2.5.6",
4
4
  "type": "module",
5
5
  "description": "Force your AI Agent to code like a Staff Engineer, not a Junior.",
6
6
  "bin": {