snipara-companion 3.2.32 → 3.2.33

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,21 @@
2
2
 
3
3
  Release notes for `snipara-companion`, newest first.
4
4
 
5
+ ## New In 3.2.33
6
+
7
+ - Turns `final-commit` into a structured closeout report with seven stable
8
+ sections: what changed, why, evidence, retained decisions, decisions proposed
9
+ for review, items not persisted, and risks plus the next step.
10
+ - Writes the same versioned, redacted report to
11
+ `.snipara/workflow/final-report.json` and includes its path and SHA-256 hash in
12
+ JSON output for automation and handoff verification.
13
+ - Retains phase commit and Why Capture receipts across a managed workflow so the
14
+ report distinguishes durable stored knowledge from pending review candidates,
15
+ duplicates, failures, and handoff-only content.
16
+ - Adds `--why`, repeatable `--evidence <status:text>`, repeatable `--risk`, and
17
+ `--next-step` to both final-commit entry points while preserving the existing
18
+ handoff-only memory policy.
19
+
5
20
  ## New In 3.2.32
6
21
 
7
22
  - Promotes a Hosted MCP `servedJudgmentId` into the first-class Project
package/README.md CHANGED
@@ -262,6 +262,25 @@ receipts from `.snipara/orchestrator/executions/` with persisted supervisor
262
262
  reviews, then emits `workerReceipts` and a per-`workerId`/`workCategory`
263
263
  `workerTrust` breakdown. This is observability only: every pair remains
264
264
  `probation_supervised` and `hardGateReady=false`.
265
+
266
+ `final-commit` also prints a stable seven-section closeout report:
267
+
268
+ 1. What changed
269
+ 2. Why
270
+ 3. Evidence
271
+ 4. Decisions kept
272
+ 5. Decisions proposed for review
273
+ 6. Not persisted
274
+ 7. Risks and next step
275
+
276
+ Pass an explicit rationale with `--why`, repeatable verification receipts with
277
+ `--evidence <status:text>`, remaining risks with `--risk`, and the recommended
278
+ follow-up with `--next-step`. Supported evidence statuses are `passed`,
279
+ `failed`, `not-run`, and `unknown`; evidence without a status remains
280
+ `unknown`. The same redacted, versioned report is written to
281
+ `.snipara/workflow/final-report.json`, and `--json` includes the report plus its
282
+ artifact path and SHA-256 hash. Stored phase outcomes appear under decisions
283
+ kept, while Why Capture candidates remain explicitly pending review.
265
284
  The report also recognizes exported PR Answer Pack decision-capture artifacts
266
285
  with producer kind `pr_answer_pack_decision_capture`, so calibration can track
267
286
  more than the workflow producer once those artifacts are present locally.
@@ -364,4 +383,6 @@ When project auth is configured, `workflow phase-commit`, `final-commit`, and
364
383
  read-only preview and confirms only when the server detects durable rationale.
365
384
  Confirmed candidates enter the pending review queue; capture failures remain
366
385
  visible but do not block the primary workflow command. No documentation prompt
367
- is shown.
386
+ is shown. `final-commit` remains handoff-only: the report explains what was
387
+ stored or proposed, but it does not approve pending candidates or write final
388
+ summary text as durable memory.
package/dist/index.d.ts CHANGED
@@ -461,6 +461,34 @@ interface WhyCaptureResult {
461
461
  confirmed: boolean;
462
462
  candidateCount: number;
463
463
  capturedCount?: number;
464
+ candidates?: Array<{
465
+ content?: string;
466
+ type?: string;
467
+ category?: string;
468
+ reviewNotes?: string;
469
+ whyFields?: {
470
+ decision?: string | null;
471
+ why?: string | null;
472
+ outcome?: string | null;
473
+ };
474
+ }>;
475
+ memories?: Array<{
476
+ id?: string;
477
+ memory_id?: string;
478
+ content?: string;
479
+ type?: string;
480
+ category?: string;
481
+ reviewStatus?: string;
482
+ review_status?: string;
483
+ }>;
484
+ decisionCapture?: {
485
+ createdCount?: number;
486
+ duplicateCount?: number;
487
+ failedCount?: number;
488
+ created?: Array<Record<string, unknown>>;
489
+ duplicates?: Array<Record<string, unknown>>;
490
+ failed?: Array<Record<string, unknown>>;
491
+ };
464
492
  }
