snipara-companion 3.9.0 → 4.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  Release notes for `snipara-companion`, newest first.
4
4
 
5
+ ## 4.0.0 — prepared candidate (unpublished)
6
+
7
+ - Breaking CLI JSON contract: `workflow resume --json` returns a versioned compact overview by default. Existing full-payload consumers must add `--detail`; HTTP What Changed stays full by default. This migration requires a major Companion release.
8
+
9
+ - Add explicit current/history/as-of recall controls; refuse silent current-view fallback when an older hosted server does not confirm historical intent. Retention and source access remain current constraints.
10
+ - Make missing or capped local/hybrid impact applicability explicitly unknown; prioritize requested files and exclude nested repositories. Verification and judgment consumers require inspection for incomplete or unrecognized applicability instead of displaying ready; workflow closeout retains that requirement.
11
+ - Preserve bounded dirty-repository observations and explain checkpoint failures; preview repairs and link explicit refreshes without refreshing proof or budgets.
12
+ - Refuse final completion while any managed task or phase remains unresolved.
13
+ - Provide compact resume output with an explicit detailed view, and read-only task intent guidance without mandatory hosted calls for a small local edit.
14
+ - Distinguish discovered tools from qualified execution and preserve bounded Sandbox diagnostic causes/deadlines.
15
+ - Keep editable saved evidence, observed execution and current proof eligibility distinct. Publication and activation require separate release authorization.
16
+
17
+ ## 3.10.0
18
+
19
+ - Add opt-in `agent-context memory-pilot` for automatic exact-source observation
20
+ validation/invalidation and fresh code/review/resume receipts. Recoverable
21
+ evidence failures stay candidates; semantic judgments escalate only when the
22
+ deterministic verifier cannot decide safely. No hosted memory policy changes.
23
+
5
24
  ## 3.9.0
6
25
 
7
26
  - Project routine task supervision into public task cards, identifying the agent or human responsible for the next bounded action. Keep proof, execution and integration authority explicit.
package/dist/index.d.ts CHANGED
@@ -410,6 +410,11 @@ interface RecallResult {
410
410
  total_searched: number;
411
411
  query: string;
412
412
  timing_ms: number;
413
+ temporal_context?: {
414
+ contract: string;
415
+ view: "current" | "history";
416
+ as_of: string | null;
417
+ };
413
418
  }
414
419
  interface SessionMemoryEntry extends Record<string, unknown> {
415
420
  id?: string;
@@ -1188,6 +1193,8 @@ declare class RLMClient {
1188
1193
  minRelevance?: number;
1189
1194
  includeInactive?: boolean;
1190
1195
  warningThreshold?: number;
1196
+ memoryView?: "current" | "history";
1197
+ asOf?: string;
1191
1198
  }): Promise<RecallResult>;
