@cleocode/cleo 2026.4.106 → 2026.4.108
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/bin/cleo.js +29 -0
- package/dist/cli/index.js +1091 -963
- package/dist/cli/index.js.map +4 -4
- package/migrations/drizzle-brain/20260421195921_t1165-baseline-reset/migration.sql +11 -0
- package/migrations/drizzle-brain/20260421195921_t1165-baseline-reset/snapshot.json +3799 -0
- package/migrations/drizzle-nexus/20260421200001_t1165-baseline-reset/migration.sql +8 -0
- package/migrations/drizzle-nexus/20260421200001_t1165-baseline-reset/snapshot.json +1372 -0
- package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/migration.sql +209 -0
- package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/snapshot.json +2060 -0
- package/migrations/drizzle-tasks/20260421195851_t1165-baseline-reset/migration.sql +8 -0
- package/migrations/drizzle-tasks/20260421195851_t1165-baseline-reset/snapshot.json +5387 -0
- package/migrations/drizzle-tasks/20260422004703_t1174-adopt-partial-index-where/migration.sql +27 -0
- package/migrations/drizzle-tasks/20260422004703_t1174-adopt-partial-index-where/snapshot.json +5401 -0
- package/migrations/drizzle-telemetry/20260415000001_t624-initial/migration.sql +23 -0
- package/migrations/drizzle-telemetry/20260422000000_t1176-telemetry-baseline-reset/migration.sql +8 -0
- package/migrations/drizzle-telemetry/20260422000000_t1176-telemetry-baseline-reset/snapshot.json +227 -0
- package/package.json +11 -11
- package/migrations/drizzle-tasks/20260421000001_t1126-sentient-proposal-index/migration.sql +0 -18
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
-- SCHEMA REFACTOR MARKER — T1174 (T-MSR-W2A-09) Hybrid Path A+ proof-of-concept.
|
|
2
|
+
--
|
|
3
|
+
-- idx_tasks_sentient_proposals_today was already created by T1126 migration
|
|
4
|
+
-- (20260421000002_t1126-sentient-proposal-index/migration.sql) with:
|
|
5
|
+
--
|
|
6
|
+
-- CREATE INDEX IF NOT EXISTS `idx_tasks_sentient_proposals_today`
|
|
7
|
+
-- ON `tasks` (date(`created_at`))
|
|
8
|
+
-- WHERE `labels_json` LIKE '%sentient-tier2%';
|
|
9
|
+
--
|
|
10
|
+
-- T1174 adopts the index into tasks-schema.ts as a schema-level .where() expression:
|
|
11
|
+
--
|
|
12
|
+
-- index('idx_tasks_sentient_proposals_today')
|
|
13
|
+
-- .on(sql`date(${table.createdAt})`)
|
|
14
|
+
-- .where(sql`${table.labelsJson} LIKE '%sentient-tier2%'`)
|
|
15
|
+
--
|
|
16
|
+
-- No DDL is emitted here because the index already exists on all databases that
|
|
17
|
+
-- have applied the T1126 migration. The snapshot.json in this folder is the
|
|
18
|
+
-- authoritative drizzle-kit anchor for future incremental migrations — it reflects
|
|
19
|
+
-- the schema-level expression of the partial index.
|
|
20
|
+
--
|
|
21
|
+
-- On fresh installs: migrations run in order; T1126 creates the index, this marker
|
|
22
|
+
-- runs as a no-op comment, and drizzle skips any DDL (empty statement list).
|
|
23
|
+
-- On existing installs: reconcileJournal probeAndMarkApplied detects the index
|
|
24
|
+
-- already exists and marks this migration applied without re-running DDL.
|
|
25
|
+
--
|
|
26
|
+
-- ADR-054 Hybrid Path A+ — schema-as-source-of-truth for partial indexes.
|
|
27
|
+
-- Migration T1126 folder remains in place for journal continuity.
|