snipara-companion 3.2.17 → 3.2.19

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/README.md CHANGED
@@ -68,24 +68,24 @@ your current checkout in seconds, before an agent edits the wrong thing.
68
68
 
69
69
  These commands are useful without hosted Snipara:
70
70
 
71
- | Command | What it gives you locally |
72
- | ------------------------------------------------------------ | ------------------------------------------------------------ |
73
- | `source init` / `source sync` / `source status` | Local source snapshot, document preview, and code overlay |
74
- | `impact` / `code impact` | File-level blast-radius from the local code overlay |
75
- | `reality-check` | Intent Ledger, Unknown Registry, and verification checks |
76
- | `code callers` / `imports` / `neighbors` / `shortest-path` | Structural repo questions from local files |
77
- | `workflow start` / `phase-start` / `phase-commit` / `resume` | Agent continuity that survives compaction |
78
- | `workflow timeline` / `workflow session` | Append-only local activity log and Session Snapshot V0 |
79
- | `workflow decisions` / `workflow decide` | Local human decision requests and response receipts |
80
- | `workflow policy-ledger` | Project Policy decisions for agent review and audit |
81
- | `run --emit-policy-decisions` | Project Policy review requests in the agent workflow |
82
- | `workflow producer-triage` | Ask for human review of unreviewed Producer Loop samples |
83
- | `workflow producer-report` | Local Producer Loop adoption and calibration report |
84
- | `workflow producer-review` | Mark local Producer Loop samples reviewed or rejected |
85
- | `context-pack` | Reversible local packs for long logs, diffs, and tool output |
86
- | `judgment-card`, `verify`, `lead-plan`, `agent-readiness` | Local review artifacts and delegation contracts |
87
- | `intelligence ledger-export` | Structured redacted ledger JSON for replay and review |
88
- | `stuck-guard`, `memory-guard`, `pre-tool`, `post-tool` | Fail-soft local guards and hook helpers |
71
+ | Command | What it gives you locally |
72
+ | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
73
+ | `source init` / `source sync` / `source status` | Local source snapshot, document preview, and code overlay |
74
+ | `impact` / `code impact` | File-level blast-radius from the local code overlay |
75
+ | `reality-check` | Intent Ledger, Unknown Registry, and verification checks |
76
+ | `code callers` / `imports` / `neighbors` / `shortest-path` | Structural repo questions from local files |
77
+ | `workflow start` / `phase-start` / `phase-commit` / `resume` | Agent continuity that survives compaction |
78
+ | `workflow timeline` / `workflow session` | Append-only local activity log and Session Snapshot V0 |
79
+ | `workflow decisions` / `workflow decide` | Local human decision requests and response receipts |
80
+ | `workflow policy-ledger` / `workflow apply-decisions` / `workflow sync-policy-ledger` | Project Policy review ledger, explicit apply pipeline, and hosted audit sync |
81
+ | `run --emit-policy-decisions` | Project Policy review requests in the agent workflow |
82
+ | `workflow producer-triage` | Ask for human review of unreviewed Producer Loop samples |
83
+ | `workflow producer-report` | Local Producer Loop adoption and calibration report |
84
+ | `workflow producer-review` | Mark local Producer Loop samples reviewed or rejected |
85
+ | `context-pack` | Reversible local packs for long logs, diffs, and tool output |
86
+ | `judgment-card`, `verify`, `lead-plan`, `agent-readiness` | Local review artifacts and delegation contracts |
87
+ | `intelligence ledger-export` | Structured redacted ledger JSON for replay and review |
88
+ | `stuck-guard`, `memory-guard`, `pre-tool`, `post-tool` | Fail-soft local guards and hook helpers |
89
89
 
90
90
  ### Local Worker Registry
91
91
 
@@ -147,6 +147,8 @@ npx -y snipara-companion workflow producer-triage
147
147
  npx -y snipara-companion workflow decisions
148
148
  npx -y snipara-companion workflow policy-ledger
149
149
  npx -y snipara-companion workflow decide decision-abc123 --choose accept_all --reviewer alice
150
+ npx -y snipara-companion workflow apply-decisions --dry-run
151
+ npx -y snipara-companion workflow sync-policy-ledger
150
152
  npx -y snipara-companion workflow timeline
151
153
  npx -y snipara-companion workflow timeline --export md
152
154
  npx -y snipara-companion workflow session --json
@@ -199,6 +201,15 @@ it still uses manual apply instructions and never writes policy automatically.
199
201
  approved, refused, modified, and deferred Project Policy decision artifacts,
200
202
  plus the exact pending requests it should ask the human about. It is read-only
201
203
  and does not apply policy edits.
204
+ After the human resolves a request, `workflow apply-decisions --dry-run` previews
205
+ local follow-up actions for resolved Project Policy receipts. Running
206
+ `workflow apply-decisions` writes only idempotent review artifacts such as local
207
+ policy drafts under `.snipara/policies/drafts/`; it does not activate canonical
208
+ Project Policy silently.
209
+ Run `workflow sync-policy-ledger` after local review to upload Decision Request,
210
+ resolution, apply receipt, and policy draft artifacts into the hosted Project
211
+ Policy ledger. The sync is audit-only and does not approve, refuse, activate, or
212
+ edit canonical Project Policy.
202
213
  Other producers such as `outcome-capture preview --emit-decisions`,
