@basou/core 0.18.0 → 0.20.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
@@ -410,6 +410,10 @@ declare const SessionImportPayloadSchema: z.ZodObject<{
410
410
  rejected_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
411
  linked_events: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<`evt_${string}`, string, z.core.$ZodTypeInternals<`evt_${string}`, string>>>>;
412
412
  linked_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
413
+ kind: z.ZodOptional<z.ZodEnum<{
414
+ decision: "decision";
415
+ track: "track";
416
+ }>>;
413
417
  }, z.core.$strip>, z.ZodObject<{
414
418
  schema_version: z.ZodLiteral<"0.1.0">;
415
419
  id: z.ZodString & z.ZodType<`evt_${string}`, string, z.core.$ZodTypeInternals<`evt_${string}`, string>>;
@@ -584,6 +588,62 @@ type ClaudeTranscriptToPayloadOptions = {
584
588
  */
585
589
  declare function claudeTranscriptToImportPayload(records: ReadonlyArray<ClaudeTranscriptRecord>, options: ClaudeTranscriptToPayloadOptions): SessionImportPayload | null;
586
590
 
591
+ /**
592
+ * Default minimum number of "action" tool uses (Bash commands + file edits) a
593
+ * session must contain before the Stop-hook nudge treats it as substantive
594
+ * enough to be worth a session-end capture. Below this the session reads as a
595
+ * trivial check / quick question and the hook stays silent rather than nagging.
596
+ */
597
+ declare const DEFAULT_STOP_HOOK_MIN_ACTIONS = 5;
598
+ type StopHookEvaluationInput = {
599
+ /**
600
+ * Parsed transcript records, one per JSONL line of the current session's
601
+ * transcript. The caller drops malformed lines; this function reads every
602
+ * field defensively, like the importer, since the format is undocumented.
603
+ */
604
+ records: ReadonlyArray<ClaudeTranscriptRecord>;
605
+ /**
606
+ * The Stop hook's `stop_hook_active` stdin flag: true when Claude is already
607
+ * continuing because of a previous Stop-hook response. When true the nudge
608
+ * stays silent so it can never form a continuation loop.
609
+ */
610
+ stopHookActive: boolean;
611
+ /** Override the substantive-work threshold (defaults to {@link DEFAULT_STOP_HOOK_MIN_ACTIONS}). */
612
+ minActions?: number;
613
+ };
614
+ /** Why the hook stayed silent (useful for tests and `--json` introspection). */
615
+ type StopHookSilentReason = "stop_hook_active" | "not_substantive" | "already_captured";
616
+ type StopHookEvaluation = {
617
+ kind: "silent";
618
+ reason: StopHookSilentReason;
619
+ commandCount: number;
620
+ fileCount: number;
621
+ } | {
622
+ kind: "nudge";
623
+ additionalContext: string;
624
+ commandCount: number;
625
+ fileCount: number;
626
+ };
627
+ /**
628
+ * Decide whether a finished turn warrants a non-blocking capture nudge.
629
+ *
630
+ * Pure: no disk or environment access. The CLI handler reads the Stop hook's
631
+ * stdin payload and the transcript file, parses the JSONL into `records`, and
632
+ * passes them here. A `nudge` result is rendered as
633
+ * `hookSpecificOutput.additionalContext` (non-blocking — Claude may act on it
634
+ * or stop); a `silent` result emits nothing.
635
+ *
636
+ * The nudge fires only when ALL hold:
637
+ * - not already continuing from a prior nudge (`stopHookActive` is false), so
638
+ * the hook never loops;
639
+ * - the session did substantive work (>= `minActions` Bash commands + edits),
640
+ * so trivial check sessions are left alone;
641
+ * - no capture verb (`basou decision capture` / `decision record` / `note`)
642
+ * was run this session, so a session that already recorded its intent is
643
+ * left alone.
644
+ */
645
+ declare function evaluateStopHook(input: StopHookEvaluationInput): StopHookEvaluation;
646
+
587
647
  /**
588
648
  * The `source` string stamped on every event derived from an OpenAI Codex
589
649
  * native rollout log, and the matching session `source.kind`.
@@ -966,6 +1026,10 @@ declare const DecisionRecordedEventSchema: z.ZodObject<{
966
1026
  rejected_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
1027
  linked_events: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<`evt_${string}`, string, z.core.$ZodTypeInternals<`evt_${string}`, string>>>>;
968
1028
  linked_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
1029
+ kind: z.ZodOptional<z.ZodEnum<{
1030
+ decision: "decision";
1031
+ track: "track";
1032
+ }>>;
969
1033
  }, z.core.$strip>;
970
1034
  declare const TaskCreatedEventSchema: z.ZodObject<{
971
1035
  schema_version: z.ZodLiteral<"0.1.0">;
@@ -1214,6 +1278,10 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1214
1278
  rejected_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
1279
  linked_events: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<`evt_${string}`, string, z.core.$ZodTypeInternals<`evt_${string}`, string>>>>;
1216
1280
  linked_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
1281
+ kind: z.ZodOptional<z.ZodEnum<{
1282
+ decision: "decision";
1283
+ track: "track";
1284
+ }>>;
1217
1285
  }, z.core.$strip>, z.ZodObject<{
1218
1286
  schema_version: z.ZodLiteral<"0.1.0">;
1219
1287
  id: z.ZodString & z.ZodType<`evt_${string}`, string, z.core.$ZodTypeInternals<`evt_${string}`, string>>;
@@ -3298,6 +3366,8 @@ type OrientationRendererResult = {
3298
3366
  /** Tasks whose status is `planned` or `in_progress`. */
3299
3367
  inFlightTaskCount: number;
3300
3368
  decisionCount: number;
3369
+ /** Open (non-voided) `kind: "track"` decisions surfaced as strategic continuation. */
3370
+ openTrackCount: number;
3301
3371
  };
3302
3372
  type DecisionRecord = {
3303
3373
  decisionId: string;
@@ -3306,6 +3376,21 @@ type DecisionRecord = {
3306
3376
  sessionId: string;
3307
3377
  host: string | null;
3308
3378
  };
3379
+ /**
3380
+ * An open (non-voided) decision recorded with `kind: "track"` — a strategic,
3381
+ * unfinished direction the forward section resurfaces every session until it is
3382
+ * closed via `decision void` / supersede. Carries the rationale (the WHY) so the
3383
+ * surfaced track answers not just "what to build next" but "and why", which is
3384
+ * exactly the intent that otherwise lives only in the conversation.
3385
+ */
3386
+ type TrackRecord = {
3387
+ decisionId: string;
3388
+ title: string;
3389
+ rationale: string | null;
3390
+ occurredAt: string;
3391
+ sessionId: string;
3392
+ host: string | null;
3393
+ };
3309
3394
  type NoteRecord = {
3310
3395
  body: string;
3311
3396
  sessionId: string;
@@ -3370,6 +3455,16 @@ type OrientationSummary = {
3370
3455
  /** Most recent `decision_recorded` across all sessions; null when none. */
3371
3456
  latestDecision: DecisionRecord | null;
3372
3457
  decisionCount: number;
3458
+ /**
3459
+ * Open (non-voided) `kind: "track"` decisions — strategic, unfinished
3460
+ * directions that the forward section ("どこへ向かう") resurfaces every session
3461
+ * until they are closed with `decision void` / supersede. Newest first. This
3462
+ * is the intent-continuity layer: distinct from the single latest decision
3463
+ * (point-in-time) and the recorded next step (`note`), an open track keeps
3464
+ * carrying "the next essential thing to build, and why" across sessions so it
3465
+ * does not sink into the flat decision list. Empty when none are open.
3466
+ */
3467
+ openTracks: TrackRecord[];
3373
3468
  /**
3374
3469
  * Most recent `note_added` over non-archived sessions — the recorded next
3375
3470
  * step / handoff ("次の起点") surfaced in the forward section; null when none.
@@ -4695,6 +4790,8 @@ type ReportDecisionItem = {
4695
4790
  occurredAt: string;
4696
4791
  /** True when a later `decision_voided` event retracted this decision. */
4697
4792
  voided?: boolean;
4793
+ /** True when the decision was recorded as a strategic track (`kind: "track"`). */
4794
+ track?: boolean;
4698
4795
  };
4699
4796
  type ReportTaskItem = {
4700
4797
  id: string;
@@ -5478,4 +5575,4 @@ declare function overwriteYamlFile(filePath: string, value: unknown): Promise<vo
5478
5575
  */
5479
5576
  declare const BASOU_CORE_VERSION = "0.1.0";
5480
5577
 
5481
- export { ACTIVE_GAP_CAP_MS, AGENT_INFRA_DIRS, type ActiveTimeBasis, type AdapterOutputEvent, type AdoptCandidate, type AdoptCandidateKind, type AppendBasouGitignoreOptions, type AppendBasouGitignoreResult, type AppendEventToExistingInput, type AppendEventToExistingResult, type Approval, type ApprovalApprovedEvent, type ApprovalExpiredEvent, ApprovalIdSchema, type ApprovalLocation, type ApprovalRejectedEvent, type ApprovalRequestedEvent, ApprovalSchema, type ApprovalStatus, ApprovalStatusSchema, type ArchivePlan, type ArchiveTaskInput, type ArchiveTaskResult, type AttachTaskInput, type AttachUpdateTaskStatusInput, type AttachableStatus, BASOU_CORE_VERSION, type BasouPaths, type BulkChainResult, CLAUDE_IMPORT_SOURCE, CODEX_IMPORT_SOURCE, type CaptureMode, type ChainBreakReason, type ChainTailState, type ChainVerdict, type ChainVerdictStatus, type ChainedEvents, ChildProcessRunner, type CitedReview, type ClaudeTranscriptRecord, type ClaudeTranscriptToPayloadOptions, type CodexRolloutRecord, type CodexRolloutToPayloadOptions, type CommandExecutedEvent, type CommandLookup, type CreateAdHocSessionInput, type CreateAdHocSessionResult, type CreateAdHocTaskInput, type CreateManifestInput, type CreateTaskInput, type CreateTaskResult, type DayWorkStats, DecisionIdSchema, type DecisionRecordedEvent, type DecisionsRendererInput, type DecisionsRendererResult, type DeleteTaskInput, type DeleteTaskResult, type DiffResult, type EditTaskInput, type EditTaskResult, type Event, EventIdSchema, EventSchema, EventSourceSchema, type ExistingViewLink, FailedToFinalizeError, type FederatedRoot, type FileChange, type FileChangeStatus, type FileChangedEvent, GENERATED_END, GENERATED_START, type GitSnapshot, type GitSnapshotEvent, type GitignorePlanSummary, type HandoffRendererInput, type HandoffRendererResult, ID_PREFIXES, type IdPrefix, type ImportSessionOptions, type ImportSessionResult, type InstructionFileFact, type InstructionSymlinkFact, type InstructionSymlinkState, IsoTimestampSchema, JSON_SCHEMA_VERSION, type JsonSchemaArtifact, type LoadFederatedOptions, type LoadSessionEntriesOptions, type LoadTaskEntriesOptions, type LoadedApproval, type LockHandle, type LockScope, type Manifest, ManifestSchema, type MarkerSection, type Markers, type MeasureAvailability, type NoteAddedEvent, type OrientationRendererInput, type OrientationRendererResult, type OrientationSummary, PROTOCOL_END, PROTOCOL_START, type PrefixedId, type PresetAction, type PresetCollision, type PresetMarkerConflict, type PresetMarkerKind, type PresetPlanSummary, type PresetRepo, type ProcessRunner, type PublishKind, type PublishTarget, type RechainOptions, type RechainResult, type ReconcileAllResult, type ReconcileAllTasksInput, type ReconcileAllTasksOptions, type ReconcileFailure, type ReconcileResult, type ReconcileTaskInput, type RefreshLinkageInput, type RefreshLinkageResult, type ReimportOptions, type ReimportResult, type RenamePlan, type ReplayOptions, type ReplayWarning, type RepoEntry, type RepoGitignoreFacts, type RepoGitignorePlan, type RepoLanguage, type RepoPresetFacts, type RepoPresetPlan, type RepoSymlinkFacts, type RepoSymlinkPlan, type RepoVisibility, type RepoWiringFacts, type ReportApprovalItem, type ReportData, type ReportDecisionItem, type ReportRendererInput, type ReportRendererResult, type ReportSessionItem, type ReportTaskItem, type ReviewGapRepoSummary, type ReviewGapUnit, type ReviewGapVerdict, type ReviewGapsInput, type ReviewGapsSummary, type RiskLevel, RiskLevelSchema, type RosterAdoptionPlan, type RosterDriftSummary, type RunOptions, type RunResult, STUCK_THRESHOLD_MS, type SanitizePathOptions, type SanitizeRelatedFilesResult, SchemaVersionSchema, type Session, type SessionEndedEvent, type SessionEntry, SessionIdSchema, type SessionImportPayload, SessionImportPayloadSchema, type SessionInnerImportInput, SessionInnerImportSchema, type SessionIntegrity, SessionIntegritySchema, type SessionMetrics, SessionMetricsSchema, SessionSchema, type SessionSkipReason, type SessionSourceKind, SessionSourceKindSchema, type SessionStartedEvent, type SessionStatus, type SessionStatusChangedEvent, SessionStatusSchema, type SessionWorkStats, type SourceRootScope, type SourceRootsReconcile, type SourceWorkStats, type StatusCount, StatusSchema, type StatusSnapshot, type SuspectReason, type SymlinkCollision, type SymlinkConflict, type SymlinkPlanSummary, type Task, type TaskArchivedEvent, type TaskCreatedEvent, type TaskDeletedEvent, type TaskDocument, TaskIdSchema, type TaskLinkageRefreshedEvent, type TaskReconciledEvent, TaskSchema, type TaskSkipReason, type TaskStatus, type TaskStatusChangedEvent, type TaskStatusCount, TaskStatusSchema, TaskWriteAfterEventError, type TaskWriteAfterEventPhase, type TokenTotals, type UpdateAdHocTaskStatusInput, type UpdateTaskStatusInput, type UpdateTaskStatusResult, type ViewCollision, type ViewConflict, type ViewLinkState, type ViewRepoFact, type ViewStrayUnknown, type WiringRisk, type WiringSummary, type WorkStatsInput, type WorkStatsResult, type WorkStatsTotals, WorkspaceIdSchema, type WorkspaceViewPlan, type WriteEventsBulkOptions, type WriteTaskFileMode, acquireLock, appendBasouGitignore, appendChainedEvent, appendChainedEventLocked, appendEvent, appendEventToExistingSession, archiveTask, assertBasouRootSafe, basouPaths, buildJsonSchemas, buildStatusSnapshot, chainEvents, chainRawJsonLines, classifyFilesBySourceRoot, classifySuspect, claudeCodeAdapterMetadata, claudeTranscriptToImportPayload, codexRolloutToImportPayload, computeWorkStats, createAdHocSessionWithEvent, createManifest, createTaskWithEvent, deleteTask, editTask, ensureBasouDirectory, enumerateApprovals, enumerateArchivedTaskIds, enumerateSessionDirs, enumerateTaskIds, finalizeSessionYaml, findErrorCode, findReviewGaps, formatDurationMs, genesisHash, getDiff, getSnapshot, importSessionFromJson, inspectChainTail, isGitNotFound, isImportDerivedSource, isLazyExpired, isRenderable, isValidPrefixedId, lineHash, linkYamlFile, loadApproval, loadFederatedSessionEntries, loadSessionEntries, loadTaskEntries, normalizeRepoKey, normalizeRepoPath, overwriteYamlFile, parseDuration, parseMarkers, pathBasename, planArchive, planGitignore, planRename, planRosterAdoption, planWorkspaceView, prefixedUlid, readAllEvents, readManifest, readMarkdownFile, readSessionYaml, readStatus, readTaskFile, readTaskFileWithArchiveFallback, readYamlFile, rechainSessionInPlace, reconcileAllTasks, reconcileSourceRoots, reconcileTask, refreshTaskLinkedSessions, reimportPreservingId, removeMarkerSection, renderDecisions, renderHandoff, renderOrientation, renderPresetBlock, renderReport, renderWithMarkers, replayEvents, resolveBasouRepositoryRoot, resolveClaudeCodeCommand, resolveRepositoryRoot, resolveSessionId, resolveTaskId, safeSimpleGit, sanitizePath, sanitizeRelatedFiles, sanitizeWorkingDirectory, serializeEventLine, serializeJsonSchema, sessionWorkStatsFromEvents, summarizeAdapterOutput, summarizeOrientation, summarizePresetPlan, summarizeRosterDrift, summarizeSymlinkPlan, summarizeWiring, tryRemoteUrl, ulid, unknownManifestKeys, updateTaskStatusWithEvent, verifyEventsChain, writeEventsBulk, writeManifest, writeMarkdownFile, writeStatus, writeTaskFile, writeYamlFile };
5578
+ export { ACTIVE_GAP_CAP_MS, AGENT_INFRA_DIRS, type ActiveTimeBasis, type AdapterOutputEvent, type AdoptCandidate, type AdoptCandidateKind, type AppendBasouGitignoreOptions, type AppendBasouGitignoreResult, type AppendEventToExistingInput, type AppendEventToExistingResult, type Approval, type ApprovalApprovedEvent, type ApprovalExpiredEvent, ApprovalIdSchema, type ApprovalLocation, type ApprovalRejectedEvent, type ApprovalRequestedEvent, ApprovalSchema, type ApprovalStatus, ApprovalStatusSchema, type ArchivePlan, type ArchiveTaskInput, type ArchiveTaskResult, type AttachTaskInput, type AttachUpdateTaskStatusInput, type AttachableStatus, BASOU_CORE_VERSION, type BasouPaths, type BulkChainResult, CLAUDE_IMPORT_SOURCE, CODEX_IMPORT_SOURCE, type CaptureMode, type ChainBreakReason, type ChainTailState, type ChainVerdict, type ChainVerdictStatus, type ChainedEvents, ChildProcessRunner, type CitedReview, type ClaudeTranscriptRecord, type ClaudeTranscriptToPayloadOptions, type CodexRolloutRecord, type CodexRolloutToPayloadOptions, type CommandExecutedEvent, type CommandLookup, type CreateAdHocSessionInput, type CreateAdHocSessionResult, type CreateAdHocTaskInput, type CreateManifestInput, type CreateTaskInput, type CreateTaskResult, DEFAULT_STOP_HOOK_MIN_ACTIONS, type DayWorkStats, DecisionIdSchema, type DecisionRecordedEvent, type DecisionsRendererInput, type DecisionsRendererResult, type DeleteTaskInput, type DeleteTaskResult, type DiffResult, type EditTaskInput, type EditTaskResult, type Event, EventIdSchema, EventSchema, EventSourceSchema, type ExistingViewLink, FailedToFinalizeError, type FederatedRoot, type FileChange, type FileChangeStatus, type FileChangedEvent, GENERATED_END, GENERATED_START, type GitSnapshot, type GitSnapshotEvent, type GitignorePlanSummary, type HandoffRendererInput, type HandoffRendererResult, ID_PREFIXES, type IdPrefix, type ImportSessionOptions, type ImportSessionResult, type InstructionFileFact, type InstructionSymlinkFact, type InstructionSymlinkState, IsoTimestampSchema, JSON_SCHEMA_VERSION, type JsonSchemaArtifact, type LoadFederatedOptions, type LoadSessionEntriesOptions, type LoadTaskEntriesOptions, type LoadedApproval, type LockHandle, type LockScope, type Manifest, ManifestSchema, type MarkerSection, type Markers, type MeasureAvailability, type NoteAddedEvent, type OrientationRendererInput, type OrientationRendererResult, type OrientationSummary, PROTOCOL_END, PROTOCOL_START, type PrefixedId, type PresetAction, type PresetCollision, type PresetMarkerConflict, type PresetMarkerKind, type PresetPlanSummary, type PresetRepo, type ProcessRunner, type PublishKind, type PublishTarget, type RechainOptions, type RechainResult, type ReconcileAllResult, type ReconcileAllTasksInput, type ReconcileAllTasksOptions, type ReconcileFailure, type ReconcileResult, type ReconcileTaskInput, type RefreshLinkageInput, type RefreshLinkageResult, type ReimportOptions, type ReimportResult, type RenamePlan, type ReplayOptions, type ReplayWarning, type RepoEntry, type RepoGitignoreFacts, type RepoGitignorePlan, type RepoLanguage, type RepoPresetFacts, type RepoPresetPlan, type RepoSymlinkFacts, type RepoSymlinkPlan, type RepoVisibility, type RepoWiringFacts, type ReportApprovalItem, type ReportData, type ReportDecisionItem, type ReportRendererInput, type ReportRendererResult, type ReportSessionItem, type ReportTaskItem, type ReviewGapRepoSummary, type ReviewGapUnit, type ReviewGapVerdict, type ReviewGapsInput, type ReviewGapsSummary, type RiskLevel, RiskLevelSchema, type RosterAdoptionPlan, type RosterDriftSummary, type RunOptions, type RunResult, STUCK_THRESHOLD_MS, type SanitizePathOptions, type SanitizeRelatedFilesResult, SchemaVersionSchema, type Session, type SessionEndedEvent, type SessionEntry, SessionIdSchema, type SessionImportPayload, SessionImportPayloadSchema, type SessionInnerImportInput, SessionInnerImportSchema, type SessionIntegrity, SessionIntegritySchema, type SessionMetrics, SessionMetricsSchema, SessionSchema, type SessionSkipReason, type SessionSourceKind, SessionSourceKindSchema, type SessionStartedEvent, type SessionStatus, type SessionStatusChangedEvent, SessionStatusSchema, type SessionWorkStats, type SourceRootScope, type SourceRootsReconcile, type SourceWorkStats, type StatusCount, StatusSchema, type StatusSnapshot, type StopHookEvaluation, type StopHookEvaluationInput, type StopHookSilentReason, type SuspectReason, type SymlinkCollision, type SymlinkConflict, type SymlinkPlanSummary, type Task, type TaskArchivedEvent, type TaskCreatedEvent, type TaskDeletedEvent, type TaskDocument, TaskIdSchema, type TaskLinkageRefreshedEvent, type TaskReconciledEvent, TaskSchema, type TaskSkipReason, type TaskStatus, type TaskStatusChangedEvent, type TaskStatusCount, TaskStatusSchema, TaskWriteAfterEventError, type TaskWriteAfterEventPhase, type TokenTotals, type UpdateAdHocTaskStatusInput, type UpdateTaskStatusInput, type UpdateTaskStatusResult, type ViewCollision, type ViewConflict, type ViewLinkState, type ViewRepoFact, type ViewStrayUnknown, type WiringRisk, type WiringSummary, type WorkStatsInput, type WorkStatsResult, type WorkStatsTotals, WorkspaceIdSchema, type WorkspaceViewPlan, type WriteEventsBulkOptions, type WriteTaskFileMode, acquireLock, appendBasouGitignore, appendChainedEvent, appendChainedEventLocked, appendEvent, appendEventToExistingSession, archiveTask, assertBasouRootSafe, basouPaths, buildJsonSchemas, buildStatusSnapshot, chainEvents, chainRawJsonLines, classifyFilesBySourceRoot, classifySuspect, claudeCodeAdapterMetadata, claudeTranscriptToImportPayload, codexRolloutToImportPayload, computeWorkStats, createAdHocSessionWithEvent, createManifest, createTaskWithEvent, deleteTask, editTask, ensureBasouDirectory, enumerateApprovals, enumerateArchivedTaskIds, enumerateSessionDirs, enumerateTaskIds, evaluateStopHook, finalizeSessionYaml, findErrorCode, findReviewGaps, formatDurationMs, genesisHash, getDiff, getSnapshot, importSessionFromJson, inspectChainTail, isGitNotFound, isImportDerivedSource, isLazyExpired, isRenderable, isValidPrefixedId, lineHash, linkYamlFile, loadApproval, loadFederatedSessionEntries, loadSessionEntries, loadTaskEntries, normalizeRepoKey, normalizeRepoPath, overwriteYamlFile, parseDuration, parseMarkers, pathBasename, planArchive, planGitignore, planRename, planRosterAdoption, planWorkspaceView, prefixedUlid, readAllEvents, readManifest, readMarkdownFile, readSessionYaml, readStatus, readTaskFile, readTaskFileWithArchiveFallback, readYamlFile, rechainSessionInPlace, reconcileAllTasks, reconcileSourceRoots, reconcileTask, refreshTaskLinkedSessions, reimportPreservingId, removeMarkerSection, renderDecisions, renderHandoff, renderOrientation, renderPresetBlock, renderReport, renderWithMarkers, replayEvents, resolveBasouRepositoryRoot, resolveClaudeCodeCommand, resolveRepositoryRoot, resolveSessionId, resolveTaskId, safeSimpleGit, sanitizePath, sanitizeRelatedFiles, sanitizeWorkingDirectory, serializeEventLine, serializeJsonSchema, sessionWorkStatsFromEvents, summarizeAdapterOutput, summarizeOrientation, summarizePresetPlan, summarizeRosterDrift, summarizeSymlinkPlan, summarizeWiring, tryRemoteUrl, ulid, unknownManifestKeys, updateTaskStatusWithEvent, verifyEventsChain, writeEventsBulk, writeManifest, writeMarkdownFile, writeStatus, writeTaskFile, writeYamlFile };