snipara-companion 3.6.23 → 3.7.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
@@ -4,6 +4,32 @@ Release notes for `snipara-companion`, newest first.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## New In 3.7.0
8
+
9
+ - Adds Controller progress and cockpit commands backed by Orchestrator receipts,
10
+ including candidate review, bounded repair and Feature acceptance status.
11
+ - Adds an opt-in Controller bridge to managed workflows. Advisory progress
12
+ cannot complete a Companion phase or replace its verification evidence.
13
+ - Keeps local candidate landing separate from repository promotion and package
14
+ publication, with explicit status for each gate.
15
+
16
+ ## New In 3.6.24 - 2026-09-21
17
+
18
+ - Makes `workflow run` use AUTO mode by default and adds French intent signals
19
+ for LITE, STANDARD, FULL, and ORCHESTRATED routing.
20
+ - Reports an automatic setup card showing when Companion, hosted memory,
21
+ Orchestrator, and policy-gated workers are selected.
22
+ - Keeps standalone `snipara-memory` opt-in and worker execution policy-gated.
23
+
24
+ ## New In 3.6.23 - 2026-09-14
25
+
26
+ - Adds opt-in strict closeout for `workflow task-commit` and
27
+ `workflow phase-commit`, requiring passed verification evidence before a
28
+ task commit and requiring all declared phase tasks to be completed or
29
+ skipped before hosted workflow writes.
30
+ - Keeps the default workflow behavior backward-compatible while making strict
31
+ mode suitable for release, security, and multi-agent dogfooding.
32
+
7
33
  ## New In 3.6.22 - 2026-09-12
8
34
 
9
35
  - Saves explicit session summaries and file checkpoints to the hosted journal,
package/README.md CHANGED
@@ -131,13 +131,13 @@ These commands are useful without hosted Snipara:
131
131
 
132
132
  Use the exact CLI value after `workflow run --mode`:
133
133
 
134
- | CLI value | Guide label | Meaning |
135
- | ------------- | ------------------- | --------------------------------------------------------------------- |
136
- | `lite` | LITE | Small, known-scope work with no mandatory hosted context call |
137
- | `standard` | STANDARD | Normal work with context and code-graph follow-up when needed |
138
- | `auto` | AUTO | Routes by task intent to `lite`, `standard`, `full`, or `orchestrate` |
139
- | `full` | FULL | Managed, phased work with durable context and plan support |
140
- | `orchestrate` | FULL + ORCHESTRATED | Explicit deeper orchestration for multi-agent or proof-gate work |
134
+ | CLI value | Guide label | Meaning |
135
+ | ------------- | ------------------- | ----------------------------------------------------------------------------------- |
136
+ | `lite` | LITE | Small, known-scope work with no mandatory hosted context call |
137
+ | `standard` | STANDARD | Normal work with context and code-graph follow-up when needed |
138
+ | `auto` | AUTO | Default mode; routes by task intent to `lite`, `standard`, `full`, or `orchestrate` |
139
+ | `full` | FULL | Managed, phased work with durable context and plan support |
140
+ | `orchestrate` | FULL + ORCHESTRATED | Explicit deeper orchestration for multi-agent or proof-gate work |
141
141
 
142
142
  The root `run` command is the Project Intelligence judgment/release flow.
143
143
  `workflow run` is the workflow-mode runner. They share a verb but are not
@@ -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
@@ -510,8 +519,11 @@ and file evidence when the Companion hook is installed. `workflow session` deriv
510
519
  Session Snapshot V0 includes latest activity, risk reasons, touched files, a
511
520
  next action, and advisory Intent Detection V0. Intent Detection V0 reports the
512
521
  inferred intent, confidence, reason-code signals, local evidence counts, and a