203
214
  `memory reviews --emit-decisions`, `workflow decision-producer memory`, and
204
215
  `workflow decision-producer context-risk` emit requests with their existing apply
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { ProjectIntentDetectionResult, ProjectPolicyDecision, ProjectRealityCheckResult, ProjectIntelligenceEngineeringLeadPlanSummary, ProjectPolicyRule, DecisionRequest, OutcomeIntelligenceCalibration, ControlledWorkerExecutionMode, ControlledWorkerExecutionReceipt } from '@snipara/project-intelligence-contracts';
2
+ import { ProjectIntentDetectionResult, ProjectPolicyDecision, ProjectRealityCheckResult, ProjectIntelligenceEngineeringLeadPlanSummary, ProjectPolicyRule, DecisionRequest, OutcomeIntelligenceCalibration, ControlledWorkerExecutionMode, ControlledWorkerExecutionReceipt, UnifiedReceiptEnvelope } from '@snipara/project-intelligence-contracts';
3
3
 
4
4
  declare function resolveQueryFromToolInput(toolInput?: string, tool?: string): string | null;
5
5
 
@@ -360,6 +360,22 @@ interface SyncDocumentInput {
360
360
  language?: string | null;
361
361
  metadata?: Record<string, unknown>;
362
362
  }
363
+ type ProjectPolicyLedgerSyncArtifactKind = "decision_request" | "decision_resolution" | "apply_receipt" | "policy_draft";
364
+ type ProjectPolicyLedgerSyncStatus = "pending" | "approved" | "refused" | "superseded" | "modified";
365
+ type ProjectPolicyLedgerSyncApplyState = "needs_apply" | "applied" | "manual_follow_up_required" | "no_apply";
366
+ interface ProjectPolicyLedgerSyncArtifactInput {
367
+ kind: ProjectPolicyLedgerSyncArtifactKind;
368
+ requestId: string;
369
+ fingerprint?: string;
370
+ title?: string;
371
+ status?: ProjectPolicyLedgerSyncStatus;
372
+ applyState?: ProjectPolicyLedgerSyncApplyState;
373
+ humanChoice?: string;
374
+ summary?: string;
375
+ sourcePath?: string;
376
+ updatedAt?: string;
377
+ payload: Record<string, unknown>;
378
+ }
363
379
  type BusinessCollectionPreset = "business_response_playbook" | "business_library" | "offer_templates" | "company_presentations" | "reference_diagrams";
