@lythos/cold-pool 0.9.46 → 0.9.47

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.ts +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lythos/cold-pool",
3
- "version": "0.9.46",
3
+ "version": "0.9.47",
4
4
  "description": "Cold pool service layer — dedicated resource holder for skill repositories with intent/plan/execute primitives. Single owner of git side-effects; consumed by deck/curator/arena.",
5
5
  "keywords": [
6
6
  "ai-agent",
package/src/cli.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Commands:
6
6
  * prune Scan cold pool for unreferenced repos (uses metadata DB FSM)
7
- * reconcile Compare a lock file's desired state against cold pool
7
+ * validate Compare a lock file's desired state against cold pool
8
8
  */
9
9
 
10
10
  import { existsSync, readFileSync, rmSync } from 'node:fs'
@@ -30,7 +30,7 @@ Commands:
30
30
  --yes Skip confirmation
31
31
  --dry-run Report only, no deletion
32
32
 
33
- reconcile [--lock <path>]
33
+ validate [--lock <path>]
34
34
  Read a skill-deck.lock file and compare its desired state against
35
35
  the cold pool. Plan-only (report drift). Use individual deck
36
36
  commands to converge.
@@ -108,13 +108,13 @@ async function main(): Promise<void> {
108
108
  break
109
109
  }
110
110
 
111
- // ── reconcile ─────────────────────────────────────────────
112
- case 'reconcile': {
111
+ // ── validate (plan-only, no --apply) ────────────────────────
112
+ case 'validate': {
113
113
  const lockIdx = args.indexOf('--lock')
114
114
  const lockPath = lockIdx >= 0 ? args[lockIdx + 1] : undefined
115
115
 
116
116
  if (!lockPath) {
117
- console.error('❌ Missing --lock <path>. Usage: cold-pool reconcile --lock ./skill-deck.lock')
117
+ console.error('❌ Missing --lock <path>. Usage: cold-pool validate --lock ./skill-deck.lock')
118
118
  process.exit(1)
119
119
  }
120
120
 
@@ -137,7 +137,7 @@ async function main(): Promise<void> {
137
137
  }
138
138
 
139
139
  if (!existsSync(coldPoolPath)) {
140
- console.log('📭 Cold pool does not exist. Nothing to reconcile.')
140
+ console.log('📭 Cold pool does not exist. Nothing to validate.')
141
141
  process.exit(0)
142
142
  }
143
143
 
@@ -176,7 +176,7 @@ async function main(): Promise<void> {
176
176
  pool.metadata.close()
177
177
 
178
178
  // Report
179
- console.log(`\n📊 Reconcile Report`)
179
+ console.log(`\n📊 Validate Report`)
180
180
  console.log(` Cold pool: ${coldPoolPath}`)
181
181
  console.log(` Skills declared: ${lock.skills.length}`)
182
182
 
@@ -199,7 +199,7 @@ async function main(): Promise<void> {
199
199
  for (const e of extra) console.log(` ${e}`)
200
200
  }
201
201
 
202
- console.log(`\n💡 Plan-only. Use 'deck add <locator>' to restore missing, or 'cold-pool prune' to remove extras.`)
202
+ console.log(`\n💡 Use 'deck add <locator>' to restore missing, or 'cold-pool prune' to remove extras.`)
203
203
  break
204
204
  }
205
205