513
- suggested workflow mode. `workflow run --mode auto` uses that same Control Plane
514
- principle to choose lite, standard, full, or orchestrate. Lite runs with zero
522
+ suggested workflow mode. `workflow run` uses AUTO by default and that same
523
+ Control Plane principle to choose lite, standard, full, or orchestrate. It
524
+ reports an automatic setup card for Companion, hosted memory, Orchestrator,
525
+ and policy-gated workers. Standalone `snipara-memory` remains an explicit
526
+ application choice. Lite runs with zero
515
527
  mandatory hosted context calls; recall/context/code-impact are on-demand
516
528
  escalations, not an entry toll.
517
529
  `workflow timeline --export md` prints a compact redacted Markdown timeline for
package/dist/index.d.ts CHANGED
@@ -1,6 +1,125 @@
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
+ sourceLeadPlan: {
23
+ path: string;
24
+ sha256: string;
25
+ };
26
+ sourcePolicy: {
27
+ path: string;
28
+ sha256: string;
29
+ };
30
+ workflowPlan: {
31
+ path: string;
32
+ sha256: string;
33
+ };
34
+ controllerId: string;
35
+ baseSha: string;
36
+ mapping: Array<{
37
+ workPackageId: string;
38
+ taskId: string;
39
+ runtimeProfileId: string;
40
+ }>;
41
+ policyHandshake: {
42
+ requiredProofs: string[];
43
+ requireIndependentReview: true;
44
+ independentReviewerIds: string[];
45
+ boundedProofRepairs?: boolean;
46
+ autonomyLevel: "observe";
47
+ executionGranted: false;
48
+ runtimeProfileBindingRequired: true;
49
+ };
50
+ review: {
51
+ reviewedBy: string;
52
+ authoritySource: "operator_asserted";
53
+ identityAuthenticated: false;
54
+ };
55
+ executionAllowed: false;
56
+ }
57
+ interface ControllerBridgeExportOptions {
58
+ leadPlanFile: string;
59
+ policyFile: string;
60
+ reviewerId: string;
61
+ outDir: string;
62
+ dir?: string;
63
+ json?: boolean;
64
+ }
65
+ declare function exportControllerBridge(options: ControllerBridgeExportOptions, writeArtifacts?: boolean): ControllerBridgeArtifact;
66
+
67
+ interface ControllerProgress {
68
+ version: "snipara.companion_controller_progress.v1";
69
+ controllerId: string;
70
+ sourceHash: string;
71
+ revision: number;
72
+ reportedStatus: string;
73
+ baseSha: string;
74
+ updatedAt: string;
75
+ freshness: "fresh" | "stale";
76
+ tasks: Array<{
77
+ taskId: string;
78
+ reportedStatus: string;
79
+ dependsOn: string[];
80
+ workerId: string | null;
81
+ }>;
82
+ authority: "unverified_local_snapshot";
83
+ executionAllowed: false;
84
+ reviewRequired: true;
85
+ nextAction: string;
86
+ }
87
+
88
+ interface ControllerBridgeProjectOptions {
89
+ bridgeFile: string;
90
+ controllerFile: string;
91
+ dir?: string;
92
+ json?: boolean;
93
+ }
94
+ interface ControllerBridgeProjection {
95
+ schemaVersion: "snipara.companion_controller_bridge_projection.v1";
96
+ bridgeId: string;
97
+ controllerProgress: ControllerProgress;
98
+ sourceHashes: Array<{
99
+ kind: string;
100
+ id: string;
101
+ sha256: string;
102
+ }>;
103
+ tasks: Array<{
104
+ workPackageId: string;
105
+ taskId: string;
106
+ reportedStatus: string;
107
+ nativeProofSourceVerified: boolean;
108
+ proposalId: string | null;
109
+ }>;
110
+ candidate: null | {
111
+ candidateId: string;
112
+ treeSha: string;
113
+ combinedPatchSha256: string;
114
+ reportedReviewVerdict: string | null;
115
+ };
116
+ authority: "source_bound_local_artifacts";
117
+ identityAuthenticated: false;
118
+ executionAllowed: false;
119
+ taskClosureAllowed: false;
120
+ }
121
+ declare function projectControllerBridge(options: ControllerBridgeProjectOptions): ControllerBridgeProjection;
122
+
4
123
  declare function resolveQueryFromToolInput(toolInput?: string, tool?: string): string | null;
