@vortex-os/base 0.12.0 → 0.13.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/dist/index.d.ts CHANGED
@@ -108,6 +108,37 @@ interface AutoRecordConfig {
108
108
  * rebuilt.
109
109
  */
110
110
  readonly archive: boolean;
111
+ /**
112
+ * Auto-commit the conversation archive. After catch-up writes new transcripts
113
+ * into `data/_session-archive/`, commit exactly that pathspec — and nothing
114
+ * else in the working tree — so archived conversations never linger as the
115
+ * "N uncommitted change(s)" noise in the next session-start report. Runs at
116
+ * session start, session end, and `vortex catch-up`; gated additionally on a
117
+ * healthy repo (no in-progress merge/rebase/lock, not a detached HEAD).
118
+ * Best-effort: any git failure is a silent skip. On by default; off → the
119
+ * archive still grows but you commit it yourself.
120
+ */
121
+ readonly archiveCommit: boolean;
122
+ /**
123
+ * Run catch-up (ingest + the auto-commit above) at session END too, not only
124
+ * at start. The ending session itself is usually still skipped (its
125
+ * transcript was just written, so the live-session guard catches it; if it
126
+ * is ingested after a long idle pause, later transcript writes advance the
127
+ * source mtime and the next catch-up re-ingests — the archive self-heals),
128
+ * but every OTHER session closed earlier lands in the archive the moment you
129
+ * wrap up, instead of waiting for the next session start. Crash-safe: if the
130
+ * end hook never fires, the next start catches up as before. On by default.
131
+ */
132
+ readonly archiveAtEnd: boolean;
133
+ /**
134
+ * Days to keep the RAW transcript copies (`_session-archive/raw/`) before the
135
+ * sweep deletes them from the local working tree. Raw files are byte-for-byte
136
+ * duplicates kept for debugging/fidelity; recall, reindex, and cross-machine
137
+ * sync all use only the NORMALIZED files (which are kept forever), so this
138
+ * deletion loses nothing. Default 30; `0` disables the sweep entirely. A
139
+ * malformed value falls back to the default.
140
+ */
141
+ readonly archiveRawRetentionDays: number;
111
142
  /**
112
143
  * Auto-vectorize: at session start (after catch-up), embed any
113
144
  * newly-archived sessions and memories so semantic recall — including the
@@ -224,9 +255,22 @@ interface EnvironmentRule {
224
255
  interface UpdatesConfig {
225
256
  readonly check: "session" | "off";
226
257
  }
258
+ /**
259
+ * Git-sync behavior. `autoPush` is the ONE exception to the "push stays
260
+ * explicit" default, and only when you opt in: after an archive auto-commit
261
+ * (session start/end, `vortex catch-up`), fast-forward-pull then `git push`.
262
+ * IMPORTANT semantics: git cannot push a single commit — a push sends EVERY
263
+ * unpushed commit on the current branch, including your own manual ones. Off
264
+ * by default; only an explicit `true` enables it (fail-closed: any other
265
+ * value, typo included, keeps push manual).
266
+ */
267
+ interface SyncConfig {
268
+ readonly autoPush: boolean;
269
+ }
227
270
  interface VortexConfig {
228
271
  readonly autoRecord: AutoRecordConfig;
229
272
  readonly updates: UpdatesConfig;
273
+ readonly sync: SyncConfig;
230
274
  readonly environments: readonly EnvironmentRule[];
231
275
  }
232
276
  /** Path of the instance config file: `<agentDir>/vortex.json`. */
@@ -2649,6 +2693,121 @@ interface RitualRegistryOptions {
2649
2693
  */
2650
2694
  declare function createRitualRegistry(options?: RitualRegistryOptions): CommandRegistry;
2651
2695
 
2696
+ /**
2697
+ * Start-of-session "catch-up": fold conversation transcripts into the local
2698
+ * search archive without the user ever having to wrap up a session.
2699
+ *
2700
+ * Two sources, one pass:
2701
+ * - **local (a)** — this machine's own transcripts that are not archived yet,
2702
+ * read from every detected agent host's transcript store (Claude Code,
2703
+ * Codex, Gemini) and scoped to the current project. Because all hosts are
2704
+ * swept on every start, a single Claude Code session-start also folds in the
2705
+ * Codex/Gemini sessions you ran in the same project, into one archive.
2706
+ * - **pulled (b)** — transcripts created on another machine that arrived as
2707
+ * normalized text via git sync. Their text is present but this machine's
2708
+ * DB (local, derived, gitignored) has never indexed them.
2709
+ *
2710
+ * Text only — vectorization is deferred to recall/rebuild so session start
2711
+ * stays fast. The whole step is gated by `autoRecord.archive` at the call site
2712
+ * and is best-effort: callers should treat a thrown archive backend (e.g. the
2713
+ * native sqlite module not built) as "skip", never as a fatal start error.
2714
+ */
2715
+ interface CatchUpResult {
2716
+ /** Local transcripts newly archived this run (source a). */
2717
+ readonly ingestedLocal: number;
2718
+ /** Normalized transcripts from another machine newly indexed (source b). */
2719
+ readonly indexedPulled: number;
2720
+ /** Per-session ingest errors (source a). */
2721
+ readonly errors: number;
2722
+ }
2723
+ interface CatchUpOptions {
2724
+ /** Restrict local ingest to one project's transcripts. Default: `ctx.repoRoot`. */
2725
+ readonly cwd?: string;
2726
+ /**
2727
+ * Transcript adapters for local ingest. Default: all CLI hosts — Claude Code,
2728
+ * Codex, and Gemini. Each adapter's `detect()` returns false when its host is
2729
+ * absent, so registering all three is ~free on a machine that only uses one.
2730
+ * (Claude Desktop is opt-in — it needs the `classic-level` dependency — so it
2731
+ * is not in the default set; a caller can add it.) Tests inject fakes (or a
2732
+ * sandbox `env.home`) so the scan never touches the real home directory.
2733
+ */
2734
+ readonly adapters?: sessionArchive.IngestParams["adapters"];
2735
+ /** Adapter environment override (e.g. a sandbox HOME). Tests use this. */
2736
+ readonly env?: sessionArchive.IngestParams["env"];
2737
+ }
2738
+ declare function catchUpSessions(ctx: ModuleContext, opts?: CatchUpOptions): Promise<CatchUpResult>;
2739
+
2740
+ /**
2741
+ * Run a git command, returning its stdout; git's own stderr is suppressed so a
2742
+ * plain non-git folder never leaks `fatal: not a git repository` into hook
2743
+ * output. Callers treat a non-zero exit (throw) as "no git" / "step skipped".
2744
+ */
2745
+ declare function gitOut(cwd: string, gitArgs: readonly string[]): string;
2746
+ /**
2747
+ * Detect an interrupted git operation — a near-certain crashed-session signal:
2748
+ * a merge / rebase / cherry-pick / revert / bisect left mid-flight, or a stray
2749
+ * index lock. Uses `git rev-parse --git-path` so the marker resolves correctly
2750
+ * even when `.git` is a FILE (a linked worktree or submodule), not a directory.
2751
+ * Returns the FIRST matching marker name, or null when the tree is clean / not
2752
+ * a git repo. Exported for tests. (Tier-1 carryover; decision-log 2026-06-04.)
2753
+ */
2754
+ declare function detectInterruptedGitOp(repoRoot: string): string | null;
2755
+ /** Why the auto-commit step did not commit (when `committed` is false). */
2756
+ type ArchiveCommitSkip = "off" | "git-busy" | "detached-head" | "nothing-to-commit" | "not-a-git-repo" | "git-error";
2757
+ /** Why the opt-in push did not push (when `pushed` is false). */
2758
+ type ArchivePushSkip = "off" | "no-commit" | "no-remote" | "no-upstream" | "diverged" | "git-error";
2759
+ interface ArchiveSyncResult {
2760
+ /** False when the run was skipped wholesale (lock held by a concurrent run). */
2761
+ readonly ran: boolean;
2762
+ readonly lockSkipped: boolean;
2763
+ /** Ingest outcome; null when the add-on is absent or the ingest failed. */
2764
+ readonly catchUp: CatchUpResult | null;
2765
+ /** Raw transcript copies deleted by the retention sweep this run. */
2766
+ readonly rawPruned: number;
2767
+ /** The retention window the sweep used (0 = sweep disabled). */
2768
+ readonly retentionDays: number;
2769
+ readonly committed: boolean;
2770
+ readonly commitSkipped?: ArchiveCommitSkip;
2771
+ readonly pushed: boolean;
2772
+ readonly pushSkipped?: ArchivePushSkip;
2773
+ }
2774
+ /** Repo-relative POSIX path of `data/_session-archive` (for pathspecs / report). */
2775
+ declare function archiveRelPath(ctx: ModuleContext): string;
2776
+ /**
2777
+ * Delete raw transcript copies older than `retentionDays` from
2778
+ * `<dataDir>/_session-archive/raw/`. Files only — directories stay, and the
2779
+ * normalized tree is never touched. Returns the number of files removed.
2780
+ * Exported for tests.
2781
+ */
2782
+ declare function sweepRawArchive(dataDir: string, retentionDays: number, nowMs?: number): number;
2783
+ /**
2784
+ * Clean up atomic-write temp files (`*.tmp-<pid>`). Two distinct sweeps:
2785
+ *
2786
+ * - **Committed subtrees (`raw/`, `normalized/`) — delete on sight, no age
2787
+ * gate.** The archive store stages its temps in `.tmp/` (outside these
2788
+ * subtrees) precisely so that NOTHING legitimate ever writes a temp here; a
2789
+ * match can only be a stray, and removing it before `git add` guarantees a
2790
+ * temp can never be committed under any crash timing.
2791
+ * - **The `.tmp/` staging dir — age-gated housekeeping.** A crash between
2792
+ * write and rename strands the temp here, which is harmless (never
2793
+ * committed); anything older than the lock TTL is clearly abandoned and is
2794
+ * removed to keep the dir from accumulating.
2795
+ *
2796
+ * Exported for tests.
2797
+ */
2798
+ declare function sweepOrphanTempFiles(dataDir: string, nowMs?: number): number;
2799
+ /**
2800
+ * Run the archive sync (ingest → sweep → commit → optional push) under the
2801
+ * repo-level lock. `phase` only affects which config gates the CALLER applies
2802
+ * (start/end honor `autoRecord.archive` / `archiveAtEnd`; "manual" = the
2803
+ * explicit `vortex catch-up`, which always ingests) — the steps themselves
2804
+ * behave identically.
2805
+ */
2806
+ declare function runArchiveSync(ctx: ModuleContext, config: VortexConfig, _phase: "start" | "end" | "manual", opts?: {
2807
+ /** Catch-up overrides — tests inject a sandbox home/fake adapters here. */
2808
+ readonly catchUp?: CatchUpOptions;
2809
+ }): Promise<ArchiveSyncResult>;
2810
+
2652
2811
  interface CliIo {
2653
2812
  /** Write a chunk to stdout. Default: `process.stdout.write`. */
2654
2813
  readonly stdout?: (s: string) => void;
@@ -2698,15 +2857,6 @@ declare function argvToSlash(argv: readonly string[]): string;
2698
2857
  * `process.exit`, so callers/tests stay in control.
2699
2858
  */
2700
2859
  declare function runVortexCli(argv: readonly string[], io?: CliIo): Promise<number>;
2701
- /**
2702
- * Detect an interrupted git operation — a near-certain crashed-session signal:
2703
- * a merge / rebase / cherry-pick / revert / bisect left mid-flight, or a stray
2704
- * index lock. Uses `git rev-parse --git-path` so the marker resolves correctly
2705
- * even when `.git` is a FILE (a linked worktree or submodule), not a directory.
2706
- * Returns the FIRST matching marker name, or null when the tree is clean / not a
2707
- * git repo. Exported for tests. (Tier-1 carryover; decision-log 2026-06-04.)
2708
- */
2709
- declare function detectInterruptedGitOp(repoRoot: string): string | null;
2710
2860
  /**
2711
2861
  * Assemble the Tier-1 carryover signal for the session-start report. The
2712
2862
  * interrupted-op check and the uncommitted count are computed INDEPENDENTLY: a
@@ -3304,6 +3454,20 @@ declare function renderSessionStartReport(report: SessionStartHookReport, extras
3304
3454
  readonly indexedPulled: number;
3305
3455
  readonly errors: number;
3306
3456
  };
3457
+ /**
3458
+ * Archive-sync outcome beyond the ingest itself: the pathspec auto-commit
3459
+ * of `data/_session-archive/` (so archived conversations never count as
3460
+ * carried-over noise), the raw-copy retention sweep, and the opt-in push.
3461
+ * `pushSkipped` is surfaced ONLY when auto-push is enabled but could not
3462
+ * push (a quiet heads-up; "off" — the default — renders nothing).
3463
+ */
3464
+ readonly archiveSync?: {
3465
+ readonly committed: boolean;
3466
+ readonly pushed: boolean;
3467
+ readonly pushSkipped?: string;
3468
+ readonly rawPruned: number;
3469
+ readonly retentionDays: number;
3470
+ };
3307
3471
  readonly vectorized?: {
3308
3472
  readonly memories: number;
3309
3473
  readonly sessionChunks: number;
@@ -3400,50 +3564,6 @@ declare function ensureWorklogEntry(ctx: ModuleContext, opts?: {
3400
3564
  readonly body?: string;
3401
3565
  }): Promise<EnsureWorklogResult>;
3402
3566
 
3403
- /**
3404
- * Start-of-session "catch-up": fold conversation transcripts into the local
3405
- * search archive without the user ever having to wrap up a session.
3406
- *
3407
- * Two sources, one pass:
3408
- * - **local (a)** — this machine's own transcripts that are not archived yet,
3409
- * read from every detected agent host's transcript store (Claude Code,
3410
- * Codex, Gemini) and scoped to the current project. Because all hosts are
3411
- * swept on every start, a single Claude Code session-start also folds in the
3412
- * Codex/Gemini sessions you ran in the same project, into one archive.
3413
- * - **pulled (b)** — transcripts created on another machine that arrived as
3414
- * normalized text via git sync. Their text is present but this machine's
3415
- * DB (local, derived, gitignored) has never indexed them.
3416
- *
3417
- * Text only — vectorization is deferred to recall/rebuild so session start
3418
- * stays fast. The whole step is gated by `autoRecord.archive` at the call site
3419
- * and is best-effort: callers should treat a thrown archive backend (e.g. the
3420
- * native sqlite module not built) as "skip", never as a fatal start error.
3421
- */
3422
- interface CatchUpResult {
3423
- /** Local transcripts newly archived this run (source a). */
3424
- readonly ingestedLocal: number;
3425
- /** Normalized transcripts from another machine newly indexed (source b). */
3426
- readonly indexedPulled: number;
3427
- /** Per-session ingest errors (source a). */
3428
- readonly errors: number;
3429
- }
3430
- interface CatchUpOptions {
3431
- /** Restrict local ingest to one project's transcripts. Default: `ctx.repoRoot`. */
3432
- readonly cwd?: string;
3433
- /**
3434
- * Transcript adapters for local ingest. Default: all CLI hosts — Claude Code,
3435
- * Codex, and Gemini. Each adapter's `detect()` returns false when its host is
3436
- * absent, so registering all three is ~free on a machine that only uses one.
3437
- * (Claude Desktop is opt-in — it needs the `classic-level` dependency — so it
3438
- * is not in the default set; a caller can add it.) Tests inject fakes (or a
3439
- * sandbox `env.home`) so the scan never touches the real home directory.
3440
- */
3441
- readonly adapters?: sessionArchive.IngestParams["adapters"];
3442
- /** Adapter environment override (e.g. a sandbox HOME). Tests use this. */
3443
- readonly env?: sessionArchive.IngestParams["env"];
3444
- }
3445
- declare function catchUpSessions(ctx: ModuleContext, opts?: CatchUpOptions): Promise<CatchUpResult>;
3446
-
3447
3567
  /**
3448
3568
  * `vortex statusline` — a Claude Code statusLine renderer.
3449
3569
  *
@@ -3481,7 +3601,12 @@ interface StatuslineData {
3481
3601
  /** Reasoning effort level as reported (`effort.level`), or null. */
3482
3602
  readonly effortLevel: string | null;
3483
3603
  readonly transcriptPath: string | null;
3484
- /** Project directory (workspace.current_dir, falling back to cwd). */
3604
+ /**
3605
+ * Project ROOT directory. `workspace.project_dir` first — `current_dir` and
3606
+ * `cwd` FOLLOW the session shell as it `cd`s (measured), which made the bar
3607
+ * show a sibling repo and lose the VortEX line mid-session. The bar's
3608
+ * identity (project name, git, instance line) stays pinned to the project.
3609
+ */
3485
3610
  readonly dir: string | null;
3486
3611
  readonly contextWindowSize: number;
3487
3612
  /** Context used, percent — kept as reported (may be fractional). */
@@ -4379,6 +4504,9 @@ declare function checkBaseUpdate(ctx: ModuleContext): UpdateCheckResult;
4379
4504
 
4380
4505
  type index_d_AgendaReport = AgendaReport;
4381
4506
  type index_d_AmbientRecallFactoryOptions = AmbientRecallFactoryOptions;
4507
+ type index_d_ArchiveCommitSkip = ArchiveCommitSkip;
4508
+ type index_d_ArchivePushSkip = ArchivePushSkip;
4509
+ type index_d_ArchiveSyncResult = ArchiveSyncResult;
4382
4510
  type index_d_CatchUpOptions = CatchUpOptions;
4383
4511
  type index_d_CatchUpResult = CatchUpResult;
4384
4512
  type index_d_ClaudeSettings = ClaudeSettings;
@@ -4450,6 +4578,7 @@ type index_d_WorklogAppendResult = WorklogAppendResult;
4450
4578
  declare const index_d_agendaCommand: typeof agendaCommand;
4451
4579
  declare const index_d_aggregateHandoff: typeof aggregateHandoff;
4452
4580
  declare const index_d_applyGlobalSetup: typeof applyGlobalSetup;
4581
+ declare const index_d_archiveRelPath: typeof archiveRelPath;
4453
4582
  declare const index_d_argvToSlash: typeof argvToSlash;
4454
4583
  declare const index_d_autoReindexMemory: typeof autoReindexMemory;
4455
4584
  declare const index_d_buildDenyDecision: typeof buildDenyDecision;
@@ -4483,6 +4612,7 @@ declare const index_d_findControlChar: typeof findControlChar;
4483
4612
  declare const index_d_formatTokens: typeof formatTokens;
4484
4613
  declare const index_d_formatWindow: typeof formatWindow;
4485
4614
  declare const index_d_gapWindowSinceArg: typeof gapWindowSinceArg;
4615
+ declare const index_d_gitOut: typeof gitOut;
4486
4616
  declare const index_d_globalMemoryPath: typeof globalMemoryPath;
4487
4617
  declare const index_d_globalSettingsHasHook: typeof globalSettingsHasHook;
4488
4618
  declare const index_d_globalSettingsPath: typeof globalSettingsPath;
@@ -4518,6 +4648,7 @@ declare const index_d_renderStatusline: typeof renderStatusline;
4518
4648
  declare const index_d_repairOwnershipManifest: typeof repairOwnershipManifest;
4519
4649
  declare const index_d_resolveInstanceRoot: typeof resolveInstanceRoot;
4520
4650
  declare const index_d_resolveRepoRoot: typeof resolveRepoRoot;
4651
+ declare const index_d_runArchiveSync: typeof runArchiveSync;
4521
4652
  declare const index_d_runCurateAccept: typeof runCurateAccept;
4522
4653
  declare const index_d_runCurateCandidates: typeof runCurateCandidates;
4523
4654
  declare const index_d_runCurateDecline: typeof runCurateDecline;
@@ -4535,13 +4666,15 @@ declare const index_d_serializeSettings: typeof serializeSettings;
4535
4666
  declare const index_d_sessionStartCommand: typeof sessionStartCommand;
4536
4667
  declare const index_d_sniffEffortFromTranscript: typeof sniffEffortFromTranscript;
4537
4668
  declare const index_d_statuslineCommand: typeof statuslineCommand;
4669
+ declare const index_d_sweepOrphanTempFiles: typeof sweepOrphanTempFiles;
4670
+ declare const index_d_sweepRawArchive: typeof sweepRawArchive;
4538
4671
  declare const index_d_templateDestRelPath: typeof templateDestRelPath;
4539
4672
  declare const index_d_upsertGlobalBlock: typeof upsertGlobalBlock;
4540
4673
  declare const index_d_validateCuratePayload: typeof validateCuratePayload;
4541
4674
  declare const index_d_vortexCommand: typeof vortexCommand;
4542
4675
  declare const index_d_writeOwnershipManifest: typeof writeOwnershipManifest;
4543
4676
  declare namespace index_d {
4544
- export { type index_d_AgendaReport as AgendaReport, type index_d_AmbientRecallFactoryOptions as AmbientRecallFactoryOptions, type index_d_CatchUpOptions as CatchUpOptions, type index_d_CatchUpResult as CatchUpResult, type index_d_ClaudeSettings as ClaudeSettings, type index_d_CliIo as CliIo, type index_d_CollectAgendaOptions as CollectAgendaOptions, type index_d_CurateAcceptResult as CurateAcceptResult, type index_d_CurateActionKind as CurateActionKind, type index_d_CurateAnyProposal as CurateAnyProposal, type index_d_CurateCandidate as CurateCandidate, type index_d_CurateCandidatesResult as CurateCandidatesResult, type index_d_CurateDeclineResult as CurateDeclineResult, type index_d_CurateOptions as CurateOptions, type index_d_CuratePayload as CuratePayload, type index_d_CuratePayloadValidation as CuratePayloadValidation, type index_d_CuratePreviewResult as CuratePreviewResult, type index_d_CurateResult as CurateResult, index_d_DEFAULT_GAP_WINDOW_DAYS as DEFAULT_GAP_WINDOW_DAYS, type index_d_EnsureHooksResult as EnsureHooksResult, type index_d_EnsureWorklogResult as EnsureWorklogResult, index_d_FAILURES_DIR as FAILURES_DIR, type index_d_FailureEntry as FailureEntry, type index_d_FailureGroup as FailureGroup, type index_d_FailureReportSlice as FailureReportSlice, type index_d_FailureScan as FailureScan, index_d_GUARD_DENIAL_KEY as GUARD_DENIAL_KEY, index_d_GUARD_WRITE_COMMAND as GUARD_WRITE_COMMAND, index_d_GUARD_WRITE_MATCHER as GUARD_WRITE_MATCHER, type index_d_GitPullResult as GitPullResult, type index_d_GuardFinding as GuardFinding, index_d_HANDOFF_ARCHIVE_DIR as HANDOFF_ARCHIVE_DIR, index_d_HANDOFF_DIR as HANDOFF_DIR, type index_d_HandoffCreateResult as HandoffCreateResult, type index_d_HandoffSummary as HandoffSummary, type index_d_HandoffWriteResult as HandoffWriteResult, type index_d_LadderStage as LadderStage, type index_d_NewDecisionResult as NewDecisionResult, index_d_OWNERSHIP_SCHEMA as OWNERSHIP_SCHEMA, type index_d_OpenDecision as OpenDecision, type index_d_OpenTask as OpenTask, type index_d_OwnershipDiagnosis as OwnershipDiagnosis, type index_d_OwnershipEntry as OwnershipEntry, type index_d_OwnershipManifest as OwnershipManifest, type index_d_RecallOptions as RecallOptions, type index_d_RecentWorklog as RecentWorklog, type index_d_RecordFailureInput as RecordFailureInput, type index_d_RecordFailureResult as RecordFailureResult, type index_d_ReindexResult as ReindexResult, type index_d_RitualRegistryOptions as RitualRegistryOptions, index_d_SESSION_END_COMMAND as SESSION_END_COMMAND, index_d_SESSION_START_COMMAND as SESSION_START_COMMAND, type index_d_SessionStartHookReport as SessionStartHookReport, type index_d_SessionStartReport as SessionStartReport, type index_d_StatuslineData as StatuslineData, type index_d_StatuslineInstallResult as StatuslineInstallResult, type index_d_StatuslineProbes as StatuslineProbes, type index_d_UpdateCheckResult as UpdateCheckResult, type index_d_UpdateFileAction as UpdateFileAction, type index_d_UpdateFileActionKind as UpdateFileActionKind, type index_d_VortexHelpResult as VortexHelpResult, type index_d_VortexInitResult as VortexInitResult, type index_d_VortexPlannedResult as VortexPlannedResult, type index_d_VortexResult as VortexResult, type index_d_VortexSyncResult as VortexSyncResult, type index_d_VortexSyncStep as VortexSyncStep, type index_d_VortexSyncStepId as VortexSyncStepId, type index_d_VortexSyncStepStatus as VortexSyncStepStatus, type index_d_VortexUpdateResult as VortexUpdateResult, type index_d_WorklogAppendResult as WorklogAppendResult, index_d_agendaCommand as agendaCommand, index_d_aggregateHandoff as aggregateHandoff, index_d_applyGlobalSetup as applyGlobalSetup, index_d_argvToSlash as argvToSlash, index_d_autoReindexMemory as autoReindexMemory, index_d_buildDenyDecision as buildDenyDecision, index_d_buildInstallCommand as buildInstallCommand, index_d_buildOwnershipManifest as buildOwnershipManifest, index_d_buildRegistry as buildRegistry, index_d_catchUpSessions as catchUpSessions, index_d_checkBaseUpdate as checkBaseUpdate, index_d_collectAgenda as collectAgenda, index_d_collectCarryover as collectCarryover, index_d_collectSessionStartReport as collectSessionStartReport, index_d_collectStatuslineProbes as collectStatuslineProbes, index_d_compareSemver as compareSemver, index_d_computeCurateFingerprint as computeCurateFingerprint, index_d_countUncommitted as countUncommitted, index_d_createAmbientRecaller as createAmbientRecaller, index_d_createHandoffSkeleton as createHandoffSkeleton, index_d_createRitualRegistry as createRitualRegistry, index_d_curateCommand as curateCommand, index_d_decisionCommand as decisionCommand, index_d_detectInterruptedGitOp as detectInterruptedGitOp, index_d_detectWorklogGaps as detectWorklogGaps, index_d_effortMeter as effortMeter, index_d_ensureStatusline as ensureStatusline, index_d_ensureVortexHooks as ensureVortexHooks, index_d_ensureWorklogEntry as ensureWorklogEntry, index_d_extractNextUp as extractNextUp, index_d_extractOpenTasks as extractOpenTasks, index_d_failureReportSlice as failureReportSlice, index_d_findControlChar as findControlChar, index_d_formatTokens as formatTokens, index_d_formatWindow as formatWindow, index_d_gapWindowSinceArg as gapWindowSinceArg, index_d_globalMemoryPath as globalMemoryPath, index_d_globalSettingsHasHook as globalSettingsHasHook, index_d_globalSettingsPath as globalSettingsPath, index_d_globalStatePath as globalStatePath, index_d_guardWriteDecision as guardWriteDecision, index_d_handoffCommand as handoffCommand, index_d_inspectGlobalSetup as inspectGlobalSetup, index_d_inspectOwnership as inspectOwnership, index_d_isInstanceRoot as isInstanceRoot, index_d_isNewer as isNewer, index_d_isStableUpdate as isStableUpdate, index_d_isValidFailureKey as isValidFailureKey, index_d_ladderStage as ladderStage, index_d_logCommand as logCommand, index_d_makeBar as makeBar, index_d_ownershipManifestPath as ownershipManifestPath, index_d_parseAdoptArgs as parseAdoptArgs, index_d_parseSettings as parseSettings, index_d_parseStatuslineInput as parseStatuslineInput, index_d_pruneHandoffs as pruneHandoffs, index_d_queryNpmLatest as queryNpmLatest, index_d_readGlobalInstancePointer as readGlobalInstancePointer, index_d_readInstalledBaseVersion as readInstalledBaseVersion, index_d_recallCommand as recallCommand, index_d_recordFailure as recordFailure, index_d_recordGlobalSetupDecline as recordGlobalSetupDecline, index_d_recordGuardDenial as recordGuardDenial, index_d_reindexCommand as reindexCommand, index_d_renderAgenda as renderAgenda, index_d_renderGlobalBlock as renderGlobalBlock, index_d_renderSessionStartReport as renderSessionStartReport, index_d_renderStatusline as renderStatusline, index_d_repairOwnershipManifest as repairOwnershipManifest, index_d_resolveInstanceRoot as resolveInstanceRoot, index_d_resolveRepoRoot as resolveRepoRoot, index_d_runCurateAccept as runCurateAccept, index_d_runCurateCandidates as runCurateCandidates, index_d_runCurateDecline as runCurateDecline, index_d_runCuratePreview as runCuratePreview, index_d_runFailureCli as runFailureCli, index_d_runGuardCli as runGuardCli, index_d_runStatuslineCli as runStatuslineCli, index_d_runTemplatesUpdate as runTemplatesUpdate, index_d_runVortexCli as runVortexCli, index_d_safeSegment as safeSegment, index_d_scanFailures as scanFailures, index_d_scanHandoffs as scanHandoffs, index_d_scanToolInput as scanToolInput, index_d_serializeSettings as serializeSettings, index_d_sessionStartCommand as sessionStartCommand, index_d_sniffEffortFromTranscript as sniffEffortFromTranscript, index_d_statuslineCommand as statuslineCommand, index_d_templateDestRelPath as templateDestRelPath, index_d_upsertGlobalBlock as upsertGlobalBlock, index_d_validateCuratePayload as validateCuratePayload, index_d_vortexCommand as vortexCommand, index_d_writeOwnershipManifest as writeOwnershipManifest };
4677
+ export { type index_d_AgendaReport as AgendaReport, type index_d_AmbientRecallFactoryOptions as AmbientRecallFactoryOptions, type index_d_ArchiveCommitSkip as ArchiveCommitSkip, type index_d_ArchivePushSkip as ArchivePushSkip, type index_d_ArchiveSyncResult as ArchiveSyncResult, type index_d_CatchUpOptions as CatchUpOptions, type index_d_CatchUpResult as CatchUpResult, type index_d_ClaudeSettings as ClaudeSettings, type index_d_CliIo as CliIo, type index_d_CollectAgendaOptions as CollectAgendaOptions, type index_d_CurateAcceptResult as CurateAcceptResult, type index_d_CurateActionKind as CurateActionKind, type index_d_CurateAnyProposal as CurateAnyProposal, type index_d_CurateCandidate as CurateCandidate, type index_d_CurateCandidatesResult as CurateCandidatesResult, type index_d_CurateDeclineResult as CurateDeclineResult, type index_d_CurateOptions as CurateOptions, type index_d_CuratePayload as CuratePayload, type index_d_CuratePayloadValidation as CuratePayloadValidation, type index_d_CuratePreviewResult as CuratePreviewResult, type index_d_CurateResult as CurateResult, index_d_DEFAULT_GAP_WINDOW_DAYS as DEFAULT_GAP_WINDOW_DAYS, type index_d_EnsureHooksResult as EnsureHooksResult, type index_d_EnsureWorklogResult as EnsureWorklogResult, index_d_FAILURES_DIR as FAILURES_DIR, type index_d_FailureEntry as FailureEntry, type index_d_FailureGroup as FailureGroup, type index_d_FailureReportSlice as FailureReportSlice, type index_d_FailureScan as FailureScan, index_d_GUARD_DENIAL_KEY as GUARD_DENIAL_KEY, index_d_GUARD_WRITE_COMMAND as GUARD_WRITE_COMMAND, index_d_GUARD_WRITE_MATCHER as GUARD_WRITE_MATCHER, type index_d_GitPullResult as GitPullResult, type index_d_GuardFinding as GuardFinding, index_d_HANDOFF_ARCHIVE_DIR as HANDOFF_ARCHIVE_DIR, index_d_HANDOFF_DIR as HANDOFF_DIR, type index_d_HandoffCreateResult as HandoffCreateResult, type index_d_HandoffSummary as HandoffSummary, type index_d_HandoffWriteResult as HandoffWriteResult, type index_d_LadderStage as LadderStage, type index_d_NewDecisionResult as NewDecisionResult, index_d_OWNERSHIP_SCHEMA as OWNERSHIP_SCHEMA, type index_d_OpenDecision as OpenDecision, type index_d_OpenTask as OpenTask, type index_d_OwnershipDiagnosis as OwnershipDiagnosis, type index_d_OwnershipEntry as OwnershipEntry, type index_d_OwnershipManifest as OwnershipManifest, type index_d_RecallOptions as RecallOptions, type index_d_RecentWorklog as RecentWorklog, type index_d_RecordFailureInput as RecordFailureInput, type index_d_RecordFailureResult as RecordFailureResult, type index_d_ReindexResult as ReindexResult, type index_d_RitualRegistryOptions as RitualRegistryOptions, index_d_SESSION_END_COMMAND as SESSION_END_COMMAND, index_d_SESSION_START_COMMAND as SESSION_START_COMMAND, type index_d_SessionStartHookReport as SessionStartHookReport, type index_d_SessionStartReport as SessionStartReport, type index_d_StatuslineData as StatuslineData, type index_d_StatuslineInstallResult as StatuslineInstallResult, type index_d_StatuslineProbes as StatuslineProbes, type index_d_UpdateCheckResult as UpdateCheckResult, type index_d_UpdateFileAction as UpdateFileAction, type index_d_UpdateFileActionKind as UpdateFileActionKind, type index_d_VortexHelpResult as VortexHelpResult, type index_d_VortexInitResult as VortexInitResult, type index_d_VortexPlannedResult as VortexPlannedResult, type index_d_VortexResult as VortexResult, type index_d_VortexSyncResult as VortexSyncResult, type index_d_VortexSyncStep as VortexSyncStep, type index_d_VortexSyncStepId as VortexSyncStepId, type index_d_VortexSyncStepStatus as VortexSyncStepStatus, type index_d_VortexUpdateResult as VortexUpdateResult, type index_d_WorklogAppendResult as WorklogAppendResult, index_d_agendaCommand as agendaCommand, index_d_aggregateHandoff as aggregateHandoff, index_d_applyGlobalSetup as applyGlobalSetup, index_d_archiveRelPath as archiveRelPath, index_d_argvToSlash as argvToSlash, index_d_autoReindexMemory as autoReindexMemory, index_d_buildDenyDecision as buildDenyDecision, index_d_buildInstallCommand as buildInstallCommand, index_d_buildOwnershipManifest as buildOwnershipManifest, index_d_buildRegistry as buildRegistry, index_d_catchUpSessions as catchUpSessions, index_d_checkBaseUpdate as checkBaseUpdate, index_d_collectAgenda as collectAgenda, index_d_collectCarryover as collectCarryover, index_d_collectSessionStartReport as collectSessionStartReport, index_d_collectStatuslineProbes as collectStatuslineProbes, index_d_compareSemver as compareSemver, index_d_computeCurateFingerprint as computeCurateFingerprint, index_d_countUncommitted as countUncommitted, index_d_createAmbientRecaller as createAmbientRecaller, index_d_createHandoffSkeleton as createHandoffSkeleton, index_d_createRitualRegistry as createRitualRegistry, index_d_curateCommand as curateCommand, index_d_decisionCommand as decisionCommand, index_d_detectInterruptedGitOp as detectInterruptedGitOp, index_d_detectWorklogGaps as detectWorklogGaps, index_d_effortMeter as effortMeter, index_d_ensureStatusline as ensureStatusline, index_d_ensureVortexHooks as ensureVortexHooks, index_d_ensureWorklogEntry as ensureWorklogEntry, index_d_extractNextUp as extractNextUp, index_d_extractOpenTasks as extractOpenTasks, index_d_failureReportSlice as failureReportSlice, index_d_findControlChar as findControlChar, index_d_formatTokens as formatTokens, index_d_formatWindow as formatWindow, index_d_gapWindowSinceArg as gapWindowSinceArg, index_d_gitOut as gitOut, index_d_globalMemoryPath as globalMemoryPath, index_d_globalSettingsHasHook as globalSettingsHasHook, index_d_globalSettingsPath as globalSettingsPath, index_d_globalStatePath as globalStatePath, index_d_guardWriteDecision as guardWriteDecision, index_d_handoffCommand as handoffCommand, index_d_inspectGlobalSetup as inspectGlobalSetup, index_d_inspectOwnership as inspectOwnership, index_d_isInstanceRoot as isInstanceRoot, index_d_isNewer as isNewer, index_d_isStableUpdate as isStableUpdate, index_d_isValidFailureKey as isValidFailureKey, index_d_ladderStage as ladderStage, index_d_logCommand as logCommand, index_d_makeBar as makeBar, index_d_ownershipManifestPath as ownershipManifestPath, index_d_parseAdoptArgs as parseAdoptArgs, index_d_parseSettings as parseSettings, index_d_parseStatuslineInput as parseStatuslineInput, index_d_pruneHandoffs as pruneHandoffs, index_d_queryNpmLatest as queryNpmLatest, index_d_readGlobalInstancePointer as readGlobalInstancePointer, index_d_readInstalledBaseVersion as readInstalledBaseVersion, index_d_recallCommand as recallCommand, index_d_recordFailure as recordFailure, index_d_recordGlobalSetupDecline as recordGlobalSetupDecline, index_d_recordGuardDenial as recordGuardDenial, index_d_reindexCommand as reindexCommand, index_d_renderAgenda as renderAgenda, index_d_renderGlobalBlock as renderGlobalBlock, index_d_renderSessionStartReport as renderSessionStartReport, index_d_renderStatusline as renderStatusline, index_d_repairOwnershipManifest as repairOwnershipManifest, index_d_resolveInstanceRoot as resolveInstanceRoot, index_d_resolveRepoRoot as resolveRepoRoot, index_d_runArchiveSync as runArchiveSync, index_d_runCurateAccept as runCurateAccept, index_d_runCurateCandidates as runCurateCandidates, index_d_runCurateDecline as runCurateDecline, index_d_runCuratePreview as runCuratePreview, index_d_runFailureCli as runFailureCli, index_d_runGuardCli as runGuardCli, index_d_runStatuslineCli as runStatuslineCli, index_d_runTemplatesUpdate as runTemplatesUpdate, index_d_runVortexCli as runVortexCli, index_d_safeSegment as safeSegment, index_d_scanFailures as scanFailures, index_d_scanHandoffs as scanHandoffs, index_d_scanToolInput as scanToolInput, index_d_serializeSettings as serializeSettings, index_d_sessionStartCommand as sessionStartCommand, index_d_sniffEffortFromTranscript as sniffEffortFromTranscript, index_d_statuslineCommand as statuslineCommand, index_d_sweepOrphanTempFiles as sweepOrphanTempFiles, index_d_sweepRawArchive as sweepRawArchive, index_d_templateDestRelPath as templateDestRelPath, index_d_upsertGlobalBlock as upsertGlobalBlock, index_d_validateCuratePayload as validateCuratePayload, index_d_vortexCommand as vortexCommand, index_d_writeOwnershipManifest as writeOwnershipManifest };
4545
4678
  }
4546
4679
 
4547
4680
  export { index_d$9 as aiCodingPitfalls, index_d$d as core, index_d$a as dataLint, index_d$5 as decisionLog, index_d$4 as indexGenerator, index_d$2 as linkRewriter, index_d$b as memorySystem, index_d$1 as proactiveCurator, index_d$7 as reportGenerator, index_d$3 as runbooks, index_d as sessionRituals, index_d$c as slashCommands, index_d$8 as toolRules, index_d$6 as worklog };