1192
1199
  rememberMemory(args: {
1193
1200
  text: string;
@@ -1410,6 +1417,8 @@ interface LocalCodeOverlayOptions {
1410
1417
  commit?: string;
1411
1418
  maxFiles?: number;
1412
1419
  maxFileBytes?: number;
1420
+ /** Query targets are indexed before unrelated files within the same bounded root. */
1421
+ priorityFiles?: string[];
1413
1422
  }
1414
1423
  interface LocalCodeOverlayFile {
1415
1424
  path: string;
@@ -1885,6 +1894,8 @@ interface VerificationGap {
1885
1894
  code: string;
1886
1895
  severity: "low" | "medium" | "high";
1887
1896
  message: string;
1897
+ reasons?: string[];
1898
+ missingTargetFiles?: string[];
1888
1899
  }
1889
1900
  interface VerificationRisk {
1890
1901
  level: string;
@@ -1940,7 +1951,7 @@ interface BuildVerificationPlanOptions extends VerifyCommandOptions {
1940
1951
  declare function buildVerificationPlan(options: BuildVerificationPlanOptions): VerificationPlan;
1941
1952
  declare function verifyCommand(options: VerifyCommandOptions): Promise<void>;
1942
1953
 
1943
- type Data$2 = Record<string, unknown>;
1954
+ type Data$3 = Record<string, unknown>;
1944
1955
  interface WorkflowContinuityRef {
1945
1956
  version: "snipara.workflow.continuity-ref.v1";
1946
1957
  packId: string;
@@ -2031,24 +2042,38 @@ interface WorkflowContinuityCheckpoint {
2031
2042
  taskChanges: string[];
2032
2043
  preexistingChanges: string[];
2033
2044
  phases: unknown[];
2034
- attempts: Data$2[];
2045
+ attempts: Data$3[];
2035
2046
  historyCompleteness: "complete" | "incomplete";
2036
- decisions: Data$2[];
2047
+ decisions: Data$3[];
2037
2048
  artifacts: WorkflowContinuityArtifact[];
2038
- evidence: Data$2[];
2049
+ evidence: Data$3[];
2039
2050
  decisionSourcesHash: string;
2040
2051
  sourceObservation?: {
2041
2052
  exhaustive: false;
2042
- scopes: Data$2[];
2053
+ scopes: Data$3[];
2043
2054
  };
2044
- remaining: Data$2[];
2045
- missingChecks: Data$2[];
2055
+ remaining: Data$3[];
2056
+ missingChecks: Data$3[];
2046
2057
  blockers: string[];
2047
2058
  unverified: string[];
2048
2059
  budget: unknown;
2049
2060
  nextAction: WorkflowContinuityNextAction;
2050
2061
  runtime: unknown;
2051
2062
  runtimeBoundary: string[];
2063
+ repair?: {
2064
+ predecessor: WorkflowContinuityRef;
2065
+ reason: string;
2066
+ previousStatus: WorkflowContinuityResume["status"];
2067
+ carriedForward: string[];
2068
+ proofRefreshed: false;
2069
+ };
2070
+ }
2071
+ interface WorkflowContinuityDiagnostic {
2072
+ code: string;
2073
+ path?: string;
2074
+ message: string;
2075
+ action: string;
2076
+ required: boolean;
2052
2077
  }
2053
2078
  interface WorkflowContinuityResume {
2054
2079
  version: "snipara.workflow.continuity-resume.v1";
@@ -2061,9 +2086,11 @@ interface WorkflowContinuityResume {
2061
2086
  artifactChecks: Array<{
2062
2087
  path: string;
2063
2088
  status: string;
2089
+ code?: string;
2064
2090
  reason?: string;
2065
2091
  }>;
2066
- currentDecisions: Data$2[];
2092
+ diagnostics: WorkflowContinuityDiagnostic[];
2093
+ currentDecisions: Data$3[];
2067
2094
  nextAction: WorkflowContinuityNextAction;
2068
2095
  coordination: {
2069
2096
  historical: true;
@@ -2081,9 +2108,23 @@ declare function resumeWorkflowContinuity(input: {
2081
2108
  cwd?: string;
2082
2109
  state: WorkflowContinuityState;
2083
2110
  }): WorkflowContinuityResume;
2111
+ /** Preview is read-only. Refresh creates a linked observation, never replacement proof or execution. */
2112
+ declare function previewWorkflowContinuityRepair(input: {
2113
+ cwd?: string;
2114
+ state: WorkflowContinuityState;
2115
+ }): {
2116
+ allowed: boolean;
2117
+ continuity: WorkflowContinuityResume;
2118
+ reasons: string[];
2119
+ };
2120
+ declare function refreshWorkflowContinuity(input: {
2121
+ cwd?: string;
2122
+ state: WorkflowContinuityState;
2123
+ reason: string;
2124
+ }): WorkflowContinuityRef;
2084
2125
  declare function formatWorkflowContinuity(report: WorkflowContinuityResume): string;
2085
2126
 
2086
- type Data$1 = Record<string, unknown>;
2127
+ type Data$2 = Record<string, unknown>;
2087
2128
  type RetrievalAction = "decompose" | "context_query" | "multi_query";
2088
2129
  interface WorkflowTaskContextRequest {
2089
2130
  chunkIds?: string[];
@@ -2093,7 +2134,7 @@ interface WorkflowTaskContextRequest {
2093
2134
  timeoutMs?: number;
2094
2135
  operation?: {
2095
2136
  action: RetrievalAction;
2096
- params: Data$1;
2137
+ params: Data$2;
2097
2138
  bindings: Record<string, string>;
2098
2139
  };
2099
2140
  }
@@ -2114,11 +2155,12 @@ interface WorkflowTaskContextReceipt extends TaskContextIdentity {
2114
2155
  semanticUseVerified: false;
2115
2156
  }
2116
2157
 
2117
- type Data = Record<string, unknown>;
2158
+ type Data$1 = Record<string, unknown>;
2118
2159
  type IntakeCommandRunner = (program: "git" | "gh", args: string[], cwd: string) => {
2119
2160
  status: number | null;
2120
2161
  stdout: string;
2121
2162
  stderr?: string;
2163
+ errorCode?: string;
2122
2164
  };
2123
2165
  interface TaskIntakeSource {
2124
2166
  kind: "local" | "github";
@@ -2183,6 +2225,7 @@ declare function createTaskIntake(options: TaskIntakeOptions): {
2183
2225
  local: {
2184
2226
  available: boolean;
2185
2227
  observed: boolean;
2228
+ reasonCodes: string[];
2186
2229
  };
2187
2230
  github: {
2188
2231
  available: boolean;
@@ -2218,7 +2261,7 @@ declare function revalidateTaskIntake(brief: TaskIntake, options: Pick<TaskIntak
2218
2261
  status: string;
2219
2262
  reasonCodes: string[];
2220
2263
  currentRepositorySnapshot: TaskIntakeRepositorySnapshot;
2221
- sourceObservation: Data;
2264
+ sourceObservation: Data$1;
2222
2265
  doesNotAuthorizeExecution: boolean;
2223
2266
  };
2224
2267
 
@@ -2490,6 +2533,10 @@ interface SessionSnapshot {
2490
2533
  performance: {
2491
2534
  buildMs: number;
2492
2535
  };
2536
+ observation: {
2537
+ status: "available" | "degraded";
2538
+ reason?: "activity_timeline_missing";
2539
+ };
2493
2540
  caveats: string[];
2494
2541
  }
2495
2542
  interface AppendActivityInput {
@@ -4630,6 +4677,33 @@ interface TaskSupervision {
4630
4677
  reason: string;
4631
4678
  }
4632
4679
 
4680
+ interface SandboxEvidenceCard {
4681
+ schemaVersion: "snipara.task.sandbox_evidence_card.v1";
4682
+ status: "not_observed" | "saved_observation" | "malformed";
4683
+ authority: "editable_saved_observation";
4684
+ savedVerifierClaim: "valid" | "invalid" | "unknown";
4685
+ verificationFresh: false;
4686
+ executionAuthorized: false;
4687
+ receipt: {
4688
+ runId?: string;
4689
+ requestSha256?: string;
4690
+ snapshotSha256?: string;
4691
+ imageId?: string;
4692
+ commandSha256?: string;
4693
+ };
4694
+ verifierReasons: string[];
4695
+ reuse: {
4696
+ status: "requires_fresh_verification";
4697
+ eligible: false;
4698
+ denialReasons: string[];
4699
+ };
4700
+ nextAction?: {
4701
+ argv: string[];
4702
+ automaticExecution: false;
4703
+ dispatchesTests: false;
4704
+ };
4705
+ }
4706
+
4633
4707
  interface TaskJourneyInput {
4634
4708
  goal: string;
4635
4709
  criteria?: string[];
@@ -4728,6 +4802,14 @@ interface TaskJourneyCard {
4728
4802
  };
4729
4803
  dossier?: unknown;
4730
4804
  notices: string[];
4805
+ sandboxEvidence?: SandboxEvidenceCard & {
4806
+ observationPath: string;
4807
+ readDiagnostic?: {
4808
+ code: string;
4809
+ path: string;
4810
+ action: string;
4811
+ };
4812
+ };
4731
4813
  }
4732
4814
  declare function buildTaskJourneyCard(options?: {
4733
4815
  cwd?: string;
@@ -4735,6 +4817,15 @@ declare function buildTaskJourneyCard(options?: {
4735
4817
  }): TaskJourneyCard;
4736
4818
  declare function executeTaskJourney(options: TaskJourneyOptions): Promise<TaskJourneyCard>;
4737
4819
  declare function formatTaskJourneyCard(card: TaskJourneyCard): string;
4820
+ /** Preview the smallest existing entry point; resolving a path never grants execution. */
4821
+ declare function buildTaskIntentGuide(options: {
4822
+ intent: "decision" | "continue" | "verify" | "edit";
4823
+ cwd?: string;
4824
+ query?: string;
4825
+ id?: string;
4826
+ files?: string[];
4827
+ multiPhase?: boolean;
4828
+ }): Record<string, unknown>;
4738
4829
 
4739
4830
  interface ControllerCockpitOptions {
4740
4831
  dir: string;
@@ -4895,6 +4986,74 @@ interface ControllerBridgeProjection {
4895
4986
  }
4896
4987
  declare function projectControllerBridge(options: ControllerBridgeProjectOptions): ControllerBridgeProjection;
4897
4988
 
4989
+ /** Bounded presentation of existing receipts; this projection grants no authority. */
4990
+ type Data = Record<string, unknown>;
4991
+ declare function renderWorkflowResumeOverview(value: Data, json?: boolean): string;
4992
+ declare function buildWorkflowResumeOverview(payload: Data, options?: {
4993
+ maxTokens?: number;
4994
+ json?: boolean;
4995
+ }): Data;
4996
+
4997
+ type EfficiencyProfile = "lite" | "standard" | "full";
4998
+ interface EfficiencyThresholds {
4999
+ maxResponses: number;
5000
+ maxUncachedInputTokens: number;
5001
+ maxOutputTokens: number;
5002
+ maxElapsedMinutes: number;
5003
+ }
5004
+ interface WorkflowEfficiencyOptions extends Partial<EfficiencyThresholds> {
5005
+ cwd?: string;
5006
+ sessionsDir?: string;
5007
+ rootThreadId?: string;
5008
+ since?: string;
5009
+ profile?: EfficiencyProfile;
5010
+ enforce?: boolean;
5011
+ json?: boolean;
5012
+ }
5013
+ interface Usage {
5014
+ inputTokens: number;
5015
+ cachedInputTokens: number;
5016
+ uncachedInputTokens: number;
5017
+ outputTokens: number;
5018
+ reasoningOutputTokens: number;
5019
+ cacheWriteInputTokens: number;
5020
+ }
5021
+ interface WorkflowEfficiencyReport {
5022
+ version: "snipara.workflow.efficiency.v1";
5023
+ status: "within_advisory_limits" | "limits_exceeded" | "incomplete" | "unavailable";
5024
+ scope: {
5025
+ provider: "codex-local-session-tree";
5026
+ since: string | null;
5027
+ sinceSource: string;
5028
+ observedAt: string;
5029
+ sessions: number;
5030
+ externalProviders: "excluded";
5031
+ };
5032
+ coverage: {
5033
+ status: "complete" | "partial" | "unavailable";
5034
+ gaps: Record<string, number>;
5035
+ discoveredFiles: number;
5036
+ measuredFiles: number;
5037
+ duplicateResponses: number;
5038
+ conflictingResponses: number;
5039
+ };
5040
+ totals: Usage & {
5041
+ responses: number;
5042
+ elapsedMinutes: number | null;
5043
+ };
5044
+ profile: EfficiencyProfile;
5045
+ thresholds: EfficiencyThresholds;
5046
+ exceeded: (keyof EfficiencyThresholds)[];
5047
+ mode: "advisory" | "enforce-check";
5048
+ caveats: string[];
5049
+ }
5050
+ declare function measureWorkflowEfficiency(options?: WorkflowEfficiencyOptions): Promise<WorkflowEfficiencyReport>;
5051
+ declare function renderWorkflowEfficiency(report: WorkflowEfficiencyReport, json?: boolean): string;
5052
+ declare function workflowEfficiencyCommand(options?: WorkflowEfficiencyOptions): Promise<{
5053
+ report: WorkflowEfficiencyReport;
5054
+ exitCode: number;
5055
+ }>;
5056
+
4898
5057
  declare function resolveQueryFromToolInput(toolInput?: string, tool?: string): string | null;
4899
5058
 
4900
5059
  /**
@@ -6210,4 +6369,4 @@ declare function installAutomationBundle(args: {
6210
6369
  }): Promise<AutomationInstallResult>;
6211
6370
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
6212
6371
 
6213
- export { AGENT_CONTEXT_EVIDENCE_DEFAULT_LEDGER, AUTOMATION_MANIFEST_RELATIVE_PATH, type AutomaticMemorySetup, type AutomaticOrchestratorSetup, type AutomaticSetupSelection, type AutomaticWorkerSetup, AutomationInstallConflictError, AutomationUnsupportedHookBundleError, CODING_INTELLIGENCE_LEDGER_VERSION, COLLABORATION_STATE_RELATIVE_PATH, DEFAULT_DOCS_BOOTSTRAP_OUTPUT, DOCS_BOOTSTRAP_VERSION, ENGINEERING_LEAD_EXECUTION_RECEIPT_STAGES, ENGINEERING_LEAD_EXECUTION_RECEIPT_STATUSES, ENGINEERING_LEAD_POSTURES, ENGINEERING_LEAD_PROOF_VERIFICATION_SOURCES, ENGINEERING_LEAD_PROOF_VERIFICATION_STATUSES, ENGINEERING_LEAD_ROUTING_MODES, ENGINEERING_LEAD_STATUSES, ENGINEERING_LEAD_SUPERVISION_STATUSES, ENGINEERING_LEAD_WORKER_ROLES, ENGINEERING_LEAD_WORK_PACKAGE_STATUSES, FEATURE_DEFAULT_OUTPUT_DIR, FEATURE_WORK_ITEM_VERSION, FINAL_COMMIT_REPORT_RELATIVE_PATH, FINAL_COMMIT_REPORT_VERSION, type GeneratedWorkflowTaskDocument, MEMORY_GUARD_CONTEXT_TIMEOUT_MS, MEMORY_GUARD_RECALL_TIMEOUT_MS, type ManagedWorkflowTask, type ManagedWorkflowTaskContextEnvelope, type ManagedWorkflowTaskStatus, ORCHESTRATOR_HANDOFF_RELATIVE_PATH, POLICY_LEDGER_SYNC_REPORT_VERSION, PRODUCER_LOOP_ARTIFACT_VERSION, PRODUCER_LOOP_RELATIVE_DIR, PRODUCER_LOOP_REPORT_VERSION, TEAM_SYNC_STATE_RELATIVE_PATH, WHY_OUTCOME_CAPTURE_VERSION, WORKFLOW_PLANS_RELATIVE_DIR, WORKFLOW_STATE_RELATIVE_PATH, addLocalWorker, agentContextEvidenceCollectCommand, agentContextEvidenceRecordCommand, agentContextEvidenceStatusCommand, agentContextEvidenceTemplateCommand, agentContextResolveCommand, agentContextValidateCommand, agentReadinessAuditCommand, appendActivityEvent, applyLocalContextMutationPlan, applyManagedWorkflowPolicyAutoResponses, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCommitResultMetadata, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildControllerCockpit, buildDocsBootstrapResult, buildEvalCaseArtifact, buildFeaturePlanMarkdown, buildFeatureSpecMarkdown, buildFeatureTasksMarkdown, buildFinalCommitReport, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildInstalledDependencyEvidence, buildJournalCheckpointEntry, buildLocalAgentContextValidationReport, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextMutationPlan, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectContextValidationReport, buildLocalProjectDriftReport, buildLocalProjectRealityCheck, buildLocalProjectRealityCheckWithAutoContext, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectBriefMarkdown, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSmallestSafeDiffEvidence, buildSyncDocumentsDryRun, buildTaskJourneyCard, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, captureStandaloneCommitWhy, captureWorkflowContinuity, captureWorkflowRepository, categoryFromGuardTag, classifyToolResult, cleanContextPacks, codingLedgerExportCommand, collaborationIdeStatusCommand, collectAgentReadinessLocalSignals, collectPolicyLedgerSyncArtifacts, collectSyncDocuments, collectSyncDocumentsInput, compactHostedGuardResources, compareLocalSourceSnapshots, completeTeamSyncStateFromEvidence, completeTeamSyncWorkFromEvidence, contextControlApplyCommand, contextControlDriftCommand, contextControlHostedApplyCommand, contextControlHostedDiffCommand, contextControlPlanCommand, contextControlValidateCommand, contextPackCleanCommand, contextPackPackCommand, contextPackRetrieveCommand, contextPackStatsCommand, controlledWorkerExecuteCommand, createClient, createEmptyCollaborationState, createEmptyTeamSyncState, createLocalQueryCache, createTaskIntake, deriveLocalCollaborationResourcesFromFiles, deriveManagedWorkflowJudgmentResolution, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, docsBootstrapCommand, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, executeTaskJourney, exportControllerBridge, exportWorkflowRuntimeContexts, extractCommandFromToolInput, extractFilesFromToolInput, featureInitCommand, featurePlanCommand, featureSpecifyCommand, featureStartCommand, featureStatusCommand, featureTasksCommand, formatAgentContextResolution, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, formatTaskJourneyCard, formatWorkflowContinuity, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, hasActiveManagedWorkflow, hashWorkerProfile, ingestReferences, installAutomationBundle, leadPlanCommand, listProjectsForApiKey, loadAutomationManifest, loadCollaborationState, loadConfig, loadTeamSyncState, memoryAuditCommand, memoryCleanCandidatesCommand, memoryCompactCommand, memoryHealthCommand, memoryLocalCommand, memoryReviewsCommand, mergeHybridCodeResults, normalizeCollaborationFiles, normalizeFeatureSlug, normalizeGuardTag, normalizeWorkflowPlanInput, outcomeCapturePreviewCommand, packContext, parseCollaborationResources, projectControllerBridge, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, readActivityTimeline, readAgentContextEvidenceLedger, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readRuntimeContextMap, readSessionSnapshot, readStandaloneCommitEvidence, readTaskIntake, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveAutomaticSetup, resolveCodeGraphMode, resolveContextPackRecord, resolveFeatureArtifactPaths, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveMinimumChangeMode, resolveQueryFromToolInput, resumeWorkflowContinuity, retrieveContextPack, revalidateTaskIntake, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, taskIntakeHash, teamSyncSweepCommand, validatePlanResult, validateRuntimeSourceContext, validateTaskIntake, verifyCommand, workerTrustCandidateCommand, workerTrustReviewCommand, workerTrustStatusCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot, writeTaskIntake };
6372
+ export { AGENT_CONTEXT_EVIDENCE_DEFAULT_LEDGER, AUTOMATION_MANIFEST_RELATIVE_PATH, type AutomaticMemorySetup, type AutomaticOrchestratorSetup, type AutomaticSetupSelection, type AutomaticWorkerSetup, AutomationInstallConflictError, AutomationUnsupportedHookBundleError, CODING_INTELLIGENCE_LEDGER_VERSION, COLLABORATION_STATE_RELATIVE_PATH, DEFAULT_DOCS_BOOTSTRAP_OUTPUT, DOCS_BOOTSTRAP_VERSION, ENGINEERING_LEAD_EXECUTION_RECEIPT_STAGES, ENGINEERING_LEAD_EXECUTION_RECEIPT_STATUSES, ENGINEERING_LEAD_POSTURES, ENGINEERING_LEAD_PROOF_VERIFICATION_SOURCES, ENGINEERING_LEAD_PROOF_VERIFICATION_STATUSES, ENGINEERING_LEAD_ROUTING_MODES, ENGINEERING_LEAD_STATUSES, ENGINEERING_LEAD_SUPERVISION_STATUSES, ENGINEERING_LEAD_WORKER_ROLES, ENGINEERING_LEAD_WORK_PACKAGE_STATUSES, FEATURE_DEFAULT_OUTPUT_DIR, FEATURE_WORK_ITEM_VERSION, FINAL_COMMIT_REPORT_RELATIVE_PATH, FINAL_COMMIT_REPORT_VERSION, type GeneratedWorkflowTaskDocument, MEMORY_GUARD_CONTEXT_TIMEOUT_MS, MEMORY_GUARD_RECALL_TIMEOUT_MS, type ManagedWorkflowTask, type ManagedWorkflowTaskContextEnvelope, type ManagedWorkflowTaskStatus, ORCHESTRATOR_HANDOFF_RELATIVE_PATH, POLICY_LEDGER_SYNC_REPORT_VERSION, PRODUCER_LOOP_ARTIFACT_VERSION, PRODUCER_LOOP_RELATIVE_DIR, PRODUCER_LOOP_REPORT_VERSION, TEAM_SYNC_STATE_RELATIVE_PATH, WHY_OUTCOME_CAPTURE_VERSION, WORKFLOW_PLANS_RELATIVE_DIR, WORKFLOW_STATE_RELATIVE_PATH, addLocalWorker, agentContextEvidenceCollectCommand, agentContextEvidenceRecordCommand, agentContextEvidenceStatusCommand, agentContextEvidenceTemplateCommand, agentContextResolveCommand, agentContextValidateCommand, agentReadinessAuditCommand, appendActivityEvent, applyLocalContextMutationPlan, applyManagedWorkflowPolicyAutoResponses, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCommitResultMetadata, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildControllerCockpit, buildDocsBootstrapResult, buildEvalCaseArtifact, buildFeaturePlanMarkdown, buildFeatureSpecMarkdown, buildFeatureTasksMarkdown, buildFinalCommitReport, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildInstalledDependencyEvidence, buildJournalCheckpointEntry, buildLocalAgentContextValidationReport, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextMutationPlan, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectContextValidationReport, buildLocalProjectDriftReport, buildLocalProjectRealityCheck, buildLocalProjectRealityCheckWithAutoContext, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectBriefMarkdown, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSmallestSafeDiffEvidence, buildSyncDocumentsDryRun, buildTaskIntentGuide, buildTaskJourneyCard, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, buildWorkflowResumeOverview, captureStandaloneCommitWhy, captureWorkflowContinuity, captureWorkflowRepository, categoryFromGuardTag, classifyToolResult, cleanContextPacks, codingLedgerExportCommand, collaborationIdeStatusCommand, collectAgentReadinessLocalSignals, collectPolicyLedgerSyncArtifacts, collectSyncDocuments, collectSyncDocumentsInput, compactHostedGuardResources, compareLocalSourceSnapshots, completeTeamSyncStateFromEvidence, completeTeamSyncWorkFromEvidence, contextControlApplyCommand, contextControlDriftCommand, contextControlHostedApplyCommand, contextControlHostedDiffCommand, contextControlPlanCommand, contextControlValidateCommand, contextPackCleanCommand, contextPackPackCommand, contextPackRetrieveCommand, contextPackStatsCommand, controlledWorkerExecuteCommand, createClient, createEmptyCollaborationState, createEmptyTeamSyncState, createLocalQueryCache, createTaskIntake, deriveLocalCollaborationResourcesFromFiles, deriveManagedWorkflowJudgmentResolution, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, docsBootstrapCommand, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, executeTaskJourney, exportControllerBridge, exportWorkflowRuntimeContexts, extractCommandFromToolInput, extractFilesFromToolInput, featureInitCommand, featurePlanCommand, featureSpecifyCommand, featureStartCommand, featureStatusCommand, featureTasksCommand, formatAgentContextResolution, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, formatTaskJourneyCard, formatWorkflowContinuity, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, hasActiveManagedWorkflow, hashWorkerProfile, ingestReferences, installAutomationBundle, leadPlanCommand, listProjectsForApiKey, loadAutomationManifest, loadCollaborationState, loadConfig, loadTeamSyncState, measureWorkflowEfficiency, memoryAuditCommand, memoryCleanCandidatesCommand, memoryCompactCommand, memoryHealthCommand, memoryLocalCommand, memoryReviewsCommand, mergeHybridCodeResults, normalizeCollaborationFiles, normalizeFeatureSlug, normalizeGuardTag, normalizeWorkflowPlanInput, outcomeCapturePreviewCommand, packContext, parseCollaborationResources, previewWorkflowContinuityRepair, projectControllerBridge, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, readActivityTimeline, readAgentContextEvidenceLedger, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readRuntimeContextMap, readSessionSnapshot, readStandaloneCommitEvidence, readTaskIntake, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, refreshWorkflowContinuity, renderWorkflowEfficiency, renderWorkflowResumeOverview, resolveAutoWorkflowMode, resolveAutomaticSetup, resolveCodeGraphMode, resolveContextPackRecord, resolveFeatureArtifactPaths, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveMinimumChangeMode, resolveQueryFromToolInput, resumeWorkflowContinuity, retrieveContextPack, revalidateTaskIntake, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, taskIntakeHash, teamSyncSweepCommand, validatePlanResult, validateRuntimeSourceContext, validateTaskIntake, verifyCommand, workerTrustCandidateCommand, workerTrustReviewCommand, workerTrustStatusCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowEfficiencyCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot, writeTaskIntake };