364
380
  interface UploadDocumentOptions {
365
381
  kind?: "DOC" | "BINARY";
@@ -1346,6 +1362,7 @@ declare class RLMClient {
1346
1362
  listClientProjects(options?: ListClientProjectsOptions): Promise<Record<string, unknown>>;
1347
1363
  createClientProject(options: CreateClientProjectOptions): Promise<Record<string, unknown>>;
1348
1364
  syncDocuments(documents: SyncDocumentInput[], deleteMissing?: boolean): Promise<Record<string, unknown>>;
1365
+ syncProjectPolicyLedger(artifacts: ProjectPolicyLedgerSyncArtifactInput[]): Promise<Record<string, unknown>>;
1349
1366
  reindex(options: {
1350
1367
  kind?: "doc" | "code";
1351
1368
  mode?: "incremental" | "full";
@@ -3701,6 +3718,8 @@ interface ControlledWorkerExecuteOptions {
3701
3718
  acceptance?: string[];
3702
3719
  proof?: string[];
3703
3720
  output?: string;
3721
+ projectId?: string;
3722
+ unifiedOutput?: string;
3704
3723
  dir?: string;
3705
3724
  json?: boolean;
3706
3725
  }
@@ -3708,7 +3727,9 @@ interface ControlledWorkerExecuteResult {
3708
3727
  executed: boolean;
3709
3728
  blocked: boolean;
3710
3729
  receiptPath: string;
3730
+ unifiedReceiptPath: string | null;
3711
3731
  receipt: ControlledWorkerExecutionReceipt;
3732
+ unifiedReceipt: UnifiedReceiptEnvelope<ControlledWorkerExecutionReceipt> | null;
3712
3733
  }
3713
3734
  declare function controlledWorkerExecuteCommand(options: ControlledWorkerExecuteOptions): ControlledWorkerExecuteResult;
3714
3735
 
@@ -3797,6 +3818,33 @@ declare function ingestReferences(options?: IngestReferencesOptions): Promise<In
3797
3818
  declare function referencesScanCommand(options: ScanReferencesOptions): Promise<void>;
3798
3819
  declare function referencesIngestCommand(options: IngestReferencesOptions): Promise<void>;
3799
3820
 
3821
+ declare const POLICY_LEDGER_SYNC_REPORT_VERSION: "snipara.workflow_policy_ledger_sync.v0";
3822
+ interface PolicyLedgerSyncSummary {
3823
+ total: number;
3824
+ pendingRequests: number;
3825
+ resolvedDecisions: number;
3826
+ applyReceipts: number;
3827
+ policyDrafts: number;
3828
+ }
3829
+ interface PolicyLedgerSyncReport {
3830
+ version: typeof POLICY_LEDGER_SYNC_REPORT_VERSION;
3831
+ generatedAt: string;
3832
+ dryRun: boolean;
3833
+ summary: PolicyLedgerSyncSummary;
3834
+ artifacts: ProjectPolicyLedgerSyncArtifactInput[];
3835
+ hosted?: Record<string, unknown>;
3836
+ caveats: string[];
3837
+ }
3838
+ declare function buildPolicyLedgerSyncReport(options?: {
3839
+ cwd?: string;
3840
+ dryRun?: boolean;
3841
+ }): PolicyLedgerSyncReport;
3842
+ declare function workflowSyncPolicyLedgerCommand(options: {
3843
+ dryRun?: boolean;
3844
+ json?: boolean;
3845
+ }): Promise<void>;
3846
+ declare function collectPolicyLedgerSyncArtifacts(cwd?: string): ProjectPolicyLedgerSyncArtifactInput[];
3847
+
3800
3848
  type CacheStrategy = "exact" | "nearby" | "warm";
3801
3849
  interface QueryCacheScope {
3802
3850
  cwd?: string;
@@ -4335,4 +4383,4 @@ declare function buildOrchestratorHandoff(options: OrchestratorHandoffOptions):
4335
4383
  declare function buildAdaptiveWorkRoutingRecommendation(options: AdaptiveWorkRoutingOptions): AdaptiveWorkRoutingRecommendation;
4336
4384
  declare function writeOrchestratorHandoff(options: OrchestratorHandoffOptions): WrittenOrchestratorHandoff;
4337
4385
 
4338
- 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, 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, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildEvalCaseArtifact, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildJournalCheckpointEntry, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, buildLocalProjectRealityCheck, buildLocalShortestPathResult, buildLocalSourceSnapshot, buildLocalSourceStatus, buildLocalSourceSyncResult, buildMemoryAudit, buildOnboardFolderManifest, buildOrchestratorHandoff, buildProducerLoopReport, buildProjectIntelligenceBrief, buildProjectIntelligenceRun, buildProjectJudgmentCard, buildSessionBootstrapBrief, buildSessionBootstrapQuality, buildSessionSnapshot, buildSyncDocumentsDryRun, buildTeamSyncHandoffRecord, buildTeamSyncStartWorkRecord, buildTeamSyncSummary, buildToolCallPayload, buildToolResultPayload, buildVerificationPlan, buildWhyOutcomeCaptureReport, buildWorkflowImpactGate, buildWorkflowPhaseCommitSummary, buildWorkflowPlanScaffold, categoryFromGuardTag, classifyToolResult, cleanContextPacks, codingLedgerExportCommand, collaborationIdeStatusCommand, collectAgentReadinessLocalSignals, collectSyncDocuments, collectSyncDocumentsInput, compactHostedGuardResources, compareLocalSourceSnapshots, completeTeamSyncStateFromEvidence, completeTeamSyncWorkFromEvidence, 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, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };
4386
+ 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, archiveInactiveTeamSyncWork, attachLocalContextPackReceipts, autoArchiveTeamSyncState, buildAdaptiveWorkRoutingRecommendation, buildAgentReadinessAuditReport, buildAgenticHandoffMarkdown, buildAgenticTimeline, buildAgenticWorkStatus, buildAutomationInstallPlan, buildCanonicalEvent, buildCodeHooksInstallPlan, buildCodePromotionResult, buildCodeStatusResult, buildCodeSyncResult, buildCodingIntelligenceLedger, buildCollaborationActor, buildCollaborationGuardActionCards, buildCollaborationHooksInstallPlan, buildCompanionEngineeringLeadPlanReport, buildContextPackStats, buildEvalCaseArtifact, buildGeneratedWorkflowPlanDocument, buildHostedCodeOverlayUploadPayload, buildHostedGuardPayload, buildJournalCheckpointEntry, buildLocalCallersResult, buildLocalCodeOverlay, buildLocalContextPackReceipt, buildLocalContextPackReceipts, buildLocalImpactResult, buildLocalImportsResult, buildLocalNeighborsResult, 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, 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, shouldSuggestOrchestratorForWorkflow, shouldSuggestRuntimeForWorkflow, summarizeLocalCodeOverlay, teamSyncSweepCommand, validatePlanResult, verifyCommand, workersLocalAddCommand, workersLocalListCommand, workersLocalProbePrintCommand, workersLocalRemoveCommand, workersLocalStatusCommand, workflowSyncPolicyLedgerCommand, writeLocalCodeOverlayCache, writeLocalCodePromotionState, writeLocalSourceSnapshot, writeOrchestratorHandoff, writeProducerLoopArtifact, writeSessionSnapshot };