@alexandrealvaro/agentic 0.3.0-beta.1 → 0.3.0-beta.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": "@alexandrealvaro/agentic",
3
- "version": "0.3.0-beta.1",
3
+ "version": "0.3.0-beta.2",
4
4
  "description": "Bootstrap and audit AGENTS.md, ARCHITECTURE.md, ADRs, skills, and subagents for engineering production code with LLMs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,7 +29,9 @@ const AGENT_LABEL = {
29
29
  const ACTION_SYMBOL = {
30
30
  created: '+',
31
31
  replaced: '~',
32
+ updated: '~',
32
33
  unchanged: '·',
34
+ kept: '·',
33
35
  skipped: '!',
34
36
  };
35
37
 
@@ -11,6 +11,7 @@ import {
11
11
  } from 'node:fs';
12
12
  import { fileURLToPath } from 'node:url';
13
13
  import { basename, dirname, join, relative } from 'node:path';
14
+ import { SCHEMA_VERSION } from './state.js';
14
15
 
15
16
  const __dirname = dirname(fileURLToPath(import.meta.url));
16
17
  const KIT_ROOT = join(__dirname, '..', '..');
@@ -268,6 +269,12 @@ export async function installSkills({
268
269
  copyFileSync(src, target);
269
270
  }
270
271
 
272
+ // Record the current source SHA on every outcome — including skip.
273
+ // A skip means "I have seen this kit version and chose to keep my
274
+ // edits"; the next run should treat the same kit version as already
275
+ // acknowledged (silent user-edited-keep). If we recorded the prior
276
+ // SHA on skip, every re-run with the kit unchanged would re-prompt
277
+ // the same conflict the user already declined.
271
278
  actions.push({ type: actionType, path: relForReport, agent });
272
279
  skillFiles.push({ path: relForReport, sourceSha: decision.sourceSha });
273
280
  }
@@ -279,7 +286,7 @@ export async function installSkills({
279
286
  }
280
287
 
281
288
  nextStates[agent] = {
282
- schemaVersion: 1,
289
+ schemaVersion: SCHEMA_VERSION,
283
290
  kitVersion: kitVersion ?? prev?.kitVersion ?? null,
284
291
  agent,
285
292
  skills: nextSkills,