snipara-companion 3.5.9 → 3.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/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  Release notes for `snipara-companion`, newest first.
4
4
 
5
+ ## New In 3.6.0
6
+
7
+ - Upgrades the local code overlay to v2 with TypeScript Compiler API symbols,
8
+ stable identities, and `CALLS`, `REFERENCES`, `IMPORTS`, and `CONTAINS` edges.
9
+ - Adds bounded transitive callers, neighbors, shortest paths, and impact with
10
+ depth/direction/edge filters, cycle and node budgets, chains, and explainable
11
+ local risk scoring.
12
+ - Reuses unchanged per-file extraction slices during sync and `source watch`.
13
+ - Adds `--source hybrid` and `--fallback-hosted`: configured dirty/ahead
14
+ checkouts preserve the hosted canonical base plus the local delta, with
15
+ explicit degraded provenance when hosted enrichment fails.
16
+ - Sends impact depth, direction, and edge-kind controls to hosted MCP.
17
+
18
+ ## New In 3.5.10
19
+
20
+ - Reports hosted `decision_capture.created` drafts as pending Why Capture
21
+ decisions in phase/final receipts and final reports, instead of incorrectly
22
+ showing zero captured candidates when the memory write was deduplicated.
23
+
5
24
  ## New In 3.5.9
6
25
 
7
26
  - Routes explicit `workflow phase-commit` and `final-commit` rationale through
package/README.md CHANGED
@@ -93,7 +93,7 @@ These commands are useful without hosted Snipara:
93
93
  | Command | What it gives you locally |
94
94
  | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
95
95
  | `source init` / `source sync` / `source status` | Local source snapshot, document preview, and code overlay |
96
- | `impact` / `code impact` | File-level blast-radius from the local code overlay |
96
+ | `impact` / `code impact` | Bounded transitive blast radius, chains, and explainable local risk |
97
97
  | `reality-check` | Intent Ledger, Unknown Registry, auto-linked context, and inspectable proof |
98
98
  | `code callers` / `imports` / `neighbors` / `shortest-path` | Structural repo questions from local files |
99
99
  | `workflow start` / `phase-start` / `phase-commit` / `resume` | Agent continuity that survives compaction |
@@ -394,6 +394,14 @@ This writes `.snipara/source/latest.json`, builds a local document sync preview,
394
394
  and refreshes `.snipara/code-overlay/latest.json`. The hosted code graph remains
395
395
  the canonical shared graph after provider sync.
396
396
 
397
+ Overlay v2 uses the TypeScript Compiler API to extract stable symbols plus
398
+ `CALLS`, `REFERENCES`, `IMPORTS`, and `CONTAINS` edges. Python and Go retain an
399
+ import-level fallback. Use `--depth`, `--direction`, `--edge-kinds`, and
400
+ `--max-nodes` to bound traversal. `source watch` refreshes the overlay with
401
+ per-file incremental reuse. With hosted configuration, `--source auto` uses the
402
+ hosted graph for a clean checkout and a provenance-preserving hybrid for dirty
403
+ or ahead work; `--source local` remains completely offline.
404
+
397
405
  ## Install
398
406
 
399
407
  Use `npx` for one-off checks:
package/dist/index.d.ts CHANGED
@@ -1307,6 +1307,9 @@ declare class RLMClient {
1307
1307
  filePath?: string;
1308
1308
  changedFiles?: string[];
1309
1309
  diffSummary?: string;
1310
+ depth?: number;
1311
+ direction?: "in" | "out" | "both";
1312
+ edgeKinds?: string[];
1310
1313
  limit?: number;
1311
1314
  }): Promise<Record<string, unknown>>;
