snipara-companion 3.6.19 → 3.6.20

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,15 @@ Release notes for `snipara-companion`, newest first.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## New In 3.6.20 - 2026-08-23
8
+
9
+ - Dogfoods the local Agent Context manifest in managed workflow task envelopes.
10
+ - Carries the selected agent, manifest hash, role-scoped sources, memory policy,
11
+ and explicit Hosted MCP retrieval commands into `workflow task-start` and
12
+ `workflow task-next`.
13
+ - Keeps repositories without an Agent Context manifest compatible and adds
14
+ explicit `--skip-agent-context` and override controls.
15
+
7
16
  ## New In 3.6.19 - 2026-08-16
8
17
 
9
18
  - Adds the non-blocking, fingerprinted `git_diff` evidence adapter for
package/README.md CHANGED
@@ -111,6 +111,7 @@ These commands are useful without hosted Snipara:
111
111
  | `reality-check` | Intent Ledger, Unknown Registry, auto-linked context, and inspectable proof |
112
112
  | `code callers` / `imports` / `neighbors` / `shortest-path` | Structural repo questions from local files |
113
113
  | `workflow start` / `phase-start` / `phase-commit` / `resume` | Agent continuity that survives compaction |
114
+ | `workflow task-start` / `task-next` / `task-status` / `task-commit` / `task-retry` | Fresh task context, DAG selection, bounded retries, and recovery |
114
115
  | `feature init` / `specify` / `plan` / `tasks` / `start` | Spec-driven feature artifacts bridged into the managed workflow |
115
116
  | `workflow timeline` / `workflow session` | Append-only local activity log and Session Snapshot V0 |
116
117
  | `workflow decisions` / `workflow decide` | Local human decision requests and response receipts |
@@ -200,6 +201,59 @@ the same phase-shaped chunks, and `feature start` delegates to the existing
200
201
  `workflow start` command. It does not replace Companion's phases, memory, code
201
202
  impact, or handoff logic.
202
203
 
204
+ #### Task-level execution
205
+
206
+ Each managed phase now contains a normalized task contract. Existing
207
+ phase-only plans are migrated in memory to one task per phase, so older
208
+ `.snipara/workflow/current.json` files remain readable. A planner may add
209
+ `tasks`, `depends_on`, `parallel_group`, `verify`, `max_attempts`, and
210
+ `recovery_task_id` fields when a phase needs finer-grained execution:
211
+
212
+ ```json
213
+ {
214
+ "id": "implementation",
215
+ "title": "Implementation",
216
+ "tasks": [
217
+ {
218
+ "id": "data-contract",
219
+ "query": "Define the data contract",
220
+ "files": ["src/contracts.ts"],
221
+ "verify": ["pnpm test --filter contracts"],
222
+ "max_attempts": 2,
223
+ "parallel_group": "contracts"
224
+ },
225
+ {
226
+ "id": "ui-slice",
227
+ "query": "Implement the UI slice",
228
+ "depends_on": ["data-contract"],
229
+ "recovery_task_id": "data-contract"
230
+ }
231
+ ]
232
+ }
233
+ ```
234
+
235
+ Run one task with a compact, fresh context envelope rather than carrying a raw
236
+ conversation across tasks:
237
+
238
+ ```bash
239
+ snipara-companion workflow task-start implementation data-contract
240
+ snipara-companion workflow task-status implementation
241
+ snipara-companion workflow task-commit implementation data-contract \
242
+ --summary "Contract implemented" \
243
+ --evidence "passed:pnpm test --filter contracts" \
244
+ --files src/contracts.ts
245
+ snipara-companion workflow task-retry implementation ui-slice \
246
+ --reason "Focused verification still fails after the first attempt"
247
+ ```
248
+
249
+ `task-start` increments a bounded attempt counter and prints the bootstrap,
250
+ impact, verification, and commit gates for that task. `task-commit` records the
251
+ outcome and evidence without pushing commits automatically. A blocked task can
252
+ be retried until `max_attempts`; after that, the declared recovery task or an
253
+ explicit contract revision is required. `parallel_group` is coordination
254
+ metadata only: agents must still use Companion collaboration claims and locks
255
+ before editing overlapping files.
256
+
203
257
  ### Agent Context Dogfood