5
124
 
6
125
  /**
@@ -2927,6 +3046,7 @@ interface CompanionEngineeringLeadPlanReport {
2927
3046
  };
2928
3047
  localSignals: AgentReadinessLocalSignals;
2929
3048
  reconciliation?: CompanionEngineeringLeadReconciliation;
3049
+ controllerProgress?: ControllerProgress;
2930
3050
  suggestedCommands: string[];
2931
3051
  caveats: string[];
2932
3052
  }
@@ -2940,6 +3060,7 @@ interface LeadPlanCommandOptions {
2940
3060
  risk?: string[];
2941
3061
  fromCockpit?: string;
2942
3062
  fromPlan?: string;
3063
+ fromController?: string;
2943
3064
  reconcile?: boolean;
2944
3065
  dir?: string;
2945
3066
  output?: string;
@@ -4176,6 +4297,20 @@ declare function formatFinalCommitReport(report: FinalCommitReportV1): string;
4176
4297
 
4177
4298
  type SyncDocumentKind = "DOC" | "BINARY";
4178
4299
  type WorkflowMode = "lite" | "standard" | "auto" | "full" | "orchestrate";
4300
+ type AutomaticMemorySetup = "none" | "hosted";
4301
+ type AutomaticOrchestratorSetup = "none" | "available" | "required";
4302
+ type AutomaticWorkerSetup = "none" | "policy_gated";
4303
+ interface AutomaticSetupSelection {
4304
+ requestedMode: WorkflowMode;
4305
+ effectiveMode: Exclude<WorkflowMode, "auto">;
4306
+ companion: "active";
4307
+ memory: AutomaticMemorySetup;
4308
+ orchestrator: AutomaticOrchestratorSetup;
4309
+ workers: AutomaticWorkerSetup;
4310
+ standaloneMemory: "not_selected";
4311
+ tokenStrategy: "minimal" | "budgeted";
4312
+ reasons: string[];
4313
+ }
4179
4314
  type OnboardFolderMode = "auto" | "business_context" | "code_project" | "mixed";
4180
4315
  type DetectedOnboardFolderMode = "business_context" | "code_project" | "mixed" | "unknown";
4181
4316
  type ManagedWorkflowStatus = "active" | "completed" | "blocked";
@@ -4915,6 +5050,15 @@ declare function buildWorkflowPhaseCommitSummary(args: {
4915
5050
  summary: string;
4916
5051
  }): string;
4917
5052
  declare function resolveAutoWorkflowMode(query: string): Exclude<WorkflowMode, "auto">;
5053
+ /**
5054
+ * Describe the smallest effective Snipara setup selected for a task.
5055
+ * This is deliberately a decision card: it never enables standalone memory
5056
+ * or executes a worker by itself. Worker execution remains policy-gated and
5057
+ * requires an explicit orchestrator path or project policy.
5058
+ */
5059
+ declare function resolveAutomaticSetup(query: string, requestedMode: WorkflowMode, options?: {
5060
+ hostedConfigured?: boolean;
5061
+ }): AutomaticSetupSelection;
4918
5062
  /**
4919
5063
  * Compute the impact gate for committed-but-unpushed workflow phases.
4920
5064
  *
@@ -5587,4 +5731,4 @@ declare function installAutomationBundle(args: {
5587
5731
  }): Promise<AutomationInstallResult>;
5588
5732
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
5589
5733
 
5590
- export { AGENT_CONTEXT_EVIDENCE_DEFAULT_LEDGER, AUTOMATION_MANIFEST_RELATIVE_PATH, 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, 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 };
5734
+ 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 };