snipara-companion 3.6.24 → 3.7.1

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
@@ -4,6 +4,23 @@ Release notes for `snipara-companion`, newest first.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## New In 3.7.1
8
+
9
+ - Preserves expected results and bounded source context in Controller task queries;
10
+ binds the projection version to the existing immutable bridge identity while retaining legacy exports.
11
+ - Separates caller-declared completion, source-verified local task proofs and unchecked objective acceptance in reports.
12
+ - Adds bugfix, feature and legacy presets to the existing workflow scaffold command.
13
+ - Adds a replayable repository validation campaign for local checkpoint continuation across native hosts.
14
+
15
+ ## New In 3.7.0
16
+
17
+ - Adds Controller progress and cockpit commands backed by Orchestrator receipts,
18
+ including candidate review, bounded repair and Feature acceptance status.
19
+ - Adds an opt-in Controller bridge to managed workflows. Advisory progress
20
+ cannot complete a Companion phase or replace its verification evidence.
21
+ - Keeps local candidate landing separate from repository promotion and package
22
+ publication, with explicit status for each gate.
23
+
7
24
  ## New In 3.6.24 - 2026-09-21
8
25
 
9
26
  - Makes `workflow run` use AUTO mode by default and adds French intent signals
package/README.md CHANGED
@@ -469,6 +469,7 @@ npx -y snipara-companion workflow phase-start audit
469
469
  npx -y snipara-companion lead-plan --task "ship auth hardening" --changed-files src/auth/session.ts --proof "pnpm test auth" --acceptance "auth tests pass"
470
470
  npx -y snipara-companion lead-plan --from-plan ./project-health-lead-plan.json --reconcile --changed-files src/auth/session.ts
471
471
  npx -y snipara-companion lead-plan --from-plan ./project-health-lead-plan.json --json | jq '.engineeringLeadPlan.executionReceipts'
472
+ npx -y snipara-companion lead-plan --task "review controller progress" --from-controller .snipara/orchestrator/project-controllers/<controller-id>/state.json --json
472
473
  npx -y snipara-companion workflow phase-commit audit --summary "mapped auth impact"
473
474
  npx -y snipara-companion workflow producer-triage
474
475
  npx -y snipara-companion workflow decisions
@@ -484,6 +485,14 @@ npx -y snipara-companion workflow producer-review --latest --outcome useful --re
484
485
  npx -y snipara-companion handoff --summary "auth impact mapped" --next "run auth tests"
485
486
  ```
486
487
 
488
+ `lead-plan --from-controller <snapshot>` adds a read-only `controllerProgress`
489
+ section with task IDs, dependencies, reported status and a hash of the source
490
+ bytes. The snapshot must describe the current workspace and a valid bounded
491
+ DAG. Snapshots older than 30 minutes are labeled stale. This section remains
492
+ `unverified_local_snapshot`: it neither imports execution authority nor marks
493
+ Companion tasks complete. Check actual host proofs, candidate review and
494
+ integration receipts before accepting the reported progress.
495
+
487
496
  For a stricter engineering workflow, add `--strict` to a completed
488
497
  `workflow task-commit` or `workflow phase-commit`. Strict phase closeout requires
489
498
  all declared tasks to be completed or skipped and requires every supplied
@@ -704,3 +713,12 @@ PostToolUse hook runs the same preview-then-confirm flow when no managed
704
713
  workflow is active. It submits the commit message, commit SHA, and changed-file
705
714
  evidence as `sourceKind=commit`; ordinary messages produce no candidate, and
706
715
  any captured rationale remains pending human review.
716
+
717
+ ### Portable workflow starting points
718
+
719
+ Use `workflow scaffold --preset bugfix`, `--preset feature` or `--preset legacy`
720
+ with a concrete `--goal`. Edit the generated plan, then use the existing
721
+ `workflow start`, phase and resume commands. Completion declarations remain
722
+ separate from checked Controller proof sources and Feature acceptance.
723
+ See [portable workflows](docs/portable-methods.md) for context bounds, legacy
724
+ compatibility and the native continuation validation procedure.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,137 @@
1
1
  #!/usr/bin/env node
2
2
  import { AdvisorInfluenceLifecycle, HostedContextControlSource, HostedContextControlPlan, HostedContextControlApplyReceipt, ProjectIntentDetectionResult, ProjectPolicyDecision, ProjectRealityCheckResult, ContextMutationPlan, ContextMutationApplyReceipt, ProjectContextValidationReport, ProjectDriftReport, AgentContextResolution, AgentContextValidationReport, AgentContextEvidenceReceipt, AgentContextEvidenceReport, ProjectIntelligenceEngineeringLeadPlanSummary, ProjectPolicyRule, AdvisorInfluenceLifecycleState, DecisionRequest, OutcomeIntelligenceCalibration, OutcomeIntelligenceReceipt, OutcomeIntelligenceEvidence, ControlledWorkerExecutionMode, WorkerTrustCategory, ControlledWorkerExecutionReceipt, UnifiedReceiptEnvelope, WorkerTrustCandidate, WorkerProfile, WorkerTrustEvent } from '@snipara/project-intelligence-contracts';
3
3
 
4
+ interface ControllerCockpitOptions {
5
+ dir: string;
6
+ controllerId: string;
7
+ action?: string;
8
+ bridgeFile?: string;
9
+ orchestratorBin?: string;
10
+ candidateId?: string;
11
+ receiptFile?: string;
12
+ cancelActive?: boolean;
13
+ timeoutSeconds?: number | string;
14
+ json?: boolean;
15
+ }
16
+ declare function buildControllerCockpit(options: ControllerCockpitOptions): Record<string, unknown>;
17
+
18
+ declare const CONTROLLER_BRIDGE_VERSION = "snipara.companion_controller_bridge.v1";
19
+ interface ControllerBridgeArtifact {
20
+ schemaVersion: typeof CONTROLLER_BRIDGE_VERSION;
21
+ artifactId: string;
22
+ taskContextVersion?: "source-context-v1";
23
+ sourceLeadPlan: {
24
+ path: string;
25
+ sha256: string;
26
+ };
27
+ sourcePolicy: {
28
+ path: string;
29
+ sha256: string;
30
+ };
31
+ workflowPlan: {
32
+ path: string;
33
+ sha256: string;
34
+ };
35
+ controllerId: string;
36
+ baseSha: string;
37
+ mapping: Array<{
38
+ workPackageId: string;
39
+ taskId: string;
40
+ runtimeProfileId: string;
41
+ }>;
42
+ policyHandshake: {
43
+ requiredProofs: string[];
44
+ requireIndependentReview: true;
45
+ independentReviewerIds: string[];
46
+ boundedProofRepairs?: boolean;
47
+ autonomyLevel: "observe";
48
+ executionGranted: false;
49
+ runtimeProfileBindingRequired: true;
50
+ };
51
+ review: {
52
+ reviewedBy: string;
53
+ authoritySource: "operator_asserted";
54
+ identityAuthenticated: false;
55
+ };
56
+ executionAllowed: false;
57
+ }
58
+ interface ControllerBridgeExportOptions {
59
+ leadPlanFile: string;
60
+ policyFile: string;
61
+ reviewerId: string;
62
+ outDir: string;
63
+ dir?: string;
64
+ json?: boolean;
65
+ }
66
+ declare function exportControllerBridge(options: ControllerBridgeExportOptions, writeArtifacts?: boolean, preserveSourceContext?: boolean): ControllerBridgeArtifact;
67
+
68
+ interface ControllerProgress {
69
+ version: "snipara.companion_controller_progress.v1";
70
+ controllerId: string;
71
+ sourceHash: string;
72
+ revision: number;
73
+ reportedStatus: string;
74
+ baseSha: string;
75
+ updatedAt: string;
76
+ freshness: "fresh" | "stale";
77
+ tasks: Array<{
78
+ taskId: string;
79
+ reportedStatus: string;
80
+ dependsOn: string[];
81
+ workerId: string | null;
82
+ }>;
83
+ completionEvidence: {
84
+ taskProofs: "not_checked";
85
+ objectiveAcceptance: "not_checked";
86
+ reportedObjectiveStatus: string;
87
+ };
88
+ authority: "unverified_local_snapshot";
89
+ executionAllowed: false;
90
+ reviewRequired: true;
91
+ nextAction: string;
92
+ }
93
+
94
+ interface ControllerBridgeProjectOptions {
95
+ bridgeFile: string;
96
+ controllerFile: string;
97
+ dir?: string;
98
+ json?: boolean;
99
+ }
100
+ interface ControllerBridgeProjection {
101
+ schemaVersion: "snipara.companion_controller_bridge_projection.v1";
102
+ bridgeId: string;
103
+ controllerProgress: ControllerProgress;
104
+ sourceHashes: Array<{
105
+ kind: string;
106
+ id: string;
107
+ sha256: string;
108
+ }>;
109
+ tasks: Array<{
110
+ workPackageId: string;
111
+ taskId: string;
112
+ reportedStatus: string;
113
+ nativeProofSourceVerified: boolean;
114
+ proposalId: string | null;
115
+ }>;
116
+ candidate: null | {
117
+ candidateId: string;
118
+ treeSha: string;
119
+ combinedPatchSha256: string;
120
+ reportedReviewVerdict: string | null;
121
+ };
122
+ completionEvidence: {
123
+ taskProofs: "verified" | "pending";
124
+ objectiveAcceptance: "not_checked";
125
+ reportedObjectiveStatus: string;
126
+ authority: "source_bound_local_artifacts";
127
+ };
128
+ authority: "source_bound_local_artifacts";
129
+ identityAuthenticated: false;
130
+ executionAllowed: false;
131
+ taskClosureAllowed: false;
132
+ }
133
+ declare function projectControllerBridge(options: ControllerBridgeProjectOptions): ControllerBridgeProjection;
134
+
4
135
  declare function resolveQueryFromToolInput(toolInput?: string, tool?: string): string | null;
5
136
 
6
137
  /**
@@ -2927,6 +3058,7 @@ interface CompanionEngineeringLeadPlanReport {
2927
3058
  };
2928
3059
  localSignals: AgentReadinessLocalSignals;
2929
3060
  reconciliation?: CompanionEngineeringLeadReconciliation;
3061
+ controllerProgress?: ControllerProgress;
2930
3062
  suggestedCommands: string[];
2931
3063
  caveats: string[];
2932
3064
  }
@@ -2940,6 +3072,7 @@ interface LeadPlanCommandOptions {
2940
3072
  risk?: string[];
2941
3073
  fromCockpit?: string;
2942
3074
  fromPlan?: string;
3075
+ fromController?: string;
2943
3076
  reconcile?: boolean;
2944
3077
  dir?: string;
2945
3078
  output?: string;
@@ -4102,6 +4235,12 @@ interface FinalCommitReportV1 {
4102
4235
  generatedAt: string;
4103
4236
  workflowId?: string;
4104
4237
  outcome: FinalCommitOutcome;
4238
+ completionEvidence: {
4239
+ declaration: FinalCommitOutcome;
4240
+ taskProofs: "not_checked";
4241
+ objectiveAcceptance: "not_checked";
4242
+ authority: "caller_declaration";
4243
+ };
4105
4244
  changed: {
4106
4245
  summary: string;
4107
4246
  files: string[];
@@ -4320,10 +4459,10 @@ interface ProducerLoopReport {
4320
4459
  recommendedActions: string[];
4321
4460
  caveats: string[];
4322
4461
  }
4323
- type WorkflowPlanPreset = "memory-backend-unification" | "project-intelligence-continuity-layer";
4462
+ type WorkflowPlanPreset = "bugfix" | "feature" | "legacy" | "memory-backend-unification" | "project-intelligence-continuity-layer";
4324
4463
  interface WorkflowPlanScaffoldDocument {
4325
4464
  preset: WorkflowPlanPreset;
4326
- mode: "full";
4465
+ mode: "standard" | "full";
4327
4466
  goal: string;
4328
4467
  steps: Array<{
4329
4468
  id: string;
@@ -5610,4 +5749,4 @@ declare function installAutomationBundle(args: {
5610
5749
  }): Promise<AutomationInstallResult>;
5611
5750
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
5612
5751
 
5613
- 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, 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, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, captureStandaloneCommitWhy, 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, deriveManagedWorkflowJudgmentResolution, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, docsBootstrapCommand, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, extractCommandFromToolInput, extractFilesFromToolInput, featureInitCommand, featurePlanCommand, featureSpecifyCommand, featureStartCommand, featureStatusCommand, featureTasksCommand, formatAgentContextResolution, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, 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, projectIntelligenceBriefCommand, projectIntelligenceRunCommand, readActivityTimeline, readAgentContextEvidenceLedger, readLocalCodeOverlayCache, readLocalCodePromotionState, readLocalSourceSnapshot, readLocalWorkersConfig, readSessionSnapshot, readStandaloneCommitEvidence, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveAutomaticSetup, resolveCodeGraphMode, resolveContextPackRecord, resolveFeatureArtifactPaths, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveMinimumChangeMode, 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 };
5752
+ 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, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkerTrustCandidates, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, captureStandaloneCommitWhy, 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, deriveManagedWorkflowJudgmentResolution, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, docsBootstrapCommand, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, exportControllerBridge, extractCommandFromToolInput, extractFilesFromToolInput, featureInitCommand, featurePlanCommand, featureSpecifyCommand, featureStartCommand, featureStatusCommand, featureTasksCommand, formatAgentContextResolution, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatFinalCommitReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, 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, readSessionSnapshot, readStandaloneCommitEvidence, readWorkerTrustEvent, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveAutomaticSetup, resolveCodeGraphMode, resolveContextPackRecord, resolveFeatureArtifactPaths, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveMinimumChangeMode, 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 };