204
258
 
205
259
  `agent-context` compiles one agent's working context from a versioned local
@@ -222,6 +276,26 @@ MCP on the agent's behalf. Role memory is represented by exact categories in
222
276
  the existing project or team scopes, so the V0 dogfood flow needs no database
223
277
  migration.
224
278
 
279
+ Managed workflows now dogfood this policy automatically when the repository
280
+ contains `snipara.agent-context.json` and the configured agent (or
281
+ `SNIPARA_AGENT_ID`) exists in the manifest. Start a workflow normally:
282
+
283
+ ```bash
284
+ snipara-companion workflow start \
285
+ --goal "implement the next bounded change" \
286
+ --plan-file .snipara/plans/next-change.json
287
+ snipara-companion workflow task-start implementation
288
+ ```
289
+
290
+ The task envelope carries the selected agent, manifest hash, role-scoped source
291
+ list, memory recall/write policy, boundaries, and retrieval commands. The
292
+ agent still performs the Hosted MCP `snipara_recall` and
293
+ `snipara_context_query` calls explicitly; Companion does not hide retrieval or
294
+ promote memory on the agent's behalf. Use `--agent <id>` or
295
+ `--agent-context-manifest <file>` to override the workflow defaults, and
296
+ `--skip-agent-context` only when a task is intentionally outside the local
297
+ manifest policy.
298
+
225
299
  Collect AC-1 evidence after a representative task:
226
300
 
227
301
  ```bash
package/dist/index.d.ts CHANGED
@@ -4169,6 +4169,7 @@ type OnboardFolderMode = "auto" | "business_context" | "code_project" | "mixed";
4169
4169
  type DetectedOnboardFolderMode = "business_context" | "code_project" | "mixed" | "unknown";
4170
4170
  type ManagedWorkflowStatus = "active" | "completed" | "blocked";
4171
4171
  type ManagedWorkflowPhaseStatus = "pending" | "in_progress" | "completed" | "blocked" | "skipped";
4172
+ type ManagedWorkflowTaskStatus = ManagedWorkflowPhaseStatus;
4172
4173
  type ReindexKind = "doc" | "code";
4173
4174
  type ReindexMode = "incremental" | "full";
4174
4175
  type ManagedWorkflowPlanSource = "file" | "inline";
@@ -4361,11 +4362,106 @@ interface ManagedWorkflowPhase {
4361
4362
  files?: string[];
4362
4363
  gates?: string[];
4363
4364
  needsRuntime?: boolean;
4365
+ dependsOn?: string[];
4366
+ parallelGroup?: string;
4367
+ tasks?: ManagedWorkflowTask[];
4368
+ currentTaskId?: string;
4364
4369
  startedAt?: string;
4365
4370
  completedAt?: string;
4366
4371
  summary?: string;
4367
4372
  outcome?: TaskCommitOutcome;
4368
4373
  }
4374
+ interface ManagedWorkflowTask {
4375
+ id: string;
4376
+ title: string;
4377
+ query: string;
4378
+ status: ManagedWorkflowTaskStatus;
4379
+ acceptance?: string;
4380
+ files?: string[];
4381
+ verification?: string[];
4382
+ commit?: string;
4383
+ dependsOn?: string[];
4384
+ parallelGroup?: string;
4385
+ attempt: number;
4386
+ maxAttempts: number;
4387
+ recoveryTaskId?: string;
4388
+ startedAt?: string;
4389
+ completedAt?: string;
4390
+ summary?: string;
4391
+ outcome?: TaskCommitOutcome;
4392
+ lastError?: string;
4393
+ evidence?: string[];
4394
+ contextEnvelope?: ManagedWorkflowTaskContextEnvelope;
4395
+ }
4396
+ interface ManagedWorkflowAgentContextConfig {
4397
+ agentId: string;
4398
+ manifest: string;
4399
+ }
4400
+ interface ManagedWorkflowAgentContext {
4401
+ agentId: string;
4402
+ displayName: string;
4403
+ roles: string[];
4404
+ manifest: string;
4405
+ manifestHash: string;
4406
+ sources: Array<{
4407
+ id: string;
4408
+ path: string;
4409
+ authority: string;
4410
+ tier: string;
4411
+ includedBy: string[];
4412
+ }>;
4413
+ excludedRoleSourceIds: string[];
4414
+ memory: {
4415
+ recall: Array<{
4416
+ scope: string;
4417
+ category: string;
4418
+ agentId?: string;
4419
+ }>;
4420
+ defaultWrite: {
4421
+ scope: string;
4422
+ category: string;
4423
+ agentId: string;
4424
+ reviewRequired: boolean;
4425
+ };
4426
+ promotion: Array<{
4427
+ scope: string;
4428
+ category: string;
4429
+ reviewRequired: boolean;
4430
+ reason: string;
4431
+ }>;
4432
+ };
4433
+ boundaries: string[];
4434
+ queryHints: string[];
4435
+ caveats: string[];
4436
+ }
4437
+ interface ManagedWorkflowTaskContextEnvelope {
4438
+ version: "snipara.workflow.task-context.v1";
4439
+ workflowId: string;
4440
+ phaseId: string;
4441
+ taskId: string;
4442
+ attempt: number;
4443
+ maxAttempts: number;
4444
+ contextPolicy: "bounded-task-context-no-raw-transcript";
4445
+ scope: {
4446
+ title: string;
4447
+ query: string;
4448
+ acceptance?: string;
4449
+ files: string[];
4450
+ verification: string[];
4451
+ dependencies: string[];
4452
+ parallelGroup?: string;
4453
+ };
4454
+ agentContext?: ManagedWorkflowAgentContext;
4455
+ commands: {
4456
+ bootstrap: string;
4457
+ resume: string;
4458
+ impact: string;
4459
+ commit: string;
4460
+ agentContext?: string;
4461
+ hostedRecall?: string;
4462
+ hostedContextQuery?: string;
4463
+ };
4464
+ }
4369
4465
  interface ManagedWorkflowJudgmentBrief {
4370
4466
  version: "project-intelligence-brief-v1";
4371
4467
  generatedAt: string;
@@ -4438,6 +4534,7 @@ interface ManagedWorkflowState {
4438
4534
  createdAt: string;
4439
4535
  updatedAt: string;
4440
4536
  phases: ManagedWorkflowPhase[];
4537
+ agentContext?: ManagedWorkflowAgentContextConfig;
4441
4538
  runtime?: ManagedWorkflowRuntimeState;
4442
4539
  coordination?: ManagedWorkflowCoordinationState;
4443
4540
  judgment?: ManagedWorkflowJudgmentState;
@@ -4735,8 +4832,28 @@ interface GeneratedWorkflowPlanDocument {
4735
4832
  acceptance?: string;
4736
4833
  files?: string[];
4737
4834
  needs_runtime?: boolean;
4835
+ verify?: string[];
4836
+ commit?: string;
4837
+ depends_on?: string[];
4838
+ parallel_group?: string;
4839
+ max_attempts?: number;
4840
+ recovery_task_id?: string;
4841
+ tasks?: GeneratedWorkflowTaskDocument[];
4738
4842
  }>;
4739
4843
  }
4844
+ interface GeneratedWorkflowTaskDocument {
4845
+ id: string;
4846
+ title: string;
4847
+ query: string;
4848
+ acceptance?: string;
4849
+ files?: string[];
4850
+ verify?: string[];
4851
+ commit?: string;
4852
+ depends_on?: string[];
4853
+ parallel_group?: string;
4854
+ max_attempts?: number;
4855
+ recovery_task_id?: string;
4856
+ }
4740
4857
  declare function resolveFullWorkflowTokenBudget(options: {
4741
4858
  maxTokens?: number;
4742
4859
  includeSessionContext?: boolean;
@@ -5459,4 +5576,4 @@ declare function installAutomationBundle(args: {
5459
5576
  }): Promise<AutomationInstallResult>;
5460
5577
  declare function getAutomationStatus(projectDir?: string): AutomationStatusResult;
5461
5578
 
5462
- 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, MEMORY_GUARD_CONTEXT_TIMEOUT_MS, MEMORY_GUARD_RECALL_TIMEOUT_MS, 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 };
5579
+ 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 };