1312
1315
  /**
@@ -1794,18 +1797,49 @@ interface LocalCodeOverlayFile {
1794
1797
  sha256: string;
1795
1798
  symbolCount: number;
1796
1799
  importCount: number;
1800
+ referenceCount: number;
1801
+ edgeCount: number;
1797
1802
  }
1798
1803
  interface LocalCodeOverlaySymbol {
1799
1804
  name: string;
1800
1805
  kind: "function" | "class" | "interface" | "type" | "variable" | "method";
1801
1806
  filePath: string;
1802
1807
  line: number;
1808
+ endLine?: number;
1809
+ qualifiedName: string;
1803
1810
  localKey: string;
1804
1811
  }
1812
+ interface LocalCodeOverlayImportBinding {
1813
+ localName: string;
1814
+ importedName: string;
1815
+ kind: "named" | "default" | "namespace";
1816
+ }
1805
1817
  interface LocalCodeOverlayImport {
1806
1818
  filePath: string;
1807
1819
  specifier: string;
1808
1820
  line: number;
1821
+ bindings?: LocalCodeOverlayImportBinding[];
1822
+ }
1823
+ interface LocalCodeOverlayReference {
1824
+ filePath: string;
1825
+ from: string;
1826
+ name: string;
1827
+ kind: "CALLS" | "REFERENCES";
1828
+ line: number;
1829
+ confidence: number;
1830
+ }
1831
+ interface LocalCodeOverlayEdge {
1832
+ from: string;
1833
+ to: string;
1834
+ kind: "IMPORTS" | "CALLS" | "REFERENCES" | "CONTAINS";
1835
+ filePath: string;
1836
+ line: number;
1837
+ confidence: number;
1838
+ source: "typescript-compiler-api" | "language-parser" | "import-resolver";
1839
+ evidence: {
1840
+ filePath: string;
1841
+ line: number;
1842
+ };
1809
1843
  }
1810
1844
  interface LocalCodeOverlayWarning {
1811
1845
  code: string;
@@ -1819,7 +1853,8 @@ interface LocalCodeOverlayExcludedFile {
1819
1853
  line?: number;
1820
1854
  }
1821
1855
  interface LocalCodeOverlayManifest {
1822
- version: "snipara.local_code_overlay.v1";
1856
+ version: "snipara.local_code_overlay.v2";
1857
+ extractorVersion: 2;
1823
1858
  generatedAt: string;
1824
1859
  indexedAt: string;
1825
1860
  repoRoot: string;
@@ -1837,6 +1872,13 @@ interface LocalCodeOverlayManifest {
1837
1872
  files: LocalCodeOverlayFile[];
1838
1873
  symbols: LocalCodeOverlaySymbol[];
1839
1874
  imports: LocalCodeOverlayImport[];
1875
+ references: LocalCodeOverlayReference[];
1876
+ edges: LocalCodeOverlayEdge[];
1877
+ incremental: {
1878
+ reusedFiles: number;
1879
+ parsedFiles: number;
1880
+ deletedFiles: number;
1881
+ };
1840
1882
  excluded: {
1841
1883
  total: number;
1842
1884
  byReason: Record<LocalCodeOverlayExcludedFile["reason"], number>;
@@ -1873,9 +1915,15 @@ interface LocalCodeQueryCommandOptions extends CodeStatusCommandOptions {
1873
1915
  from?: string;
1874
1916
  to?: string;
1875
1917
  maxHops?: number;
1876
- }
1877
- type CodeGraphSource = "auto" | "hosted" | "local";
1878
- type ResolvedCodeGraphSource = "hosted_graph" | "local_overlay";
1918
+ depth?: number;
1919
+ direction?: "in" | "out" | "both";
1920
+ edgeKinds?: string[];
1921
+ maxNodes?: number;
1922
+ transitive?: boolean;
1923
+ }
1924
+ type CodeGraphSource = "auto" | "hosted" | "local" | "hybrid";
1925
+ type ResolvedCodeGraphSource = "hosted_graph" | "local_overlay" | "hybrid_graph";
1926
+ type CodeGraphVerb = "callers" | "imports" | "neighbors" | "shortest-path" | "impact";
1879
1927
  interface CodeGraphSourceSelection {
1880
1928
  requested: CodeGraphSource;
1881
1929
  selected: ResolvedCodeGraphSource;
@@ -1896,12 +1944,14 @@ interface CodeGraphSourceSelection {
1896
1944
  fileCount: number;
1897
1945
  symbolCount: number;
1898
1946
  importCount: number;
1947
+ edgeCount: number;
1899
1948
  warnings: LocalCodeOverlayManifest["warnings"];
1900
1949
  };
1901
1950
  hosted?: {
1902
1951
  configured: boolean;
1903
1952
  indexFreshness?: unknown;
1904
1953
  contextScope?: unknown;
1954
+ error?: string;
1905
1955
  };
1906
1956
  limitations: string[];
1907
1957
  }
@@ -1958,8 +2008,11 @@ interface LocalCodeOverlaySummary {
1958
2008
  files: number;
1959
2009
  symbols: number;
1960
2010
  imports: number;
2011
+ references: number;
2012
+ edges: number;
1961
2013
  excluded: number;
1962
2014
  };
2015
+ incremental: LocalCodeOverlayManifest["incremental"];
1963
2016
  excludedByReason: Record<LocalCodeOverlayExcludedFile["reason"], number>;
1964
2017
  fileSamples: string[];
1965
2018
  warnings: LocalCodeOverlayManifest["warnings"];
@@ -1997,6 +2050,17 @@ declare function writeLocalCodeOverlayCache(manifest: LocalCodeOverlayManifest):
1997
2050
  declare function readLocalCodeOverlayCache(cwd?: string): LocalCodeOverlayManifest | null;
1998
2051
  declare function writeLocalCodePromotionState(state: LocalCodePromotionState): string;
1999
2052
  declare function readLocalCodePromotionState(cwd?: string): LocalCodePromotionState | null;
2053
+ declare function resolveCodeGraphMode(args: {
2054
+ requested: CodeGraphSource;
2055
+ dirtyFiles: string[];
2056
+ aheadCount: number | null;
2057
+ hostedConfigured: boolean;
2058
+ fallbackHosted: boolean;
2059
+ }): {
2060
+ selected: ResolvedCodeGraphSource;
2061
+ reason: string;
2062
+ };
2063
+ declare function mergeHybridCodeResults(verb: CodeGraphVerb, localResult: unknown, hostedResult: unknown, hostedError?: string): Record<string, unknown>;
2000
2064
  declare function buildCodeStatusResult(options: CodeStatusCommandOptions): Record<string, unknown>;
2001
2065
  declare function buildCodeSyncResult(options: CodeSyncCommandOptions): Record<string, unknown>;
2002
2066
  declare function buildHostedCodeOverlayUploadPayload(options?: CodeUploadCommandOptions): HostedCodeOverlayUploadPayload;
@@ -5011,4 +5075,4 @@ declare function installAutomationBundle(args: {
5011
5075
  }): Promise<AutomationInstallResult>;
5012
5076
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
5013
5077
 
5014
- export { AUTOMATION_MANIFEST_RELATIVE_PATH, AutomationInstallConflictError, AutomationUnsupportedHookBundleError, CODING_INTELLIGENCE_LEDGER_VERSION, COLLABORATION_STATE_RELATIVE_PATH, 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, FINAL_COMMIT_REPORT_RELATIVE_PATH, FINAL_COMMIT_REPORT_VERSION, MEMORY_GUARD_CONTEXT_TIMEOUT_MS, MEMORY_GUARD_RECALL_TIMEOUT_MS, 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, agentReadinessAuditCommand, appendActivityEvent, applyLocalContextMutationPlan, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCommitResultMetadata, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildEvalCaseArtifact, buildFinalCommitReport, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildJournalCheckpointEntry, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextMutationPlan, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectContextValidationReport, buildLocalProjectDriftReport, buildLocalProjectRealityCheck, buildLocalProjectRealityCheckWithAutoContext, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSyncDocumentsDryRun, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, 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, deriveLocalCollaborationResourcesFromFiles, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, extractCommandFromToolInput, extractFilesFromToolInput, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, hashWorkerProfile, ingestReferences, installAutomationBundle, leadPlanCommand, listProjectsForApiKey, loadAutomationManifest, loadCollaborationState, loadConfig, loadTeamSyncState, memoryAuditCommand, memoryCleanCandidatesCommand, memoryCompactCommand, memoryHealthCommand, memoryLocalCommand, memoryReviewsCommand, normalizeCollaborationFiles, normalizeGuardTag, normalizeWorkflowPlanInput, outcomeCapturePreviewCommand, packContext, parseCollaborationResources, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, readActivityTimeline, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readSessionSnapshot, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveContextPackRecord, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveQueryFromToolInput, retrieveContextPack, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workerTrustCandidateCommand, workerTrustReviewCommand, workerTrustStatusCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };
5078
+ export { AUTOMATION_MANIFEST_RELATIVE_PATH, AutomationInstallConflictError, AutomationUnsupportedHookBundleError, CODING_INTELLIGENCE_LEDGER_VERSION, COLLABORATION_STATE_RELATIVE_PATH, 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, FINAL_COMMIT_REPORT_RELATIVE_PATH, FINAL_COMMIT_REPORT_VERSION, MEMORY_GUARD_CONTEXT_TIMEOUT_MS, MEMORY_GUARD_RECALL_TIMEOUT_MS, 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, agentReadinessAuditCommand, appendActivityEvent, applyLocalContextMutationPlan, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCommitResultMetadata, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildEvalCaseArtifact, buildFinalCommitReport, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildJournalCheckpointEntry, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextMutationPlan, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectContextValidationReport, buildLocalProjectDriftReport, buildLocalProjectRealityCheck, buildLocalProjectRealityCheckWithAutoContext, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSyncDocumentsDryRun, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, 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, deriveLocalCollaborationResourcesFromFiles, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, extractCommandFromToolInput, extractFilesFromToolInput, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, hashWorkerProfile, ingestReferences, installAutomationBundle, leadPlanCommand, listProjectsForApiKey, loadAutomationManifest, loadCollaborationState, loadConfig, loadTeamSyncState, memoryAuditCommand, memoryCleanCandidatesCommand, memoryCompactCommand, memoryHealthCommand, memoryLocalCommand, memoryReviewsCommand, mergeHybridCodeResults, normalizeCollaborationFiles, normalizeGuardTag, normalizeWorkflowPlanInput, outcomeCapturePreviewCommand, packContext, parseCollaborationResources, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, readActivityTimeline, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readSessionSnapshot, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveCodeGraphMode, resolveContextPackRecord, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveQueryFromToolInput, retrieveContextPack, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workerTrustCandidateCommand, workerTrustReviewCommand, workerTrustStatusCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };