snipara-companion 4.1.0 → 4.2.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,12 @@
2
2
 
3
3
  Release notes for `snipara-companion`, newest first.
4
4
 
5
+ ## 4.2.0
6
+
7
+ - Present shared immutable task references and conservative evidence-derived progress.
8
+ - Resolve compatible managed local-work peers and derive coordinated validation lots automatically.
9
+ - Add lightweight diagnostics and a pinned native MCP launcher; preserve standalone compatibility.
10
+
5
11
  ## 4.1.0
6
12
 
7
13
  - Add metadata-only validation profiles, canonical request inspection and reviewed request preparation through Sandbox 2.5.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { AdvisorInfluenceLifecycle, HostedContextControlSource, HostedContextControlPlan, HostedContextControlApplyReceipt, ProjectIntentDetectionResult, ProjectPolicyDecision, ProjectPolicyRule, AdvisorInfluenceLifecycleState, DecisionRequest, OutcomeIntelligenceCalibration, OutcomeIntelligenceReceipt, OutcomeIntelligenceEvidence, ProjectRealityCheckResult, ContextMutationPlan, ContextMutationApplyReceipt, ProjectContextValidationReport, ProjectDriftReport, AgentContextResolution, AgentContextValidationReport, AgentContextEvidenceReceipt, AgentContextEvidenceReport, ProjectIntelligenceEngineeringLeadPlanSummary, ControlledWorkerExecutionMode, WorkerTrustCategory, ControlledWorkerExecutionReceipt, UnifiedReceiptEnvelope, WorkerTrustCandidate, WorkerProfile, WorkerTrustEvent } from '@snipara/project-intelligence-contracts';
2
+ import { AdvisorInfluenceLifecycle, HostedContextControlSource, HostedContextControlPlan, HostedContextControlApplyReceipt, ProjectIntentDetectionResult, ProjectPolicyDecision, ProjectPolicyRule, AdvisorInfluenceLifecycleState, DecisionRequest, OutcomeIntelligenceCalibration, OutcomeIntelligenceReceipt, OutcomeIntelligenceEvidence, ManagedToolchainManifest, ProjectRealityCheckResult, ContextMutationPlan, ContextMutationApplyReceipt, ProjectContextValidationReport, ProjectDriftReport, AgentContextResolution, AgentContextValidationReport, AgentContextEvidenceReceipt, AgentContextEvidenceReport, ProjectIntelligenceEngineeringLeadPlanSummary, ControlledWorkerExecutionMode, WorkerTrustCategory, ControlledWorkerExecutionReceipt, UnifiedReceiptEnvelope, WorkerTrustCandidate, WorkerProfile, WorkerTrustEvent } from '@snipara/project-intelligence-contracts';
3
+ export { managedValidationScope, parseManagedToolchainManifest } from '@snipara/project-intelligence-contracts';
3
4
 
4
5
  interface RLMConfig {
5
6
  apiKey?: string;
@@ -4704,6 +4705,78 @@ interface SandboxEvidenceCard {
4704
4705
  };
4705
4706
  }
4706
4707
 
4708
+ type OwnerKind = "companion_workflow" | "orchestrator_controller";
4709
+ type VerificationKind = "none" | "static" | "runtime";
4710
+ interface TaskLifecycleReference {
4711
+ ownerKind: OwnerKind;
4712
+ ownerId: string;
4713
+ statePath: string;
4714
+ revisionSha256: string;
4715
+ }
4716
+ interface TaskReferenceV1 {
4717
+ schemaVersion: "snipara.task_reference.v1";
4718
+ taskId: string;
4719
+ intake: {
4720
+ path: string;
4721
+ contentSha256: string;
4722
+ };
4723
+ workspace: {
4724
+ root: string;
4725
+ repositoryId: string;
4726
+ worktreeId: string;
4727
+ };
4728
+ projectBinding: null;
4729
+ lifecycle: TaskLifecycleReference;
4730
+ verificationContractSha256: string;
4731
+ identitySha256: string;
4732
+ authority: {
4733
+ kind: "read_only_projection";
4734
+ executionGranted: false;
4735
+ integrationGranted: false;
4736
+ };
4737
+ referenceSha256: string;
4738
+ }
4739
+ interface TaskReferenceInput {
4740
+ intake: TaskIntake;
4741
+ intakePath: string;
4742
+ workspaceRoot: string;
4743
+ gitCommonDir: string;
4744
+ lifecycle: TaskLifecycleReference;
4745
+ effectiveVerification: string[];
4746
+ }
4747
+ /** Hashes establish equality of observations, not authenticity or execution authority. */
4748
+ declare function buildTaskReference(input: TaskReferenceInput): TaskReferenceV1;
4749
+ /** Inspect local Git metadata only; never execute Git, infer a remote or read credentials. */
4750
+ declare function observeTaskWorkspace(workspaceRoot: string): {
4751
+ root: string;
4752
+ gitCommonDir: string;
4753
+ };
4754
+ interface ManagedProgressInput {
4755
+ referenceAvailable: boolean;
4756
+ contractComplete: boolean;
4757
+ blockingReasons: string[];
4758
+ localChangesObserved: boolean;
4759
+ workDeclared: boolean;
4760
+ recordedClosure: boolean;
4761
+ verificationKind: VerificationKind;
4762
+ freshRecommendation: "integrate" | "correct" | "block" | null;
4763
+ requiredChecksPassed: boolean;
4764
+ }
4765
+ interface ManagedProgressV1 {
4766
+ schemaVersion: "snipara.task_progress.v1";
4767
+ state: "needs_clarification" | "blocked" | "working" | "ready" | "verification_required" | "review_required" | "integration_possible";
4768
+ evidence: "not_observed" | "fresh_required_checks";
4769
+ reasonCodes: string[];
4770
+ verificationKind: VerificationKind;
4771
+ recordedClosure: boolean;
4772
+ executionObserved: false;
4773
+ integrationObserved: false;
4774
+ authority: "read_only_projection";
4775
+ }
4776
+ /** Classifies display requirements only; never exempts a command from its execution policy. */
4777
+ declare function taskVerificationKind(commands: string[]): VerificationKind;
4778
+ declare function projectManagedProgress(input: ManagedProgressInput): ManagedProgressV1;
4779
+
4707
4780
  interface TaskJourneyInput {
4708
4781
  goal: string;
4709
4782
  criteria?: string[];
@@ -4727,6 +4800,7 @@ interface TaskJourneyOptions {
4727
4800
  controllerId?: string;
4728
4801
  candidateId?: string;
4729
4802
  orchestratorBin?: string;
4803
+ orchestratorEnv?: Record<string, string | undefined>;
4730
4804
  }
4731
4805
  interface TaskJourneyCard {
4732
4806
  schemaVersion: "snipara.task_journey.v1";
@@ -4744,6 +4818,8 @@ interface TaskJourneyCard {
4744
4818
  featurePath: string | null;
4745
4819
  workflowId: string | null;
4746
4820
  intake: TaskIntake | null;
4821
+ reference?: TaskReferenceV1 | null;
4822
+ referenceReason?: string | null;
4747
4823
  };
4748
4824
  status: "needs_clarification" | "ready" | "working" | "verification_required" | "review_required" | "correction_required" | "blocked" | "integration_possible" | "integrated" | "closed";
4749
4825
  steps: Array<{
@@ -4795,6 +4871,7 @@ interface TaskJourneyCard {
4795
4871
  fresh: boolean;
4796
4872
  };
4797
4873
  supervision: TaskSupervision;
4874
+ managedProgress?: ManagedProgressV1;
4798
4875
  verificationPlan?: VerificationPlan;
4799
4876
  preparedContext?: {
4800
4877
  envelope?: unknown;
@@ -4817,6 +4894,8 @@ declare function buildTaskJourneyCard(options?: {
4817
4894
  }): TaskJourneyCard;
4818
4895
  declare function executeTaskJourney(options: TaskJourneyOptions): Promise<TaskJourneyCard>;
4819
4896
  declare function formatTaskJourneyCard(card: TaskJourneyCard): string;
4897
+ /** The managed view uses the common projection; legacy JSON and formatter stay unchanged. */
4898
+ declare function formatManagedTaskJourneyCard(card: TaskJourneyCard): string;
4820
4899
  /** Preview the smallest existing entry point; resolving a path never grants execution. */
4821
4900
  declare function buildTaskIntentGuide(options: {
4822
4901
  intent: "decision" | "continue" | "verify" | "edit";
@@ -4827,6 +4906,49 @@ declare function buildTaskIntentGuide(options: {
4827
4906
  multiPhase?: boolean;
4828
4907
  }): Record<string, unknown>;
4829
4908
 
4909
+ interface ResolvedManagedToolchain extends ManagedToolchainManifest {
4910
+ manifestPath: string;
4911
+ manifestSha256: string;
4912
+ }
4913
+ type ManagedEnvironment = Record<string, string | undefined>;
4914
+ interface ManagedToolchainOptions {
4915
+ manifestPath?: string;
4916
+ env?: ManagedEnvironment;
4917
+ home?: string;
4918
+ }
4919
+ declare class ManagedToolchainError extends Error {
4920
+ readonly code: string;
4921
+ constructor(code: string, message: string);
4922
+ }
4923
+ declare function defaultManagedToolchainPath(home?: string): string;
4924
+ /** Missing default means legacy operation; an explicit, dangling or invalid selection fails closed. */
4925
+ declare function resolveManagedToolchain(options?: ManagedToolchainOptions): ResolvedManagedToolchain | null;
4926
+ declare function managedToolchainEnvironment(toolchain: ResolvedManagedToolchain, original?: NodeJS.ProcessEnv): ManagedEnvironment;
4927
+ /** The managed façade supports this reviewed generation of the three local components. */
4928
+ declare function assertManagedToolchainCompatibility(toolchain: ManagedToolchainManifest): void;
4929
+ declare function managedTaskRuntime(explicitCommand?: string): {
4930
+ orchestratorBin?: string;
4931
+ orchestratorEnv?: ManagedEnvironment;
4932
+ };
4933
+ declare function inspectManagedToolchain(options?: ManagedToolchainOptions): Record<string, unknown>;
4934
+ /** An operator setting wins; otherwise use the actual current workspace's Git root. */
4935
+ declare function managedCoordinationRoot(requestWorkspace: string, explicit?: string, env?: NodeJS.ProcessEnv, cwd?: string): string;
4936
+
4937
+ declare function prepareManagedMcpLaunch(options: {
4938
+ workspaceRoot: string;
4939
+ manifestPath?: string;
4940
+ }): {
4941
+ command: string;
4942
+ args: string[];
4943
+ cwd: string;
4944
+ env: ManagedEnvironment;
4945
+ };
4946
+ /** The server is intentionally persistent; disconnect and signals have a bounded owned shutdown. */
4947
+ declare function launchManagedMcp(options: {
4948
+ workspaceRoot: string;
4949
+ manifestPath?: string;
4950
+ }): Promise<number>;
4951
+
4830
4952
  interface ControllerCockpitOptions {
4831
4953
  dir: string;
4832
4954
  controllerId: string;
@@ -6369,4 +6491,4 @@ declare function installAutomationBundle(args: {
6369
6491
  }): Promise<AutomationInstallResult>;
6370
6492
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
6371
6493
 
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 };
6494
+ 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 ManagedProgressInput, type ManagedProgressV1, ManagedToolchainError, 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, type TaskReferenceInput, type TaskReferenceV1, WHY_OUTCOME_CAPTURE_VERSION, WORKFLOW_PLANS_RELATIVE_DIR, WORKFLOW_STATE_RELATIVE_PATH, addLocalWorker, agentContextEvidenceCollectCommand, agentContextEvidenceRecordCommand, agentContextEvidenceStatusCommand, agentContextEvidenceTemplateCommand, agentContextResolveCommand, agentContextValidateCommand, agentReadinessAuditCommand, appendActivityEvent, applyLocalContextMutationPlan, applyManagedWorkflowPolicyAutoResponses, archiveInactiveTeamSyncWork, assertManagedToolchainCompatibility, 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, buildTaskReference, 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, defaultManagedToolchainPath, deriveLocalCollaborationResourcesFromFiles, deriveManagedWorkflowJudgmentResolution, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, docsBootstrapCommand, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, executeTaskJourney, exportControllerBridge, exportWorkflowRuntimeContexts, extractCommandFromToolInput, extractFilesFromToolInput, featureInitCommand, featurePlanCommand, featureSpecifyCommand, featureStartCommand, featureStatusCommand, featureTasksCommand, formatAgentContextResolution, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatManagedTaskJourneyCard, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, formatTaskJourneyCard, formatWorkflowContinuity, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, hasActiveManagedWorkflow, hashWorkerProfile, ingestReferences, inspectManagedToolchain, installAutomationBundle, launchManagedMcp, leadPlanCommand, listProjectsForApiKey, loadAutomationManifest, loadCollaborationState, loadConfig, loadTeamSyncState, managedCoordinationRoot, managedTaskRuntime, managedToolchainEnvironment, measureWorkflowEfficiency, memoryAuditCommand, memoryCleanCandidatesCommand, memoryCompactCommand, memoryHealthCommand, memoryLocalCommand, memoryReviewsCommand, mergeHybridCodeResults, normalizeCollaborationFiles, normalizeFeatureSlug, normalizeGuardTag, normalizeWorkflowPlanInput, observeTaskWorkspace, outcomeCapturePreviewCommand, packContext, parseCollaborationResources, prepareManagedMcpLaunch, previewWorkflowContinuityRepair, projectControllerBridge, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, projectManagedProgress, readActivityTimeline, readAgentContextEvidenceLedger, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readRuntimeContextMap, readSessionSnapshot, readStandaloneCommitEvidence, readTaskIntake, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, refreshWorkflowContinuity, renderWorkflowEfficiency, renderWorkflowResumeOverview, resolveAutoWorkflowMode, resolveAutomaticSetup, resolveCodeGraphMode, resolveContextPackRecord, resolveFeatureArtifactPaths, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveManagedToolchain, resolveMinimumChangeMode, resolveQueryFromToolInput, resumeWorkflowContinuity, retrieveContextPack, revalidateTaskIntake, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, taskIntakeHash, taskVerificationKind, teamSyncSweepCommand, validatePlanResult, validateRuntimeSourceContext, validateTaskIntake, verifyCommand, workerTrustCandidateCommand, workerTrustReviewCommand, workerTrustStatusCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowEfficiencyCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot, writeTaskIntake };