export { ModuleRegistry, ModuleRegistryError, validateModuleSet } from "./module-registry.js";
export { moduleRegistryOptionsFromEffectiveConfig, pickModuleContractWorkspacePath, resolveRegistryAndConfig } from "./module-registry-resolve.js";
export { ModuleCommandRouter, ModuleCommandRouterError, UNKNOWN_COMMAND_SAMPLE_LIMIT, formatUnknownCommandMessage } from "./module-command-router.js";
export { looksLikePackageManagerBanner, parseWorkspaceKitJsonStdout } from "./cli-json-output.js";
export { buildAgentInstructionSurface, classifyInstructionExecution, digestAgentInstructionSurfaceCommands, isAgentInstructionSurfaceFull, isInstructionExecutableForRegistry } from "./agent-instruction-surface.js";
export { CAE_ENFORCEMENT_BLOCK_ALLOWLIST, findCaeEnforcementBlock } from "./cae/cae-enforcement-allowlist.js";
export { noopCaeTracePersistence } from "./cae/cae-persistence-port.js";
export { mergeCaeIntoCommandResult, runCaeCliPreflight } from "./cae/cae-run-preflight.js";
export { collectThinkArtifactIdsFromBundle, isPlanningSessionCaeCommand, PLANNING_SESSION_CAE_COMMANDS, PLANNING_SESSION_CAE_MODULE_ID, PLANNING_SESSION_DRAFT_REQUIRED_LENS_IDS } from "./cae/planning-session-scope.js";
export { buildBaseConfigLayers, deepMerge, envToConfigOverlay, explainConfigPath, getAtPath, getProjectConfigPath, getUserConfigFilePath, KIT_CONFIG_DEFAULTS, loadUserLayer, mergeConfigLayers, MODULE_CONFIG_CONTRIBUTIONS, normalizeConfigForExport, PROJECT_CONFIG_REL, readProjectConfigDocument, resolveWorkspaceConfigWithLayers, stableStringifyConfig, writeModuleScopedConfigDocument, writeProjectConfigDocument } from "./workspace-kit-config.js";
export { appendPolicyTrace, getExtraSensitiveModuleCommandsFromEffective, getOperationIdForCommand, getPolicySensitivityForBuiltinCommand, isSensitiveModuleCommand, isSensitiveModuleCommandForEffective, parsePolicyApproval, parsePolicyApprovalFromEnv, POLICY_APPROVAL_HUMAN_DOC, POLICY_TRACE_SCHEMA_VERSION, resolveActor, resolvePolicyOperationIdForCommand } from "./policy.js";
export { getSessionGrant, loadSessionPolicyDocument, recordSessionGrant, resolveSessionId, SESSION_POLICY_SCHEMA_VERSION } from "./session-policy.js";
export { parseTemplateDirectiveFromText } from "./instruction-template-mapper.js";
export { RESPONSE_TEMPLATE_CONTRACT_VERSION, MAX_TEMPLATE_WARNING_LENGTH, truncateTemplateWarning } from "./response-template-contract.js";
export { allBuiltinDefinitions, getResponseTemplateDefinition, listBuiltinResponseTemplateIds } from "./response-template-registry.js";
export { applyResponseTemplateApplication, mergeAgentPresentationTemplateHints, resolveContextualResponseTemplateId } from "./response-template-shaping.js";
export { AGENT_PRESENTATION_POLICY_SCHEMA_VERSION, resolveAgentPresentationPolicy } from "./agent-presentation-policy.js";
export { buildIngestTranscriptsArgsForHook, maybeSpawnTranscriptHookAfterCompletion, readAfterTaskCompletedHook, releaseTranscriptHookLockFromEnv, resolveWorkspaceKitCli, TRANSCRIPT_HOOK_LOCK_ENV_VAR } from "./transcript-completion-hook.js";
export { assertWritableKey, getConfigKeyMetadata, getConfigRegistryExport, listConfigMetadata, validateModuleScopedConfigDocument, validatePersistedConfigDocument, validateValueForMetadata } from "./config-metadata.js";
export { buildAuditRecord, extractTaskIdsFromText, getGithubDeliveryMeta, getInvocationCommentBody, getIssueCommentBody, getRepositoryFullName, isRepositoryAllowed, parseCannonSlashCommand, resolveRouteKind, verifyGithubWebhookSignatureSha256 } from "./github-invocation.js";
export { CONFIG_FACET_IDS, isConfigFacetId, listKeysForConfigFacet } from "./config-facets.js";
export { appendConfigMutation, CONFIG_MUTATIONS_SCHEMA_VERSION, summarizeForEvidence } from "./config-mutations.js";
export { generateConfigReferenceDocs, runWorkspaceConfigCli } from "./config-cli.js";
export { LINEAGE_SCHEMA_VERSION, lineageCorrelationRoot } from "./lineage-contract.js";
export { appendLineageEvent, newLineageEventId, queryLineageChain, readLineageEvents } from "./lineage-store.js";
export { UnifiedStateDb } from "./state/unified-state-db.js";
export { KIT_SQLITE_USER_VERSION, TASK_ENGINE_TASKS_TABLE, prepareKitSqliteDatabase, readKitSqliteUserVersion } from "./state/workspace-kit-sqlite.js";
export { WORKSPACE_KIT_REQUIRED_NODE_MAJOR, WORKSPACE_KIT_RUNTIME_CONTRACT_SCHEMA_VERSION, WORKSPACE_KIT_RUNTIME_LAUNCHER_RELATIVE_PATH, WORKSPACE_KIT_RUNTIME_STAMP_RELATIVE_PATH, currentRuntimeIdentity, generateWorkspaceKitLauncherContent, parseRuntimeStamp, readRuntimeStamp, runtimePackageRoot, runtimeLauncherPath, runtimeStampPath, smokeTestNativeSqlite, verifyRuntimeStamp, verifyRuntimeStampFile, writeRuntimeLauncher, writeRuntimeStamp } from "./runtime-contract.js";
