@cleocode/core 2026.5.134 → 2026.6.0
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/binaries/README.md +49 -27
- package/dist/agents/{agent-registry.d.ts → agent-capacity-tracker.d.ts} +2 -2
- package/dist/agents/agent-capacity-tracker.d.ts.map +1 -0
- package/dist/agents/{agent-registry.js → agent-capacity-tracker.js} +2 -2
- package/dist/agents/agent-capacity-tracker.js.map +1 -0
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +4 -2
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/seed-install.d.ts +1 -1
- package/dist/agents/seed-install.d.ts.map +1 -1
- package/dist/agents/seed-install.js +42 -36
- package/dist/agents/seed-install.js.map +1 -1
- package/dist/caamp-export.d.ts +18 -0
- package/dist/caamp-export.d.ts.map +1 -0
- package/dist/caamp-export.js +18 -0
- package/dist/caamp-export.js.map +1 -0
- package/dist/conduit/local-transport.d.ts +1 -1
- package/dist/conduit/local-transport.d.ts.map +1 -1
- package/dist/conduit/local-transport.js +69 -43
- package/dist/conduit/local-transport.js.map +1 -1
- package/dist/dispatch/mutate-projection.d.ts.map +1 -1
- package/dist/dispatch/mutate-projection.js +11 -0
- package/dist/dispatch/mutate-projection.js.map +1 -1
- package/dist/docs/docs-read-model.d.ts +7 -0
- package/dist/docs/docs-read-model.d.ts.map +1 -1
- package/dist/docs/docs-read-model.js +5 -0
- package/dist/docs/docs-read-model.js.map +1 -1
- package/dist/docs/supersede.d.ts.map +1 -1
- package/dist/docs/supersede.js +12 -7
- package/dist/docs/supersede.js.map +1 -1
- package/dist/doctor/db-substrate.d.ts.map +1 -1
- package/dist/doctor/db-substrate.js +10 -9
- package/dist/doctor/db-substrate.js.map +1 -1
- package/dist/git-shim-export.d.ts +18 -0
- package/dist/git-shim-export.d.ts.map +1 -0
- package/dist/git-shim-export.js +18 -0
- package/dist/git-shim-export.js.map +1 -0
- package/dist/hooks/payload-schemas.d.ts +2 -2
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +39 -32
- package/dist/init.js.map +1 -1
- package/dist/internal.d.ts +11 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +14 -5
- package/dist/internal.js.map +1 -1
- package/dist/lafs-export.d.ts +18 -0
- package/dist/lafs-export.d.ts.map +1 -0
- package/dist/lafs-export.js +18 -0
- package/dist/lafs-export.js.map +1 -0
- package/dist/lifecycle/effective-stage.js +1 -1
- package/dist/lifecycle/index.js +1 -1
- package/dist/lifecycle/index.js.map +1 -1
- package/dist/lifecycle/rollup.js +1 -1
- package/dist/llm/credential-pool.d.ts +17 -0
- package/dist/llm/credential-pool.d.ts.map +1 -1
- package/dist/llm/credential-pool.js +40 -1
- package/dist/llm/credential-pool.js.map +1 -1
- package/dist/llm/plugin-facade.d.ts.map +1 -1
- package/dist/llm/plugin-facade.js +11 -19
- package/dist/llm/plugin-facade.js.map +1 -1
- package/dist/llm/role-executor.d.ts +8 -0
- package/dist/llm/role-executor.d.ts.map +1 -1
- package/dist/llm/role-executor.js +96 -4
- package/dist/llm/role-executor.js.map +1 -1
- package/dist/llm/role-resolver.d.ts.map +1 -1
- package/dist/llm/role-resolver.js +56 -1
- package/dist/llm/role-resolver.js.map +1 -1
- package/dist/llm/transports/codex-oauth-headers.d.ts +51 -0
- package/dist/llm/transports/codex-oauth-headers.d.ts.map +1 -0
- package/dist/llm/transports/codex-oauth-headers.js +89 -0
- package/dist/llm/transports/codex-oauth-headers.js.map +1 -0
- package/dist/memory/claude-mem-migration.d.ts.map +1 -1
- package/dist/memory/claude-mem-migration.js +1 -3
- package/dist/memory/claude-mem-migration.js.map +1 -1
- package/dist/memory/decisions.d.ts.map +1 -1
- package/dist/memory/decisions.js +77 -23
- package/dist/memory/decisions.js.map +1 -1
- package/dist/memory/graph-memory-bridge.d.ts.map +1 -1
- package/dist/memory/graph-memory-bridge.js +12 -6
- package/dist/memory/graph-memory-bridge.js.map +1 -1
- package/dist/memory/learnings.d.ts +2 -2
- package/dist/memory/nexus-plasticity.d.ts +21 -9
- package/dist/memory/nexus-plasticity.d.ts.map +1 -1
- package/dist/memory/nexus-plasticity.js +44 -22
- package/dist/memory/nexus-plasticity.js.map +1 -1
- package/dist/memory/patterns.d.ts +2 -2
- package/dist/memory/redaction.d.ts +19 -3
- package/dist/memory/redaction.d.ts.map +1 -1
- package/dist/memory/redaction.js +22 -94
- package/dist/memory/redaction.js.map +1 -1
- package/dist/metrics/token-service.d.ts +8 -2
- package/dist/metrics/token-service.d.ts.map +1 -1
- package/dist/metrics/token-service.js +1 -1
- package/dist/metrics/token-service.js.map +1 -1
- package/dist/nexus/analyze-orchestrator.d.ts.map +1 -1
- package/dist/nexus/analyze-orchestrator.js +6 -8
- package/dist/nexus/analyze-orchestrator.js.map +1 -1
- package/dist/nexus/api-extractors/http-extractor.d.ts.map +1 -1
- package/dist/nexus/api-extractors/http-extractor.js +3 -3
- package/dist/nexus/api-extractors/http-extractor.js.map +1 -1
- package/dist/nexus/clusters.d.ts.map +1 -1
- package/dist/nexus/clusters.js +3 -2
- package/dist/nexus/clusters.js.map +1 -1
- package/dist/nexus/context.d.ts.map +1 -1
- package/dist/nexus/context.js +10 -16
- package/dist/nexus/context.js.map +1 -1
- package/dist/nexus/diff.d.ts.map +1 -1
- package/dist/nexus/diff.js +6 -4
- package/dist/nexus/diff.js.map +1 -1
- package/dist/nexus/export.d.ts.map +1 -1
- package/dist/nexus/export.js +7 -4
- package/dist/nexus/export.js.map +1 -1
- package/dist/nexus/flows.d.ts.map +1 -1
- package/dist/nexus/flows.js +3 -1
- package/dist/nexus/flows.js.map +1 -1
- package/dist/nexus/impact.d.ts +1 -1
- package/dist/nexus/impact.d.ts.map +1 -1
- package/dist/nexus/impact.js +31 -17
- package/dist/nexus/impact.js.map +1 -1
- package/dist/nexus/living-brain.d.ts.map +1 -1
- package/dist/nexus/living-brain.js +27 -15
- package/dist/nexus/living-brain.js.map +1 -1
- package/dist/nexus/nexus-bridge.d.ts.map +1 -1
- package/dist/nexus/nexus-bridge.js +28 -29
- package/dist/nexus/nexus-bridge.js.map +1 -1
- package/dist/nexus/plasticity-queries.d.ts +4 -2
- package/dist/nexus/plasticity-queries.d.ts.map +1 -1
- package/dist/nexus/plasticity-queries.js +27 -15
- package/dist/nexus/plasticity-queries.js.map +1 -1
- package/dist/nexus/query.d.ts.map +1 -1
- package/dist/nexus/query.js +6 -2
- package/dist/nexus/query.js.map +1 -1
- package/dist/nexus/registry.d.ts.map +1 -1
- package/dist/nexus/registry.js +65 -30
- package/dist/nexus/registry.js.map +1 -1
- package/dist/nexus/route-analysis.d.ts +3 -2
- package/dist/nexus/route-analysis.d.ts.map +1 -1
- package/dist/nexus/route-analysis.js +11 -10
- package/dist/nexus/route-analysis.js.map +1 -1
- package/dist/nexus/sigil.d.ts.map +1 -1
- package/dist/nexus/sigil.js +60 -13
- package/dist/nexus/sigil.js.map +1 -1
- package/dist/nexus/user-profile.d.ts +2 -1
- package/dist/nexus/user-profile.d.ts.map +1 -1
- package/dist/nexus/user-profile.js +8 -4
- package/dist/nexus/user-profile.js.map +1 -1
- package/dist/orchestrate/index.d.ts +1 -1
- package/dist/orchestrate/index.d.ts.map +1 -1
- package/dist/orchestrate/index.js +1 -1
- package/dist/orchestrate/index.js.map +1 -1
- package/dist/orchestrate/plan.d.ts +3 -3
- package/dist/orchestrate/plan.d.ts.map +1 -1
- package/dist/orchestrate/plan.js +7 -7
- package/dist/orchestrate/plan.js.map +1 -1
- package/dist/orchestrate/spawn-ops.js +2 -2
- package/dist/orchestrate/spawn-ops.js.map +1 -1
- package/dist/orchestration/classify.d.ts +2 -2
- package/dist/orchestration/classify.js +3 -3
- package/dist/orchestration/classify.js.map +1 -1
- package/dist/orchestration/validate-spawn.d.ts.map +1 -1
- package/dist/orchestration/validate-spawn.js +5 -5
- package/dist/orchestration/validate-spawn.js.map +1 -1
- package/dist/paths-export.d.ts +18 -0
- package/dist/paths-export.d.ts.map +1 -0
- package/dist/paths-export.js +18 -0
- package/dist/paths-export.js.map +1 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +24 -11
- package/dist/paths.js.map +1 -1
- package/dist/playbooks/index.d.ts +1 -0
- package/dist/playbooks/index.d.ts.map +1 -1
- package/dist/playbooks/index.js +4 -0
- package/dist/playbooks/index.js.map +1 -1
- package/dist/playbooks/skill-node-executor.d.ts +155 -0
- package/dist/playbooks/skill-node-executor.d.ts.map +1 -0
- package/dist/playbooks/skill-node-executor.js +156 -0
- package/dist/playbooks/skill-node-executor.js.map +1 -0
- package/dist/repair.d.ts +3 -7
- package/dist/repair.d.ts.map +1 -1
- package/dist/repair.js +5 -43
- package/dist/repair.js.map +1 -1
- package/dist/sagas/migrate-containment.js +7 -7
- package/dist/sagas/migrate-containment.js.map +1 -1
- package/dist/scaffold/ensure-dirs.d.ts +8 -2
- package/dist/scaffold/ensure-dirs.d.ts.map +1 -1
- package/dist/scaffold/ensure-dirs.js +24 -11
- package/dist/scaffold/ensure-dirs.js.map +1 -1
- package/dist/scaffold/project-detection.d.ts +5 -1
- package/dist/scaffold/project-detection.d.ts.map +1 -1
- package/dist/scaffold/project-detection.js +9 -5
- package/dist/scaffold/project-detection.js.map +1 -1
- package/dist/sentient/hygiene-scan.js +6 -6
- package/dist/sentient/hygiene-scan.js.map +1 -1
- package/dist/sentient/proposal-dedup.js +2 -2
- package/dist/sentient/proposal-rate-limiter.js +1 -1
- package/dist/sentient/propose-tick.js +5 -5
- package/dist/sentient/propose-tick.js.map +1 -1
- package/dist/sentient/stage-drift-tick.js +3 -3
- package/dist/sentient/stage-drift-tick.js.map +1 -1
- package/dist/sequence/index.d.ts.map +1 -1
- package/dist/sequence/index.js +6 -2
- package/dist/sequence/index.js.map +1 -1
- package/dist/setup/sections/verification.js +2 -2
- package/dist/setup/sections/verification.js.map +1 -1
- package/dist/shutdown.d.ts +81 -0
- package/dist/shutdown.d.ts.map +1 -0
- package/dist/shutdown.js +105 -0
- package/dist/shutdown.js.map +1 -0
- package/dist/skills/index.d.ts +2 -0
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/skill-executor-adapter.d.ts +136 -0
- package/dist/skills/skill-executor-adapter.d.ts.map +1 -0
- package/dist/skills/skill-executor-adapter.js +137 -0
- package/dist/skills/skill-executor-adapter.js.map +1 -0
- package/dist/skills/usage-recorder.d.ts.map +1 -1
- package/dist/skills/usage-recorder.js +30 -0
- package/dist/skills/usage-recorder.js.map +1 -1
- package/dist/skills-export.d.ts +23 -0
- package/dist/skills-export.d.ts.map +1 -0
- package/dist/skills-export.js +23 -0
- package/dist/skills-export.js.map +1 -0
- package/dist/stats/index.d.ts.map +1 -1
- package/dist/stats/index.js +8 -3
- package/dist/stats/index.js.map +1 -1
- package/dist/store/agent-doctor.d.ts +3 -3
- package/dist/store/agent-doctor.d.ts.map +1 -1
- package/dist/store/agent-doctor.js +18 -13
- package/dist/store/agent-doctor.js.map +1 -1
- package/dist/store/agent-install.d.ts +6 -5
- package/dist/store/agent-install.d.ts.map +1 -1
- package/dist/store/agent-install.js +20 -16
- package/dist/store/agent-install.js.map +1 -1
- package/dist/store/agent-registry-accessor.d.ts +66 -28
- package/dist/store/agent-registry-accessor.d.ts.map +1 -1
- package/dist/store/agent-registry-accessor.js +248 -167
- package/dist/store/agent-registry-accessor.js.map +1 -1
- package/dist/store/agent-registry-store.d.ts +242 -0
- package/dist/store/agent-registry-store.d.ts.map +1 -0
- package/dist/store/agent-registry-store.js +501 -0
- package/dist/store/agent-registry-store.js.map +1 -0
- package/dist/store/agent-resolver.d.ts +8 -8
- package/dist/store/agent-resolver.d.ts.map +1 -1
- package/dist/store/agent-resolver.js +19 -17
- package/dist/store/agent-resolver.js.map +1 -1
- package/dist/store/backup-pack.d.ts.map +1 -1
- package/dist/store/backup-pack.js +24 -8
- package/dist/store/backup-pack.js.map +1 -1
- package/dist/store/conduit-sqlite.d.ts +181 -74
- package/dist/store/conduit-sqlite.d.ts.map +1 -1
- package/dist/store/conduit-sqlite.js +307 -528
- package/dist/store/conduit-sqlite.js.map +1 -1
- package/dist/store/cross-db-cleanup.d.ts +5 -5
- package/dist/store/cross-db-cleanup.d.ts.map +1 -1
- package/dist/store/cross-db-cleanup.js +12 -10
- package/dist/store/cross-db-cleanup.js.map +1 -1
- package/dist/store/data-accessor.d.ts +4 -4
- package/dist/store/data-accessor.js +5 -5
- package/dist/store/data-accessor.js.map +1 -1
- package/dist/store/data-safety-central.d.ts +83 -1
- package/dist/store/data-safety-central.d.ts.map +1 -1
- package/dist/store/data-safety-central.js +257 -0
- package/dist/store/data-safety-central.js.map +1 -1
- package/dist/store/db-helpers.d.ts +8 -2
- package/dist/store/db-helpers.d.ts.map +1 -1
- package/dist/store/db-helpers.js +6 -2
- package/dist/store/db-helpers.js.map +1 -1
- package/dist/store/dual-scope-db.d.ts +46 -4
- package/dist/store/dual-scope-db.d.ts.map +1 -1
- package/dist/store/dual-scope-db.js +103 -9
- package/dist/store/dual-scope-db.js.map +1 -1
- package/dist/store/exodus/__fixtures__/representative-fixture.d.ts +116 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.d.ts.map +1 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.js +274 -0
- package/dist/store/exodus/__fixtures__/representative-fixture.js.map +1 -0
- package/dist/store/exodus/index.d.ts +3 -1
- package/dist/store/exodus/index.d.ts.map +1 -1
- package/dist/store/exodus/index.js +3 -1
- package/dist/store/exodus/index.js.map +1 -1
- package/dist/store/exodus/migrate.d.ts +120 -1
- package/dist/store/exodus/migrate.d.ts.map +1 -1
- package/dist/store/exodus/migrate.js +923 -119
- package/dist/store/exodus/migrate.js.map +1 -1
- package/dist/store/exodus/on-open.d.ts +189 -0
- package/dist/store/exodus/on-open.d.ts.map +1 -0
- package/dist/store/exodus/on-open.js +464 -0
- package/dist/store/exodus/on-open.js.map +1 -0
- package/dist/store/exodus/table-name-map.d.ts +173 -0
- package/dist/store/exodus/table-name-map.d.ts.map +1 -0
- package/dist/store/exodus/table-name-map.js +660 -0
- package/dist/store/exodus/table-name-map.js.map +1 -0
- package/dist/store/exodus/verify-migration.d.ts +72 -0
- package/dist/store/exodus/verify-migration.d.ts.map +1 -0
- package/dist/store/exodus/verify-migration.js +678 -0
- package/dist/store/exodus/verify-migration.js.map +1 -0
- package/dist/store/exodus/verify.d.ts +32 -8
- package/dist/store/exodus/verify.d.ts.map +1 -1
- package/dist/store/exodus/verify.js +48 -142
- package/dist/store/exodus/verify.js.map +1 -1
- package/dist/store/index.d.ts +2 -3
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +2 -3
- package/dist/store/index.js.map +1 -1
- package/dist/store/memory-accessor.d.ts +31 -0
- package/dist/store/memory-accessor.d.ts.map +1 -1
- package/dist/store/memory-accessor.js +38 -0
- package/dist/store/memory-accessor.js.map +1 -1
- package/dist/store/memory-sqlite.d.ts +86 -13
- package/dist/store/memory-sqlite.d.ts.map +1 -1
- package/dist/store/memory-sqlite.js +326 -528
- package/dist/store/memory-sqlite.js.map +1 -1
- package/dist/store/migrate-signaldock-to-conduit.d.ts +1 -1
- package/dist/store/migrate-signaldock-to-conduit.d.ts.map +1 -1
- package/dist/store/migrate-signaldock-to-conduit.js +126 -35
- package/dist/store/migrate-signaldock-to-conduit.js.map +1 -1
- package/dist/store/migration-manager.d.ts +49 -0
- package/dist/store/migration-manager.d.ts.map +1 -1
- package/dist/store/migration-manager.js +167 -67
- package/dist/store/migration-manager.js.map +1 -1
- package/dist/store/migration-sqlite.d.ts +1 -1
- package/dist/store/migration-sqlite.d.ts.map +1 -1
- package/dist/store/migration-sqlite.js +32 -3
- package/dist/store/migration-sqlite.js.map +1 -1
- package/dist/store/nexus-sqlite.d.ts +152 -29
- package/dist/store/nexus-sqlite.d.ts.map +1 -1
- package/dist/store/nexus-sqlite.js +496 -177
- package/dist/store/nexus-sqlite.js.map +1 -1
- package/dist/store/nexus-validation-schemas.d.ts +32 -32
- package/dist/store/open-cleo-db.d.ts +37 -40
- package/dist/store/open-cleo-db.d.ts.map +1 -1
- package/dist/store/open-cleo-db.js +76 -153
- package/dist/store/open-cleo-db.js.map +1 -1
- package/dist/store/role-accessors-impl.d.ts +4 -4
- package/dist/store/role-accessors-impl.d.ts.map +1 -1
- package/dist/store/role-accessors-impl.js +18 -15
- package/dist/store/role-accessors-impl.js.map +1 -1
- package/dist/store/schema/{signaldock-schema.d.ts → agent-registry-schema.d.ts} +15 -5
- package/dist/store/schema/agent-registry-schema.d.ts.map +1 -0
- package/dist/store/schema/{signaldock-schema.js → agent-registry-schema.js} +15 -5
- package/dist/store/schema/agent-registry-schema.js.map +1 -0
- package/dist/store/schema/agent-schema.d.ts +1 -1
- package/dist/store/schema/agent-schema.js +4 -4
- package/dist/store/schema/agent-schema.js.map +1 -1
- package/dist/store/schema/attachments.d.ts +1 -1
- package/dist/store/schema/audit.d.ts +15 -5
- package/dist/store/schema/audit.d.ts.map +1 -1
- package/dist/store/schema/audit.js +12 -2
- package/dist/store/schema/audit.js.map +1 -1
- package/dist/store/schema/background-jobs.d.ts +1 -1
- package/dist/store/schema/cleo-global/{signaldock.d.ts → agent-registry.d.ts} +277 -271
- package/dist/store/schema/cleo-global/agent-registry.d.ts.map +1 -0
- package/dist/store/schema/cleo-global/{signaldock.js → agent-registry.js} +136 -125
- package/dist/store/schema/cleo-global/agent-registry.js.map +1 -0
- package/dist/store/schema/cleo-global/index.d.ts +29 -22
- package/dist/store/schema/cleo-global/index.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/index.js +29 -22
- package/dist/store/schema/cleo-global/index.js.map +1 -1
- package/dist/store/schema/cleo-global/nexus.d.ts +36 -1034
- package/dist/store/schema/cleo-global/nexus.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/nexus.js +32 -337
- package/dist/store/schema/cleo-global/nexus.js.map +1 -1
- package/dist/store/schema/cleo-global/skills.d.ts +16 -0
- package/dist/store/schema/cleo-global/skills.d.ts.map +1 -1
- package/dist/store/schema/cleo-global/skills.js +11 -0
- package/dist/store/schema/cleo-global/skills.js.map +1 -1
- package/dist/store/schema/{cleo-project → cleo-global}/telemetry.d.ts +33 -17
- package/dist/store/schema/cleo-global/telemetry.d.ts.map +1 -0
- package/dist/store/schema/{cleo-project → cleo-global}/telemetry.js +30 -18
- package/dist/store/schema/cleo-global/telemetry.js.map +1 -0
- package/dist/store/schema/cleo-project/audit.d.ts +8 -8
- package/dist/store/schema/cleo-project/audit.d.ts.map +1 -1
- package/dist/store/schema/cleo-project/audit.js +2 -6
- package/dist/store/schema/cleo-project/audit.js.map +1 -1
- package/dist/store/schema/cleo-project/docs.d.ts +1 -1
- package/dist/store/schema/cleo-project/index.d.ts +29 -12
- package/dist/store/schema/cleo-project/index.d.ts.map +1 -1
- package/dist/store/schema/cleo-project/index.js +29 -12
- package/dist/store/schema/cleo-project/index.js.map +1 -1
- package/dist/store/schema/cleo-project/lifecycle.d.ts +2 -2
- package/dist/store/schema/cleo-project/nexus-graph.d.ts +1067 -0
- package/dist/store/schema/cleo-project/nexus-graph.d.ts.map +1 -0
- package/dist/store/schema/cleo-project/nexus-graph.js +407 -0
- package/dist/store/schema/cleo-project/nexus-graph.js.map +1 -0
- package/dist/store/schema/cleo-project/provenance-orphans.d.ts +385 -0
- package/dist/store/schema/cleo-project/provenance-orphans.d.ts.map +1 -0
- package/dist/store/schema/cleo-project/provenance-orphans.js +142 -0
- package/dist/store/schema/cleo-project/provenance-orphans.js.map +1 -0
- package/dist/store/schema/cleo-project/provenance-rest.d.ts +1 -1
- package/dist/store/schema/cleo-project/runtime.d.ts +1 -1
- package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts +1 -1
- package/dist/store/schema/cleo-project/tasks-core.d.ts +3 -3
- package/dist/store/schema/cleo-shared/brain.d.ts +711 -494
- package/dist/store/schema/cleo-shared/brain.d.ts.map +1 -1
- package/dist/store/schema/cleo-shared/brain.js +215 -134
- package/dist/store/schema/cleo-shared/brain.js.map +1 -1
- package/dist/store/schema/conduit-schema.d.ts +63 -51
- package/dist/store/schema/conduit-schema.d.ts.map +1 -1
- package/dist/store/schema/conduit-schema.js +23 -11
- package/dist/store/schema/conduit-schema.js.map +1 -1
- package/dist/store/schema/goal.d.ts +3 -2
- package/dist/store/schema/goal.d.ts.map +1 -1
- package/dist/store/schema/goal.js +3 -2
- package/dist/store/schema/goal.js.map +1 -1
- package/dist/store/schema/index.d.ts +1 -0
- package/dist/store/schema/index.d.ts.map +1 -1
- package/dist/store/schema/index.js +1 -0
- package/dist/store/schema/index.js.map +1 -1
- package/dist/store/schema/lifecycle.d.ts +2 -2
- package/dist/store/schema/memory-schema.d.ts +2 -2
- package/dist/store/schema/nexus-schema.d.ts +174 -115
- package/dist/store/schema/nexus-schema.d.ts.map +1 -1
- package/dist/store/schema/nexus-schema.js +175 -55
- package/dist/store/schema/nexus-schema.js.map +1 -1
- package/dist/store/schema/provenance/releases.d.ts +1 -1
- package/dist/store/schema/schema-utils.d.ts +78 -0
- package/dist/store/schema/schema-utils.d.ts.map +1 -0
- package/dist/store/schema/schema-utils.js +49 -0
- package/dist/store/schema/schema-utils.js.map +1 -0
- package/dist/store/schema/skills-schema.d.ts +81 -44
- package/dist/store/schema/skills-schema.d.ts.map +1 -1
- package/dist/store/schema/skills-schema.js +49 -16
- package/dist/store/schema/skills-schema.js.map +1 -1
- package/dist/store/schema/tasks.d.ts +3 -3
- package/dist/store/skills-db.d.ts +90 -50
- package/dist/store/skills-db.d.ts.map +1 -1
- package/dist/store/skills-db.js +132 -146
- package/dist/store/skills-db.js.map +1 -1
- package/dist/store/sqlite-backup.d.ts +2 -2
- package/dist/store/sqlite-backup.d.ts.map +1 -1
- package/dist/store/sqlite-backup.js +11 -10
- package/dist/store/sqlite-backup.js.map +1 -1
- package/dist/store/sqlite-data-accessor.d.ts.map +1 -1
- package/dist/store/sqlite-data-accessor.js +25 -18
- package/dist/store/sqlite-data-accessor.js.map +1 -1
- package/dist/store/sqlite.d.ts +72 -12
- package/dist/store/sqlite.d.ts.map +1 -1
- package/dist/store/sqlite.js +153 -89
- package/dist/store/sqlite.js.map +1 -1
- package/dist/store/tasks-schema.d.ts +4 -0
- package/dist/store/tasks-schema.d.ts.map +1 -1
- package/dist/store/tasks-schema.js +60 -0
- package/dist/store/tasks-schema.js.map +1 -1
- package/dist/store/tasks-sqlite.d.ts +2 -2
- package/dist/store/tasks-sqlite.d.ts.map +1 -1
- package/dist/store/tasks-sqlite.js +10 -5
- package/dist/store/tasks-sqlite.js.map +1 -1
- package/dist/store/umbrella-data-accessor.d.ts +17 -6
- package/dist/store/umbrella-data-accessor.d.ts.map +1 -1
- package/dist/store/umbrella-data-accessor.js +8 -8
- package/dist/store/umbrella-data-accessor.js.map +1 -1
- package/dist/store/validation-schemas.d.ts +241 -208
- package/dist/store/validation-schemas.d.ts.map +1 -1
- package/dist/system/health.d.ts.map +1 -1
- package/dist/system/health.js +11 -6
- package/dist/system/health.js.map +1 -1
- package/dist/system/project-health.d.ts.map +1 -1
- package/dist/system/project-health.js +58 -12
- package/dist/system/project-health.js.map +1 -1
- package/dist/tasks/add.d.ts +8 -0
- package/dist/tasks/add.d.ts.map +1 -1
- package/dist/tasks/add.js +101 -0
- package/dist/tasks/add.js.map +1 -1
- package/dist/tasks/cancelled-child-waiver-audit.d.ts +47 -0
- package/dist/tasks/cancelled-child-waiver-audit.d.ts.map +1 -0
- package/dist/tasks/cancelled-child-waiver-audit.js +34 -0
- package/dist/tasks/cancelled-child-waiver-audit.js.map +1 -0
- package/dist/tasks/complete.d.ts +22 -2
- package/dist/tasks/complete.d.ts.map +1 -1
- package/dist/tasks/complete.js +71 -6
- package/dist/tasks/complete.js.map +1 -1
- package/dist/tasks/compute-task-view.js +1 -1
- package/dist/tasks/session-scope.d.ts +5 -0
- package/dist/tasks/session-scope.d.ts.map +1 -1
- package/dist/tasks/session-scope.js +4 -0
- package/dist/tasks/session-scope.js.map +1 -1
- package/dist/tools/guard.d.ts +71 -1
- package/dist/tools/guard.d.ts.map +1 -1
- package/dist/tools/guard.js +73 -1
- package/dist/tools/guard.js.map +1 -1
- package/dist/tools/index.d.ts +21 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +25 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/upgrade.d.ts.map +1 -1
- package/dist/upgrade.js +22 -13
- package/dist/upgrade.js.map +1 -1
- package/dist/workgraph/containment.js +18 -18
- package/dist/workgraph/relations.js +2 -2
- package/dist/worktree/list.d.ts +1 -1
- package/dist/worktree/list.d.ts.map +1 -1
- package/dist/worktree/list.js +19 -21
- package/dist/worktree/list.js.map +1 -1
- package/dist/worktree-export.d.ts +18 -0
- package/dist/worktree-export.d.ts.map +1 -0
- package/dist/worktree-export.js +18 -0
- package/dist/worktree-export.js.map +1 -0
- package/migrations/drizzle-agent-registry/20260412000000_initial-global-agent-registry/migration.sql +29 -0
- package/migrations/drizzle-brain/20260601000001_t11522-brain-task-observations/migration.sql +28 -0
- package/migrations/drizzle-brain/20260601000002_t11522-inline-only-brain-tables/migration.sql +75 -0
- package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/migration.sql +49 -144
- package/migrations/drizzle-cleo-global/20260531000001_t11363-consolidation-cleo-global/snapshot.json +8 -8
- package/migrations/drizzle-cleo-global/20260531000002_t11546-brain-usage-log/migration.sql +16 -0
- package/migrations/drizzle-cleo-global/20260601000001_t11544-skills-usage-project-id/migration.sql +12 -0
- package/migrations/drizzle-cleo-global/20260602000001_t11622-agent-registry-rename/migration.sql +80 -0
- package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/migration.sql +26 -167
- package/migrations/drizzle-cleo-project/20260531000001_t11363-consolidation-cleo-project/snapshot.json +8 -8
- package/migrations/drizzle-cleo-project/20260531000002_t11546-brain-usage-log/migration.sql +21 -0
- package/migrations/drizzle-cleo-project/20260601000001_t11549-agent-credentials-brain-release-links/migration.sql +49 -0
- package/migrations/drizzle-cleo-project/20260601000002_t11538-project-nexus-graph/migration.sql +140 -0
- package/migrations/drizzle-cleo-project/20260602000002_t11649-token-usage-transport-mcp/migration.sql +146 -0
- package/migrations/drizzle-conduit/20260601000003_t11523-conduit-inline-schema/migration.sql +82 -0
- package/migrations/drizzle-nexus/20260421200001_t1165-baseline-reset/migration.sql +26 -8
- package/migrations/drizzle-nexus/20260601000001_t11545-nexus-relation-weights-partition/migration.sql +97 -0
- package/package.json +44 -12
- package/scripts/install-supervisor-binary.mjs +50 -201
- package/scripts/napi-binary-picker.mjs +267 -0
- package/dist/agents/agent-registry.d.ts.map +0 -1
- package/dist/agents/agent-registry.js.map +0 -1
- package/dist/store/data-safety.d.ts +0 -92
- package/dist/store/data-safety.d.ts.map +0 -1
- package/dist/store/data-safety.js +0 -274
- package/dist/store/data-safety.js.map +0 -1
- package/dist/store/schema/cleo-global/signaldock.d.ts.map +0 -1
- package/dist/store/schema/cleo-global/signaldock.js.map +0 -1
- package/dist/store/schema/cleo-project/telemetry.d.ts.map +0 -1
- package/dist/store/schema/cleo-project/telemetry.js.map +0 -1
- package/dist/store/schema/signaldock-schema.d.ts.map +0 -1
- package/dist/store/schema/signaldock-schema.js.map +0 -1
- package/dist/store/signaldock-sqlite.d.ts +0 -173
- package/dist/store/signaldock-sqlite.d.ts.map +0 -1
- package/dist/store/signaldock-sqlite.js +0 -445
- package/dist/store/signaldock-sqlite.js.map +0 -1
- package/migrations/drizzle-nexus/20260318205558_initial/migration.sql +0 -46
- package/migrations/drizzle-nexus/20260412000001_t529-nexus-graph-tables/migration.sql +0 -49
- package/migrations/drizzle-nexus/20260415000001_t622-project-registry-paths/migration.sql +0 -12
- package/migrations/drizzle-nexus/20260419000001_t998-nexus-plasticity/migration.sql +0 -13
- package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/migration.sql +0 -16
- package/migrations/drizzle-nexus/20260423052640_t1077-add-user-profile-table/snapshot.json +0 -1531
- package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/migration.sql +0 -13
- package/migrations/drizzle-nexus/20260424140538_t1148-add-sigils-table/snapshot.json +0 -1652
- package/migrations/drizzle-nexus/20260504000001_t1839-fts5-nexus-symbols/migration.sql +0 -68
- package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/migration.sql +0 -20
- package/migrations/drizzle-nexus/20260507135519_t9163-nexus-is-external/snapshot.json +0 -1652
- package/migrations/drizzle-nexus/20260526222449_t11025-project-id-aliases/migration.sql +0 -16
- package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/migration.sql +0 -209
- package/migrations/drizzle-signaldock/20260412000000_initial-global-signaldock/snapshot.json +0 -2060
package/dist/store/sqlite.d.ts
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SQLite store via drizzle-orm/node-sqlite + node:sqlite (DatabaseSync).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* File-backed SQLite with WAL mode for multi-process concurrent access.
|
|
6
|
-
* Database stored at .cleo/tasks.db.
|
|
4
|
+
* ## E6-L1 — thin-facade migration (T11521)
|
|
7
5
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* `getDb()` and `getNativeTasksDb()` are now thin facades that delegate the
|
|
7
|
+
* database open to {@link openDualScopeDb}('project', cwd) — the canonical
|
|
8
|
+
* dual-scope chokepoint introduced by E3/E4 (T11512/T11517). This ensures:
|
|
9
|
+
*
|
|
10
|
+
* - Every tasks.db open flows through the single pragma SSoT (ADR-068/069).
|
|
11
|
+
* - The worktree-isolation guard (T9806) fires consistently on all opens.
|
|
12
|
+
* - DB Open Guard Gate 3 (`scripts/lint-no-direct-db-open.mjs`) stays green.
|
|
13
|
+
*
|
|
14
|
+
* The legacy tables (`tasks`, `sessions`, `schema_meta`, …) are still created
|
|
15
|
+
* by `runMigrations` (drizzle-tasks folder) inside the shared `cleo.db` file
|
|
16
|
+
* during the E3→E6 transition period, co-existing with the new `tasks_tasks`
|
|
17
|
+
* prefix tables from the consolidated schema. E6-L7/L8 will remove them.
|
|
12
18
|
*
|
|
13
19
|
* @epic T4454
|
|
14
20
|
* @task T4817 - node:sqlite engine migration (ADR-006, ADR-010)
|
|
15
21
|
* @task T4810 - Data loss prevention guards
|
|
22
|
+
* @task T11521 - E6-L1: route getDb through openDualScopeDb (SG-DB-SUBSTRATE-V2)
|
|
16
23
|
*/
|
|
17
24
|
import type { NodeSQLiteDatabase } from 'drizzle-orm/node-sqlite';
|
|
18
25
|
export { type DatabaseSync, openNativeDatabase } from './sqlite-native.js';
|
|
@@ -21,13 +28,30 @@ import * as schema from './tasks-schema.js';
|
|
|
21
28
|
/** Schema version for newly created databases. Single source of truth. */
|
|
22
29
|
export declare const SQLITE_SCHEMA_VERSION = "2.0.0";
|
|
23
30
|
/**
|
|
24
|
-
* Get the path to the SQLite database file.
|
|
31
|
+
* Get the path to the SQLite database file that {@link getDb} opens.
|
|
32
|
+
*
|
|
33
|
+
* ## E6-L1 (T11521)
|
|
34
|
+
*
|
|
35
|
+
* After the dual-scope migration, `getDb()` opens the consolidated project
|
|
36
|
+
* `cleo.db` via {@link openDualScopeDb}. This function therefore returns the
|
|
37
|
+
* dual-scope `cleo.db` path so that callers checking for the file `getDb()`
|
|
38
|
+
* created (existence / backup / health probes) point at the correct file.
|
|
25
39
|
*/
|
|
26
40
|
export declare function getDbPath(cwd?: string): string;
|
|
27
41
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
42
|
+
* Open (or return cached) the drizzle tasks-schema handle for the project scope.
|
|
43
|
+
*
|
|
44
|
+
* ## E6-L1 façade (T11521)
|
|
45
|
+
*
|
|
46
|
+
* Delegates the physical DB open to {@link openDualScopeDb}('project', cwd) —
|
|
47
|
+
* the canonical dual-scope chokepoint. The returned `NodeSQLiteDatabase` wraps
|
|
48
|
+
* the same `DatabaseSync` handle as the consolidated `cleo.db` but is typed
|
|
49
|
+
* against the legacy `tasks-schema` (table name `tasks`, etc.) so all existing
|
|
50
|
+
* callers compile without change.
|
|
51
|
+
*
|
|
52
|
+
* The legacy drizzle-tasks migrations are still applied to this handle during
|
|
53
|
+
* the E3→E6 transition, creating the `tasks` table family inside `cleo.db`
|
|
54
|
+
* alongside the new `tasks_tasks` tables. E6-L7/L8 will remove them.
|
|
31
55
|
*
|
|
32
56
|
* Uses a promise guard so concurrent callers wait for the same
|
|
33
57
|
* initialization to complete (migrations are async).
|
|
@@ -49,12 +73,33 @@ export declare function resolveMigrationsFolder(): string;
|
|
|
49
73
|
export { isSqliteBusy } from './migration-manager.js';
|
|
50
74
|
/**
|
|
51
75
|
* Close the database connection and release resources.
|
|
76
|
+
*
|
|
77
|
+
* ## E6-L1 (T11521)
|
|
78
|
+
*
|
|
79
|
+
* Resets the dual-scope cache via {@link _resetDualScopeDbCache} so the next
|
|
80
|
+
* `getDb()` call re-initialises cleanly rather than receiving a stale cached
|
|
81
|
+
* handle whose `DatabaseSync` is already closed (which would produce
|
|
82
|
+
* "database is not open" errors in migration-manager).
|
|
83
|
+
*
|
|
84
|
+
* Without the cache eviction, `openDualScopeDb` would return the stale entry
|
|
85
|
+
* for the same (scope, cwd) key — its `DatabaseSync` already closed by
|
|
86
|
+
* `_nativeDb.close()` below — causing downstream "database is not open" errors
|
|
87
|
+
* in `runMigrations → tableExists` for the very next `getDb()` caller.
|
|
52
88
|
*/
|
|
53
89
|
export declare function closeDb(): void;
|
|
54
90
|
/**
|
|
55
91
|
* Reset database singleton state without saving.
|
|
56
92
|
* Used during migrations when database file is deleted and recreated.
|
|
57
93
|
* Safe to call multiple times.
|
|
94
|
+
*
|
|
95
|
+
* ## E6-L1 (T11521)
|
|
96
|
+
*
|
|
97
|
+
* Also resets the dual-scope cache via {@link _resetDualScopeDbCache} so the
|
|
98
|
+
* next `getDb()` opens a fresh handle rather than reusing a stale one.
|
|
99
|
+
* Mirrors the cache-eviction logic in {@link closeDb}.
|
|
100
|
+
*
|
|
101
|
+
* E6-L4 (T11524): scoped to `'project'` so it does not close the shared GLOBAL
|
|
102
|
+
* `cleo.db` handle (nexus/signaldock/skills) — see {@link closeDb}.
|
|
58
103
|
*/
|
|
59
104
|
export declare function resetDbState(): void;
|
|
60
105
|
/**
|
|
@@ -63,6 +108,16 @@ export declare function resetDbState(): void;
|
|
|
63
108
|
export declare function getSchemaVersion(cwd?: string): Promise<string | null>;
|
|
64
109
|
/**
|
|
65
110
|
* Check if the database file exists.
|
|
111
|
+
*
|
|
112
|
+
* ## E6-L1 (T11521)
|
|
113
|
+
*
|
|
114
|
+
* After the dual-scope migration, `getDb()` opens `cleo.db` via
|
|
115
|
+
* {@link openDualScopeDb} — not the legacy `tasks.db`. This function now
|
|
116
|
+
* checks for `cleo.db` so that callers (e.g. `migration-sqlite.ts`) correctly
|
|
117
|
+
* detect the E6 database and skip re-migration.
|
|
118
|
+
*
|
|
119
|
+
* {@link getDbPath} still returns the legacy `tasks.db` path for backward-compat
|
|
120
|
+
* callers that specifically need that file (e.g. backup path construction).
|
|
66
121
|
*/
|
|
67
122
|
export declare function dbExists(cwd?: string): boolean;
|
|
68
123
|
/**
|
|
@@ -73,7 +128,12 @@ export declare function dbExists(cwd?: string): boolean;
|
|
|
73
128
|
export declare function getNativeDb(): DatabaseSync | null;
|
|
74
129
|
/**
|
|
75
130
|
* Get the underlying node:sqlite DatabaseSync instance for tasks.db.
|
|
76
|
-
*
|
|
131
|
+
*
|
|
132
|
+
* ## E6-L1 façade (T11521)
|
|
133
|
+
*
|
|
134
|
+
* Thin facade delegating to {@link getNativeDb}. After the chokepoint
|
|
135
|
+
* migration the native handle originates from {@link openDualScopeDb} —
|
|
136
|
+
* callers receive the same `DatabaseSync` from `cleo.db`.
|
|
77
137
|
*/
|
|
78
138
|
export declare function getNativeTasksDb(): DatabaseSync | null;
|
|
79
139
|
export type { NodeSQLiteDatabase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite.d.ts","sourceRoot":"","sources":["../../src/store/s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;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,YAAY,GAAG,IAAI,CAEtD;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAC;AACnC;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB;;;;;;;;GAQG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAmBvD"}
|
package/dist/store/sqlite.js
CHANGED
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SQLite store via drizzle-orm/node-sqlite + node:sqlite (DatabaseSync).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* File-backed SQLite with WAL mode for multi-process concurrent access.
|
|
6
|
-
* Database stored at .cleo/tasks.db.
|
|
4
|
+
* ## E6-L1 — thin-facade migration (T11521)
|
|
7
5
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* `getDb()` and `getNativeTasksDb()` are now thin facades that delegate the
|
|
7
|
+
* database open to {@link openDualScopeDb}('project', cwd) — the canonical
|
|
8
|
+
* dual-scope chokepoint introduced by E3/E4 (T11512/T11517). This ensures:
|
|
9
|
+
*
|
|
10
|
+
* - Every tasks.db open flows through the single pragma SSoT (ADR-068/069).
|
|
11
|
+
* - The worktree-isolation guard (T9806) fires consistently on all opens.
|
|
12
|
+
* - DB Open Guard Gate 3 (`scripts/lint-no-direct-db-open.mjs`) stays green.
|
|
13
|
+
*
|
|
14
|
+
* The legacy tables (`tasks`, `sessions`, `schema_meta`, …) are still created
|
|
15
|
+
* by `runMigrations` (drizzle-tasks folder) inside the shared `cleo.db` file
|
|
16
|
+
* during the E3→E6 transition period, co-existing with the new `tasks_tasks`
|
|
17
|
+
* prefix tables from the consolidated schema. E6-L7/L8 will remove them.
|
|
12
18
|
*
|
|
13
19
|
* @epic T4454
|
|
14
20
|
* @task T4817 - node:sqlite engine migration (ADR-006, ADR-010)
|
|
15
21
|
* @task T4810 - Data loss prevention guards
|
|
22
|
+
* @task T11521 - E6-L1: route getDb through openDualScopeDb (SG-DB-SUBSTRATE-V2)
|
|
16
23
|
*/
|
|
17
|
-
import { copyFileSync, existsSync,
|
|
24
|
+
import { copyFileSync, existsSync, renameSync, unlinkSync } from 'node:fs';
|
|
18
25
|
import { createRequire } from 'node:module';
|
|
19
|
-
import { dirname, join, resolve, sep } from 'node:path';
|
|
20
26
|
import { eq } from 'drizzle-orm';
|
|
21
27
|
import { getLogger } from '../logger.js';
|
|
22
|
-
|
|
28
|
+
// T11521: dual-scope chokepoint — all tasks.db opens now flow through here.
|
|
29
|
+
// openDualScopeDb manages the DatabaseSync lifecycle, pragmas, and migrations
|
|
30
|
+
// for the consolidated cleo.db. We extract the native handle and re-wrap it
|
|
31
|
+
// with the legacy tasks-schema drizzle instance for E6 caller compatibility.
|
|
32
|
+
import { _resetDualScopeDbCache, openDualScopeDb, resolveDualScopeDbPath, } from './dual-scope-db.js';
|
|
23
33
|
import { createSafetyBackup, ensureColumns, migrateWithRetry, reconcileJournal, tableExists, } from './migration-manager.js';
|
|
24
34
|
import { resolveCorePackageMigrationsFolder } from './resolve-migrations-folder.js';
|
|
25
35
|
import { listSqliteBackups } from './sqlite-backup.js';
|
|
@@ -60,8 +70,6 @@ function _getDrizzle() {
|
|
|
60
70
|
}
|
|
61
71
|
return _drizzle;
|
|
62
72
|
}
|
|
63
|
-
/** Database file name within .cleo/ directory. */
|
|
64
|
-
const DB_FILENAME = 'tasks.db';
|
|
65
73
|
/** Schema version for newly created databases. Single source of truth. */
|
|
66
74
|
export const SQLITE_SCHEMA_VERSION = '2.0.0';
|
|
67
75
|
const SCHEMA_VERSION = SQLITE_SCHEMA_VERSION;
|
|
@@ -71,13 +79,18 @@ let _nativeDb = null;
|
|
|
71
79
|
let _dbPath = null;
|
|
72
80
|
/** Guard against concurrent initialization (async migration). */
|
|
73
81
|
let _initPromise = null;
|
|
74
|
-
/** Guard: git-tracking check runs only once per process. */
|
|
75
|
-
let _gitTrackingChecked = false;
|
|
76
82
|
/**
|
|
77
|
-
* Get the path to the SQLite database file.
|
|
83
|
+
* Get the path to the SQLite database file that {@link getDb} opens.
|
|
84
|
+
*
|
|
85
|
+
* ## E6-L1 (T11521)
|
|
86
|
+
*
|
|
87
|
+
* After the dual-scope migration, `getDb()` opens the consolidated project
|
|
88
|
+
* `cleo.db` via {@link openDualScopeDb}. This function therefore returns the
|
|
89
|
+
* dual-scope `cleo.db` path so that callers checking for the file `getDb()`
|
|
90
|
+
* created (existence / backup / health probes) point at the correct file.
|
|
78
91
|
*/
|
|
79
92
|
export function getDbPath(cwd) {
|
|
80
|
-
return
|
|
93
|
+
return resolveDualScopeDbPath('project', cwd);
|
|
81
94
|
}
|
|
82
95
|
/**
|
|
83
96
|
* Minimum task count in a backup to consider it a valid recovery source.
|
|
@@ -101,14 +114,41 @@ const MIN_BACKUP_TASK_COUNT = 10;
|
|
|
101
114
|
*
|
|
102
115
|
* @task T5188
|
|
103
116
|
*/
|
|
117
|
+
/**
|
|
118
|
+
* Count tasks in a backup snapshot, tolerant of the cutover (T11578 · AC1).
|
|
119
|
+
*
|
|
120
|
+
* Post-exodus snapshots of the consolidated `cleo.db` carry the prefixed
|
|
121
|
+
* `tasks_tasks` table; legacy pre-consolidation `tasks.db` snapshots carry the
|
|
122
|
+
* bare `tasks` table. Prefer the prefixed table, falling back to the bare one
|
|
123
|
+
* when the prefixed table is absent, so auto-recovery keeps working across the
|
|
124
|
+
* substrate transition.
|
|
125
|
+
*
|
|
126
|
+
* @param backupDb - Read-only handle to the backup snapshot.
|
|
127
|
+
* @returns Task row count, or 0 if neither table exists / the read fails.
|
|
128
|
+
*/
|
|
129
|
+
function countBackupTasks(backupDb) {
|
|
130
|
+
for (const table of ['tasks_tasks', 'tasks']) {
|
|
131
|
+
try {
|
|
132
|
+
const row = backupDb.prepare(`SELECT COUNT(*) as cnt FROM "${table}"`).get();
|
|
133
|
+
return row?.cnt ?? 0;
|
|
134
|
+
}
|
|
135
|
+
catch {
|
|
136
|
+
// Table missing in this snapshot — try the next candidate.
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return 0;
|
|
140
|
+
}
|
|
104
141
|
async function autoRecoverFromBackup(nativeDb, dbPath, cwd) {
|
|
105
142
|
// Lazy import openNativeDatabase at runtime to avoid any static-import
|
|
106
143
|
// binding on sqlite-native.ts at module-init time.
|
|
107
144
|
const { openNativeDatabase } = await import('./sqlite-native.js');
|
|
108
145
|
const log = getLogger('sqlite');
|
|
109
146
|
try {
|
|
110
|
-
// Count tasks in current database
|
|
111
|
-
|
|
147
|
+
// Count tasks in current database.
|
|
148
|
+
// T11578 · AC1: the runtime now reads the PREFIXED consolidated table, so the
|
|
149
|
+
// emptiness probe targets `tasks_tasks` (the exodus-fill target) rather than
|
|
150
|
+
// the now-dead bare `tasks` table.
|
|
151
|
+
const countResult = nativeDb.prepare('SELECT COUNT(*) as cnt FROM tasks_tasks').get();
|
|
112
152
|
const taskCount = countResult?.cnt ?? 0;
|
|
113
153
|
if (taskCount > 0)
|
|
114
154
|
return; // Database has data, no recovery needed
|
|
@@ -125,8 +165,10 @@ async function autoRecoverFromBackup(nativeDb, dbPath, cwd) {
|
|
|
125
165
|
const backupDb = openNativeDatabase(newestBackup.path, { readonly: true, enableWal: false });
|
|
126
166
|
let backupTaskCount = 0;
|
|
127
167
|
try {
|
|
128
|
-
|
|
129
|
-
|
|
168
|
+
// T11578 · AC1: prefer the PREFIXED consolidated table (post-exodus
|
|
169
|
+
// snapshots) and fall back to the bare `tasks` table for legacy
|
|
170
|
+
// pre-consolidation backups so recovery still works across the cutover.
|
|
171
|
+
backupTaskCount = countBackupTasks(backupDb);
|
|
130
172
|
}
|
|
131
173
|
finally {
|
|
132
174
|
backupDb.close();
|
|
@@ -162,7 +204,10 @@ async function autoRecoverFromBackup(nativeDb, dbPath, cwd) {
|
|
|
162
204
|
// Rename in place — on the same filesystem this is atomic
|
|
163
205
|
renameSync(tempPath, dbPath);
|
|
164
206
|
log.info({ dbPath, backupPath: newestBackup.path, restoredTasks: backupTaskCount }, 'Database auto-recovered from backup successfully.');
|
|
165
|
-
// Re-open the restored database — update the native singleton
|
|
207
|
+
// Re-open the restored database — update the native singleton.
|
|
208
|
+
// The dual-scope cache is now stale (its nativeDb was closed above);
|
|
209
|
+
// reset it so the singleton is re-established on next getDb().
|
|
210
|
+
_resetDualScopeDbCache();
|
|
166
211
|
const restoredNativeDb = openNativeDatabase(dbPath);
|
|
167
212
|
_nativeDb = restoredNativeDb;
|
|
168
213
|
// Re-run migrations on restored DB to ensure schema is current
|
|
@@ -177,22 +222,31 @@ async function autoRecoverFromBackup(nativeDb, dbPath, cwd) {
|
|
|
177
222
|
}
|
|
178
223
|
}
|
|
179
224
|
/**
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
225
|
+
* Open (or return cached) the drizzle tasks-schema handle for the project scope.
|
|
226
|
+
*
|
|
227
|
+
* ## E6-L1 façade (T11521)
|
|
228
|
+
*
|
|
229
|
+
* Delegates the physical DB open to {@link openDualScopeDb}('project', cwd) —
|
|
230
|
+
* the canonical dual-scope chokepoint. The returned `NodeSQLiteDatabase` wraps
|
|
231
|
+
* the same `DatabaseSync` handle as the consolidated `cleo.db` but is typed
|
|
232
|
+
* against the legacy `tasks-schema` (table name `tasks`, etc.) so all existing
|
|
233
|
+
* callers compile without change.
|
|
234
|
+
*
|
|
235
|
+
* The legacy drizzle-tasks migrations are still applied to this handle during
|
|
236
|
+
* the E3→E6 transition, creating the `tasks` table family inside `cleo.db`
|
|
237
|
+
* alongside the new `tasks_tasks` tables. E6-L7/L8 will remove them.
|
|
183
238
|
*
|
|
184
239
|
* Uses a promise guard so concurrent callers wait for the same
|
|
185
240
|
* initialization to complete (migrations are async).
|
|
186
241
|
*/
|
|
187
242
|
export async function getDb(cwd) {
|
|
188
|
-
const requestedPath = getDbPath(cwd);
|
|
189
243
|
// T9961 / T9806: worktree-isolation guard — defense-in-depth for direct
|
|
190
|
-
// getDb() callers
|
|
244
|
+
// getDb() callers that bypass openCleoDb('project', cwd).
|
|
191
245
|
// Fires before any DB file is touched, matching the openCleoDb chokepoint.
|
|
192
246
|
assertDbPathIsNotWorktreeResident('tasks', cwd);
|
|
193
|
-
//
|
|
194
|
-
|
|
195
|
-
|
|
247
|
+
// Resolve the cleo.db path via the dual-scope helper (same logic as
|
|
248
|
+
// openDualScopeDb uses internally) to drive the singleton key.
|
|
249
|
+
const requestedPath = resolveDualScopeDbPath('project', cwd);
|
|
196
250
|
// If singleton exists but points to different path, reset it
|
|
197
251
|
if (_db && _dbPath !== requestedPath) {
|
|
198
252
|
resetDbState();
|
|
@@ -203,19 +257,26 @@ export async function getDb(cwd) {
|
|
|
203
257
|
if (_initPromise)
|
|
204
258
|
return _initPromise;
|
|
205
259
|
_initPromise = (async () => {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
//
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
//
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
260
|
+
// ── Dual-scope chokepoint delegation (T11521 · E6-L1) ─────────────────
|
|
261
|
+
// openDualScopeDb applies pragma SSoT, creates the directory, runs cleo-project
|
|
262
|
+
// migrations, and manages the singleton cache. We extract its native handle
|
|
263
|
+
// so we can re-wrap it with the legacy tasks-schema for caller compatibility.
|
|
264
|
+
const dualHandle = await openDualScopeDb('project', cwd);
|
|
265
|
+
// Extract the underlying DatabaseSync. Drizzle exposes it via `$client`.
|
|
266
|
+
const nativeDb = dualHandle.db.$client ?? null;
|
|
267
|
+
if (!nativeDb) {
|
|
268
|
+
throw new Error('E6-L1: openDualScopeDb returned a handle without $client — ' +
|
|
269
|
+
'cannot extract DatabaseSync for legacy tasks-schema wrapping.');
|
|
270
|
+
}
|
|
215
271
|
_nativeDb = nativeDb;
|
|
216
|
-
|
|
272
|
+
_dbPath = requestedPath;
|
|
273
|
+
// Wrap the native handle with the legacy tasks-schema drizzle instance.
|
|
274
|
+
// This allows all existing callers (using schema.tasks, schema.sessions, etc.)
|
|
275
|
+
// to continue querying the same DatabaseSync without change.
|
|
217
276
|
const db = _getDrizzle()({ client: nativeDb, schema });
|
|
218
|
-
// Run drizzle migrations
|
|
277
|
+
// Run legacy drizzle-tasks migrations against the shared cleo.db handle.
|
|
278
|
+
// During E3→E6 transition these create the old `tasks` table family alongside
|
|
279
|
+
// the new `tasks_tasks` tables from the consolidated schema migration.
|
|
219
280
|
runMigrations(nativeDb, db);
|
|
220
281
|
// Migration SQL contains PRAGMA foreign_keys=ON statements.
|
|
221
282
|
// In test environments, disable FKs after migration to allow test
|
|
@@ -229,51 +290,7 @@ export async function getDb(cwd) {
|
|
|
229
290
|
// Auto-recovery: detect empty database with available backups (T5188)
|
|
230
291
|
// Root cause: git-tracked WAL/SHM files get overwritten on branch switch,
|
|
231
292
|
// causing data loss when the WAL contained uncommitted writes.
|
|
232
|
-
await autoRecoverFromBackup(nativeDb,
|
|
233
|
-
// Check if tasks.db or its WAL/SHM are dangerously tracked by git (ADR-013, T5158, T5188).
|
|
234
|
-
//
|
|
235
|
-
// As of ADR-013 §9 (2026-04-07) the canonical resolution is:
|
|
236
|
-
// 1. `.cleo/tasks.db` + WAL/SHM and `.cleo/brain.db` + WAL/SHM are
|
|
237
|
-
// git-ignored at the project root and untracked via `git rm --cached`.
|
|
238
|
-
// 2. Recovery is provided by VACUUM INTO snapshots in
|
|
239
|
-
// `.cleo/backups/sqlite/` (auto-rotated, 10 per DB, refreshed on
|
|
240
|
-
// every `cleo session end` via the backup-session-end hook).
|
|
241
|
-
// 3. Full 4-file snapshots (including config.json + project-info.json)
|
|
242
|
-
// are created on demand via `cleo backup add` / listed via
|
|
243
|
-
// `cleo backup list` / restored via `cleo restore backup`.
|
|
244
|
-
//
|
|
245
|
-
// The warning below is retained as a regression guard: if someone
|
|
246
|
-
// accidentally re-stages the DB into project git, this warning fires at
|
|
247
|
-
// every process startup so they fix it before real data loss occurs.
|
|
248
|
-
if (!_gitTrackingChecked) {
|
|
249
|
-
_gitTrackingChecked = true;
|
|
250
|
-
try {
|
|
251
|
-
const { execFileSync } = await import('node:child_process');
|
|
252
|
-
const gitCwd = resolve(dbPath, '..', '..');
|
|
253
|
-
const filesToCheck = [dbPath, dbPath + '-wal', dbPath + '-shm'];
|
|
254
|
-
const log = getLogger('sqlite');
|
|
255
|
-
for (const fileToCheck of filesToCheck) {
|
|
256
|
-
try {
|
|
257
|
-
execFileSync('git', ['ls-files', '--error-unmatch', fileToCheck], {
|
|
258
|
-
cwd: gitCwd,
|
|
259
|
-
stdio: 'pipe',
|
|
260
|
-
});
|
|
261
|
-
// If we get here, the file IS tracked — that's dangerous.
|
|
262
|
-
const basename = fileToCheck.split(/[\\/]/).pop();
|
|
263
|
-
const relPath = fileToCheck.replace(gitCwd + sep, '');
|
|
264
|
-
log.warn({ path: fileToCheck }, `${basename} is tracked by project git — this risks data loss on branch switch. ` +
|
|
265
|
-
`Resolution (ADR-013 §9): \`git rm --cached ${relPath}\` and rely on ` +
|
|
266
|
-
`\`.cleo/backups/sqlite/\` snapshots + \`cleo backup add\` for recovery.`);
|
|
267
|
-
}
|
|
268
|
-
catch {
|
|
269
|
-
// Exit code 1 = not tracked = good
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
catch {
|
|
274
|
-
// git not available, skip check
|
|
275
|
-
}
|
|
276
|
-
}
|
|
293
|
+
await autoRecoverFromBackup(nativeDb, requestedPath, cwd);
|
|
277
294
|
// Set singleton only after migrations complete
|
|
278
295
|
_db = db;
|
|
279
296
|
return db;
|
|
@@ -375,8 +392,30 @@ function runMigrations(nativeDb, db) {
|
|
|
375
392
|
}
|
|
376
393
|
/**
|
|
377
394
|
* Close the database connection and release resources.
|
|
395
|
+
*
|
|
396
|
+
* ## E6-L1 (T11521)
|
|
397
|
+
*
|
|
398
|
+
* Resets the dual-scope cache via {@link _resetDualScopeDbCache} so the next
|
|
399
|
+
* `getDb()` call re-initialises cleanly rather than receiving a stale cached
|
|
400
|
+
* handle whose `DatabaseSync` is already closed (which would produce
|
|
401
|
+
* "database is not open" errors in migration-manager).
|
|
402
|
+
*
|
|
403
|
+
* Without the cache eviction, `openDualScopeDb` would return the stale entry
|
|
404
|
+
* for the same (scope, cwd) key — its `DatabaseSync` already closed by
|
|
405
|
+
* `_nativeDb.close()` below — causing downstream "database is not open" errors
|
|
406
|
+
* in `runMigrations → tableExists` for the very next `getDb()` caller.
|
|
378
407
|
*/
|
|
379
408
|
export function closeDb() {
|
|
409
|
+
// Evict the PROJECT-scope dual-scope cache entries so the next openDualScopeDb()
|
|
410
|
+
// call opens a fresh DatabaseSync. Without this, the cache would return the
|
|
411
|
+
// stale handle whose nativeDb we're about to close below.
|
|
412
|
+
//
|
|
413
|
+
// E6-L4 (T11524): scope the eviction to `'project'`. The GLOBAL `cleo.db`
|
|
414
|
+
// handle (nexus/signaldock/skills) now shares this same cache; an unscoped
|
|
415
|
+
// reset here would close the global handle out from under an in-flight nexus
|
|
416
|
+
// query (e.g. nexusSyncAll holding a handle while readProjectMeta opens + closes
|
|
417
|
+
// a project accessor). Global teardown is the job of closeAllDatabases().
|
|
418
|
+
_resetDualScopeDbCache('project');
|
|
380
419
|
if (_nativeDb) {
|
|
381
420
|
try {
|
|
382
421
|
if (_nativeDb.isOpen) {
|
|
@@ -384,7 +423,7 @@ export function closeDb() {
|
|
|
384
423
|
}
|
|
385
424
|
}
|
|
386
425
|
catch {
|
|
387
|
-
// Ignore close errors
|
|
426
|
+
// Ignore close errors — _resetDualScopeDbCache already closed it
|
|
388
427
|
}
|
|
389
428
|
_nativeDb = null;
|
|
390
429
|
}
|
|
@@ -396,8 +435,18 @@ export function closeDb() {
|
|
|
396
435
|
* Reset database singleton state without saving.
|
|
397
436
|
* Used during migrations when database file is deleted and recreated.
|
|
398
437
|
* Safe to call multiple times.
|
|
438
|
+
*
|
|
439
|
+
* ## E6-L1 (T11521)
|
|
440
|
+
*
|
|
441
|
+
* Also resets the dual-scope cache via {@link _resetDualScopeDbCache} so the
|
|
442
|
+
* next `getDb()` opens a fresh handle rather than reusing a stale one.
|
|
443
|
+
* Mirrors the cache-eviction logic in {@link closeDb}.
|
|
444
|
+
*
|
|
445
|
+
* E6-L4 (T11524): scoped to `'project'` so it does not close the shared GLOBAL
|
|
446
|
+
* `cleo.db` handle (nexus/signaldock/skills) — see {@link closeDb}.
|
|
399
447
|
*/
|
|
400
448
|
export function resetDbState() {
|
|
449
|
+
_resetDualScopeDbCache('project');
|
|
401
450
|
if (_nativeDb) {
|
|
402
451
|
try {
|
|
403
452
|
if (_nativeDb.isOpen) {
|
|
@@ -405,7 +454,7 @@ export function resetDbState() {
|
|
|
405
454
|
}
|
|
406
455
|
}
|
|
407
456
|
catch {
|
|
408
|
-
// Ignore close errors
|
|
457
|
+
// Ignore close errors — _resetDualScopeDbCache already closed it
|
|
409
458
|
}
|
|
410
459
|
_nativeDb = null;
|
|
411
460
|
}
|
|
@@ -426,9 +475,19 @@ export async function getSchemaVersion(cwd) {
|
|
|
426
475
|
}
|
|
427
476
|
/**
|
|
428
477
|
* Check if the database file exists.
|
|
478
|
+
*
|
|
479
|
+
* ## E6-L1 (T11521)
|
|
480
|
+
*
|
|
481
|
+
* After the dual-scope migration, `getDb()` opens `cleo.db` via
|
|
482
|
+
* {@link openDualScopeDb} — not the legacy `tasks.db`. This function now
|
|
483
|
+
* checks for `cleo.db` so that callers (e.g. `migration-sqlite.ts`) correctly
|
|
484
|
+
* detect the E6 database and skip re-migration.
|
|
485
|
+
*
|
|
486
|
+
* {@link getDbPath} still returns the legacy `tasks.db` path for backward-compat
|
|
487
|
+
* callers that specifically need that file (e.g. backup path construction).
|
|
429
488
|
*/
|
|
430
489
|
export function dbExists(cwd) {
|
|
431
|
-
return existsSync(
|
|
490
|
+
return existsSync(resolveDualScopeDbPath('project', cwd));
|
|
432
491
|
}
|
|
433
492
|
/**
|
|
434
493
|
* Get the underlying node:sqlite DatabaseSync instance.
|
|
@@ -440,7 +499,12 @@ export function getNativeDb() {
|
|
|
440
499
|
}
|
|
441
500
|
/**
|
|
442
501
|
* Get the underlying node:sqlite DatabaseSync instance for tasks.db.
|
|
443
|
-
*
|
|
502
|
+
*
|
|
503
|
+
* ## E6-L1 façade (T11521)
|
|
504
|
+
*
|
|
505
|
+
* Thin facade delegating to {@link getNativeDb}. After the chokepoint
|
|
506
|
+
* migration the native handle originates from {@link openDualScopeDb} —
|
|
507
|
+
* callers receive the same `DatabaseSync` from `cleo.db`.
|
|
444
508
|
*/
|
|
445
509
|
export function getNativeTasksDb() {
|
|
446
510
|
return _nativeDb;
|
package/dist/store/sqlite.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite.js","sourceRoot":"","sources":["../../src/store/sqlite.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"sqlite.js","sourceRoot":"","sources":["../../src/store/sqlite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAQjC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,4EAA4E;AAC5E,8EAA8E;AAC9E,4EAA4E;AAC5E,6EAA6E;AAC7E,OAAO,EACL,sBAAsB,EACtB,eAAe,EACf,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kCAAkC,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+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AC"}
|
|
@@ -16,6 +16,10 @@ export type { AgentErrorLogRow, AgentErrorType, AgentInstanceRow, AgentInstanceS
|
|
|
16
16
|
export { AGENT_INSTANCE_STATUSES, AGENT_TYPES, agentErrorLog, agentInstances, } from './schema/agent-schema.js';
|
|
17
17
|
export type { NewWarpChainInstanceRow, NewWarpChainRow, WarpChainInstanceRow, WarpChainRow, } from './schema/chain-schema.js';
|
|
18
18
|
export { warpChainInstances, warpChains } from './schema/chain-schema.js';
|
|
19
|
+
export type { NewTasksExternalTaskLinkRow as NewExternalTaskLinkRow, NewTasksSessionRow as NewSessionRow, NewTasksTaskAcceptanceCriteriaHistoryRow as NewTaskAcceptanceCriteriaHistoryRow, NewTasksTaskRow as NewTaskRow, TasksExternalTaskLinkRow as ExternalTaskLinkRow, TasksSessionRow as SessionRow, TasksTaskAcceptanceCriteriaHistoryRow as TaskAcceptanceCriteriaHistoryRow, TasksTaskDependencyRow as TaskDependencyRow, TasksTaskRelationRow as TaskRelationRow, TasksTaskRow as TaskRow, TasksTaskWorkHistoryRow as WorkHistoryRow, } from './schema/cleo-project/tasks-core.js';
|
|
20
|
+
export { tasksAcceptanceProjectionDirty as acceptanceProjectionDirty, tasksAcceptanceProjectionState as acceptanceProjectionState, tasksExternalTaskLinks as externalTaskLinks, tasksSessionHandoffEntries as sessionHandoffEntries, tasksSessions as sessions, tasksTaskAcceptanceCriteria as taskAcceptanceCriteria, tasksTaskAcceptanceCriteriaHistory as taskAcceptanceCriteriaHistory, tasksTaskDependencies as taskDependencies, tasksTaskRelations as taskRelations, tasksTasks as tasks, tasksTaskWorkHistory as taskWorkHistory, } from './schema/cleo-project/tasks-core.js';
|
|
21
|
+
export type { NewTasksEvidenceAcBindingRow as NewEvidenceAcBindingRow, NewTasksTaskLabelRow as NewTaskLabelRow, TasksEvidenceAcBindingRow as EvidenceAcBindingRow, TasksTaskLabelRow as TaskLabelRow, } from './schema/cleo-project/tasks-core-batch2.js';
|
|
22
|
+
export { tasksEvidenceAcBindings as evidenceAcBindings, tasksTaskLabels as taskLabels, } from './schema/cleo-project/tasks-core-batch2.js';
|
|
19
23
|
export * from './schema/index.js';
|
|
20
24
|
export { ADR_STATUSES, type AdrStatus, GATE_STATUSES, type GateStatus, isValidStatus, LIFECYCLE_PIPELINE_STATUSES, LIFECYCLE_STAGE_STATUSES, MANIFEST_STATUSES, type ManifestStatus, type PipelineStatus, SESSION_STATUSES, type SessionStatus, type StageStatus, TASK_STATUSES, type TaskStatus, } from './status-registry.js';
|
|
21
25
|
//# sourceMappingURL=tasks-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-schema.d.ts","sourceRoot":"","sources":["../../src/store/tasks-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,uBAAuB,EACvB,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,oBAAoB,EACpB,YAAY,GACb,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"tasks-schema.d.ts","sourceRoot":"","sources":["../../src/store/tasks-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,YAAY,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,uBAAuB,EACvB,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,oB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