@ryuenn3123/agentic-senior-core 5.8.6 → 5.8.8

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,3 +1,3 @@
1
- {
2
- "name": "agentic-senior-core"
3
- }
1
+ {
2
+ "name": "agentic-senior-core"
3
+ }
@@ -1,17 +1,17 @@
1
- {
2
- "name": "agentic-senior-core",
3
- "version": "5.8.6",
4
- "displayName": "Agentic Senior Core",
5
- "description": "Universal AI coding rules. Write code like a staff engineer.",
6
- "author": {
7
- "name": "fatidaprilian",
8
- "url": "https://github.com/fatidaprilian"
9
- },
10
- "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
- "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
12
- "license": "MIT",
13
- "keywords": ["coding-standards", "security", "architecture", "quality"],
14
- "skills": "./skills/",
15
- "commands": "./commands/",
16
- "hooks": "./hooks/hooks.json"
17
- }
1
+ {
2
+ "name": "agentic-senior-core",
3
+ "version": "5.8.7",
4
+ "displayName": "Agentic Senior Core",
5
+ "description": "Universal AI coding rules. Write code like a staff engineer.",
6
+ "author": {
7
+ "name": "fatidaprilian",
8
+ "url": "https://github.com/fatidaprilian"
9
+ },
10
+ "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
+ "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
12
+ "license": "MIT",
13
+ "keywords": ["coding-standards", "security", "architecture", "quality"],
14
+ "skills": "./skills/",
15
+ "commands": "./commands/",
16
+ "hooks": "./hooks/hooks.json"
17
+ }
@@ -1,24 +1,24 @@
1
- {
2
- "name": "agentic-senior-core",
3
- "version": "5.8.6",
4
- "description": "Universal AI coding rules. Write code like a staff engineer.",
5
- "author": {
6
- "name": "fatidaprilian",
7
- "url": "https://github.com/fatidaprilian"
8
- },
9
- "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
- "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
- "license": "MIT",
12
- "keywords": ["coding-standards", "security", "architecture", "quality"],
13
- "skills": "./skills/",
14
- "hooks": "./hooks/hooks.json",
15
- "interface": {
16
- "displayName": "Agentic Senior Core",
17
- "shortDescription": "Staff-engineer coding standards",
18
- "longDescription": "Universal engineering rules covering security, architecture, testing, API design, database safety, frontend accessibility, infrastructure, and resilience. Complementary with minimalism plugins.",
19
- "developerName": "fatidaprilian",
20
- "category": "Productivity",
21
- "capabilities": ["Instructions", "Lifecycle hooks"],
22
- "websiteURL": "https://github.com/fatidaprilian/Agentic-Senior-Core"
23
- }
24
- }
1
+ {
2
+ "name": "agentic-senior-core",
3
+ "version": "5.8.7",
4
+ "description": "Universal AI coding rules. Write code like a staff engineer.",
5
+ "author": {
6
+ "name": "fatidaprilian",
7
+ "url": "https://github.com/fatidaprilian"
8
+ },
9
+ "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
+ "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
+ "license": "MIT",
12
+ "keywords": ["coding-standards", "security", "architecture", "quality"],
13
+ "skills": "./skills/",
14
+ "hooks": "./hooks/hooks.json",
15
+ "interface": {
16
+ "displayName": "Agentic Senior Core",
17
+ "shortDescription": "Staff-engineer coding standards",
18
+ "longDescription": "Universal engineering rules covering security, architecture, testing, API design, database safety, frontend accessibility, infrastructure, and resilience. Complementary with minimalism plugins.",
19
+ "developerName": "fatidaprilian",
20
+ "category": "Productivity",
21
+ "capabilities": ["Instructions", "Lifecycle hooks"],
22
+ "websiteURL": "https://github.com/fatidaprilian/Agentic-Senior-Core"
23
+ }
24
+ }
@@ -1,13 +1,13 @@
1
- {
2
- "name": "agentic-senior-core",
3
- "version": "5.8.6",
4
- "description": "Universal AI coding rules. Write code like a staff engineer.",
5
- "author": {
6
- "name": "fatidaprilian",
7
- "url": "https://github.com/fatidaprilian"
8
- },
9
- "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
- "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
- "license": "MIT",
12
- "keywords": ["coding-standards", "security", "architecture", "quality"]
13
- }
1
+ {
2
+ "name": "agentic-senior-core",
3
+ "version": "5.8.7",
4
+ "description": "Universal AI coding rules. Write code like a staff engineer.",
5
+ "author": {
6
+ "name": "fatidaprilian",
7
+ "url": "https://github.com/fatidaprilian"
8
+ },
9
+ "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
+ "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
+ "license": "MIT",
12
+ "keywords": ["coding-standards", "security", "architecture", "quality"]
13
+ }
@@ -1,16 +1,16 @@
1
- {
2
- "name": "agentic-senior-core",
3
- "description": "Universal AI coding rules. Write code like a staff engineer.",
4
- "version": "5.8.6",
5
- "author": {
6
- "name": "fatidaprilian",
7
- "url": "https://github.com/fatidaprilian"
8
- },
9
- "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
- "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
- "license": "MIT",
12
- "keywords": ["coding-standards", "security", "architecture", "quality"],
13
- "commands": "commands/",
14
- "skills": "skills/",
15
- "hooks": "hooks/copilot-hooks.json"
16
- }
1
+ {
2
+ "name": "agentic-senior-core",
3
+ "description": "Universal AI coding rules. Write code like a staff engineer.",
4
+ "version": "5.8.7",
5
+ "author": {
6
+ "name": "fatidaprilian",
7
+ "url": "https://github.com/fatidaprilian"
8
+ },
9
+ "homepage": "https://github.com/fatidaprilian/Agentic-Senior-Core",
10
+ "repository": "https://github.com/fatidaprilian/Agentic-Senior-Core",
11
+ "license": "MIT",
12
+ "keywords": ["coding-standards", "security", "architecture", "quality"],
13
+ "commands": "commands/",
14
+ "skills": "skills/",
15
+ "hooks": "hooks/copilot-hooks.json"
16
+ }
package/README.md CHANGED
@@ -236,8 +236,7 @@ asc global --antigravity
236
236
  ```
237
237
 
238
238
  This installs:
239
- - **Plugin bundle** (skills: `/asc-review`, `/asc-audit`, `/asc-refactor`, `/asc-reference`, `/asc-debt`, etc.) → `~/.gemini/config/plugins/agentic-senior-core/`
240
- - **Rules** → `~/.gemini/GEMINI.md` (appended if you already have content; ASC section is replaced on re-runs)
239
+ - **Plugin bundle** (skills: `/asc-review`, `/asc-audit`, etc. and **rules**) → `~/.gemini/config/plugins/agentic-senior-core/`
241
240
 
242
241
  If you previously installed to `~/.gemini/antigravity-ide/plugins/agentic-senior-core/` or `~/.gemini/config/skills/` (v5.8.4 or earlier), the old paths are cleaned up automatically.
243
242
 
@@ -289,7 +288,7 @@ asc global --all
289
288
 
290
289
  | Tool | Global location | Notes |
291
290
  |------|----------------|-------|
292
- | Google Antigravity IDE | `~/.gemini/config/plugins/agentic-senior-core/` + `~/.gemini/GEMINI.md` | Plugin bundle (rules + skills) + global rules |
291
+ | Google Antigravity IDE | `~/.gemini/config/plugins/agentic-senior-core/` | Plugin bundle (skills) + internal rules |
293
292
  | Cline | `~/Documents/Cline/Rules/` | Toggleable in the Cline rules panel |
294
293
  | Kilo Code | `~/.kilocode/rules/` | Or point `instructions:` in `~/.config/kilo/kilo.jsonc` at the npm package path — that variant auto-updates |
295
294
  | Kiro | `~/.kiro/steering/` | Some builds have global-steering loading bugs; fall back to `asc adapter --kiro` |
@@ -1,10 +1,10 @@
1
- {
2
- "name": "agentic-senior-core",
3
- "version": "5.8.6",
4
- "description": "Universal AI coding rules. Write code like a staff engineer.",
5
- "author": "fatidaprilian",
6
- "license": "MIT",
7
- "contextFileName": "AGENTS.md",
8
- "commands": ["commands/"],
9
- "skills": ["skills/"]
10
- }
1
+ {
2
+ "name": "agentic-senior-core",
3
+ "version": "5.8.7",
4
+ "description": "Universal AI coding rules. Write code like a staff engineer.",
5
+ "author": "fatidaprilian",
6
+ "license": "MIT",
7
+ "contextFileName": "AGENTS.md",
8
+ "commands": ["commands/"],
9
+ "skills": ["skills/"]
10
+ }
@@ -34,7 +34,7 @@ const GLOBAL_TARGETS = {
34
34
  pluginTargetPath: () => path.join(HOME, '.gemini', 'config', 'plugins', 'agentic-senior-core'),
35
35
  rulesTargetPath: () => path.join(HOME, '.gemini', 'GEMINI.md'),
36
36
  targetPath: () => path.join(HOME, '.gemini', 'config', 'plugins', 'agentic-senior-core'),
37
- note: 'Plugin bundle (rules + skills) in ~/.gemini/config/plugins/, rules also in ~/.gemini/GEMINI.md.',
37
+ note: 'Plugin bundle (rules + skills) in ~/.gemini/config/plugins/.',
38
38
  },
39
39
  cline: {
40
40
  label: 'Cline',
@@ -120,7 +120,7 @@ async function installGlobalTarget(targetKey) {
120
120
 
121
121
  if (target.kind === 'directory') {
122
122
  await fs.mkdir(path.dirname(targetPath), { recursive: true });
123
- await fs.cp(sourcePath, targetPath, { recursive: true, force: true });
123
+ await copyDirRecursive(sourcePath, targetPath);
124
124
  console.log(` ${target.label}: ${targetPath} ... OK`);
125
125
  return true;
126
126
  }
@@ -172,32 +172,20 @@ async function installAntigravityIde(target) {
172
172
 
173
173
  // Copy plugin bundle (plugin.json + skills/) to ~/.gemini/antigravity-ide/plugins/agentic-senior-core/
174
174
  await fs.mkdir(path.dirname(pluginTargetPath), { recursive: true });
175
- await fs.cp(pluginSource, pluginTargetPath, { recursive: true, force: true });
175
+ await copyDirRecursive(pluginSource, pluginTargetPath);
176
176
  console.log(` ${target.label}: plugin -> ${pluginTargetPath} ... OK`);
177
177
 
178
- // Append rules to ~/.gemini/GEMINI.md (guarded: replace ASC section if present, append if not)
179
- const rulesContent = await fs.readFile(rulesSource, 'utf8');
180
- // Strip frontmatter (trigger: always_on) — GEMINI.md is always loaded, no frontmatter needed
181
- const rulesBody = rulesContent.replace(/^---[\s\S]*?---\n*/, '');
182
- // rulesBody already starts with '# Agentic Senior Core' which matches ASC_MARKER
183
- const ascSection = `\n\n${rulesBody.trim()}\n`;
184
-
185
- await fs.mkdir(path.dirname(rulesTargetPath), { recursive: true });
186
-
178
+ // The IDE automatically loads the plugin bundle's internal rules/ folder!
179
+ // Appending to GEMINI.md causes double rules (1,250 tokens x 2).
180
+ // Clean up GEMINI.md if it contains our old injected rules.
187
181
  if (await pathExists(rulesTargetPath)) {
188
182
  const existingContent = await fs.readFile(rulesTargetPath, 'utf8');
189
183
  if (existingContent.includes(ASC_MARKER)) {
190
184
  const markerIndex = existingContent.indexOf(ASC_MARKER);
191
185
  const beforeAsc = existingContent.substring(0, markerIndex).trimEnd();
192
- await fs.writeFile(rulesTargetPath, beforeAsc + ascSection);
193
- console.log(` ${target.label}: rules updated in ${rulesTargetPath} ... OK`);
194
- } else {
195
- await fs.writeFile(rulesTargetPath, existingContent.trimEnd() + ascSection);
196
- console.log(` ${target.label}: rules appended to ${rulesTargetPath} ... OK`);
186
+ await fs.writeFile(rulesTargetPath, beforeAsc + '\n');
187
+ console.log(` ${target.label}: removed duplicate rules from ${rulesTargetPath} ... OK`);
197
188
  }
198
- } else {
199
- await fs.writeFile(rulesTargetPath, ascSection.trimStart());
200
- console.log(` ${target.label}: rules -> ${rulesTargetPath} ... OK`);
201
189
  }
202
190
 
203
191
  // Clean up old paths from previous versions
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ryuenn3123/agentic-senior-core",
3
- "version": "5.8.6",
3
+ "version": "5.8.8",
4
4
  "type": "module",
5
- "description": "Universal AI coding rules. Write code like a staff engineer, not a junior.",
5
+ "description": "Agentic Senior Core: Universal AI coding rules and workflows. Write code like a staff engineer, not a junior.",
6
6
  "bin": {
7
7
  "asc": "bin/agentic-senior-core.js",
8
8
  "agentic-senior-core": "bin/agentic-senior-core.js",
package/plugin.yaml CHANGED
@@ -1,18 +1,18 @@
1
- name: agentic-senior-core
2
- version: 5.8.6
3
- description: Universal AI coding rules. Write code like a staff engineer.
4
- author: fatidaprilian
5
- provides_hooks:
6
- - pre_llm_call
7
- provides_commands:
8
- - asc-refactor
9
- - asc-review
10
- - asc-audit
11
- - asc-help
12
- provides_skills:
13
- - asc
14
- - asc-refactor
15
- - asc-review
16
- - asc-audit
17
- - asc-debt
18
- - asc-reference
1
+ name: agentic-senior-core
2
+ version: 5.8.7
3
+ description: Universal AI coding rules. Write code like a staff engineer.
4
+ author: fatidaprilian
5
+ provides_hooks:
6
+ - pre_llm_call
7
+ provides_commands:
8
+ - asc-refactor
9
+ - asc-review
10
+ - asc-audit
11
+ - asc-help
12
+ provides_skills:
13
+ - asc
14
+ - asc-refactor
15
+ - asc-review
16
+ - asc-audit
17
+ - asc-debt
18
+ - asc-reference