Releases: kryptobaseddev/cleo
Releases · kryptobaseddev/cleo
v2026.3.69
Fixed
- npm install: Use
pnpm publishto resolveworkspace:*protocol —npm publishleaked workspace references makingnpm install -gfail with EUNSUPPORTEDPROTOCOL
v2026.3.68
Added
cleo checkcommand group:cleo check schema|coherence|task— domain-prefix CLI access to check operationscleo admincommand group:cleo admin version|health|stats|runtime|smoke— domain-prefix CLI access to admin operationscleo pipelinealias: Routes to existingphasecommand group
Fixed
cleo add --dry-runsession bypass: Dry-run no longer requires active session, orphan prevention, or acceptance criteria — no data is written- Domain-prefix CLI routing:
cleo check schema,cleo pipeline list,cleo admin versionnow route correctly instead of showing root help
v2026.3.67
Added
cleo doctor --full(#79, T130): Operational smoke test — 13 probes exercise one read-only query per domain through the full dispatch pipeline, plus tasks.db integrity, brain.db connectivity, and migration state validation. ~100ms runtime, exit code 0/1cleo upgrade --diagnose(#80, T131): Deep read-only inspection of schema and migration state — validates required columns, migration journal entries, SQLite integrity, brain.db tables. Skipped steps now explain WHY withreasonfield
Changed
- Unified migration system (#82, T132): Shared
migration-manager.tsconsolidates duplicated reconciliation, bootstrap, retry, and column-safety logic fromsqlite.tsandbrain-sqlite.ts— ~170 lines dedup - Upgrade output:
UpgradeResultnow includessummary(checked/applied/skipped/errors) andreasonon skipped actions - Admin domain: New
admin.smokequery operation (tier 0)
Fixed
- Doctor/upgrade opts merging: citty-parsed command-specific flags (
--full,--diagnose,--detailed, etc.) were silently ignored because action handlers calledparseGlobalFlagsFromArgv()which only extracts global flags. Now merges both sources
v2026.3.66
Changed
- Config type safety (T128):
EnforcementConfig+VerificationConfiginterfaces wired intoCleoConfig— eliminates untypedgetRawConfigValuedot-path access in enforcement.ts, complete.ts, add.ts - Retry dedup (T129):
agents/retry.ts withRetrydelegates tolib/retry.ts— single backoff implementation, deadsleep()removed
Fixed
- Facade domain count: Updated from "10 domains" to "12 domain getter properties" (agents + intelligence added in v2026.3.60)
- Missing barrel exports: Added
AgentsAPI,IntelligenceAPI,getCleoTemplatesTildePath,updateProjectNameto public barrel
v2026.3.65
Fixed
v2026.3.64
v2026.3.63
Fixed
- brain.db migration (#65, #71): Journal reconciliation now correctly applied — was lost in v2026.3.62 due to git stash conflict
- --dryRun on cleo add (#66):
dryRunflag now passed through dispatch domain → engine →addTask()core — previously silently dropped - backup list side effect (#74): Query gateway handler now properly included in build — read-only
listSystemBackups()prevents snapshot creation - Help text leak regression (#76): Parent command
run()now detects subcommand inrawArgsbefore showing help — preventsshowUsage()from firing after valid subcommand output
Added
- session find CLI (#75): Re-added after loss in v2026.3.62 — dispatches to existing
query:session.findMCP operation
v2026.3.62
Fixed
- Migration journal reconciliation (#63, #65):
runMigrations()in tasks.db and brain.db now detects stale__drizzle_migrationsentries from older CLEO versions (hash mismatch), clears them, and marks local migrations as applied - Defensive column safety net (#63):
ensureRequiredColumns()runs after every migration — usesPRAGMA table_infoto detect and add missing columns viaALTER TABLE - Issue command routing (#64):
cleo issue bug/feature/helpcallsaddIssue()from core directly instead of dispatching to removed MCP operations - brain.db migration (#65, #71): Same journal reconciliation pattern applied to brain.db — unblocks
memory find,observe,sticky,refresh-memory, andreason similar - --dryRun flag (#66):
cleo add --dryRunnow returns preview withid: T???before sequence allocation — no DB writes or counter advancement - Labels empty output (#67):
labels listmarked asisDefaultsubcommand — barecleo labelsnow invokes list - Exists routing (#68):
cleo existscallsgetTask()from core directly instead of unregisteredquery:tasks.exists - Critical-path routing (#69):
cleo deps critical-pathcallsdepsCriticalPath()from core directly instead of unregisteredquery:orchestrate.critical.path - Silent empty commands (#70): Parent commands without subcommand now show help text via citty
showUsage()— fixes 21 commands that returned zero output - Sequence padding (#72):
nextIdinshowSequence()usespadStart(3, '0')— returnsT012notT12 - Stats contradiction (#73):
totalCompletednow uses audit log as SSoT (same source ascompletedInPeriod) for consistent metrics - Backup list side effect (#74): Changed
backup listfrommutatetoquerygateway with new read-onlylistSystemBackups()function
Added
session findCLI subcommand (#75): MCP operation already existed — added CLI registration with--status,--scope,--query,--limitoptionsrepairMissingColumns(): New repair function incleo upgradethat reports missing column detection/fix
Changed
- Injection template:
session findreference clarified tocleo session find
v2026.3.59
Added
- Agent health monitoring:
cleo agents health— heartbeat, stale/crash detection (T039, 25 tests) - Retry utility:
withRetry()exponential backoff inlib/retry.ts(T040, 16 tests) - Agent registry: Capacity tracking, specializations, performance recording (T041, 21 tests)
- Impact prediction:
cleo reason impact --change <text>— dependency analysis (T043) - Reasoning CLI:
cleo reason why|similar|impact|timeline— CLI parity (T044) - SharingStatus: Git sync fields for Nexus visibility (T110)
Changed
- Config vaporware audit (T101): Removed ~170 dead config fields across schema/templates/presets
- Strictness presets: Fixed phantom
hierarchy.requireAcceptanceCriteriakey (T107)
Assessed
- Nexus: Zero production usage — deferred to Phase 3 (T045)
v2026.3.58
Added
- Enforcement gates: Session required for mutations, AC required on creation (min 3), verification gates required for completion, orphan tasks blocked (must have parent epic) — all in strict mode
- Pipeline stage binding: RCASD-IVTR+C auto-assignment, forward-only transitions (T060)
- Verification gate auto-init: Tasks get verification metadata on creation (T061)
- Epic lifecycle enforcement: Min 5 AC, child stage ceiling, advancement gates (T062)
- Workflow compliance telemetry:
cleo stats compliancedashboard (T065) - Task backfill:
cleo backfill [--dry-run]for existing tasks (T066) - Strictness presets:
cleo config set-preset strict|standard|minimal(T067) - Agent dimension: Execution learning, self-healing patterns (T034)
- Intelligence dimension: Adaptive validation, confidence scoring (T035)
- ERD diagrams: Mermaid ERDs for all 3 databases (T036)
- Skills updated: Mandatory workflow rules WF-001 through WF-005 (T063)
- ct-validator skill: Gate enforcement skill (T064)
- Agent code quality rules: Added to AGENTS.md for all subagents
Fixed
- CTE column mismatch (#61): Rewritten to column-independent ID-only pattern
- Table constraint loss (#62): Migration uses proper CREATE TABLE with constraints
- Session FK ordering: Insert new session before updating predecessor.nextSessionId
closeDb()production bug: Now resets_initPromiseto prevent stale connectionstasks.adddispatch: acceptance, phase, size, notes, files params now passed through--acceptancedelimiter: Changed from comma to pipe for AC items with commas- Config templates: enforcement/verification/lifecycle fields added with strict defaults
complete.tsdefaults: Corrected from warn→block, off→strict- Test infrastructure: 141→0 test failures via centralized VITEST enforcement bypass
- Schema hardening: 9 composite indexes, 17 soft FKs hardened, PRAGMA foreign_keys=ON
Changed
- Config templates ship with 100% strict enforcement defaults
loadCompletionEnforcementhonors explicit config values in test mode