465
493
  interface JournalAppendResult {
466
494
  success?: boolean;
@@ -3550,6 +3578,180 @@ declare function getTeamSyncStatePath(rootDir?: string): string;
3550
3578
  declare function buildAgenticHandoffMarkdown(artifact: AgenticHandoffArtifact): string;
3551
3579
  declare function teamSyncSweepCommand(options: TeamSyncCommandOptions): Promise<void>;
3552
3580
 
3581
+ interface CompanionWhyCaptureCandidate {
3582
+ text: string;
3583
+ type?: string;
3584
+ category?: string;
3585
+ decision?: string;
3586
+ rationale?: string;
3587
+ }
3588
+ interface CompanionWhyCaptureMemory {
3589
+ memoryId?: string;
3590
+ text: string;
3591
+ type?: string;
3592
+ category?: string;
3593
+ reviewStatus?: string;
3594
+ }
3595
+ interface CompanionWhyCaptureIssue {
3596
+ text: string;
3597
+ reason?: string;
3598
+ }
3599
+ interface CompanionWhyCaptureReceipt {
3600
+ status: "captured" | "no_candidates" | "skipped" | "error";
3601
+ sourceKind: WhyCaptureSourceKind;
3602
+ previewCandidateCount: number;
3603
+ capturedCount: number;
3604
+ previewCandidates: CompanionWhyCaptureCandidate[];
3605
+ pendingMemories: CompanionWhyCaptureMemory[];
3606
+ duplicates: CompanionWhyCaptureIssue[];
3607
+ failed: CompanionWhyCaptureIssue[];
3608
+ commitSha?: string;
3609
+ error?: string;
3610
+ }
3611
+
3612
+ declare const FINAL_COMMIT_REPORT_VERSION: "snipara.final_commit_report.v1";
3613
+ declare const FINAL_COMMIT_REPORT_RELATIVE_PATH: string;
3614
+ type FinalCommitOutcome = "completed" | "partial" | "blocked" | "abandoned";
3615
+ type FinalCommitEvidenceStatus = "passed" | "failed" | "not_run" | "unknown";
3616
+ interface FinalCommitMemoryItem {
3617
+ memoryId?: string;
3618
+ text: string;
3619
+ type?: string;
3620
+ category?: string;
3621
+ reason?: string;
3622
+ reviewStatus?: string;
3623
+ source: "phase_commit" | "why_capture";
3624
+ phaseId?: string;
3625
+ }
3626
+ interface WorkflowPhaseCommitReceipt {
3627
+ phaseId: string;
3628
+ capturedAt: string;
3629
+ category: string;
3630
+ outcome: FinalCommitOutcome;
3631
+ hostedStatus: "processed" | "local_fallback";
3632
+ stored: FinalCommitMemoryItem[];
3633
+ skipped: FinalCommitMemoryItem[];
3634
+ whyCapture?: CompanionWhyCaptureReceipt;
3635
+ }
3636
+ interface FinalCommitReportPhase {
3637
+ id: string;
3638
+ title: string;
3639
+ status: string;
3640
+ summary?: string;
3641
+ outcome?: string;
3642
+ files: string[];
3643
+ }
3644
+ interface FinalCommitReportWorkflowState {
3645
+ workflowId: string;
3646
+ goal: string;
3647
+ status: string;
3648
+ createdAt: string;
3649
+ phases: Array<{
3650
+ id: string;
3651
+ title: string;
3652
+ status: string;
3653
+ summary?: string;
3654
+ outcome?: string;
3655
+ files?: string[];
3656
+ }>;
3657
+ phaseCommitReceipts?: WorkflowPhaseCommitReceipt[];
3658
+ runtime?: {
3659
+ sandbox?: {
3660
+ bindings?: Array<{
3661
+ lastCheckpoint?: {
3662
+ commands?: string[];
3663
+ };
3664
+ }>;
3665
+ };
3666
+ };
3667
+ }
3668
+ interface FinalCommitEvidenceItem {
3669
+ status: FinalCommitEvidenceStatus;
3670
+ text: string;
3671
+ source: "explicit" | "runtime_checkpoint";
3672
+ }
3673
+ interface FinalCommitNotPersistedItem {
3674
+ text: string;
3675
+ reason: string;
3676
+ source: "phase_commit" | "why_capture" | "final_commit";
3677
+ }
3678
+ interface FinalCommitReportV1 {
3679
+ version: typeof FINAL_COMMIT_REPORT_VERSION;
3680
+ generatedAt: string;
3681
+ workflowId?: string;
3682
+ outcome: FinalCommitOutcome;
3683
+ changed: {
3684
+ summary: string;
3685
+ files: string[];
3686
+ phases: FinalCommitReportPhase[];
3687
+ repository: {
3688
+ branch?: string;
3689
+ head?: string;
3690
+ dirty: boolean;
3691
+ dirtyFiles: string[];
3692
+ };
3693
+ };
3694
+ rationale: {
3695
+ status: "provided" | "captured" | "missing";
3696
+ text?: string;
3697
+ source: "explicit" | "why_capture" | "none";
3698
+ };
3699
+ evidence: {
3700
+ items: FinalCommitEvidenceItem[];
3701
+ counts: Record<FinalCommitEvidenceStatus, number>;
3702
+ };
3703
+ retainedDecisions: {
3704
+ status: "confirmed" | "none" | "unavailable";
3705
+ items: FinalCommitMemoryItem[];
3706
+ note?: string;
3707
+ };
3708
+ pendingDecisions: {
3709
+ status: "pending_review" | "none" | "unavailable";
3710
+ items: FinalCommitMemoryItem[];
3711
+ note?: string;
3712
+ };
3713
+ notPersisted: {
3714
+ items: FinalCommitNotPersistedItem[];
3715
+ };
3716
+ closeout: {
3717
+ risks: string[];
3718
+ nextStep: string;
3719
+ };
3720
+ caveats: string[];
3721
+ }
3722
+ interface FinalCommitReportArtifact {
3723
+ status: "written" | "error";
3724
+ version: typeof FINAL_COMMIT_REPORT_VERSION;
3725
+ path?: string;
3726
+ relativePath: typeof FINAL_COMMIT_REPORT_RELATIVE_PATH;
3727
+ hash?: string;
3728
+ error?: string;
3729
+ }
3730
+ interface BuildFinalCommitReportInput {
3731
+ state?: FinalCommitReportWorkflowState;
3732
+ summary: string;
3733
+ why?: string;
3734
+ outcome: FinalCommitOutcome;
3735
+ files?: string[];
3736
+ evidence?: string[];
3737
+ risks?: string[];
3738
+ nextStep?: string;
3739
+ whyCapture: CompanionWhyCaptureReceipt;
3740
+ finalCommitResult: Record<string, unknown>;
3741
+ cwd?: string;
3742
+ now?: Date;
3743
+ }
3744
+ declare function buildWorkflowPhaseCommitReceipt(input: {
3745
+ phaseId: string;
3746
+ category: string;
3747
+ outcome: FinalCommitOutcome;
3748
+ result: Record<string, unknown>;
3749
+ capturedAt?: string;
3750
+ }): WorkflowPhaseCommitReceipt;
3751
+ declare function buildFinalCommitReport(input: BuildFinalCommitReportInput): FinalCommitReportV1;
3752
+ declare function writeFinalCommitReport(report: FinalCommitReportV1, cwd?: string): FinalCommitReportArtifact;
3753
+ declare function formatFinalCommitReport(report: FinalCommitReportV1): string;
3754
+
3553
3755
  type SyncDocumentKind = "DOC" | "BINARY";
3554
3756
  type WorkflowMode = "lite" | "standard" | "auto" | "full" | "orchestrate";
3555
3757
  type OnboardFolderMode = "auto" | "business_context" | "code_project" | "mixed";
@@ -3766,6 +3968,8 @@ interface ManagedWorkflowState {
3766
3968
  phases: ManagedWorkflowPhase[];
3767
3969
  runtime?: ManagedWorkflowRuntimeState;
3768
3970
  coordination?: ManagedWorkflowCoordinationState;
3971
+ phaseCommitReceipts?: WorkflowPhaseCommitReceipt[];
3972
+ finalReport?: FinalCommitReportArtifact;
3769
3973
  lastCommit?: {
3770
3974
  category: string;
3771
3975
  outcome: TaskCommitOutcome;
@@ -4605,4 +4809,4 @@ declare function installAutomationBundle(args: {
4605
4809
  }): Promise<AutomationInstallResult>;
4606
4810
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
4607
4811
 
4608
- 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, 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, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildJournalCheckpointEntry, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextMutationPlan, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectContextValidationReport, buildLocalProjectDriftReport, buildLocalProjectRealityCheck, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSyncDocumentsDryRun, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkflowImpactGate, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, categoryFromGuardTag, classifyToolResult, cleanContextPacks, codingLedgerExportCommand, collaborationIdeStatusCommand, collectAgentReadinessLocalSignals, collectPolicyLedgerSyncArtifacts, collectSyncDocuments, collectSyncDocumentsInput, compactHostedGuardResources, compareLocalSourceSnapshots, completeTeamSyncStateFromEvidence, completeTeamSyncWorkFromEvidence, contextControlApplyCommand, contextControlDriftCommand, contextControlPlanCommand, contextControlValidateCommand, contextPackCleanCommand, contextPackPackCommand, contextPackRetrieveCommand, contextPackStatsCommand, controlledWorkerExecuteCommand, createClient, createEmptyCollaborationState, createEmptyTeamSyncState, createLocalQueryCache, deriveLocalCollaborationResourcesFromFiles, detectReleaseSurfacesFromFiles, detectRuntimeEnvironment, evalExportCommand, evalRunCommand, evaluateProjectPolicyGates, extractCommandFromToolInput, extractFilesFromToolInput, formatAgentReadinessAuditReport, formatCompanionEngineeringLeadPlanReport, formatOrchestratorRecommendationReason, formatPolicyGateDecision, formatProjectJudgmentCard, formatStuckGuardDecision, getAutomationManifestPath, getAutomationStatus, getCollaborationStatePath, getConfigPath, getContextPackStoragePaths, getLocalCodeOverlayCachePath, getLocalCodePromotionStatePath, getLocalSourceSnapshotPath, getOrchestratorRecommendation, getPlanStepDisplayTitle, getStagedFiles, getStuckGuardInjection, getTeamSyncStatePath, 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, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveContextPackRecord, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveQueryFromToolInput, retrieveContextPack, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };
4812
+ 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, 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, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildPolicyLedgerSyncReport, buildProducerLoopReport, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSyncDocumentsDryRun, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkflowImpactGate, buildWorkflowPhaseCommitReceipt, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, categoryFromGuardTag, classifyToolResult, cleanContextPacks, codingLedgerExportCommand, collaborationIdeStatusCommand, collectAgentReadinessLocalSignals, collectPolicyLedgerSyncArtifacts, collectSyncDocuments, collectSyncDocumentsInput, compactHostedGuardResources, compareLocalSourceSnapshots, completeTeamSyncStateFromEvidence, completeTeamSyncWorkFromEvidence, contextControlApplyCommand, contextControlDriftCommand, 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, 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, realityCheckCommand, referencesIngestCommand, referencesScanCommand, resolveAutoWorkflowMode, resolveContextPackRecord, resolveFullWorkflowTokenBudget, resolveLocalWorkerRoutingDefaults, resolveQueryFromToolInput, retrieveContextPack, runMemoryGuardCheck, saveCollaborationState, saveConfig, saveTeamSyncState, scanReferences, shouldFailCollaborationGuard, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeFinalCommitReport, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };