pulseed 0.6.4 → 0.6.6
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 +105 -86
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.js +20 -249
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
- package/dist/adapters/datasources/artifact-metric-discovery.d.ts +44 -0
- package/dist/adapters/datasources/artifact-metric-discovery.d.ts.map +1 -0
- package/dist/adapters/datasources/artifact-metric-discovery.js +256 -0
- package/dist/adapters/datasources/artifact-metric-discovery.js.map +1 -0
- package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/mcp-datasource.js +2 -4
- package/dist/adapters/datasources/mcp-datasource.js.map +1 -1
- package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/shell-datasource.js +9 -2
- package/dist/adapters/datasources/shell-datasource.js.map +1 -1
- package/dist/adapters/mcp-client-manager.d.ts +1 -0
- package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
- package/dist/adapters/mcp-client-manager.js +8 -3
- package/dist/adapters/mcp-client-manager.js.map +1 -1
- package/dist/adapters/types/a2a.d.ts +6 -6
- package/dist/adapters/types/mcp.d.ts +6 -6
- package/dist/base/config/global-config.d.ts +67 -5
- package/dist/base/config/global-config.d.ts.map +1 -1
- package/dist/base/config/global-config.js +76 -25
- package/dist/base/config/global-config.js.map +1 -1
- package/dist/base/config/identity-loader.d.ts +1 -1
- package/dist/base/config/identity-loader.d.ts.map +1 -1
- package/dist/base/config/identity-loader.js +3 -6
- package/dist/base/config/identity-loader.js.map +1 -1
- package/dist/base/config/tool-metadata.js +39 -39
- package/dist/base/config/tool-metadata.js.map +1 -1
- package/dist/base/llm/anthropic-runtime.d.ts +3 -0
- package/dist/base/llm/anthropic-runtime.d.ts.map +1 -0
- package/dist/base/llm/anthropic-runtime.js +4 -0
- package/dist/base/llm/anthropic-runtime.js.map +1 -0
- package/dist/base/llm/base-llm-client.d.ts.map +1 -1
- package/dist/base/llm/base-llm-client.js +15 -3
- package/dist/base/llm/base-llm-client.js.map +1 -1
- package/dist/base/llm/codex-llm-client.d.ts +13 -2
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +435 -38
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/llm-client.d.ts +27 -4
- package/dist/base/llm/llm-client.d.ts.map +1 -1
- package/dist/base/llm/llm-client.js +43 -10
- package/dist/base/llm/llm-client.js.map +1 -1
- package/dist/base/llm/ollama-client.d.ts.map +1 -1
- package/dist/base/llm/ollama-client.js +6 -1
- package/dist/base/llm/ollama-client.js.map +1 -1
- package/dist/base/llm/openai-client.d.ts +1 -0
- package/dist/base/llm/openai-client.d.ts.map +1 -1
- package/dist/base/llm/openai-client.js +239 -20
- package/dist/base/llm/openai-client.js.map +1 -1
- package/dist/base/llm/provider-config-models.d.ts +13 -0
- package/dist/base/llm/provider-config-models.d.ts.map +1 -0
- package/dist/base/llm/provider-config-models.js +37 -0
- package/dist/base/llm/provider-config-models.js.map +1 -0
- package/dist/base/llm/provider-config-resolution.d.ts +18 -0
- package/dist/base/llm/provider-config-resolution.d.ts.map +1 -0
- package/dist/base/llm/provider-config-resolution.js +116 -0
- package/dist/base/llm/provider-config-resolution.js.map +1 -0
- package/dist/base/llm/provider-config-types.d.ts +103 -0
- package/dist/base/llm/provider-config-types.d.ts.map +1 -0
- package/dist/base/llm/provider-config-types.js +2 -0
- package/dist/base/llm/provider-config-types.js.map +1 -0
- package/dist/base/llm/provider-config.d.ts +3 -111
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +22 -160
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/llm/provider-factory.d.ts +10 -0
- package/dist/base/llm/provider-factory.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.js +26 -1
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/state/legacy-archived-goal-recovery.d.ts +8 -0
- package/dist/base/state/legacy-archived-goal-recovery.d.ts.map +1 -0
- package/dist/base/state/legacy-archived-goal-recovery.js +29 -0
- package/dist/base/state/legacy-archived-goal-recovery.js.map +1 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.d.ts +13 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.d.ts.map +1 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.js +102 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.js.map +1 -0
- package/dist/base/state/{state-wal.d.ts → legacy-state-wal.d.ts} +7 -1
- package/dist/base/state/legacy-state-wal.d.ts.map +1 -0
- package/dist/base/state/{state-wal.js → legacy-state-wal.js} +50 -2
- package/dist/base/state/legacy-state-wal.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +73 -44
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +492 -265
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/state/state-snapshot.d.ts.map +1 -1
- package/dist/base/state/state-snapshot.js +16 -3
- package/dist/base/state/state-snapshot.js.map +1 -1
- package/dist/base/types/time-horizon.d.ts +1 -0
- package/dist/base/types/time-horizon.d.ts.map +1 -1
- package/dist/base/types/time-horizon.js +20 -19
- package/dist/base/types/time-horizon.js.map +1 -1
- package/dist/base/utils/abort-reason.d.ts +11 -0
- package/dist/base/utils/abort-reason.d.ts.map +1 -0
- package/dist/base/utils/abort-reason.js +17 -0
- package/dist/base/utils/abort-reason.js.map +1 -0
- package/dist/base/utils/event-spool.d.ts +26 -0
- package/dist/base/utils/event-spool.d.ts.map +1 -0
- package/dist/base/utils/event-spool.js +149 -0
- package/dist/base/utils/event-spool.js.map +1 -0
- package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
- package/dist/base/utils/execFileNoThrow.js +21 -3
- package/dist/base/utils/execFileNoThrow.js.map +1 -1
- package/dist/base/utils/json-io.d.ts +25 -1
- package/dist/base/utils/json-io.d.ts.map +1 -1
- package/dist/base/utils/json-io.js +144 -3
- package/dist/base/utils/json-io.js.map +1 -1
- package/dist/base/utils/package-metadata.d.ts +10 -0
- package/dist/base/utils/package-metadata.d.ts.map +1 -0
- package/dist/base/utils/package-metadata.js +40 -0
- package/dist/base/utils/package-metadata.js.map +1 -0
- package/dist/base/utils/paths.d.ts +7 -0
- package/dist/base/utils/paths.d.ts.map +1 -1
- package/dist/base/utils/paths.js +13 -0
- package/dist/base/utils/paths.js.map +1 -1
- package/dist/base/utils/process-pid.d.ts +15 -0
- package/dist/base/utils/process-pid.d.ts.map +1 -0
- package/dist/base/utils/process-pid.js +45 -0
- package/dist/base/utils/process-pid.js.map +1 -0
- package/dist/base/utils/usage-counter.d.ts +14 -0
- package/dist/base/utils/usage-counter.d.ts.map +1 -0
- package/dist/base/utils/usage-counter.js +50 -0
- package/dist/base/utils/usage-counter.js.map +1 -0
- package/dist/base/utils/workspace-root.d.ts +6 -0
- package/dist/base/utils/workspace-root.d.ts.map +1 -0
- package/dist/base/utils/workspace-root.js +87 -0
- package/dist/base/utils/workspace-root.js.map +1 -0
- package/dist/grounding/contracts.d.ts +2 -0
- package/dist/grounding/contracts.d.ts.map +1 -1
- package/dist/grounding/profile-surface.d.ts +30 -0
- package/dist/grounding/profile-surface.d.ts.map +1 -0
- package/dist/grounding/profile-surface.js +257 -0
- package/dist/grounding/profile-surface.js.map +1 -0
- package/dist/grounding/providers/helpers.d.ts +6 -1
- package/dist/grounding/providers/helpers.d.ts.map +1 -1
- package/dist/grounding/providers/helpers.js +11 -3
- package/dist/grounding/providers/helpers.js.map +1 -1
- package/dist/grounding/providers/knowledge-provider.d.ts.map +1 -1
- package/dist/grounding/providers/knowledge-provider.js +22 -5
- package/dist/grounding/providers/knowledge-provider.js.map +1 -1
- package/dist/grounding/providers/session-history-provider.d.ts.map +1 -1
- package/dist/grounding/providers/session-history-provider.js +12 -22
- package/dist/grounding/providers/session-history-provider.js.map +1 -1
- package/dist/grounding/providers/soil-provider.d.ts.map +1 -1
- package/dist/grounding/providers/soil-provider.js +65 -10
- package/dist/grounding/providers/soil-provider.js.map +1 -1
- package/dist/grounding/providers/task-state-provider.d.ts.map +1 -1
- package/dist/grounding/providers/task-state-provider.js +7 -27
- package/dist/grounding/providers/task-state-provider.js.map +1 -1
- package/dist/grounding/providers/trust-state-provider.d.ts.map +1 -1
- package/dist/grounding/providers/trust-state-provider.js +5 -4
- package/dist/grounding/providers/trust-state-provider.js.map +1 -1
- package/dist/grounding/surface-contract-source-helpers.d.ts +37 -0
- package/dist/grounding/surface-contract-source-helpers.d.ts.map +1 -0
- package/dist/grounding/surface-contract-source-helpers.js +58 -0
- package/dist/grounding/surface-contract-source-helpers.js.map +1 -0
- package/dist/grounding/surface-contracts.d.ts +19531 -0
- package/dist/grounding/surface-contracts.d.ts.map +1 -0
- package/dist/grounding/surface-contracts.js +1352 -0
- package/dist/grounding/surface-contracts.js.map +1 -0
- package/dist/index.d.ts +17 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-agentloop-state-migration.d.ts +14 -0
- package/dist/interface/chat/chat-agentloop-state-migration.d.ts.map +1 -0
- package/dist/interface/chat/chat-agentloop-state-migration.js +252 -0
- package/dist/interface/chat/chat-agentloop-state-migration.js.map +1 -0
- package/dist/interface/chat/chat-command-args.d.ts +47 -0
- package/dist/interface/chat/chat-command-args.d.ts.map +1 -0
- package/dist/interface/chat/chat-command-args.js +134 -0
- package/dist/interface/chat/chat-command-args.js.map +1 -0
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-event-state.js +17 -0
- package/dist/interface/chat/chat-event-state.js.map +1 -1
- package/dist/interface/chat/chat-events.d.ts +23 -11
- package/dist/interface/chat/chat-events.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +18 -8969
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +67 -182
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +4 -8
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.js +25 -50
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
- package/dist/interface/chat/chat-runner-commands.d.ts +2 -7
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-commands.js +112 -197
- package/dist/interface/chat/chat-runner-commands.js.map +1 -1
- package/dist/interface/chat/chat-runner-contracts.d.ts +34 -3
- package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +35 -21
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.js +406 -71
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
- package/dist/interface/chat/chat-runner-guardrail-status.d.ts +12 -0
- package/dist/interface/chat/chat-runner-guardrail-status.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-guardrail-status.js +173 -0
- package/dist/interface/chat/chat-runner-guardrail-status.js.map +1 -0
- package/dist/interface/chat/chat-runner-routes.d.ts +34 -88
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-routes.js +815 -426
- package/dist/interface/chat/chat-runner-routes.js.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.d.ts +9 -4
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.js +47 -17
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
- package/dist/interface/chat/chat-runner-setup-format.d.ts +11 -0
- package/dist/interface/chat/chat-runner-setup-format.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-setup-format.js +28 -0
- package/dist/interface/chat/chat-runner-setup-format.js.map +1 -0
- package/dist/interface/chat/chat-runner-state.d.ts +2 -6
- package/dist/interface/chat/chat-runner-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-state.js +22 -128
- package/dist/interface/chat/chat-runner-state.js.map +1 -1
- package/dist/interface/chat/chat-runner-support.d.ts +2 -2
- package/dist/interface/chat/chat-runner.d.ts +36 -1
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +449 -188
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-contracts.d.ts +8872 -0
- package/dist/interface/chat/chat-session-contracts.d.ts.map +1 -0
- package/dist/interface/chat/chat-session-contracts.js +143 -0
- package/dist/interface/chat/chat-session-contracts.js.map +1 -0
- package/dist/interface/chat/chat-session-data-store.d.ts +26 -0
- package/dist/interface/chat/chat-session-data-store.d.ts.map +1 -0
- package/dist/interface/chat/chat-session-data-store.js +227 -0
- package/dist/interface/chat/chat-session-data-store.js.map +1 -0
- package/dist/interface/chat/chat-session-store.d.ts +8 -3
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +111 -246
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/chat-state-base-dir.d.ts +3 -0
- package/dist/interface/chat/chat-state-base-dir.d.ts.map +1 -0
- package/dist/interface/chat/chat-state-base-dir.js +17 -0
- package/dist/interface/chat/chat-state-base-dir.js.map +1 -0
- package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
- package/dist/interface/chat/chat-state-service.js +2 -3
- package/dist/interface/chat/chat-state-service.js.map +1 -1
- package/dist/interface/chat/chat-usage-contracts.d.ts +102 -0
- package/dist/interface/chat/chat-usage-contracts.d.ts.map +1 -0
- package/dist/interface/chat/chat-usage-contracts.js +17 -0
- package/dist/interface/chat/chat-usage-contracts.js.map +1 -0
- package/dist/interface/chat/chat-usage.d.ts +12 -0
- package/dist/interface/chat/chat-usage.d.ts.map +1 -0
- package/dist/interface/chat/chat-usage.js +38 -0
- package/dist/interface/chat/chat-usage.js.map +1 -0
- package/dist/interface/chat/cross-platform-session-normalization.d.ts +50 -0
- package/dist/interface/chat/cross-platform-session-normalization.d.ts.map +1 -0
- package/dist/interface/chat/cross-platform-session-normalization.js +134 -0
- package/dist/interface/chat/cross-platform-session-normalization.js.map +1 -0
- package/dist/interface/chat/cross-platform-session-types.d.ts +105 -0
- package/dist/interface/chat/cross-platform-session-types.d.ts.map +1 -0
- package/dist/interface/chat/cross-platform-session-types.js +2 -0
- package/dist/interface/chat/cross-platform-session-types.js.map +1 -0
- package/dist/interface/chat/cross-platform-session.d.ts +12 -101
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +410 -220
- package/dist/interface/chat/cross-platform-session.js.map +1 -1
- package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
- package/dist/interface/chat/event-subscriber.js +3 -2
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/failure-recovery.d.ts +5 -5
- package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
- package/dist/interface/chat/failure-recovery.js +23 -18
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/feedback-ingestion.d.ts +17 -0
- package/dist/interface/chat/feedback-ingestion.d.ts.map +1 -0
- package/dist/interface/chat/feedback-ingestion.js +140 -0
- package/dist/interface/chat/feedback-ingestion.js.map +1 -0
- package/dist/interface/chat/gateway-progress.d.ts +17 -0
- package/dist/interface/chat/gateway-progress.d.ts.map +1 -0
- package/dist/interface/chat/gateway-progress.js +2 -0
- package/dist/interface/chat/gateway-progress.js.map +1 -0
- package/dist/interface/chat/grounding.d.ts.map +1 -1
- package/dist/interface/chat/grounding.js +2 -0
- package/dist/interface/chat/grounding.js.map +1 -1
- package/dist/interface/chat/ingress-router.d.ts +11 -63
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +90 -142
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/ingress-types.d.ts +52 -0
- package/dist/interface/chat/ingress-types.d.ts.map +1 -0
- package/dist/interface/chat/ingress-types.js +2 -0
- package/dist/interface/chat/ingress-types.js.map +1 -0
- package/dist/interface/chat/operation-progress.d.ts +2 -0
- package/dist/interface/chat/operation-progress.d.ts.map +1 -1
- package/dist/interface/chat/operation-progress.js +1 -0
- package/dist/interface/chat/operation-progress.js.map +1 -1
- package/dist/interface/chat/recovery-resume.d.ts +33 -0
- package/dist/interface/chat/recovery-resume.d.ts.map +1 -0
- package/dist/interface/chat/recovery-resume.js +92 -0
- package/dist/interface/chat/recovery-resume.js.map +1 -0
- package/dist/interface/chat/resume-choice.d.ts +2 -0
- package/dist/interface/chat/resume-choice.d.ts.map +1 -0
- package/dist/interface/chat/resume-choice.js +10 -0
- package/dist/interface/chat/resume-choice.js.map +1 -0
- package/dist/interface/chat/runtime-evidence-gate.d.ts +17 -0
- package/dist/interface/chat/runtime-evidence-gate.d.ts.map +1 -0
- package/dist/interface/chat/runtime-evidence-gate.js +171 -0
- package/dist/interface/chat/runtime-evidence-gate.js.map +1 -0
- package/dist/interface/chat/seedy-presence-text.d.ts +7 -0
- package/dist/interface/chat/seedy-presence-text.d.ts.map +1 -0
- package/dist/interface/chat/seedy-presence-text.js +78 -0
- package/dist/interface/chat/seedy-presence-text.js.map +1 -0
- package/dist/interface/chat/seedy-presence-view-model.d.ts +15 -0
- package/dist/interface/chat/seedy-presence-view-model.d.ts.map +1 -0
- package/dist/interface/chat/seedy-presence-view-model.js +90 -0
- package/dist/interface/chat/seedy-presence-view-model.js.map +1 -0
- package/dist/interface/chat/seedy-turn-presence.d.ts +103 -0
- package/dist/interface/chat/seedy-turn-presence.d.ts.map +1 -0
- package/dist/interface/chat/seedy-turn-presence.js +195 -0
- package/dist/interface/chat/seedy-turn-presence.js.map +1 -0
- package/dist/interface/chat/setup-config-write.js +1 -1
- package/dist/interface/chat/setup-config-write.js.map +1 -1
- package/dist/interface/chat/telegram-setup-guidance.d.ts +55 -0
- package/dist/interface/chat/telegram-setup-guidance.d.ts.map +1 -0
- package/dist/interface/chat/telegram-setup-guidance.js +105 -0
- package/dist/interface/chat/telegram-setup-guidance.js.map +1 -0
- package/dist/interface/chat/tend-command.d.ts +1 -0
- package/dist/interface/chat/tend-command.d.ts.map +1 -1
- package/dist/interface/chat/tend-command.js +67 -15
- package/dist/interface/chat/tend-command.js.map +1 -1
- package/dist/interface/chat/turn-context.d.ts +2 -0
- package/dist/interface/chat/turn-context.d.ts.map +1 -1
- package/dist/interface/chat/turn-context.js +2 -0
- package/dist/interface/chat/turn-context.js.map +1 -1
- package/dist/interface/chat/turn-language.d.ts +0 -1
- package/dist/interface/chat/turn-language.d.ts.map +1 -1
- package/dist/interface/chat/turn-language.js +0 -3
- package/dist/interface/chat/turn-language.js.map +1 -1
- package/dist/interface/chat/turn-protocol.d.ts +1 -2
- package/dist/interface/chat/turn-protocol.d.ts.map +1 -1
- package/dist/interface/chat/turn-protocol.js.map +1 -1
- package/dist/interface/chat/turn-state.d.ts +22 -0
- package/dist/interface/chat/turn-state.d.ts.map +1 -0
- package/dist/interface/chat/turn-state.js +2 -0
- package/dist/interface/chat/turn-state.js.map +1 -0
- package/dist/interface/cli/cli-command-registry.d.ts +6 -6
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +55 -50
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/cli-runner.d.ts +2 -2
- package/dist/interface/cli/cli-runner.d.ts.map +1 -1
- package/dist/interface/cli/cli-runner.js +85 -9
- package/dist/interface/cli/cli-runner.js.map +1 -1
- package/dist/interface/cli/commands/approval.d.ts +1 -1
- package/dist/interface/cli/commands/approval.d.ts.map +1 -1
- package/dist/interface/cli/commands/approval.js +2 -33
- package/dist/interface/cli/commands/approval.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts +2 -2
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +85 -28
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts +8 -8
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.js +55 -55
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
- package/dist/interface/cli/commands/daemon-status-health.d.ts +16 -0
- package/dist/interface/cli/commands/daemon-status-health.d.ts.map +1 -0
- package/dist/interface/cli/commands/daemon-status-health.js +134 -0
- package/dist/interface/cli/commands/daemon-status-health.js.map +1 -0
- package/dist/interface/cli/commands/daemon.d.ts +8 -2
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +203 -105
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/display-format.d.ts +8 -0
- package/dist/interface/cli/commands/display-format.d.ts.map +1 -0
- package/dist/interface/cli/commands/display-format.js +79 -0
- package/dist/interface/cli/commands/display-format.js.map +1 -0
- package/dist/interface/cli/commands/doctor.d.ts +3 -2
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +220 -109
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/exact-number.d.ts +2 -0
- package/dist/interface/cli/commands/exact-number.d.ts.map +1 -0
- package/dist/interface/cli/commands/exact-number.js +9 -0
- package/dist/interface/cli/commands/exact-number.js.map +1 -0
- package/dist/interface/cli/commands/gateway.d.ts +1 -1
- package/dist/interface/cli/commands/gateway.d.ts.map +1 -1
- package/dist/interface/cli/commands/gateway.js +40 -1
- package/dist/interface/cli/commands/gateway.js.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.js +9 -2
- package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
- package/dist/interface/cli/commands/goal-read.d.ts +8 -2
- package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-read.js +143 -70
- package/dist/interface/cli/commands/goal-read.js.map +1 -1
- package/dist/interface/cli/commands/goal-utils.d.ts +5 -12
- package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-utils.js +27 -20
- package/dist/interface/cli/commands/goal-utils.js.map +1 -1
- package/dist/interface/cli/commands/goal-write.d.ts +2 -2
- package/dist/interface/cli/commands/goal-write.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-write.js +17 -7
- package/dist/interface/cli/commands/goal-write.js.map +1 -1
- package/dist/interface/cli/commands/goal.d.ts +1 -1
- package/dist/interface/cli/commands/goal.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal.js +1 -1
- package/dist/interface/cli/commands/goal.js.map +1 -1
- package/dist/interface/cli/commands/install.d.ts +1 -0
- package/dist/interface/cli/commands/install.d.ts.map +1 -1
- package/dist/interface/cli/commands/install.js +20 -4
- package/dist/interface/cli/commands/install.js.map +1 -1
- package/dist/interface/cli/commands/logs.d.ts +1 -0
- package/dist/interface/cli/commands/logs.d.ts.map +1 -1
- package/dist/interface/cli/commands/logs.js +23 -4
- package/dist/interface/cli/commands/logs.js.map +1 -1
- package/dist/interface/cli/commands/notify.d.ts.map +1 -1
- package/dist/interface/cli/commands/notify.js +59 -15
- package/dist/interface/cli/commands/notify.js.map +1 -1
- package/dist/interface/cli/commands/operator-binding-status.d.ts +2 -0
- package/dist/interface/cli/commands/operator-binding-status.d.ts.map +1 -1
- package/dist/interface/cli/commands/operator-binding-status.js +191 -14
- package/dist/interface/cli/commands/operator-binding-status.js.map +1 -1
- package/dist/interface/cli/commands/plugin.d.ts.map +1 -1
- package/dist/interface/cli/commands/plugin.js +54 -40
- package/dist/interface/cli/commands/plugin.js.map +1 -1
- package/dist/interface/cli/commands/profile.d.ts.map +1 -1
- package/dist/interface/cli/commands/profile.js +3 -2
- package/dist/interface/cli/commands/profile.js.map +1 -1
- package/dist/interface/cli/commands/run.d.ts +5 -5
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- package/dist/interface/cli/commands/run.js +15 -26
- package/dist/interface/cli/commands/run.js.map +1 -1
- package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/runtime.js +73 -11
- package/dist/interface/cli/commands/runtime.js.map +1 -1
- package/dist/interface/cli/commands/schedule/cost.d.ts +1 -1
- package/dist/interface/cli/commands/schedule/cost.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/cost.js +9 -22
- package/dist/interface/cli/commands/schedule/cost.js.map +1 -1
- package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/history.js +19 -1
- package/dist/interface/cli/commands/schedule/history.js.map +1 -1
- package/dist/interface/cli/commands/schedule/shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/shared.js +25 -8
- package/dist/interface/cli/commands/schedule/shared.js.map +1 -1
- package/dist/interface/cli/commands/schedule.d.ts +1 -1
- package/dist/interface/cli/commands/schedule.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule.js +163 -86
- package/dist/interface/cli/commands/schedule.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/apply.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/apply.js +153 -7
- package/dist/interface/cli/commands/setup/import/apply.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/discovery.js +14 -15
- package/dist/interface/cli/commands/setup/import/discovery.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +4 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.js +20 -2
- package/dist/interface/cli/commands/setup/import/fs-utils.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.js +44 -31
- package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/telegram.js +4 -3
- package/dist/interface/cli/commands/setup/import/telegram.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/types.d.ts +3 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/resident-readiness.d.ts +42 -0
- package/dist/interface/cli/commands/setup/resident-readiness.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/resident-readiness.js +79 -0
- package/dist/interface/cli/commands/setup/resident-readiness.js.map +1 -0
- package/dist/interface/cli/commands/setup/steps-gateway.d.ts +10 -0
- package/dist/interface/cli/commands/setup/steps-gateway.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-gateway.js +89 -44
- package/dist/interface/cli/commands/setup/steps-gateway.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts +1 -0
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +29 -18
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts +3 -33
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.js +18 -81
- package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
- package/dist/interface/cli/commands/skills.d.ts.map +1 -1
- package/dist/interface/cli/commands/skills.js +10 -2
- package/dist/interface/cli/commands/skills.js.map +1 -1
- package/dist/interface/cli/commands/suggest-normalizer.d.ts +7 -3
- package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +1 -1
- package/dist/interface/cli/commands/suggest-normalizer.js +70 -23
- package/dist/interface/cli/commands/suggest-normalizer.js.map +1 -1
- package/dist/interface/cli/commands/suggest.d.ts +1 -0
- package/dist/interface/cli/commands/suggest.d.ts.map +1 -1
- package/dist/interface/cli/commands/suggest.js +40 -10
- package/dist/interface/cli/commands/suggest.js.map +1 -1
- package/dist/interface/cli/commands/task-read.d.ts +1 -1
- package/dist/interface/cli/commands/task-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/task-read.js +8 -30
- package/dist/interface/cli/commands/task-read.js.map +1 -1
- package/dist/interface/cli/commands/telegram-id-parser.d.ts +10 -0
- package/dist/interface/cli/commands/telegram-id-parser.d.ts.map +1 -0
- package/dist/interface/cli/commands/telegram-id-parser.js +26 -0
- package/dist/interface/cli/commands/telegram-id-parser.js.map +1 -0
- package/dist/interface/cli/commands/telegram.d.ts +2 -1
- package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/telegram.js +66 -20
- package/dist/interface/cli/commands/telegram.js.map +1 -1
- package/dist/interface/cli/commands/usage.d.ts.map +1 -1
- package/dist/interface/cli/commands/usage.js +17 -83
- package/dist/interface/cli/commands/usage.js.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.js +43 -10
- package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
- package/dist/interface/cli/datasource-config-file.d.ts +5 -0
- package/dist/interface/cli/datasource-config-file.d.ts.map +1 -0
- package/dist/interface/cli/datasource-config-file.js +14 -0
- package/dist/interface/cli/datasource-config-file.js.map +1 -0
- package/dist/interface/cli/ensure-api-key.d.ts.map +1 -1
- package/dist/interface/cli/ensure-api-key.js +5 -1
- package/dist/interface/cli/ensure-api-key.js.map +1 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +13 -10
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts +2 -2
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils/loop-runner.js +3 -3
- package/dist/interface/cli/utils/loop-runner.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +5 -2
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/interface/current-goal-summary.d.ts +20 -0
- package/dist/interface/current-goal-summary.d.ts.map +1 -0
- package/dist/interface/current-goal-summary.js +197 -0
- package/dist/interface/current-goal-summary.js.map +1 -0
- package/dist/interface/goal-status-display.d.ts +7 -0
- package/dist/interface/goal-status-display.d.ts.map +1 -0
- package/dist/interface/goal-status-display.js +48 -0
- package/dist/interface/goal-status-display.js.map +1 -0
- package/dist/interface/mcp-server/tools.d.ts.map +1 -1
- package/dist/interface/mcp-server/tools.js +6 -29
- package/dist/interface/mcp-server/tools.js.map +1 -1
- package/dist/interface/runtime-budget-summary.d.ts +19 -0
- package/dist/interface/runtime-budget-summary.d.ts.map +1 -0
- package/dist/interface/runtime-budget-summary.js +157 -0
- package/dist/interface/runtime-budget-summary.js.map +1 -0
- package/dist/interface/tui/actions.d.ts +7 -0
- package/dist/interface/tui/actions.d.ts.map +1 -1
- package/dist/interface/tui/actions.js +91 -46
- package/dist/interface/tui/actions.js.map +1 -1
- package/dist/interface/tui/app-approval.d.ts +4 -0
- package/dist/interface/tui/app-approval.d.ts.map +1 -0
- package/dist/interface/tui/app-approval.js +53 -0
- package/dist/interface/tui/app-approval.js.map +1 -0
- package/dist/interface/tui/app-shell.d.ts +18 -0
- package/dist/interface/tui/app-shell.d.ts.map +1 -0
- package/dist/interface/tui/app-shell.js +47 -0
- package/dist/interface/tui/app-shell.js.map +1 -0
- package/dist/interface/tui/app.d.ts +4 -6
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +81 -77
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/scroll.d.ts.map +1 -1
- package/dist/interface/tui/chat/scroll.js +18 -8
- package/dist/interface/tui/chat/scroll.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +19 -19
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat.d.ts +1 -1
- package/dist/interface/tui/chat.d.ts.map +1 -1
- package/dist/interface/tui/chat.js +4 -3
- package/dist/interface/tui/chat.js.map +1 -1
- package/dist/interface/tui/dashboard.d.ts.map +1 -1
- package/dist/interface/tui/dashboard.js +2 -2
- package/dist/interface/tui/dashboard.js.map +1 -1
- package/dist/interface/tui/entry-daemon.d.ts.map +1 -1
- package/dist/interface/tui/entry-daemon.js +9 -4
- package/dist/interface/tui/entry-daemon.js.map +1 -1
- package/dist/interface/tui/entry-deps.d.ts.map +1 -1
- package/dist/interface/tui/entry-deps.js +12 -9
- package/dist/interface/tui/entry-deps.js.map +1 -1
- package/dist/interface/tui/flicker-overlay.d.ts.map +1 -1
- package/dist/interface/tui/flicker-overlay.js +5 -4
- package/dist/interface/tui/flicker-overlay.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat-actions.d.ts +17 -0
- package/dist/interface/tui/fullscreen-chat-actions.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-actions.js +98 -0
- package/dist/interface/tui/fullscreen-chat-actions.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-composer.d.ts +28 -0
- package/dist/interface/tui/fullscreen-chat-composer.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-composer.js +385 -0
- package/dist/interface/tui/fullscreen-chat-composer.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-types.d.ts +68 -0
- package/dist/interface/tui/fullscreen-chat-render-types.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-types.js +2 -0
- package/dist/interface/tui/fullscreen-chat-render-types.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.d.ts +10 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.js +45 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render.d.ts +13 -93
- package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat-render.js +19 -420
- package/dist/interface/tui/fullscreen-chat-render.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat.js +2 -97
- package/dist/interface/tui/fullscreen-chat.js.map +1 -1
- package/dist/interface/tui/help-overlay.d.ts.map +1 -1
- package/dist/interface/tui/help-overlay.js +1 -1
- package/dist/interface/tui/help-overlay.js.map +1 -1
- package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
- package/dist/interface/tui/intent-recognizer.js +59 -3
- package/dist/interface/tui/intent-recognizer.js.map +1 -1
- package/dist/interface/tui/markdown-code-highlight.d.ts +7 -0
- package/dist/interface/tui/markdown-code-highlight.d.ts.map +1 -0
- package/dist/interface/tui/markdown-code-highlight.js +64 -0
- package/dist/interface/tui/markdown-code-highlight.js.map +1 -0
- package/dist/interface/tui/markdown-inline.d.ts +9 -0
- package/dist/interface/tui/markdown-inline.d.ts.map +1 -0
- package/dist/interface/tui/markdown-inline.js +86 -0
- package/dist/interface/tui/markdown-inline.js.map +1 -0
- package/dist/interface/tui/markdown-renderer-types.d.ts +16 -0
- package/dist/interface/tui/markdown-renderer-types.d.ts.map +1 -0
- package/dist/interface/tui/markdown-renderer-types.js +2 -0
- package/dist/interface/tui/markdown-renderer-types.js.map +1 -0
- package/dist/interface/tui/markdown-renderer.d.ts +4 -25
- package/dist/interface/tui/markdown-renderer.d.ts.map +1 -1
- package/dist/interface/tui/markdown-renderer.js +8 -164
- package/dist/interface/tui/markdown-renderer.js.map +1 -1
- package/dist/interface/tui/report-view.d.ts +2 -1
- package/dist/interface/tui/report-view.d.ts.map +1 -1
- package/dist/interface/tui/report-view.js +18 -7
- package/dist/interface/tui/report-view.js.map +1 -1
- package/dist/interface/tui/settings-overlay.js +4 -4
- package/dist/interface/tui/settings-overlay.js.map +1 -1
- package/dist/interface/tui/use-loop.d.ts +3 -3
- package/dist/interface/tui/use-loop.d.ts.map +1 -1
- package/dist/interface/tui/use-loop.js +18 -8
- package/dist/interface/tui/use-loop.js.map +1 -1
- package/dist/interface/usage-counter.d.ts +3 -0
- package/dist/interface/usage-counter.d.ts.map +1 -0
- package/dist/interface/usage-counter.js +2 -0
- package/dist/interface/usage-counter.js.map +1 -0
- package/dist/interface/usage-period.d.ts +2 -0
- package/dist/interface/usage-period.d.ts.map +1 -0
- package/dist/interface/usage-period.js +23 -0
- package/dist/interface/usage-period.js.map +1 -0
- package/dist/orchestrator/execution/adapter-layer.d.ts +8 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +19 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +1 -4
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +3 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +22 -3
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +5 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +8 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts +37 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js +206 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +6 -12
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -6
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -21
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -7
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -20
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts +17 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js +144 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +2 -2
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +2 -9
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +86 -203
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts +11 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js +63 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +2 -2
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +6 -3
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +16 -2
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js +26 -13
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js +1 -0
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts +58 -55
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/self-protection.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/self-protection.js +2 -2
- package/dist/orchestrator/execution/agent-loop/self-protection.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +31 -6
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +32 -11
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +27 -14
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +70 -8
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +181 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +27 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
- package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -3
- package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +1 -1
- package/dist/orchestrator/execution/checkpoint-manager.js +12 -52
- package/dist/orchestrator/execution/checkpoint-manager.js.map +1 -1
- package/dist/orchestrator/execution/context/context-budget.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/context-budget.js +36 -14
- package/dist/orchestrator/execution/context/context-budget.js.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.js +11 -3
- package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.js +3 -5
- package/dist/orchestrator/execution/pipeline-executor.js.map +1 -1
- package/dist/orchestrator/execution/session-manager.d.ts +4 -7
- package/dist/orchestrator/execution/session-manager.d.ts.map +1 -1
- package/dist/orchestrator/execution/session-manager.js +8 -38
- package/dist/orchestrator/execution/session-manager.js.map +1 -1
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +1 -0
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-artifact-contract.js +74 -5
- package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -1
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-diff-capture.js +101 -11
- package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js +19 -6
- package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-types.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-types.js.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.js +7 -6
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation-schema.d.ts +210 -0
- package/dist/orchestrator/execution/task/task-generation-schema.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-schema.js +42 -0
- package/dist/orchestrator/execution/task/task-generation-schema.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts +11 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.js +149 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts +3 -198
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +74 -88
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-history-metrics.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-history-metrics.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-history-metrics.js +13 -0
- package/dist/orchestrator/execution/task/task-history-metrics.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts +29 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.js +96 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +35 -3
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +60 -52
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +11 -72
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
- package/dist/orchestrator/execution/task/task-post-execution.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-post-execution.js +3 -3
- package/dist/orchestrator/execution/task/task-post-execution.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +44 -22
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts +33 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.js +164 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +106 -51
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +2 -2
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts +10 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js +65 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier.d.ts +3 -2
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +216 -212
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/execution/types/session.d.ts +2 -0
- package/dist/orchestrator/execution/types/session.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/session.js +11 -7
- package/dist/orchestrator/execution/types/session.js.map +1 -1
- package/dist/orchestrator/execution/types/task-group.d.ts +14 -0
- package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.d.ts +49 -0
- package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.js +8 -0
- package/dist/orchestrator/execution/types/task.js.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts +7 -5
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.js +53 -18
- package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts +5 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +7 -6
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.js +15 -8
- package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
- package/dist/orchestrator/goal/goal-suggest.d.ts +6 -2
- package/dist/orchestrator/goal/goal-suggest.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-suggest.js +19 -30
- package/dist/orchestrator/goal/goal-suggest.js.map +1 -1
- package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +1 -1
- package/dist/orchestrator/goal/milestone-evaluator.js +65 -31
- package/dist/orchestrator/goal/milestone-evaluator.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-context.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-context.js +68 -76
- package/dist/orchestrator/goal/negotiator-context.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-feasibility.js +2 -1
- package/dist/orchestrator/goal/negotiator-feasibility.js.map +1 -1
- package/dist/orchestrator/goal/types/dependency.d.ts +55 -0
- package/dist/orchestrator/goal/types/dependency.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/dependency.js +5 -0
- package/dist/orchestrator/goal/types/dependency.js.map +1 -1
- package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/goal-refiner.js +0 -1
- package/dist/orchestrator/goal/types/goal-refiner.js.map +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.js +6 -9
- package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts +2 -0
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js +1 -9
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts +13 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js +65 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js +1 -2
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +9 -65
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/learning.js +3 -3
- package/dist/orchestrator/loop/durable-loop/learning.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +76 -66
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/phase-specs.js +33 -26
- package/dist/orchestrator/loop/durable-loop/phase-specs.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts +3 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js +10 -4
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js +2 -3
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +1 -4
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.js +32 -12
- package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/iteration-budget.d.ts +11 -1
- package/dist/orchestrator/loop/iteration-budget.d.ts.map +1 -1
- package/dist/orchestrator/loop/iteration-budget.js +29 -11
- package/dist/orchestrator/loop/iteration-budget.js.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.js +2 -0
- package/dist/orchestrator/loop/loop-report-helper.js.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +18 -8
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.js +7 -5
- package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +7 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +8 -6
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +6 -5
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +28 -398
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts +18 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.js +377 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +3 -2
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.js +5 -17
- package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +5 -10
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -3
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.js +23 -44
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts +5 -6
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-registry.js +10 -25
- package/dist/orchestrator/strategy/strategy-template-registry.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts +14 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.js +136 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.d.ts +16 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.js +84 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-workspace.js +6 -19
- package/dist/orchestrator/strategy/strategy-workspace.js.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +7 -6
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.js +2 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/types/portfolio.d.ts +1 -0
- package/dist/orchestrator/strategy/types/portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/portfolio.js +2 -1
- package/dist/orchestrator/strategy/types/portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.d.ts +8 -3
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.js +25 -17
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
- package/dist/platform/code-search/candidate-normalizer.d.ts.map +1 -1
- package/dist/platform/code-search/candidate-normalizer.js +4 -2
- package/dist/platform/code-search/candidate-normalizer.js.map +1 -1
- package/dist/platform/code-search/candidate.d.ts.map +1 -1
- package/dist/platform/code-search/candidate.js +5 -0
- package/dist/platform/code-search/candidate.js.map +1 -1
- package/dist/platform/code-search/contracts.d.ts +8 -0
- package/dist/platform/code-search/contracts.d.ts.map +1 -1
- package/dist/platform/code-search/contracts.js.map +1 -1
- package/dist/platform/code-search/indexes/file-index.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/file-index.js +4 -0
- package/dist/platform/code-search/indexes/file-index.js.map +1 -1
- package/dist/platform/code-search/indexes/package-graph.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/package-graph.js +5 -2
- package/dist/platform/code-search/indexes/package-graph.js.map +1 -1
- package/dist/platform/code-search/parse-position.d.ts +2 -0
- package/dist/platform/code-search/parse-position.d.ts.map +1 -0
- package/dist/platform/code-search/parse-position.js +10 -0
- package/dist/platform/code-search/parse-position.js.map +1 -0
- package/dist/platform/code-search/progressive-reader.d.ts.map +1 -1
- package/dist/platform/code-search/progressive-reader.js +58 -13
- package/dist/platform/code-search/progressive-reader.js.map +1 -1
- package/dist/platform/code-search/query-planner.d.ts.map +1 -1
- package/dist/platform/code-search/query-planner.js +4 -3
- package/dist/platform/code-search/query-planner.js.map +1 -1
- package/dist/platform/code-search/verification-retrieval.d.ts.map +1 -1
- package/dist/platform/code-search/verification-retrieval.js +2 -1
- package/dist/platform/code-search/verification-retrieval.js.map +1 -1
- package/dist/platform/corrections/cognition-memory-review.d.ts +233 -0
- package/dist/platform/corrections/cognition-memory-review.d.ts.map +1 -0
- package/dist/platform/corrections/cognition-memory-review.js +93 -0
- package/dist/platform/corrections/cognition-memory-review.js.map +1 -0
- package/dist/platform/corrections/index.d.ts +2 -0
- package/dist/platform/corrections/index.d.ts.map +1 -1
- package/dist/platform/corrections/index.js +2 -0
- package/dist/platform/corrections/index.js.map +1 -1
- package/dist/platform/corrections/memory-correction-ledger.d.ts +60 -60
- package/dist/platform/corrections/memory-governance.d.ts +6 -6
- package/dist/platform/corrections/memory-quarantine.d.ts +3 -3
- package/dist/platform/corrections/user-memory-operations.js +4 -4
- package/dist/platform/corrections/user-memory-operations.js.map +1 -1
- package/dist/platform/dream/dream-activation-artifacts.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation-artifacts.js +4 -16
- package/dist/platform/dream/dream-activation-artifacts.js.map +1 -1
- package/dist/platform/dream/dream-activation.d.ts +2 -185
- package/dist/platform/dream/dream-activation.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation.js +10 -57
- package/dist/platform/dream/dream-activation.js.map +1 -1
- package/dist/platform/dream/dream-analyzer.d.ts +1 -2
- package/dist/platform/dream/dream-analyzer.d.ts.map +1 -1
- package/dist/platform/dream/dream-analyzer.js +21 -59
- package/dist/platform/dream/dream-analyzer.js.map +1 -1
- package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts +12 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts.map +1 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.js +73 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.js.map +1 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator/fs-metrics.js +27 -38
- package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -1
- package/dist/platform/dream/dream-consolidator.d.ts +3 -0
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator.js +35 -129
- package/dist/platform/dream/dream-consolidator.js.map +1 -1
- package/dist/platform/dream/dream-decision-heuristics.d.ts +421 -0
- package/dist/platform/dream/dream-decision-heuristics.d.ts.map +1 -0
- package/dist/platform/dream/dream-decision-heuristics.js +27 -0
- package/dist/platform/dream/dream-decision-heuristics.js.map +1 -0
- package/dist/platform/dream/dream-event-workflows.d.ts.map +1 -1
- package/dist/platform/dream/dream-event-workflows.js +23 -37
- package/dist/platform/dream/dream-event-workflows.js.map +1 -1
- package/dist/platform/dream/dream-importance.d.ts +1 -2
- package/dist/platform/dream/dream-importance.d.ts.map +1 -1
- package/dist/platform/dream/dream-importance.js +6 -24
- package/dist/platform/dream/dream-importance.js.map +1 -1
- package/dist/platform/dream/dream-log-collector.d.ts +4 -15
- package/dist/platform/dream/dream-log-collector.d.ts.map +1 -1
- package/dist/platform/dream/dream-log-collector.js +12 -101
- package/dist/platform/dream/dream-log-collector.js.map +1 -1
- package/dist/platform/dream/dream-schedule-suggestions.d.ts +1 -2
- package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +1 -1
- package/dist/platform/dream/dream-schedule-suggestions.js +6 -20
- package/dist/platform/dream/dream-schedule-suggestions.js.map +1 -1
- package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
- package/dist/platform/dream/dream-soil-sync.js +2 -6
- package/dist/platform/dream/dream-soil-sync.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +269 -269
- package/dist/platform/dream/dream-types.js +2 -2
- package/dist/platform/dream/dream-types.js.map +1 -1
- package/dist/platform/dream/index.d.ts +1 -0
- package/dist/platform/dream/index.d.ts.map +1 -1
- package/dist/platform/dream/index.js +1 -0
- package/dist/platform/dream/index.js.map +1 -1
- package/dist/platform/dream/playbook-memory.d.ts +8 -8
- package/dist/platform/dream/playbook-memory.d.ts.map +1 -1
- package/dist/platform/dream/playbook-memory.js +14 -75
- package/dist/platform/dream/playbook-memory.js.map +1 -1
- package/dist/platform/dream/procedural-memory.d.ts +262 -0
- package/dist/platform/dream/procedural-memory.d.ts.map +1 -0
- package/dist/platform/dream/procedural-memory.js +78 -0
- package/dist/platform/dream/procedural-memory.js.map +1 -0
- package/dist/platform/drive/drive-schedule-state-migration.d.ts +13 -0
- package/dist/platform/drive/drive-schedule-state-migration.d.ts.map +1 -0
- package/dist/platform/drive/drive-schedule-state-migration.js +115 -0
- package/dist/platform/drive/drive-schedule-state-migration.js.map +1 -0
- package/dist/platform/drive/drive-schedule-state-store.d.ts +15 -0
- package/dist/platform/drive/drive-schedule-state-store.d.ts.map +1 -0
- package/dist/platform/drive/drive-schedule-state-store.js +84 -0
- package/dist/platform/drive/drive-schedule-state-store.js.map +1 -0
- package/dist/platform/drive/drive-scorer.d.ts +6 -6
- package/dist/platform/drive/drive-scorer.d.ts.map +1 -1
- package/dist/platform/drive/drive-scorer.js +44 -16
- package/dist/platform/drive/drive-scorer.js.map +1 -1
- package/dist/platform/drive/drive-system.d.ts +10 -8
- package/dist/platform/drive/drive-system.d.ts.map +1 -1
- package/dist/platform/drive/drive-system.js +42 -57
- package/dist/platform/drive/drive-system.js.map +1 -1
- package/dist/platform/drive/gap-calculator.d.ts.map +1 -1
- package/dist/platform/drive/gap-calculator.js +36 -8
- package/dist/platform/drive/gap-calculator.js.map +1 -1
- package/dist/platform/drive/satisficing-helpers.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-helpers.js +14 -10
- package/dist/platform/drive/satisficing-helpers.js.map +1 -1
- package/dist/platform/drive/satisficing-judge.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-judge.js +16 -10
- package/dist/platform/drive/satisficing-judge.js.map +1 -1
- package/dist/platform/drive/satisficing-propagation.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-propagation.js +20 -16
- package/dist/platform/drive/satisficing-propagation.js.map +1 -1
- package/dist/platform/drive/stall-detector/repetitive.d.ts +28 -1
- package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector/repetitive.js.map +1 -1
- package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector/thresholds.js +2 -1
- package/dist/platform/drive/stall-detector/thresholds.js.map +1 -1
- package/dist/platform/drive/stall-detector.d.ts +7 -32
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js +16 -13
- package/dist/platform/drive/stall-detector.js.map +1 -1
- package/dist/platform/drive/types/drive.d.ts +4 -0
- package/dist/platform/drive/types/drive.d.ts.map +1 -1
- package/dist/platform/drive/types/drive.js +26 -15
- package/dist/platform/drive/types/drive.js.map +1 -1
- package/dist/platform/drive/types/satisficing.js +1 -1
- package/dist/platform/drive/types/satisficing.js.map +1 -1
- package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts +15 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.js +137 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.js.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.d.ts +38 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.js +137 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-graph.d.ts +17 -12
- package/dist/platform/knowledge/knowledge-graph.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-graph.js +35 -44
- package/dist/platform/knowledge/knowledge-graph.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js +18 -8
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts +3 -2
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-internals.js +8 -7
- package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-query.js +2 -2
- package/dist/platform/knowledge/knowledge-manager-query.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-store.js +3 -3
- package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.d.ts +5 -6
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.js +53 -27
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
- package/dist/platform/knowledge/knowledge-memory-state-store.d.ts +17 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.js +565 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-search.js +4 -17
- package/dist/platform/knowledge/knowledge-search.js.map +1 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +2 -2
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-feedback.d.ts +3 -3
- package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-feedback.js +3 -11
- package/dist/platform/knowledge/learning/learning-feedback.js.map +1 -1
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts +4 -5
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-pipeline.js +16 -33
- package/dist/platform/knowledge/learning/learning-pipeline.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-compression.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-compression.js +19 -43
- package/dist/platform/knowledge/memory/memory-compression.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-exports.d.ts +2 -1
- package/dist/platform/knowledge/memory/memory-exports.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-exports.js +2 -1
- package/dist/platform/knowledge/memory/memory-exports.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-index.d.ts +1 -1
- package/dist/platform/knowledge/memory/memory-index.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-index.js +11 -115
- package/dist/platform/knowledge/memory/memory-index.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts +51 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js +498 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +13 -91
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +7 -9
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.js +14 -24
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-persistence.d.ts +1 -27
- package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-persistence.js +0 -122
- package/dist/platform/knowledge/memory/memory-persistence.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-query.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-query.js +3 -59
- package/dist/platform/knowledge/memory/memory-query.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.js +7 -19
- package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-stats.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-stats.js +4 -5
- package/dist/platform/knowledge/memory/memory-stats.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +6 -10
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +3 -2
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +19 -34
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts +6 -5
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/transfer-trust.js +23 -30
- package/dist/platform/knowledge/transfer/transfer-trust.js.map +1 -1
- package/dist/platform/knowledge/types/agent-memory.d.ts +204 -204
- package/dist/platform/knowledge/types/embedding.js +2 -2
- package/dist/platform/knowledge/types/embedding.js.map +1 -1
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts +4 -4
- package/dist/platform/knowledge/vector-index-state-migration.d.ts +14 -0
- package/dist/platform/knowledge/vector-index-state-migration.d.ts.map +1 -0
- package/dist/platform/knowledge/vector-index-state-migration.js +132 -0
- package/dist/platform/knowledge/vector-index-state-migration.js.map +1 -0
- package/dist/platform/knowledge/vector-index-state-store.d.ts +19 -0
- package/dist/platform/knowledge/vector-index-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/vector-index-state-store.js +124 -0
- package/dist/platform/knowledge/vector-index-state-store.js.map +1 -0
- package/dist/platform/knowledge/vector-index.d.ts +11 -6
- package/dist/platform/knowledge/vector-index.d.ts.map +1 -1
- package/dist/platform/knowledge/vector-index.js +27 -37
- package/dist/platform/knowledge/vector-index.js.map +1 -1
- package/dist/platform/observation/capability-dependencies.d.ts +4 -3
- package/dist/platform/observation/capability-dependencies.d.ts.map +1 -1
- package/dist/platform/observation/capability-dependencies.js +8 -15
- package/dist/platform/observation/capability-dependencies.js.map +1 -1
- package/dist/platform/observation/capability-detector.d.ts.map +1 -1
- package/dist/platform/observation/capability-detector.js +8 -2
- package/dist/platform/observation/capability-detector.js.map +1 -1
- package/dist/platform/observation/capability-graph.d.ts +16 -0
- package/dist/platform/observation/capability-graph.d.ts.map +1 -0
- package/dist/platform/observation/capability-graph.js +387 -0
- package/dist/platform/observation/capability-graph.js.map +1 -0
- package/dist/platform/observation/capability-readiness.d.ts +13 -0
- package/dist/platform/observation/capability-readiness.d.ts.map +1 -0
- package/dist/platform/observation/capability-readiness.js +192 -0
- package/dist/platform/observation/capability-readiness.js.map +1 -0
- package/dist/platform/observation/capability-registry.d.ts +3 -3
- package/dist/platform/observation/capability-registry.d.ts.map +1 -1
- package/dist/platform/observation/capability-registry.js +5 -14
- package/dist/platform/observation/capability-registry.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.js +1 -1
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/dimension-pre-checker.d.ts.map +1 -1
- package/dist/platform/observation/dimension-pre-checker.js +12 -2
- package/dist/platform/observation/dimension-pre-checker.js.map +1 -1
- package/dist/platform/observation/observation-apply.d.ts.map +1 -1
- package/dist/platform/observation/observation-apply.js +2 -14
- package/dist/platform/observation/observation-apply.js.map +1 -1
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
- package/dist/platform/observation/observation-datasource.js +2 -14
- package/dist/platform/observation/observation-datasource.js.map +1 -1
- package/dist/platform/observation/observation-engine.js +0 -2
- package/dist/platform/observation/observation-engine.js.map +1 -1
- package/dist/platform/observation/observation-value.d.ts +2 -0
- package/dist/platform/observation/observation-value.d.ts.map +1 -0
- package/dist/platform/observation/observation-value.js +18 -0
- package/dist/platform/observation/observation-value.js.map +1 -0
- package/dist/platform/observation/types/capability.d.ts +689 -0
- package/dist/platform/observation/types/capability.d.ts.map +1 -1
- package/dist/platform/observation/types/capability.js +170 -2
- package/dist/platform/observation/types/capability.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +122 -25
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +17 -9
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/profile/governed-memory.d.ts +667 -0
- package/dist/platform/profile/governed-memory.d.ts.map +1 -0
- package/dist/platform/profile/governed-memory.js +535 -0
- package/dist/platform/profile/governed-memory.js.map +1 -0
- package/dist/platform/profile/profile-change-proposal.d.ts +91 -89
- package/dist/platform/profile/profile-change-proposal.d.ts.map +1 -1
- package/dist/platform/profile/profile-change-proposal.js +134 -19
- package/dist/platform/profile/profile-change-proposal.js.map +1 -1
- package/dist/platform/profile/relationship-profile.d.ts +51 -51
- package/dist/platform/profile/relationship-profile.d.ts.map +1 -1
- package/dist/platform/profile/relationship-profile.js +3 -2
- package/dist/platform/profile/relationship-profile.js.map +1 -1
- package/dist/platform/profile/retrieval-context.d.ts +16 -0
- package/dist/platform/profile/retrieval-context.d.ts.map +1 -1
- package/dist/platform/profile/retrieval-context.js +17 -0
- package/dist/platform/profile/retrieval-context.js.map +1 -1
- package/dist/platform/profile/user-md-profile-import.d.ts +6 -6
- package/dist/platform/soil/compiled-memory-projections.js +6 -6
- package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
- package/dist/platform/soil/content-projections.js +12 -12
- package/dist/platform/soil/content-projections.js.map +1 -1
- package/dist/platform/soil/contracts.d.ts +416 -387
- package/dist/platform/soil/contracts.d.ts.map +1 -1
- package/dist/platform/soil/contracts.js +23 -3
- package/dist/platform/soil/contracts.js.map +1 -1
- package/dist/platform/soil/doctor.d.ts +0 -1
- package/dist/platform/soil/doctor.d.ts.map +1 -1
- package/dist/platform/soil/doctor.js +3 -17
- package/dist/platform/soil/doctor.js.map +1 -1
- package/dist/platform/soil/frontmatter.js +1 -1
- package/dist/platform/soil/frontmatter.js.map +1 -1
- package/dist/platform/soil/importer.d.ts +6 -6
- package/dist/platform/soil/index-store.d.ts.map +1 -1
- package/dist/platform/soil/index-store.js +6 -7
- package/dist/platform/soil/index-store.js.map +1 -1
- package/dist/platform/soil/projections.d.ts.map +1 -1
- package/dist/platform/soil/projections.js +8 -4
- package/dist/platform/soil/projections.js.map +1 -1
- package/dist/platform/soil/runtime-rebuild.d.ts.map +1 -1
- package/dist/platform/soil/runtime-rebuild.js +17 -23
- package/dist/platform/soil/runtime-rebuild.js.map +1 -1
- package/dist/platform/soil/source-paths.d.ts +2 -0
- package/dist/platform/soil/source-paths.d.ts.map +1 -0
- package/dist/platform/soil/source-paths.js +25 -0
- package/dist/platform/soil/source-paths.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository-helpers.js +7 -3
- package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -1
- package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository-search.js +5 -1
- package/dist/platform/soil/sqlite-repository-search.js.map +1 -1
- package/dist/platform/soil/types.d.ts +19 -18
- package/dist/platform/soil/types.d.ts.map +1 -1
- package/dist/platform/soil/types.js +58 -16
- package/dist/platform/soil/types.js.map +1 -1
- package/dist/platform/time/time-horizon-engine.d.ts.map +1 -1
- package/dist/platform/time/time-horizon-engine.js +8 -3
- package/dist/platform/time/time-horizon-engine.js.map +1 -1
- package/dist/platform/traits/character-policy.d.ts +4 -0
- package/dist/platform/traits/character-policy.d.ts.map +1 -0
- package/dist/platform/traits/character-policy.js +10 -0
- package/dist/platform/traits/character-policy.js.map +1 -0
- package/dist/platform/traits/curiosity-engine.d.ts +5 -26
- package/dist/platform/traits/curiosity-engine.d.ts.map +1 -1
- package/dist/platform/traits/curiosity-engine.js +29 -203
- package/dist/platform/traits/curiosity-engine.js.map +1 -1
- package/dist/platform/traits/curiosity-triggers.d.ts +16 -0
- package/dist/platform/traits/curiosity-triggers.d.ts.map +1 -0
- package/dist/platform/traits/curiosity-triggers.js +187 -0
- package/dist/platform/traits/curiosity-triggers.js.map +1 -0
- package/dist/platform/traits/ethics-gate.d.ts +5 -4
- package/dist/platform/traits/ethics-gate.d.ts.map +1 -1
- package/dist/platform/traits/ethics-gate.js +11 -17
- package/dist/platform/traits/ethics-gate.js.map +1 -1
- package/dist/platform/traits/trust-manager.d.ts +5 -2
- package/dist/platform/traits/trust-manager.d.ts.map +1 -1
- package/dist/platform/traits/trust-manager.js +11 -20
- package/dist/platform/traits/trust-manager.js.map +1 -1
- package/dist/platform/traits/types/curiosity.d.ts +12 -12
- package/dist/platform/traits/types/curiosity.d.ts.map +1 -1
- package/dist/platform/traits/types/curiosity.js +24 -11
- package/dist/platform/traits/types/curiosity.js.map +1 -1
- package/dist/platform/traits/types/guardrail.d.ts +6 -6
- package/dist/prompt/gateway.d.ts +2 -2
- package/dist/prompt/gateway.d.ts.map +1 -1
- package/dist/prompt/gateway.js +4 -3
- package/dist/prompt/gateway.js.map +1 -1
- package/dist/prompt/purposes/dream.d.ts.map +1 -1
- package/dist/prompt/purposes/dream.js +3 -2
- package/dist/prompt/purposes/dream.js.map +1 -1
- package/dist/prompt/purposes/verification.d.ts +2 -2
- package/dist/reflection/cognition-writeback-evaluator.d.ts +10 -0
- package/dist/reflection/cognition-writeback-evaluator.d.ts.map +1 -0
- package/dist/reflection/cognition-writeback-evaluator.js +49 -0
- package/dist/reflection/cognition-writeback-evaluator.js.map +1 -0
- package/dist/reflection/cognition-writeback-queue.d.ts +835 -0
- package/dist/reflection/cognition-writeback-queue.d.ts.map +1 -0
- package/dist/reflection/cognition-writeback-queue.js +198 -0
- package/dist/reflection/cognition-writeback-queue.js.map +1 -0
- package/dist/reflection/dream-consolidation.d.ts +4 -0
- package/dist/reflection/dream-consolidation.d.ts.map +1 -1
- package/dist/reflection/dream-consolidation.js +28 -8
- package/dist/reflection/dream-consolidation.js.map +1 -1
- package/dist/reflection/evening-catchup.d.ts.map +1 -1
- package/dist/reflection/evening-catchup.js +21 -13
- package/dist/reflection/evening-catchup.js.map +1 -1
- package/dist/reflection/index.d.ts +4 -0
- package/dist/reflection/index.d.ts.map +1 -1
- package/dist/reflection/index.js +2 -0
- package/dist/reflection/index.js.map +1 -1
- package/dist/reflection/morning-planning.d.ts.map +1 -1
- package/dist/reflection/morning-planning.js +17 -6
- package/dist/reflection/morning-planning.js.map +1 -1
- package/dist/reflection/reflection-profile-surface.d.ts +8 -0
- package/dist/reflection/reflection-profile-surface.d.ts.map +1 -0
- package/dist/reflection/reflection-profile-surface.js +20 -0
- package/dist/reflection/reflection-profile-surface.js.map +1 -0
- package/dist/reflection/reflection-report-state-migration.d.ts +14 -0
- package/dist/reflection/reflection-report-state-migration.d.ts.map +1 -0
- package/dist/reflection/reflection-report-state-migration.js +169 -0
- package/dist/reflection/reflection-report-state-migration.js.map +1 -0
- package/dist/reflection/reflection-report-state-store.d.ts +23 -0
- package/dist/reflection/reflection-report-state-store.d.ts.map +1 -0
- package/dist/reflection/reflection-report-state-store.js +90 -0
- package/dist/reflection/reflection-report-state-store.js.map +1 -0
- package/dist/reflection/reflection-utils.d.ts +7 -1
- package/dist/reflection/reflection-utils.d.ts.map +1 -1
- package/dist/reflection/reflection-utils.js +24 -7
- package/dist/reflection/reflection-utils.js.map +1 -1
- package/dist/reflection/types.d.ts +16 -4
- package/dist/reflection/types.d.ts.map +1 -1
- package/dist/reflection/types.js +14 -9
- package/dist/reflection/types.js.map +1 -1
- package/dist/reflection/weekly-review.d.ts.map +1 -1
- package/dist/reflection/weekly-review.js +29 -8
- package/dist/reflection/weekly-review.js.map +1 -1
- package/dist/reporting/report-formatters.d.ts +1 -1
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/report-formatters.js +46 -17
- package/dist/reporting/report-formatters.js.map +1 -1
- package/dist/reporting/report-summary-builders.d.ts +16 -0
- package/dist/reporting/report-summary-builders.d.ts.map +1 -0
- package/dist/reporting/report-summary-builders.js +125 -0
- package/dist/reporting/report-summary-builders.js.map +1 -0
- package/dist/reporting/reporting-engine.d.ts +1 -1
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +11 -132
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/reporting/reporting-types.d.ts +7 -0
- package/dist/reporting/reporting-types.d.ts.map +1 -1
- package/dist/reporting/types/report.d.ts +5 -0
- package/dist/reporting/types/report.d.ts.map +1 -1
- package/dist/reporting/types/report.js +1 -0
- package/dist/reporting/types/report.js.map +1 -1
- package/dist/runtime/approval-broker.d.ts +8 -2
- package/dist/runtime/approval-broker.d.ts.map +1 -1
- package/dist/runtime/approval-broker.js +87 -7
- package/dist/runtime/approval-broker.js.map +1 -1
- package/dist/runtime/assets/checksum.d.ts +2 -0
- package/dist/runtime/assets/checksum.d.ts.map +1 -0
- package/dist/runtime/assets/checksum.js +44 -0
- package/dist/runtime/assets/checksum.js.map +1 -0
- package/dist/runtime/assets/index.d.ts +4 -0
- package/dist/runtime/assets/index.d.ts.map +1 -0
- package/dist/runtime/assets/index.js +4 -0
- package/dist/runtime/assets/index.js.map +1 -0
- package/dist/runtime/assets/registry.d.ts +16 -0
- package/dist/runtime/assets/registry.d.ts.map +1 -0
- package/dist/runtime/assets/registry.js +105 -0
- package/dist/runtime/assets/registry.js.map +1 -0
- package/dist/runtime/assets/types.d.ts +233 -0
- package/dist/runtime/assets/types.d.ts.map +1 -0
- package/dist/runtime/assets/types.js +92 -0
- package/dist/runtime/assets/types.js.map +1 -0
- package/dist/runtime/attention/attention-admission.d.ts +29 -0
- package/dist/runtime/attention/attention-admission.d.ts.map +1 -0
- package/dist/runtime/attention/attention-admission.js +92 -0
- package/dist/runtime/attention/attention-admission.js.map +1 -0
- package/dist/runtime/attention/attention-agenda.d.ts +21 -0
- package/dist/runtime/attention/attention-agenda.d.ts.map +1 -0
- package/dist/runtime/attention/attention-agenda.js +539 -0
- package/dist/runtime/attention/attention-agenda.js.map +1 -0
- package/dist/runtime/attention/attention-clustering.d.ts +54 -0
- package/dist/runtime/attention/attention-clustering.d.ts.map +1 -0
- package/dist/runtime/attention/attention-clustering.js +243 -0
- package/dist/runtime/attention/attention-clustering.js.map +1 -0
- package/dist/runtime/attention/attention-continuity.d.ts +609 -0
- package/dist/runtime/attention/attention-continuity.d.ts.map +1 -0
- package/dist/runtime/attention/attention-continuity.js +414 -0
- package/dist/runtime/attention/attention-continuity.js.map +1 -0
- package/dist/runtime/attention/attention-cycle.d.ts +56 -0
- package/dist/runtime/attention/attention-cycle.d.ts.map +1 -0
- package/dist/runtime/attention/attention-cycle.js +266 -0
- package/dist/runtime/attention/attention-cycle.js.map +1 -0
- package/dist/runtime/attention/attention-decomposition.d.ts +15 -0
- package/dist/runtime/attention/attention-decomposition.d.ts.map +1 -0
- package/dist/runtime/attention/attention-decomposition.js +157 -0
- package/dist/runtime/attention/attention-decomposition.js.map +1 -0
- package/dist/runtime/attention/attention-diagnostics.d.ts +122 -0
- package/dist/runtime/attention/attention-diagnostics.d.ts.map +1 -0
- package/dist/runtime/attention/attention-diagnostics.js +101 -0
- package/dist/runtime/attention/attention-diagnostics.js.map +1 -0
- package/dist/runtime/attention/attention-feedback.d.ts +58 -0
- package/dist/runtime/attention/attention-feedback.d.ts.map +1 -0
- package/dist/runtime/attention/attention-feedback.js +212 -0
- package/dist/runtime/attention/attention-feedback.js.map +1 -0
- package/dist/runtime/attention/attention-input.d.ts +673 -0
- package/dist/runtime/attention/attention-input.d.ts.map +1 -0
- package/dist/runtime/attention/attention-input.js +439 -0
- package/dist/runtime/attention/attention-input.js.map +1 -0
- package/dist/runtime/attention/attention-metabolism-types.d.ts +222 -0
- package/dist/runtime/attention/attention-metabolism-types.d.ts.map +1 -0
- package/dist/runtime/attention/attention-metabolism-types.js +2 -0
- package/dist/runtime/attention/attention-metabolism-types.js.map +1 -0
- package/dist/runtime/attention/attention-metabolism.d.ts +21 -0
- package/dist/runtime/attention/attention-metabolism.d.ts.map +1 -0
- package/dist/runtime/attention/attention-metabolism.js +1351 -0
- package/dist/runtime/attention/attention-metabolism.js.map +1 -0
- package/dist/runtime/attention/attention-promotion.d.ts +15 -0
- package/dist/runtime/attention/attention-promotion.d.ts.map +1 -0
- package/dist/runtime/attention/attention-promotion.js +110 -0
- package/dist/runtime/attention/attention-promotion.js.map +1 -0
- package/dist/runtime/attention/attention-refs.d.ts +12 -0
- package/dist/runtime/attention/attention-refs.d.ts.map +1 -0
- package/dist/runtime/attention/attention-refs.js +46 -0
- package/dist/runtime/attention/attention-refs.js.map +1 -0
- package/dist/runtime/attention/attention-scope.d.ts +33 -0
- package/dist/runtime/attention/attention-scope.d.ts.map +1 -0
- package/dist/runtime/attention/attention-scope.js +215 -0
- package/dist/runtime/attention/attention-scope.js.map +1 -0
- package/dist/runtime/attention/attention-semantic.d.ts +65 -0
- package/dist/runtime/attention/attention-semantic.d.ts.map +1 -0
- package/dist/runtime/attention/attention-semantic.js +102 -0
- package/dist/runtime/attention/attention-semantic.js.map +1 -0
- package/dist/runtime/attention/direct-path-inventory.d.ts +25 -0
- package/dist/runtime/attention/direct-path-inventory.d.ts.map +1 -0
- package/dist/runtime/attention/direct-path-inventory.js +377 -0
- package/dist/runtime/attention/direct-path-inventory.js.map +1 -0
- package/dist/runtime/attention/feedback-ingestion.d.ts +2236 -0
- package/dist/runtime/attention/feedback-ingestion.d.ts.map +1 -0
- package/dist/runtime/attention/feedback-ingestion.js +568 -0
- package/dist/runtime/attention/feedback-ingestion.js.map +1 -0
- package/dist/runtime/attention/index.d.ts +31 -0
- package/dist/runtime/attention/index.d.ts.map +1 -0
- package/dist/runtime/attention/index.js +16 -0
- package/dist/runtime/attention/index.js.map +1 -0
- package/dist/runtime/attention/proactive-policy.d.ts +200 -0
- package/dist/runtime/attention/proactive-policy.d.ts.map +1 -0
- package/dist/runtime/attention/proactive-policy.js +133 -0
- package/dist/runtime/attention/proactive-policy.js.map +1 -0
- package/dist/runtime/attention/surface-delivery.d.ts +215 -0
- package/dist/runtime/attention/surface-delivery.d.ts.map +1 -0
- package/dist/runtime/attention/surface-delivery.js +232 -0
- package/dist/runtime/attention/surface-delivery.js.map +1 -0
- package/dist/runtime/builtin-integrations.d.ts +4 -0
- package/dist/runtime/builtin-integrations.d.ts.map +1 -1
- package/dist/runtime/builtin-integrations.js +29 -0
- package/dist/runtime/builtin-integrations.js.map +1 -1
- package/dist/runtime/capability-execution-resolver.d.ts +9 -0
- package/dist/runtime/capability-execution-resolver.d.ts.map +1 -0
- package/dist/runtime/capability-execution-resolver.js +92 -0
- package/dist/runtime/capability-execution-resolver.js.map +1 -0
- package/dist/runtime/capability-operation-planner.d.ts +81 -0
- package/dist/runtime/capability-operation-planner.d.ts.map +1 -0
- package/dist/runtime/capability-operation-planner.js +481 -0
- package/dist/runtime/capability-operation-planner.js.map +1 -0
- package/dist/runtime/change-detector.d.ts.map +1 -1
- package/dist/runtime/change-detector.js +17 -2
- package/dist/runtime/change-detector.js.map +1 -1
- package/dist/runtime/channels/http-post.d.ts +5 -1
- package/dist/runtime/channels/http-post.d.ts.map +1 -1
- package/dist/runtime/channels/http-post.js +65 -9
- package/dist/runtime/channels/http-post.js.map +1 -1
- package/dist/runtime/cognition/audit-sink.d.ts +37 -0
- package/dist/runtime/cognition/audit-sink.d.ts.map +1 -0
- package/dist/runtime/cognition/audit-sink.js +108 -0
- package/dist/runtime/cognition/audit-sink.js.map +1 -0
- package/dist/runtime/cognition/cloud-boundary.d.ts +308 -0
- package/dist/runtime/cognition/cloud-boundary.d.ts.map +1 -0
- package/dist/runtime/cognition/cloud-boundary.js +114 -0
- package/dist/runtime/cognition/cloud-boundary.js.map +1 -0
- package/dist/runtime/cognition/companion-cognition-service.d.ts +18 -0
- package/dist/runtime/cognition/companion-cognition-service.d.ts.map +1 -0
- package/dist/runtime/cognition/companion-cognition-service.js +224 -0
- package/dist/runtime/cognition/companion-cognition-service.js.map +1 -0
- package/dist/runtime/cognition/contracts.d.ts +19901 -0
- package/dist/runtime/cognition/contracts.d.ts.map +1 -0
- package/dist/runtime/cognition/contracts.js +559 -0
- package/dist/runtime/cognition/contracts.js.map +1 -0
- package/dist/runtime/cognition/index.d.ts +13 -0
- package/dist/runtime/cognition/index.d.ts.map +1 -0
- package/dist/runtime/cognition/index.js +9 -0
- package/dist/runtime/cognition/index.js.map +1 -0
- package/dist/runtime/cognition/memory-context.d.ts +19 -0
- package/dist/runtime/cognition/memory-context.d.ts.map +1 -0
- package/dist/runtime/cognition/memory-context.js +187 -0
- package/dist/runtime/cognition/memory-context.js.map +1 -0
- package/dist/runtime/cognition/ports.d.ts +11 -0
- package/dist/runtime/cognition/ports.d.ts.map +1 -0
- package/dist/runtime/cognition/ports.js +2 -0
- package/dist/runtime/cognition/ports.js.map +1 -0
- package/dist/runtime/cognition/situation.d.ts +6 -0
- package/dist/runtime/cognition/situation.d.ts.map +1 -0
- package/dist/runtime/cognition/situation.js +66 -0
- package/dist/runtime/cognition/situation.js.map +1 -0
- package/dist/runtime/cognition/tool-authority.d.ts +21 -0
- package/dist/runtime/cognition/tool-authority.d.ts.map +1 -0
- package/dist/runtime/cognition/tool-authority.js +56 -0
- package/dist/runtime/cognition/tool-authority.js.map +1 -0
- package/dist/runtime/cognition/writeback.d.ts +17 -0
- package/dist/runtime/cognition/writeback.d.ts.map +1 -0
- package/dist/runtime/cognition/writeback.js +40 -0
- package/dist/runtime/cognition/writeback.js.map +1 -0
- package/dist/runtime/companion-state-reducer.d.ts +10 -0
- package/dist/runtime/companion-state-reducer.d.ts.map +1 -0
- package/dist/runtime/companion-state-reducer.js +601 -0
- package/dist/runtime/companion-state-reducer.js.map +1 -0
- package/dist/runtime/companion-state-runtime-selectors.d.ts +44 -0
- package/dist/runtime/companion-state-runtime-selectors.d.ts.map +1 -0
- package/dist/runtime/companion-state-runtime-selectors.js +308 -0
- package/dist/runtime/companion-state-runtime-selectors.js.map +1 -0
- package/dist/runtime/confirmation-decision.d.ts +2 -2
- package/dist/runtime/confirmation-decision.d.ts.map +1 -1
- package/dist/runtime/confirmation-decision.js +3 -2
- package/dist/runtime/confirmation-decision.js.map +1 -1
- package/dist/runtime/control/admission-policy.d.ts +1228 -0
- package/dist/runtime/control/admission-policy.d.ts.map +1 -0
- package/dist/runtime/control/admission-policy.js +455 -0
- package/dist/runtime/control/admission-policy.js.map +1 -0
- package/dist/runtime/control/autonomy-governor.d.ts +1345 -0
- package/dist/runtime/control/autonomy-governor.d.ts.map +1 -0
- package/dist/runtime/control/autonomy-governor.js +1030 -0
- package/dist/runtime/control/autonomy-governor.js.map +1 -0
- package/dist/runtime/control/autonomy-ttl.d.ts +4 -0
- package/dist/runtime/control/autonomy-ttl.d.ts.map +1 -0
- package/dist/runtime/control/autonomy-ttl.js +8 -0
- package/dist/runtime/control/autonomy-ttl.js.map +1 -0
- package/dist/runtime/control/capability-status-projection.d.ts +987 -0
- package/dist/runtime/control/capability-status-projection.d.ts.map +1 -0
- package/dist/runtime/control/capability-status-projection.js +384 -0
- package/dist/runtime/control/capability-status-projection.js.map +1 -0
- package/dist/runtime/control/companion-action-projection.d.ts +640 -0
- package/dist/runtime/control/companion-action-projection.d.ts.map +1 -0
- package/dist/runtime/control/companion-action-projection.js +304 -0
- package/dist/runtime/control/companion-action-projection.js.map +1 -0
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +2 -3
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/index.d.ts +14 -1
- package/dist/runtime/control/index.d.ts.map +1 -1
- package/dist/runtime/control/index.js +7 -0
- package/dist/runtime/control/index.js.map +1 -1
- package/dist/runtime/control/internal-autonomy-default.d.ts +163 -0
- package/dist/runtime/control/internal-autonomy-default.d.ts.map +1 -0
- package/dist/runtime/control/internal-autonomy-default.js +379 -0
- package/dist/runtime/control/internal-autonomy-default.js.map +1 -0
- package/dist/runtime/control/runtime-control-intent.d.ts +4 -0
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +29 -6
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-messages.d.ts +5 -0
- package/dist/runtime/control/runtime-control-messages.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-messages.js +11 -0
- package/dist/runtime/control/runtime-control-messages.js.map +1 -0
- package/dist/runtime/control/runtime-control-permission-grants.d.ts +16 -0
- package/dist/runtime/control/runtime-control-permission-grants.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-permission-grants.js +125 -0
- package/dist/runtime/control/runtime-control-permission-grants.js.map +1 -0
- package/dist/runtime/control/runtime-control-result-routing.d.ts +1 -0
- package/dist/runtime/control/runtime-control-result-routing.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-result-routing.js +1 -1
- package/dist/runtime/control/runtime-control-result-routing.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +74 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +1084 -15
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.d.ts.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.js +54 -8
- package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
- package/dist/runtime/conversational-approval-decision.d.ts +2 -2
- package/dist/runtime/daemon/browser-backpressure-policy.d.ts +23 -0
- package/dist/runtime/daemon/browser-backpressure-policy.d.ts.map +1 -0
- package/dist/runtime/daemon/browser-backpressure-policy.js +94 -0
- package/dist/runtime/daemon/browser-backpressure-policy.js.map +1 -0
- package/dist/runtime/daemon/client.d.ts +2 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +64 -24
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/config-json.d.ts +5 -0
- package/dist/runtime/daemon/config-json.d.ts.map +1 -0
- package/dist/runtime/daemon/config-json.js +19 -0
- package/dist/runtime/daemon/config-json.js.map +1 -0
- package/dist/runtime/daemon/maintenance.d.ts +12 -2
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +59 -22
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/persistence.d.ts +1 -1
- package/dist/runtime/daemon/persistence.d.ts.map +1 -1
- package/dist/runtime/daemon/persistence.js +10 -20
- package/dist/runtime/daemon/persistence.js.map +1 -1
- package/dist/runtime/daemon/resident-attention-orchestrator.d.ts +35 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.d.ts.map +1 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.js +495 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.js.map +1 -0
- package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-bootstrap.js +8 -6
- package/dist/runtime/daemon/runner-bootstrap.js.map +1 -1
- package/dist/runtime/daemon/runner-commands.d.ts +6 -6
- package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-commands.js +10 -6
- package/dist/runtime/daemon/runner-commands.js.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.js +4 -1
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-recovery.d.ts +2 -2
- package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-recovery.js +82 -88
- package/dist/runtime/daemon/runner-recovery.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts +6 -4
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.js +125 -20
- package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-dream.d.ts +2 -3
- package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-dream.js +4 -14
- package/dist/runtime/daemon/runner-resident-dream.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-proactive.d.ts +14 -3
- package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-proactive.js +312 -23
- package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-shared.d.ts +25 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-shared.js +57 -12
- package/dist/runtime/daemon/runner-resident-shared.js.map +1 -1
- package/dist/runtime/daemon/runner-resident.d.ts +1 -1
- package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident.js +1 -1
- package/dist/runtime/daemon/runner-resident.js.map +1 -1
- package/dist/runtime/daemon/runner-startup.d.ts +2 -1
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +19 -14
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +28 -14
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +30 -20
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +8 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +157 -18
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/daemon/runtime-root.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-root.js +13 -17
- package/dist/runtime/daemon/runtime-root.js.map +1 -1
- package/dist/runtime/daemon/types.d.ts +18 -4
- package/dist/runtime/daemon/types.d.ts.map +1 -1
- package/dist/runtime/daemon/types.js +8 -1
- package/dist/runtime/daemon/types.js.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts +9 -2
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.js +13 -12
- package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
- package/dist/runtime/decision/companion-behavior-eval-contract.d.ts +645 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.d.ts.map +1 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.js +263 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.js.map +1 -0
- package/dist/runtime/decision/companion-character-policy-projection.d.ts +325 -0
- package/dist/runtime/decision/companion-character-policy-projection.d.ts.map +1 -0
- package/dist/runtime/decision/companion-character-policy-projection.js +231 -0
- package/dist/runtime/decision/companion-character-policy-projection.js.map +1 -0
- package/dist/runtime/decision/companion-decision-contract.d.ts +503 -0
- package/dist/runtime/decision/companion-decision-contract.d.ts.map +1 -0
- package/dist/runtime/decision/companion-decision-contract.js +128 -0
- package/dist/runtime/decision/companion-decision-contract.js.map +1 -0
- package/dist/runtime/decision/companion-gadget-planning.d.ts +2252 -0
- package/dist/runtime/decision/companion-gadget-planning.d.ts.map +1 -0
- package/dist/runtime/decision/companion-gadget-planning.js +534 -0
- package/dist/runtime/decision/companion-gadget-planning.js.map +1 -0
- package/dist/runtime/decision/core-companion-memory-projection.d.ts +3059 -0
- package/dist/runtime/decision/core-companion-memory-projection.d.ts.map +1 -0
- package/dist/runtime/decision/core-companion-memory-projection.js +449 -0
- package/dist/runtime/decision/core-companion-memory-projection.js.map +1 -0
- package/dist/runtime/decision/index.d.ts +11 -0
- package/dist/runtime/decision/index.d.ts.map +1 -0
- package/dist/runtime/decision/index.js +6 -0
- package/dist/runtime/decision/index.js.map +1 -0
- package/dist/runtime/dream-sidecar-review.d.ts.map +1 -1
- package/dist/runtime/dream-sidecar-review.js +2 -2
- package/dist/runtime/dream-sidecar-review.js.map +1 -1
- package/dist/runtime/event/outbox-seq.d.ts +2 -0
- package/dist/runtime/event/outbox-seq.d.ts.map +1 -0
- package/dist/runtime/event/outbox-seq.js +11 -0
- package/dist/runtime/event/outbox-seq.js.map +1 -0
- package/dist/runtime/event/server-auth.d.ts +1 -1
- package/dist/runtime/event/server-auth.d.ts.map +1 -1
- package/dist/runtime/event/server-auth.js +3 -1
- package/dist/runtime/event/server-auth.js.map +1 -1
- package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-command-handler.js +45 -44
- package/dist/runtime/event/server-command-handler.js.map +1 -1
- package/dist/runtime/event/server-file-ingestion.d.ts +1 -0
- package/dist/runtime/event/server-file-ingestion.d.ts.map +1 -1
- package/dist/runtime/event/server-file-ingestion.js +18 -29
- package/dist/runtime/event/server-file-ingestion.js.map +1 -1
- package/dist/runtime/event/server-http.d.ts +2 -1
- package/dist/runtime/event/server-http.d.ts.map +1 -1
- package/dist/runtime/event/server-http.js +2 -18
- package/dist/runtime/event/server-http.js.map +1 -1
- package/dist/runtime/event/server-router.d.ts +2 -0
- package/dist/runtime/event/server-router.d.ts.map +1 -1
- package/dist/runtime/event/server-router.js +21 -12
- package/dist/runtime/event/server-router.js.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts +12 -2
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.js +159 -62
- package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
- package/dist/runtime/event/server-sse.d.ts.map +1 -1
- package/dist/runtime/event/server-sse.js +3 -4
- package/dist/runtime/event/server-sse.js.map +1 -1
- package/dist/runtime/event/server-trigger-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-trigger-handler.js +7 -10
- package/dist/runtime/event/server-trigger-handler.js.map +1 -1
- package/dist/runtime/event/server-types.d.ts +6 -0
- package/dist/runtime/event/server-types.d.ts.map +1 -1
- package/dist/runtime/event/server.d.ts +1 -0
- package/dist/runtime/event/server.d.ts.map +1 -1
- package/dist/runtime/event/server.js +15 -4
- package/dist/runtime/event/server.js.map +1 -1
- package/dist/runtime/evidence-answer.d.ts +26 -0
- package/dist/runtime/evidence-answer.d.ts.map +1 -1
- package/dist/runtime/evidence-answer.js +134 -14
- package/dist/runtime/evidence-answer.js.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +3 -3
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +4 -4
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +13 -6
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +91 -23
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/foreign-plugins/compatibility.d.ts +18 -1
- package/dist/runtime/foreign-plugins/compatibility.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/compatibility.js +183 -55
- package/dist/runtime/foreign-plugins/compatibility.js.map +1 -1
- package/dist/runtime/foreign-plugins/index.d.ts +2 -2
- package/dist/runtime/foreign-plugins/index.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/index.js +1 -1
- package/dist/runtime/foreign-plugins/index.js.map +1 -1
- package/dist/runtime/foreign-plugins/types.d.ts +347 -14
- package/dist/runtime/foreign-plugins/types.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/types.js +88 -1
- package/dist/runtime/foreign-plugins/types.js.map +1 -1
- package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
- package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-display-policy.js +1 -1
- package/dist/runtime/gateway/channel-display-policy.js.map +1 -1
- package/dist/runtime/gateway/channel-policy.d.ts +55 -0
- package/dist/runtime/gateway/channel-policy.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-policy.js +108 -0
- package/dist/runtime/gateway/channel-policy.js.map +1 -1
- package/dist/runtime/gateway/channel-presence-policy.d.ts +34 -0
- package/dist/runtime/gateway/channel-presence-policy.d.ts.map +1 -0
- package/dist/runtime/gateway/channel-presence-policy.js +118 -0
- package/dist/runtime/gateway/channel-presence-policy.js.map +1 -0
- package/dist/runtime/gateway/chat-event-rendering.d.ts +18 -27
- package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-event-rendering.js +49 -34
- package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.d.ts +13 -0
- package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.js +43 -6
- package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
- package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
- package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-port.js.map +1 -1
- package/dist/runtime/gateway/config-json.d.ts +3 -0
- package/dist/runtime/gateway/config-json.d.ts.map +1 -0
- package/dist/runtime/gateway/config-json.js +27 -0
- package/dist/runtime/gateway/config-json.js.map +1 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts +2 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts.map +1 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.js +214 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.js.map +1 -0
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.js +87 -43
- package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/gateway-progress-narration.d.ts +12 -0
- package/dist/runtime/gateway/gateway-progress-narration.d.ts.map +1 -0
- package/dist/runtime/gateway/gateway-progress-narration.js +294 -0
- package/dist/runtime/gateway/gateway-progress-narration.js.map +1 -0
- package/dist/runtime/gateway/http-channel-adapter.d.ts +1 -0
- package/dist/runtime/gateway/http-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/http-channel-adapter.js +2 -0
- package/dist/runtime/gateway/http-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/index.d.ts +7 -0
- package/dist/runtime/gateway/index.d.ts.map +1 -1
- package/dist/runtime/gateway/index.js +5 -0
- package/dist/runtime/gateway/index.js.map +1 -1
- package/dist/runtime/gateway/ingress-gateway.d.ts.map +1 -1
- package/dist/runtime/gateway/ingress-gateway.js +2 -6
- package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
- package/dist/runtime/gateway/non-tui-display-projector.d.ts +5 -0
- package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -1
- package/dist/runtime/gateway/non-tui-display-projector.js +202 -27
- package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -1
- package/dist/runtime/gateway/seedy-presence-projector.d.ts +74 -0
- package/dist/runtime/gateway/seedy-presence-projector.d.ts.map +1 -0
- package/dist/runtime/gateway/seedy-presence-projector.js +395 -0
- package/dist/runtime/gateway/seedy-presence-projector.js.map +1 -0
- package/dist/runtime/gateway/seedy-presence-rendering.d.ts +9 -0
- package/dist/runtime/gateway/seedy-presence-rendering.d.ts.map +1 -0
- package/dist/runtime/gateway/seedy-presence-rendering.js +103 -0
- package/dist/runtime/gateway/seedy-presence-rendering.js.map +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/signal-gateway-adapter.js +67 -38
- package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
- package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.js +85 -34
- package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +19 -4
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.js +428 -117
- package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js +86 -54
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/ws-channel-adapter.js +3 -4
- package/dist/runtime/gateway/ws-channel-adapter.js.map +1 -1
- package/dist/runtime/goal-lease-manager.d.ts +9 -14
- package/dist/runtime/goal-lease-manager.d.ts.map +1 -1
- package/dist/runtime/goal-lease-manager.js +85 -141
- package/dist/runtime/goal-lease-manager.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.js +5 -4
- package/dist/runtime/guardrails/backpressure-controller.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-limits.d.ts +5 -0
- package/dist/runtime/guardrails/backpressure-limits.d.ts.map +1 -0
- package/dist/runtime/guardrails/backpressure-limits.js +13 -0
- package/dist/runtime/guardrails/backpressure-limits.js.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts +8 -10
- package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -1
- package/dist/runtime/guardrails/guardrail-store.js +78 -55
- package/dist/runtime/guardrails/guardrail-store.js.map +1 -1
- package/dist/runtime/hook-manager.d.ts +2 -0
- package/dist/runtime/hook-manager.d.ts.map +1 -1
- package/dist/runtime/hook-manager.js +10 -4
- package/dist/runtime/hook-manager.js.map +1 -1
- package/dist/runtime/http-body.d.ts +8 -0
- package/dist/runtime/http-body.d.ts.map +1 -0
- package/dist/runtime/http-body.js +43 -0
- package/dist/runtime/http-body.js.map +1 -0
- package/dist/runtime/intention/companion-intention-state.d.ts +680 -0
- package/dist/runtime/intention/companion-intention-state.d.ts.map +1 -0
- package/dist/runtime/intention/companion-intention-state.js +146 -0
- package/dist/runtime/intention/companion-intention-state.js.map +1 -0
- package/dist/runtime/intention/index.d.ts +3 -0
- package/dist/runtime/intention/index.d.ts.map +1 -0
- package/dist/runtime/intention/index.js +2 -0
- package/dist/runtime/intention/index.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.d.ts +26 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.js +75 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts +8 -4
- package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/browser-session-store.js +78 -9
- package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -1
- package/dist/runtime/interactive-automation/index.d.ts +2 -0
- package/dist/runtime/interactive-automation/index.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/index.js +2 -0
- package/dist/runtime/interactive-automation/index.js.map +1 -1
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts +40 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js +198 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js.map +1 -0
- package/dist/runtime/leader-lock-manager.d.ts +27 -4
- package/dist/runtime/leader-lock-manager.d.ts.map +1 -1
- package/dist/runtime/leader-lock-manager.js +102 -105
- package/dist/runtime/leader-lock-manager.js.map +1 -1
- package/dist/runtime/mcp/compatibility.d.ts +53 -0
- package/dist/runtime/mcp/compatibility.d.ts.map +1 -0
- package/dist/runtime/mcp/compatibility.js +94 -0
- package/dist/runtime/mcp/compatibility.js.map +1 -0
- package/dist/runtime/mcp/index.d.ts +3 -0
- package/dist/runtime/mcp/index.d.ts.map +1 -0
- package/dist/runtime/mcp/index.js +2 -0
- package/dist/runtime/mcp/index.js.map +1 -0
- package/dist/runtime/notification-routing.d.ts.map +1 -1
- package/dist/runtime/notification-routing.js +2 -1
- package/dist/runtime/notification-routing.js.map +1 -1
- package/dist/runtime/observation/index.d.ts +3 -0
- package/dist/runtime/observation/index.d.ts.map +1 -0
- package/dist/runtime/observation/index.js +2 -0
- package/dist/runtime/observation/index.js.map +1 -0
- package/dist/runtime/observation/observation-contracts.d.ts +1518 -0
- package/dist/runtime/observation/observation-contracts.d.ts.map +1 -0
- package/dist/runtime/observation/observation-contracts.js +311 -0
- package/dist/runtime/observation/observation-contracts.js.map +1 -0
- package/dist/runtime/permission-dialogue.d.ts +87 -10
- package/dist/runtime/permission-dialogue.d.ts.map +1 -1
- package/dist/runtime/permission-dialogue.js +39 -4
- package/dist/runtime/permission-dialogue.js.map +1 -1
- package/dist/runtime/permission-grant-decision.d.ts +50 -0
- package/dist/runtime/permission-grant-decision.d.ts.map +1 -0
- package/dist/runtime/permission-grant-decision.js +139 -0
- package/dist/runtime/permission-grant-decision.js.map +1 -0
- package/dist/runtime/pid-manager.d.ts +1 -0
- package/dist/runtime/pid-manager.d.ts.map +1 -1
- package/dist/runtime/pid-manager.js +44 -21
- package/dist/runtime/pid-manager.js.map +1 -1
- package/dist/runtime/plugin-loader.d.ts +10 -1
- package/dist/runtime/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +104 -78
- package/dist/runtime/plugin-loader.js.map +1 -1
- package/dist/runtime/plugin-manifest-reader.d.ts +38 -0
- package/dist/runtime/plugin-manifest-reader.d.ts.map +1 -0
- package/dist/runtime/plugin-manifest-reader.js +163 -0
- package/dist/runtime/plugin-manifest-reader.js.map +1 -0
- package/dist/runtime/port-utils.d.ts.map +1 -1
- package/dist/runtime/port-utils.js +20 -6
- package/dist/runtime/port-utils.js.map +1 -1
- package/dist/runtime/queue/journal-backed-queue.d.ts +8 -7
- package/dist/runtime/queue/journal-backed-queue.d.ts.map +1 -1
- package/dist/runtime/queue/journal-backed-queue.js +172 -122
- package/dist/runtime/queue/journal-backed-queue.js.map +1 -1
- package/dist/runtime/resident-runtime-interface.d.ts +1034 -0
- package/dist/runtime/resident-runtime-interface.d.ts.map +1 -0
- package/dist/runtime/resident-runtime-interface.js +429 -0
- package/dist/runtime/resident-runtime-interface.js.map +1 -0
- package/dist/runtime/run-spec/confirmation.d.ts +4 -1
- package/dist/runtime/run-spec/confirmation.d.ts.map +1 -1
- package/dist/runtime/run-spec/confirmation.js +101 -6
- package/dist/runtime/run-spec/confirmation.js.map +1 -1
- package/dist/runtime/run-spec/derive.d.ts +29 -29
- package/dist/runtime/run-spec/derive.d.ts.map +1 -1
- package/dist/runtime/run-spec/derive.js +8 -7
- package/dist/runtime/run-spec/derive.js.map +1 -1
- package/dist/runtime/run-spec/handoff.d.ts.map +1 -1
- package/dist/runtime/run-spec/handoff.js +73 -38
- package/dist/runtime/run-spec/handoff.js.map +1 -1
- package/dist/runtime/run-spec/index.d.ts +2 -0
- package/dist/runtime/run-spec/index.d.ts.map +1 -1
- package/dist/runtime/run-spec/index.js +1 -0
- package/dist/runtime/run-spec/index.js.map +1 -1
- package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts +4 -4
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js +1 -1
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js.map +1 -1
- package/dist/runtime/run-spec/run-spec-state-migration.d.ts +13 -0
- package/dist/runtime/run-spec/run-spec-state-migration.d.ts.map +1 -0
- package/dist/runtime/run-spec/run-spec-state-migration.js +117 -0
- package/dist/runtime/run-spec/run-spec-state-migration.js.map +1 -0
- package/dist/runtime/run-spec/store.d.ts +9 -3
- package/dist/runtime/run-spec/store.d.ts.map +1 -1
- package/dist/runtime/run-spec/store.js +68 -19
- package/dist/runtime/run-spec/store.js.map +1 -1
- package/dist/runtime/run-spec/types.d.ts +49 -44
- package/dist/runtime/run-spec/types.d.ts.map +1 -1
- package/dist/runtime/run-spec/types.js +11 -6
- package/dist/runtime/run-spec/types.js.map +1 -1
- package/dist/runtime/schedule/engine-execution.d.ts +7 -3
- package/dist/runtime/schedule/engine-execution.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-execution.js +61 -26
- package/dist/runtime/schedule/engine-execution.js.map +1 -1
- package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-heartbeat.js +15 -7
- package/dist/runtime/schedule/engine-heartbeat.js.map +1 -1
- package/dist/runtime/schedule/engine-layers.d.ts +4 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +155 -12
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine-mutations.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +7 -3
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +62 -13
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/entry-normalization.d.ts +9 -0
- package/dist/runtime/schedule/entry-normalization.d.ts.map +1 -0
- package/dist/runtime/schedule/entry-normalization.js +105 -0
- package/dist/runtime/schedule/entry-normalization.js.map +1 -0
- package/dist/runtime/schedule/entry-store.d.ts +7 -6
- package/dist/runtime/schedule/entry-store.d.ts.map +1 -1
- package/dist/runtime/schedule/entry-store.js +94 -67
- package/dist/runtime/schedule/entry-store.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +649 -9
- package/dist/runtime/schedule/history.d.ts.map +1 -1
- package/dist/runtime/schedule/history.js +66 -23
- package/dist/runtime/schedule/history.js.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.js +34 -8
- package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -1
- package/dist/runtime/schedule/presets.d.ts +20 -20
- package/dist/runtime/schedule/presets.d.ts.map +1 -1
- package/dist/runtime/schedule/presets.js +4 -2
- package/dist/runtime/schedule/presets.js.map +1 -1
- package/dist/runtime/schedule/source.d.ts +30 -28
- package/dist/runtime/schedule/source.d.ts.map +1 -1
- package/dist/runtime/schedule/source.js +16 -5
- package/dist/runtime/schedule/source.js.map +1 -1
- package/dist/runtime/schedule/wait-projection.d.ts.map +1 -1
- package/dist/runtime/schedule/wait-projection.js +6 -9
- package/dist/runtime/schedule/wait-projection.js.map +1 -1
- package/dist/runtime/session-registry/registry-helpers.d.ts +2 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry-helpers.js +34 -10
- package/dist/runtime/session-registry/registry-helpers.js.map +1 -1
- package/dist/runtime/session-registry/registry.d.ts +3 -2
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +118 -211
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +160 -160
- package/dist/runtime/session-registry/types.d.ts.map +1 -1
- package/dist/runtime/session-registry/types.js +1 -0
- package/dist/runtime/session-registry/types.js.map +1 -1
- package/dist/runtime/skills/skill-bundle.d.ts +45 -0
- package/dist/runtime/skills/skill-bundle.d.ts.map +1 -0
- package/dist/runtime/skills/skill-bundle.js +203 -0
- package/dist/runtime/skills/skill-bundle.js.map +1 -0
- package/dist/runtime/skills/skill-parser.d.ts +1 -0
- package/dist/runtime/skills/skill-parser.d.ts.map +1 -1
- package/dist/runtime/skills/skill-parser.js +30 -11
- package/dist/runtime/skills/skill-parser.js.map +1 -1
- package/dist/runtime/skills/skill-registry.d.ts +5 -0
- package/dist/runtime/skills/skill-registry.d.ts.map +1 -1
- package/dist/runtime/skills/skill-registry.js +53 -9
- package/dist/runtime/skills/skill-registry.js.map +1 -1
- package/dist/runtime/store/approval-store.d.ts +5 -5
- package/dist/runtime/store/approval-store.d.ts.map +1 -1
- package/dist/runtime/store/approval-store.js +86 -81
- package/dist/runtime/store/approval-store.js.map +1 -1
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
- package/dist/runtime/store/artifact-retention.js +13 -2
- package/dist/runtime/store/artifact-retention.js.map +1 -1
- package/dist/runtime/store/attention-state-store.d.ts +195 -0
- package/dist/runtime/store/attention-state-store.d.ts.map +1 -0
- package/dist/runtime/store/attention-state-store.js +1186 -0
- package/dist/runtime/store/attention-state-store.js.map +1 -0
- package/dist/runtime/store/background-run-store.d.ts +233 -2
- package/dist/runtime/store/background-run-store.d.ts.map +1 -1
- package/dist/runtime/store/background-run-store.js +65 -9
- package/dist/runtime/store/background-run-store.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +101 -48
- package/dist/runtime/store/budget-store.d.ts.map +1 -1
- package/dist/runtime/store/budget-store.js +226 -47
- package/dist/runtime/store/budget-store.js.map +1 -1
- package/dist/runtime/store/capability-registry-state-migration.d.ts +24 -0
- package/dist/runtime/store/capability-registry-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/capability-registry-state-migration.js +208 -0
- package/dist/runtime/store/capability-registry-state-migration.js.map +1 -0
- package/dist/runtime/store/capability-registry-state-store.d.ts +36 -0
- package/dist/runtime/store/capability-registry-state-store.d.ts.map +1 -0
- package/dist/runtime/store/capability-registry-state-store.js +181 -0
- package/dist/runtime/store/capability-registry-state-store.js.map +1 -0
- package/dist/runtime/store/capability-verification-schemas.d.ts +184 -0
- package/dist/runtime/store/capability-verification-schemas.d.ts.map +1 -0
- package/dist/runtime/store/capability-verification-schemas.js +150 -0
- package/dist/runtime/store/capability-verification-schemas.js.map +1 -0
- package/dist/runtime/store/capability-verification-store.d.ts +31 -0
- package/dist/runtime/store/capability-verification-store.d.ts.map +1 -0
- package/dist/runtime/store/capability-verification-store.js +198 -0
- package/dist/runtime/store/capability-verification-store.js.map +1 -0
- package/dist/runtime/store/control-db/control-db.d.ts +80 -0
- package/dist/runtime/store/control-db/control-db.d.ts.map +1 -0
- package/dist/runtime/store/control-db/control-db.js +313 -0
- package/dist/runtime/store/control-db/control-db.js.map +1 -0
- package/dist/runtime/store/control-db/index.d.ts +7 -0
- package/dist/runtime/store/control-db/index.d.ts.map +1 -0
- package/dist/runtime/store/control-db/index.js +4 -0
- package/dist/runtime/store/control-db/index.js.map +1 -0
- package/dist/runtime/store/control-db/runtime-control-db.d.ts +11 -0
- package/dist/runtime/store/control-db/runtime-control-db.d.ts.map +1 -0
- package/dist/runtime/store/control-db/runtime-control-db.js +27 -0
- package/dist/runtime/store/control-db/runtime-control-db.js.map +1 -0
- package/dist/runtime/store/control-db/schema.d.ts +41 -0
- package/dist/runtime/store/control-db/schema.d.ts.map +1 -0
- package/dist/runtime/store/control-db/schema.js +2032 -0
- package/dist/runtime/store/control-db/schema.js.map +1 -0
- package/dist/runtime/store/curiosity-state-migration.d.ts +14 -0
- package/dist/runtime/store/curiosity-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/curiosity-state-migration.js +98 -0
- package/dist/runtime/store/curiosity-state-migration.js.map +1 -0
- package/dist/runtime/store/curiosity-state-store.d.ts +19 -0
- package/dist/runtime/store/curiosity-state-store.d.ts.map +1 -0
- package/dist/runtime/store/curiosity-state-store.js +161 -0
- package/dist/runtime/store/curiosity-state-store.js.map +1 -0
- package/dist/runtime/store/daemon-state-store.d.ts +25 -0
- package/dist/runtime/store/daemon-state-store.d.ts.map +1 -0
- package/dist/runtime/store/daemon-state-store.js +145 -0
- package/dist/runtime/store/daemon-state-store.js.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.d.ts +8 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.d.ts.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.js +89 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.js.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-store.d.ts +13 -0
- package/dist/runtime/store/dream-decision-heuristic-store.d.ts.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-store.js +62 -0
- package/dist/runtime/store/dream-decision-heuristic-store.js.map +1 -0
- package/dist/runtime/store/ethics-log-migration.d.ts +12 -0
- package/dist/runtime/store/ethics-log-migration.d.ts.map +1 -0
- package/dist/runtime/store/ethics-log-migration.js +94 -0
- package/dist/runtime/store/ethics-log-migration.js.map +1 -0
- package/dist/runtime/store/ethics-log-store.d.ts +20 -0
- package/dist/runtime/store/ethics-log-store.d.ts.map +1 -0
- package/dist/runtime/store/ethics-log-store.js +90 -0
- package/dist/runtime/store/ethics-log-store.js.map +1 -0
- package/dist/runtime/store/evidence-ledger.d.ts +8 -203
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
- package/dist/runtime/store/evidence-ledger.js +172 -507
- package/dist/runtime/store/evidence-ledger.js.map +1 -1
- package/dist/runtime/store/evidence-types.d.ts +860 -841
- package/dist/runtime/store/evidence-types.d.ts.map +1 -1
- package/dist/runtime/store/evidence-types.js +7 -4
- package/dist/runtime/store/evidence-types.js.map +1 -1
- package/dist/runtime/store/execution-session-state-migration.d.ts +14 -0
- package/dist/runtime/store/execution-session-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/execution-session-state-migration.js +184 -0
- package/dist/runtime/store/execution-session-state-migration.js.map +1 -0
- package/dist/runtime/store/execution-session-state-store.d.ts +21 -0
- package/dist/runtime/store/execution-session-state-store.d.ts.map +1 -0
- package/dist/runtime/store/execution-session-state-store.js +117 -0
- package/dist/runtime/store/execution-session-state-store.js.map +1 -0
- package/dist/runtime/store/experiment-queue-store.d.ts +76 -72
- package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -1
- package/dist/runtime/store/experiment-queue-store.js +72 -9
- package/dist/runtime/store/experiment-queue-store.js.map +1 -1
- package/dist/runtime/store/feedback-ingestion-store.d.ts +19 -0
- package/dist/runtime/store/feedback-ingestion-store.d.ts.map +1 -0
- package/dist/runtime/store/feedback-ingestion-store.js +147 -0
- package/dist/runtime/store/feedback-ingestion-store.js.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-migration.d.ts +14 -0
- package/dist/runtime/store/goal-orchestration-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-migration.js +206 -0
- package/dist/runtime/store/goal-orchestration-state-migration.js.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-store.d.ts +25 -0
- package/dist/runtime/store/goal-orchestration-state-store.d.ts.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-store.js +101 -0
- package/dist/runtime/store/goal-orchestration-state-store.js.map +1 -0
- package/dist/runtime/store/goal-task-state-migration.d.ts +24 -0
- package/dist/runtime/store/goal-task-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/goal-task-state-migration.js +554 -0
- package/dist/runtime/store/goal-task-state-migration.js.map +1 -0
- package/dist/runtime/store/goal-task-state-store.d.ts +85 -0
- package/dist/runtime/store/goal-task-state-store.d.ts.map +1 -0
- package/dist/runtime/store/goal-task-state-store.js +992 -0
- package/dist/runtime/store/goal-task-state-store.js.map +1 -0
- package/dist/runtime/store/health-store.d.ts +5 -2
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +70 -23
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +91 -4
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +49 -3
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/knowledge-memory-state-migration.d.ts +14 -0
- package/dist/runtime/store/knowledge-memory-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-memory-state-migration.js +160 -0
- package/dist/runtime/store/knowledge-memory-state-migration.js.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.d.ts +14 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.js +210 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.js.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-store.d.ts +658 -0
- package/dist/runtime/store/knowledge-transfer-state-store.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-store.js +214 -0
- package/dist/runtime/store/knowledge-transfer-state-store.js.map +1 -0
- package/dist/runtime/store/learning-runtime-state-migration.d.ts +16 -0
- package/dist/runtime/store/learning-runtime-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/learning-runtime-state-migration.js +202 -0
- package/dist/runtime/store/learning-runtime-state-migration.js.map +1 -0
- package/dist/runtime/store/learning-runtime-state-store.d.ts +53 -0
- package/dist/runtime/store/learning-runtime-state-store.d.ts.map +1 -0
- package/dist/runtime/store/learning-runtime-state-store.js +232 -0
- package/dist/runtime/store/learning-runtime-state-store.js.map +1 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.d.ts +18 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.js +344 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.js.map +1 -0
- package/dist/runtime/store/metric-history.d.ts +4 -1
- package/dist/runtime/store/metric-history.d.ts.map +1 -1
- package/dist/runtime/store/metric-history.js +18 -3
- package/dist/runtime/store/metric-history.js.map +1 -1
- package/dist/runtime/store/operator-handoff-store.d.ts +22 -17
- package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -1
- package/dist/runtime/store/operator-handoff-store.js +74 -7
- package/dist/runtime/store/operator-handoff-store.js.map +1 -1
- package/dist/runtime/store/outbox-store.d.ts +5 -3
- package/dist/runtime/store/outbox-store.d.ts.map +1 -1
- package/dist/runtime/store/outbox-store.js +76 -66
- package/dist/runtime/store/outbox-store.js.map +1 -1
- package/dist/runtime/store/permission-grant-store.d.ts +961 -0
- package/dist/runtime/store/permission-grant-store.d.ts.map +1 -0
- package/dist/runtime/store/permission-grant-store.js +525 -0
- package/dist/runtime/store/permission-grant-store.js.map +1 -0
- package/dist/runtime/store/permission-wait-plan-store.d.ts +633 -0
- package/dist/runtime/store/permission-wait-plan-store.d.ts.map +1 -0
- package/dist/runtime/store/permission-wait-plan-store.js +366 -0
- package/dist/runtime/store/permission-wait-plan-store.js.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts +14 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.js +204 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.js.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts +78 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.js +278 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.js.map +1 -0
- package/dist/runtime/store/postmortem-report.d.ts +10 -8
- package/dist/runtime/store/postmortem-report.d.ts.map +1 -1
- package/dist/runtime/store/postmortem-report.js +40 -18
- package/dist/runtime/store/postmortem-report.js.map +1 -1
- package/dist/runtime/store/proactive-intervention-store.d.ts +2376 -33
- package/dist/runtime/store/proactive-intervention-store.d.ts.map +1 -1
- package/dist/runtime/store/proactive-intervention-store.js +83 -37
- package/dist/runtime/store/proactive-intervention-store.js.map +1 -1
- package/dist/runtime/store/process-session-state-store.d.ts +83 -0
- package/dist/runtime/store/process-session-state-store.d.ts.map +1 -0
- package/dist/runtime/store/process-session-state-store.js +199 -0
- package/dist/runtime/store/process-session-state-store.js.map +1 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts +17 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.js +261 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.js.map +1 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts +13 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.js +94 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.js.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts +33 -33
- package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -1
- package/dist/runtime/store/reproducibility-manifest.js +22 -11
- package/dist/runtime/store/reproducibility-manifest.js.map +1 -1
- package/dist/runtime/store/runtime-control-state-migration.d.ts +23 -0
- package/dist/runtime/store/runtime-control-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-control-state-migration.js +151 -0
- package/dist/runtime/store/runtime-control-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-control-store-migration.d.ts +18 -0
- package/dist/runtime/store/runtime-control-store-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-control-store-migration.js +119 -0
- package/dist/runtime/store/runtime-control-store-migration.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-state-store.d.ts +34 -0
- package/dist/runtime/store/runtime-evidence-state-store.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-state-store.js +181 -0
- package/dist/runtime/store/runtime-evidence-state-store.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts +24 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js +369 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-summary-types.d.ts +213 -0
- package/dist/runtime/store/runtime-evidence-summary-types.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-summary-types.js +2 -0
- package/dist/runtime/store/runtime-evidence-summary-types.js.map +1 -0
- package/dist/runtime/store/runtime-journal-state-migration.d.ts +20 -0
- package/dist/runtime/store/runtime-journal-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-journal-state-migration.js +280 -0
- package/dist/runtime/store/runtime-journal-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-journal.d.ts +0 -11
- package/dist/runtime/store/runtime-journal.d.ts.map +1 -1
- package/dist/runtime/store/runtime-journal.js +0 -25
- package/dist/runtime/store/runtime-journal.js.map +1 -1
- package/dist/runtime/store/runtime-operation-companion.d.ts +13 -0
- package/dist/runtime/store/runtime-operation-companion.d.ts.map +1 -0
- package/dist/runtime/store/runtime-operation-companion.js +597 -0
- package/dist/runtime/store/runtime-operation-companion.js.map +1 -0
- package/dist/runtime/store/runtime-operation-schemas.d.ts +692 -70
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.js +70 -1
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
- package/dist/runtime/store/runtime-operation-store.d.ts +19 -8
- package/dist/runtime/store/runtime-operation-store.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-store.js +173 -36
- package/dist/runtime/store/runtime-operation-store.js.map +1 -1
- package/dist/runtime/store/runtime-paths.d.ts +4 -15
- package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
- package/dist/runtime/store/runtime-paths.js +10 -55
- package/dist/runtime/store/runtime-paths.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +2689 -56
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +153 -35
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/store/safe-pause-store.d.ts +5 -2
- package/dist/runtime/store/safe-pause-store.d.ts.map +1 -1
- package/dist/runtime/store/safe-pause-store.js +46 -8
- package/dist/runtime/store/safe-pause-store.js.map +1 -1
- package/dist/runtime/store/stall-state-migration.d.ts +13 -0
- package/dist/runtime/store/stall-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/stall-state-migration.js +143 -0
- package/dist/runtime/store/stall-state-migration.js.map +1 -0
- package/dist/runtime/store/stall-state-store.d.ts +22 -0
- package/dist/runtime/store/stall-state-store.d.ts.map +1 -0
- package/dist/runtime/store/stall-state-store.js +76 -0
- package/dist/runtime/store/stall-state-store.js.map +1 -0
- package/dist/runtime/store/strategy-dream-state-store.d.ts +65 -0
- package/dist/runtime/store/strategy-dream-state-store.d.ts.map +1 -0
- package/dist/runtime/store/strategy-dream-state-store.js +524 -0
- package/dist/runtime/store/strategy-dream-state-store.js.map +1 -0
- package/dist/runtime/store/supervisor-state-store.d.ts +71 -0
- package/dist/runtime/store/supervisor-state-store.d.ts.map +1 -0
- package/dist/runtime/store/supervisor-state-store.js +134 -0
- package/dist/runtime/store/supervisor-state-store.js.map +1 -0
- package/dist/runtime/store/transfer-trust-state-migration.d.ts +15 -0
- package/dist/runtime/store/transfer-trust-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/transfer-trust-state-migration.js +281 -0
- package/dist/runtime/store/transfer-trust-state-migration.js.map +1 -0
- package/dist/runtime/store/transfer-trust-state-store.d.ts +62 -0
- package/dist/runtime/store/transfer-trust-state-store.d.ts.map +1 -0
- package/dist/runtime/store/transfer-trust-state-store.js +322 -0
- package/dist/runtime/store/transfer-trust-state-store.js.map +1 -0
- package/dist/runtime/store/trust-state-migration.d.ts +14 -0
- package/dist/runtime/store/trust-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/trust-state-migration.js +99 -0
- package/dist/runtime/store/trust-state-migration.js.map +1 -0
- package/dist/runtime/store/trust-state-store.d.ts +18 -0
- package/dist/runtime/store/trust-state-store.d.ts.map +1 -0
- package/dist/runtime/store/trust-state-store.js +132 -0
- package/dist/runtime/store/trust-state-store.js.map +1 -0
- package/dist/runtime/trigger-mapper.d.ts +1 -0
- package/dist/runtime/trigger-mapper.d.ts.map +1 -1
- package/dist/runtime/trigger-mapper.js +83 -18
- package/dist/runtime/trigger-mapper.js.map +1 -1
- package/dist/runtime/trigger-mappings-json.d.ts +4 -0
- package/dist/runtime/trigger-mappings-json.d.ts.map +1 -0
- package/dist/runtime/trigger-mappings-json.js +10 -0
- package/dist/runtime/trigger-mappings-json.js.map +1 -0
- package/dist/runtime/types/capability-operation-plan.d.ts +580 -0
- package/dist/runtime/types/capability-operation-plan.d.ts.map +1 -0
- package/dist/runtime/types/capability-operation-plan.js +38 -0
- package/dist/runtime/types/capability-operation-plan.js.map +1 -0
- package/dist/runtime/types/companion-autonomy.d.ts +10283 -0
- package/dist/runtime/types/companion-autonomy.d.ts.map +1 -0
- package/dist/runtime/types/companion-autonomy.js +1091 -0
- package/dist/runtime/types/companion-autonomy.js.map +1 -0
- package/dist/runtime/types/companion-state.d.ts +8234 -0
- package/dist/runtime/types/companion-state.d.ts.map +1 -0
- package/dist/runtime/types/companion-state.js +403 -0
- package/dist/runtime/types/companion-state.js.map +1 -0
- package/dist/runtime/types/companion.d.ts +74 -72
- package/dist/runtime/types/companion.d.ts.map +1 -1
- package/dist/runtime/types/companion.js +3 -1
- package/dist/runtime/types/companion.js.map +1 -1
- package/dist/runtime/types/daemon.d.ts +2121 -33
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +69 -26
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/envelope.d.ts +8 -8
- package/dist/runtime/types/envelope.js +2 -2
- package/dist/runtime/types/envelope.js.map +1 -1
- package/dist/runtime/types/hook.d.ts.map +1 -1
- package/dist/runtime/types/hook.js +2 -1
- package/dist/runtime/types/hook.js.map +1 -1
- package/dist/runtime/types/notification.d.ts +57 -56
- package/dist/runtime/types/notification.d.ts.map +1 -1
- package/dist/runtime/types/notification.js +24 -10
- package/dist/runtime/types/notification.js.map +1 -1
- package/dist/runtime/types/plugin.d.ts +8 -8
- package/dist/runtime/types/plugin.d.ts.map +1 -1
- package/dist/runtime/types/plugin.js +30 -15
- package/dist/runtime/types/plugin.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +1385 -97
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +120 -27
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/types/trigger.d.ts +6 -6
- package/dist/runtime/visibility/cognitive-replay-index.d.ts +1072 -0
- package/dist/runtime/visibility/cognitive-replay-index.d.ts.map +1 -0
- package/dist/runtime/visibility/cognitive-replay-index.js +226 -0
- package/dist/runtime/visibility/cognitive-replay-index.js.map +1 -0
- package/dist/runtime/visibility/companion-audit-visibility.d.ts +161 -0
- package/dist/runtime/visibility/companion-audit-visibility.d.ts.map +1 -0
- package/dist/runtime/visibility/companion-audit-visibility.js +565 -0
- package/dist/runtime/visibility/companion-audit-visibility.js.map +1 -0
- package/dist/runtime/visibility/index.d.ts +5 -0
- package/dist/runtime/visibility/index.d.ts.map +1 -0
- package/dist/runtime/visibility/index.js +3 -0
- package/dist/runtime/visibility/index.js.map +1 -0
- package/dist/runtime/watchdog.d.ts +9 -1
- package/dist/runtime/watchdog.d.ts.map +1 -1
- package/dist/runtime/watchdog.js +53 -11
- package/dist/runtime/watchdog.js.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.d.ts +68 -208
- package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.js +76 -123
- package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
- package/dist/tools/automation/automation-tool-base.d.ts +37 -0
- package/dist/tools/automation/automation-tool-base.d.ts.map +1 -0
- package/dist/tools/automation/automation-tool-base.js +77 -0
- package/dist/tools/automation/automation-tool-base.js.map +1 -0
- package/dist/tools/automation/interactive-automation-schemas.d.ts +136 -0
- package/dist/tools/automation/interactive-automation-schemas.d.ts.map +1 -0
- package/dist/tools/automation/interactive-automation-schemas.js +54 -0
- package/dist/tools/automation/interactive-automation-schemas.js.map +1 -0
- package/dist/tools/builtin/factory.d.ts +6 -3
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +10 -4
- package/dist/tools/builtin/factory.js.map +1 -1
- package/dist/tools/capability-execution-records.d.ts +8 -0
- package/dist/tools/capability-execution-records.d.ts.map +1 -0
- package/dist/tools/capability-execution-records.js +165 -0
- package/dist/tools/capability-execution-records.js.map +1 -0
- package/dist/tools/execution/MemoryCorrectionTool/MemoryCorrectionTool.d.ts +4 -4
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +40 -40
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +2 -2
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +1 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +1 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +2 -2
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +2 -2
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +1 -1
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +8 -8
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js +4 -4
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +2 -2
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +2 -2
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +2 -2
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +1 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +3 -2
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +1 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +3 -2
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +1 -1
- package/dist/tools/execution-orchestrator.d.ts +2 -9
- package/dist/tools/execution-orchestrator.d.ts.map +1 -1
- package/dist/tools/execution-orchestrator.js.map +1 -1
- package/dist/tools/executor.d.ts +2 -0
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +163 -22
- package/dist/tools/executor.js.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +2 -2
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +2 -2
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +2 -2
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts +2 -2
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +23 -9
- package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts +8 -2
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +53 -7
- package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/prompt.d.ts +1 -1
- package/dist/tools/fs/GrepTool/prompt.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/prompt.js +1 -1
- package/dist/tools/fs/GrepTool/prompt.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +2 -2
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +20 -5
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/constants.d.ts +1 -0
- package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/constants.js +1 -0
- package/dist/tools/fs/JsonQueryTool/constants.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +7 -4
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +2 -2
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts +2 -2
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +51 -12
- package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +2 -2
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +1 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +1 -2
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +1 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +75 -2
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +1 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +55 -6
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.js +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.js.map +1 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +2 -2
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +1 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +4 -4
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +1 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +2 -2
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +1 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +14 -5
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +1 -1
- package/dist/tools/interaction/plan-utils.d.ts +3 -0
- package/dist/tools/interaction/plan-utils.d.ts.map +1 -1
- package/dist/tools/interaction/plan-utils.js +3 -0
- package/dist/tools/interaction/plan-utils.js.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts +2 -2
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.js +18 -323
- package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +6 -6
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.js +13 -6
- package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js +6 -5
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js.map +1 -1
- package/dist/tools/kaggle/experiment-artifacts.d.ts +16 -0
- package/dist/tools/kaggle/experiment-artifacts.d.ts.map +1 -0
- package/dist/tools/kaggle/experiment-artifacts.js +103 -0
- package/dist/tools/kaggle/experiment-artifacts.js.map +1 -0
- package/dist/tools/kaggle/metrics.d.ts +2 -2
- package/dist/tools/kaggle/metrics.js +3 -1
- package/dist/tools/kaggle/metrics.js.map +1 -1
- package/dist/tools/kaggle/paths.d.ts.map +1 -1
- package/dist/tools/kaggle/paths.js +12 -8
- package/dist/tools/kaggle/paths.js.map +1 -1
- package/dist/tools/kaggle/tee-wrapper.d.ts +2 -0
- package/dist/tools/kaggle/tee-wrapper.d.ts.map +1 -0
- package/dist/tools/kaggle/tee-wrapper.js +244 -0
- package/dist/tools/kaggle/tee-wrapper.js.map +1 -0
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +2 -2
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +1 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.js +1 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +2 -2
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +2 -2
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +2 -2
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +2 -2
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +2 -2
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +8 -8
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +8 -5
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +1 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +2 -2
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +3 -3
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +2 -2
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +3 -3
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +10 -10
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +58 -13
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +2 -2
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +1 -1
- package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
- package/dist/tools/mutation/task-history-utils.js +4 -7
- package/dist/tools/mutation/task-history-utils.js.map +1 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +10 -10
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +1 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +6 -5
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +2 -2
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +19 -7
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +14 -14
- package/dist/tools/network/McpStdioTool/McpStdioTool.js +1 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +3 -3
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.js +2 -2
- package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +1 -1
- package/dist/tools/permission-grant-evaluator.d.ts +22 -0
- package/dist/tools/permission-grant-evaluator.d.ts.map +1 -0
- package/dist/tools/permission-grant-evaluator.js +289 -0
- package/dist/tools/permission-grant-evaluator.js.map +1 -0
- package/dist/tools/permission.d.ts.map +1 -1
- package/dist/tools/permission.js +21 -1
- package/dist/tools/permission.js.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +2 -2
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +262 -12
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js +31 -13
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +3 -3
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +12 -7
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts +3 -3
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +17 -29
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/prompt.d.ts +1 -1
- package/dist/tools/query/ConfigTool/prompt.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/prompt.js +1 -1
- package/dist/tools/query/ConfigTool/prompt.js.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +2 -2
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +2 -2
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +10 -10
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +2 -2
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.js +11 -7
- package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +2 -2
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +8 -3
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +29 -53
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +2 -2
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +1 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +8 -8
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +2 -2
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +1 -1
- package/dist/tools/query/TaskGetTool/TaskGetTool.js +2 -9
- package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +1 -1
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts +2 -2
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +1 -1
- package/dist/tools/query/TaskListTool/TaskListTool.js +2 -22
- package/dist/tools/query/TaskListTool/TaskListTool.js.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +2 -2
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +2 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +1 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +6 -3
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +1 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.js +10 -5
- package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +1 -1
- package/dist/tools/query/runtime-dream-review-tool.d.ts +2 -2
- package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -1
- package/dist/tools/query/runtime-dream-review-tool.js +1 -1
- package/dist/tools/query/runtime-dream-review-tool.js.map +1 -1
- package/dist/tools/query/runtime-session-tool-schemas.d.ts +211 -0
- package/dist/tools/query/runtime-session-tool-schemas.d.ts.map +1 -0
- package/dist/tools/query/runtime-session-tool-schemas.js +83 -0
- package/dist/tools/query/runtime-session-tool-schemas.js.map +1 -0
- package/dist/tools/query/runtime-session-tools.d.ts +72 -280
- package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
- package/dist/tools/query/runtime-session-tools.js +87 -294
- package/dist/tools/query/runtime-session-tools.js.map +1 -1
- package/dist/tools/registry.d.ts +1 -1
- package/dist/tools/registry.d.ts.map +1 -1
- package/dist/tools/registry.js +4 -2
- package/dist/tools/registry.js.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +44 -554
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.js +29 -226
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.js +13 -12
- package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
- package/dist/tools/runtime/SetupRuntimeControlTools.js +28 -16
- package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
- package/dist/tools/runtime/long-running-report-render.d.ts +5 -0
- package/dist/tools/runtime/long-running-report-render.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-report-render.js +53 -0
- package/dist/tools/runtime/long-running-report-render.js.map +1 -0
- package/dist/tools/runtime/long-running-runtime-paths.d.ts +8 -0
- package/dist/tools/runtime/long-running-runtime-paths.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-runtime-paths.js +77 -0
- package/dist/tools/runtime/long-running-runtime-paths.js.map +1 -0
- package/dist/tools/runtime/long-running-runtime-schemas.d.ts +515 -0
- package/dist/tools/runtime/long-running-runtime-schemas.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-runtime-schemas.js +92 -0
- package/dist/tools/runtime/long-running-runtime-schemas.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +509 -145
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +14 -14
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +6 -6
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +594 -106
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +8 -8
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +1 -1
- package/dist/tools/schedule/schedule-tool-input-schemas.d.ts +611 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.d.ts.map +1 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.js +152 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.js.map +1 -0
- package/dist/tools/shared/parse-tool-output.d.ts.map +1 -1
- package/dist/tools/shared/parse-tool-output.js +6 -3
- package/dist/tools/shared/parse-tool-output.js.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.d.ts +6 -6
- package/dist/tools/system/EnvTool/EnvTool.d.ts.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.js +1 -1
- package/dist/tools/system/EnvTool/EnvTool.js.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +6 -6
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts +6 -6
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.js +4 -2
- package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +17 -14
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +43 -54
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +3 -3
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +43 -10
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +1 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +2 -2
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +4 -4
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts +5 -2
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +11 -4
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.d.ts +1 -0
- package/dist/tools/system/ShellTool/command-policy.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.js +10 -0
- package/dist/tools/system/ShellTool/command-policy.js.map +1 -1
- package/dist/tools/system/ShellTool/prompt.d.ts +1 -1
- package/dist/tools/system/ShellTool/prompt.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/prompt.js +1 -1
- package/dist/tools/system/ShellTool/prompt.js.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.d.ts +2 -2
- package/dist/tools/system/SleepTool/SleepTool.d.ts.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.js +1 -1
- package/dist/tools/system/SleepTool/SleepTool.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +8 -6
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +59 -44
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +4 -4
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +6 -5
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
- package/dist/tools/tool-definition-adapter.d.ts.map +1 -1
- package/dist/tools/tool-definition-adapter.js +189 -20
- package/dist/tools/tool-definition-adapter.js.map +1 -1
- package/dist/tools/types.d.ts +100 -7
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +26 -8
- package/dist/tools/types.js.map +1 -1
- package/package.json +10 -3
- package/dist/base/state/state-lock.d.ts +0 -17
- package/dist/base/state/state-lock.d.ts.map +0 -1
- package/dist/base/state/state-lock.js +0 -134
- package/dist/base/state/state-lock.js.map +0 -1
- package/dist/base/state/state-manager-goal-state.d.ts +0 -40
- package/dist/base/state/state-manager-goal-state.d.ts.map +0 -1
- package/dist/base/state/state-manager-goal-state.js +0 -235
- package/dist/base/state/state-manager-goal-state.js.map +0 -1
- package/dist/base/state/state-manager-goal-write.d.ts +0 -26
- package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
- package/dist/base/state/state-manager-goal-write.js +0 -116
- package/dist/base/state/state-manager-goal-write.js.map +0 -1
- package/dist/base/state/state-manager-wal.d.ts +0 -11
- package/dist/base/state/state-manager-wal.d.ts.map +0 -1
- package/dist/base/state/state-manager-wal.js +0 -101
- package/dist/base/state/state-manager-wal.js.map +0 -1
- package/dist/base/state/state-wal.d.ts.map +0 -1
- package/dist/base/state/state-wal.js.map +0 -1
- package/dist/interface/chat/freeform-route-classifier.d.ts +0 -21
- package/dist/interface/chat/freeform-route-classifier.d.ts.map +0 -1
- package/dist/interface/chat/freeform-route-classifier.js +0 -43
- package/dist/interface/chat/freeform-route-classifier.js.map +0 -1
- package/dist/orchestrator/ethics-gate.d.ts +0 -3
- package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
- package/dist/orchestrator/ethics-gate.js +0 -2
- package/dist/orchestrator/ethics-gate.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.js +0 -2
- package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.js +0 -2
- package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.js +0 -2
- package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -2
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +0 -2
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -2
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.js +0 -2
- package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +0 -2
- package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/public-research.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/public-research.js +0 -2
- package/dist/orchestrator/loop/core-loop/public-research.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
- package/dist/platform/dream/dream-log-store.d.ts +0 -22
- package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
- package/dist/platform/dream/dream-log-store.js +0 -150
- package/dist/platform/dream/dream-log-store.js.map +0 -1
- package/dist/platform/ethics-gate.d.ts +0 -2
- package/dist/platform/ethics-gate.d.ts.map +0 -1
- package/dist/platform/ethics-gate.js +0 -2
- package/dist/platform/ethics-gate.js.map +0 -1
|
@@ -0,0 +1,3059 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { GroundingProfileId } from "../../grounding/contracts.js";
|
|
3
|
+
import { type CognitionContextRef, type CognitionProjectionCallerPathKind } from "./companion-decision-contract.js";
|
|
4
|
+
export declare const CoreCompanionMemoryGroundingProfileIdSchema: z.ZodEnum<["chat/general_turn", "chat/handoff", "agent_loop/task_execution", "core_loop/verification"]>;
|
|
5
|
+
export type CoreCompanionMemoryGroundingProfileId = z.infer<typeof CoreCompanionMemoryGroundingProfileIdSchema>;
|
|
6
|
+
export declare const CoreCompanionMemorySourceKindSchema: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "surface_projection", "knowledge_manager", "soil", "dream_seed", "correction_ledger", "grounding_profile", "grounding_bundle"]>;
|
|
7
|
+
export type CoreCompanionMemorySourceKind = z.infer<typeof CoreCompanionMemorySourceKindSchema>;
|
|
8
|
+
export declare const CoreCompanionMemoryProjectionSourceRefSchema: z.ZodObject<{
|
|
9
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "surface_projection", "knowledge_manager", "soil", "dream_seed", "correction_ledger", "grounding_profile", "grounding_bundle"]>;
|
|
10
|
+
ref: z.ZodString;
|
|
11
|
+
owner_kind: z.ZodOptional<z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>>;
|
|
12
|
+
}, "strict", z.ZodTypeAny, {
|
|
13
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
14
|
+
ref: string;
|
|
15
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
18
|
+
ref: string;
|
|
19
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type CoreCompanionMemoryProjectionSourceRef = z.infer<typeof CoreCompanionMemoryProjectionSourceRefSchema>;
|
|
22
|
+
export declare const CoreCompanionMemoryRestrictionReasonSchema: z.ZodEnum<["stale", "superseded", "corrected", "sensitive", "out_of_scope", "redacted", "lifecycle_ineligible", "permission_blocked", "forbidden_use", "not_allowed_for_requested_use", "stale_or_missing_surface"]>;
|
|
23
|
+
export type CoreCompanionMemoryRestrictionReason = z.infer<typeof CoreCompanionMemoryRestrictionReasonSchema>;
|
|
24
|
+
export declare const CoreCompanionMemoryAvailableContentSchema: z.ZodObject<{
|
|
25
|
+
state: z.ZodLiteral<"available">;
|
|
26
|
+
excerpt: z.ZodString;
|
|
27
|
+
}, "strict", z.ZodTypeAny, {
|
|
28
|
+
state: "available";
|
|
29
|
+
excerpt: string;
|
|
30
|
+
}, {
|
|
31
|
+
state: "available";
|
|
32
|
+
excerpt: string;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const CoreCompanionMemoryWithheldContentSchema: z.ZodObject<{
|
|
35
|
+
state: z.ZodLiteral<"withheld">;
|
|
36
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
37
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
38
|
+
}, "strict", z.ZodTypeAny, {
|
|
39
|
+
state: "withheld";
|
|
40
|
+
reason_refs: string[];
|
|
41
|
+
redaction_ref?: string | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
state: "withheld";
|
|
44
|
+
redaction_ref?: string | undefined;
|
|
45
|
+
reason_refs?: string[] | undefined;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const CoreCompanionMemoryContentSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
48
|
+
state: z.ZodLiteral<"available">;
|
|
49
|
+
excerpt: z.ZodString;
|
|
50
|
+
}, "strict", z.ZodTypeAny, {
|
|
51
|
+
state: "available";
|
|
52
|
+
excerpt: string;
|
|
53
|
+
}, {
|
|
54
|
+
state: "available";
|
|
55
|
+
excerpt: string;
|
|
56
|
+
}>, z.ZodObject<{
|
|
57
|
+
state: z.ZodLiteral<"withheld">;
|
|
58
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
59
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
}, "strict", z.ZodTypeAny, {
|
|
61
|
+
state: "withheld";
|
|
62
|
+
reason_refs: string[];
|
|
63
|
+
redaction_ref?: string | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
state: "withheld";
|
|
66
|
+
redaction_ref?: string | undefined;
|
|
67
|
+
reason_refs?: string[] | undefined;
|
|
68
|
+
}>]>;
|
|
69
|
+
export type CoreCompanionMemoryContent = z.infer<typeof CoreCompanionMemoryContentSchema>;
|
|
70
|
+
export declare const CoreCompanionMemoryUsePolicySchema: z.ZodEffects<z.ZodObject<{
|
|
71
|
+
remembered: z.ZodDefault<z.ZodLiteral<true>>;
|
|
72
|
+
usable: z.ZodBoolean;
|
|
73
|
+
speakable: z.ZodBoolean;
|
|
74
|
+
actionable: z.ZodBoolean;
|
|
75
|
+
inhibition_only: z.ZodBoolean;
|
|
76
|
+
planning_only: z.ZodBoolean;
|
|
77
|
+
forbidden: z.ZodBoolean;
|
|
78
|
+
memory_is_runtime_authority: z.ZodDefault<z.ZodLiteral<false>>;
|
|
79
|
+
required_confirmation: z.ZodDefault<z.ZodEnum<["none", "before_speech", "before_action", "before_resume"]>>;
|
|
80
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
81
|
+
allowed_use_classes: z.ZodDefault<z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">>;
|
|
82
|
+
blocked_use_classes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
83
|
+
}, "strict", z.ZodTypeAny, {
|
|
84
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
85
|
+
actionable: boolean;
|
|
86
|
+
speakable: boolean;
|
|
87
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
88
|
+
forbidden: boolean;
|
|
89
|
+
remembered: true;
|
|
90
|
+
usable: boolean;
|
|
91
|
+
inhibition_only: boolean;
|
|
92
|
+
planning_only: boolean;
|
|
93
|
+
memory_is_runtime_authority: false;
|
|
94
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
95
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
96
|
+
}, {
|
|
97
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
98
|
+
actionable: boolean;
|
|
99
|
+
speakable: boolean;
|
|
100
|
+
forbidden: boolean;
|
|
101
|
+
usable: boolean;
|
|
102
|
+
inhibition_only: boolean;
|
|
103
|
+
planning_only: boolean;
|
|
104
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
105
|
+
remembered?: true | undefined;
|
|
106
|
+
memory_is_runtime_authority?: false | undefined;
|
|
107
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
108
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
109
|
+
}>, {
|
|
110
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
111
|
+
actionable: boolean;
|
|
112
|
+
speakable: boolean;
|
|
113
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
114
|
+
forbidden: boolean;
|
|
115
|
+
remembered: true;
|
|
116
|
+
usable: boolean;
|
|
117
|
+
inhibition_only: boolean;
|
|
118
|
+
planning_only: boolean;
|
|
119
|
+
memory_is_runtime_authority: false;
|
|
120
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
121
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
122
|
+
}, {
|
|
123
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
124
|
+
actionable: boolean;
|
|
125
|
+
speakable: boolean;
|
|
126
|
+
forbidden: boolean;
|
|
127
|
+
usable: boolean;
|
|
128
|
+
inhibition_only: boolean;
|
|
129
|
+
planning_only: boolean;
|
|
130
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
131
|
+
remembered?: true | undefined;
|
|
132
|
+
memory_is_runtime_authority?: false | undefined;
|
|
133
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
134
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
export type CoreCompanionMemoryUsePolicy = z.infer<typeof CoreCompanionMemoryUsePolicySchema>;
|
|
137
|
+
export declare const CoreCompanionMemoryEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
138
|
+
entry_id: z.ZodString;
|
|
139
|
+
lane: z.ZodEnum<["knowledge", "work_memory", "relationship", "boundary", "promise", "tension", "anti_memory"]>;
|
|
140
|
+
source_ref: z.ZodEffects<z.ZodObject<{
|
|
141
|
+
memory_id: z.ZodString;
|
|
142
|
+
owning_store_ref: z.ZodObject<{
|
|
143
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
144
|
+
store_ref: z.ZodString;
|
|
145
|
+
record_ref: z.ZodString;
|
|
146
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
147
|
+
}, "strict", z.ZodTypeAny, {
|
|
148
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
149
|
+
schema_version: number;
|
|
150
|
+
store_ref: string;
|
|
151
|
+
record_ref: string;
|
|
152
|
+
}, {
|
|
153
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
154
|
+
store_ref: string;
|
|
155
|
+
record_ref: string;
|
|
156
|
+
schema_version?: number | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
role: z.ZodEnum<["knowledge", "work_memory", "relationship", "seed", "boundary", "promise", "anti_memory", "tension"]>;
|
|
159
|
+
record_kind: z.ZodEnum<["stable_profile_fact", "preference", "routine", "boundary", "intervention_policy", "episodic_event", "promise", "correction", "relationship_posture", "consent_scope", "work_commitment", "project_fact", "knowledge_fact", "open_tension", "anti_memory_rule", "seed_candidate"]>;
|
|
160
|
+
domain_fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
161
|
+
allowed_uses: z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">;
|
|
162
|
+
not_allowed_uses: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
163
|
+
lifecycle: z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>;
|
|
164
|
+
correction_state: z.ZodDefault<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
165
|
+
superseded_by_memory_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
166
|
+
sensitivity: z.ZodEnum<["public", "private", "sensitive"]>;
|
|
167
|
+
content_state: z.ZodEnum<["materialized", "redacted"]>;
|
|
168
|
+
dependency_ref: z.ZodObject<{
|
|
169
|
+
kind: z.ZodEnum<["memory_record", "permission_grant", "runtime_item", "agenda_item", "urge_candidate", "outcome_decision", "expression_decision", "memory_write_candidate", "session_resume_attempt", "audit_trace"]>;
|
|
170
|
+
ref: z.ZodString;
|
|
171
|
+
owning_store_ref: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
173
|
+
store_ref: z.ZodString;
|
|
174
|
+
record_ref: z.ZodString;
|
|
175
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
176
|
+
}, "strict", z.ZodTypeAny, {
|
|
177
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
178
|
+
schema_version: number;
|
|
179
|
+
store_ref: string;
|
|
180
|
+
record_ref: string;
|
|
181
|
+
}, {
|
|
182
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
183
|
+
store_ref: string;
|
|
184
|
+
record_ref: string;
|
|
185
|
+
schema_version?: number | undefined;
|
|
186
|
+
}>>;
|
|
187
|
+
content_state: z.ZodDefault<z.ZodEnum<["materialized", "redacted"]>>;
|
|
188
|
+
lifecycle: z.ZodOptional<z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>>;
|
|
189
|
+
correction_state: z.ZodOptional<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
190
|
+
superseded_by_memory_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
+
surface_ref: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, "strict", z.ZodTypeAny, {
|
|
193
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
194
|
+
ref: string;
|
|
195
|
+
content_state: "materialized" | "redacted";
|
|
196
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
197
|
+
owning_store_ref?: {
|
|
198
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
199
|
+
schema_version: number;
|
|
200
|
+
store_ref: string;
|
|
201
|
+
record_ref: string;
|
|
202
|
+
} | undefined;
|
|
203
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
204
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
205
|
+
surface_ref?: string | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
208
|
+
ref: string;
|
|
209
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
210
|
+
owning_store_ref?: {
|
|
211
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
212
|
+
store_ref: string;
|
|
213
|
+
record_ref: string;
|
|
214
|
+
schema_version?: number | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
217
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
218
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
219
|
+
surface_ref?: string | undefined;
|
|
220
|
+
}>;
|
|
221
|
+
}, "strict", z.ZodTypeAny, {
|
|
222
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
223
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
224
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
225
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
226
|
+
memory_id: string;
|
|
227
|
+
owning_store_ref: {
|
|
228
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
229
|
+
schema_version: number;
|
|
230
|
+
store_ref: string;
|
|
231
|
+
record_ref: string;
|
|
232
|
+
};
|
|
233
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
234
|
+
domain_fields: Record<string, unknown>;
|
|
235
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
236
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
237
|
+
superseded_by_memory_id: string | null;
|
|
238
|
+
content_state: "materialized" | "redacted";
|
|
239
|
+
dependency_ref: {
|
|
240
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
241
|
+
ref: string;
|
|
242
|
+
content_state: "materialized" | "redacted";
|
|
243
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
244
|
+
owning_store_ref?: {
|
|
245
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
246
|
+
schema_version: number;
|
|
247
|
+
store_ref: string;
|
|
248
|
+
record_ref: string;
|
|
249
|
+
} | undefined;
|
|
250
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
251
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
252
|
+
surface_ref?: string | undefined;
|
|
253
|
+
};
|
|
254
|
+
}, {
|
|
255
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
256
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
257
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
258
|
+
memory_id: string;
|
|
259
|
+
owning_store_ref: {
|
|
260
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
261
|
+
store_ref: string;
|
|
262
|
+
record_ref: string;
|
|
263
|
+
schema_version?: number | undefined;
|
|
264
|
+
};
|
|
265
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
266
|
+
domain_fields: Record<string, unknown>;
|
|
267
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
268
|
+
content_state: "materialized" | "redacted";
|
|
269
|
+
dependency_ref: {
|
|
270
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
271
|
+
ref: string;
|
|
272
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
273
|
+
owning_store_ref?: {
|
|
274
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
275
|
+
store_ref: string;
|
|
276
|
+
record_ref: string;
|
|
277
|
+
schema_version?: number | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
280
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
281
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
282
|
+
surface_ref?: string | undefined;
|
|
283
|
+
};
|
|
284
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
285
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
286
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
287
|
+
}>, {
|
|
288
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
289
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
290
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
291
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
292
|
+
memory_id: string;
|
|
293
|
+
owning_store_ref: {
|
|
294
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
295
|
+
schema_version: number;
|
|
296
|
+
store_ref: string;
|
|
297
|
+
record_ref: string;
|
|
298
|
+
};
|
|
299
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
300
|
+
domain_fields: Record<string, unknown>;
|
|
301
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
302
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
303
|
+
superseded_by_memory_id: string | null;
|
|
304
|
+
content_state: "materialized" | "redacted";
|
|
305
|
+
dependency_ref: {
|
|
306
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
307
|
+
ref: string;
|
|
308
|
+
content_state: "materialized" | "redacted";
|
|
309
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
310
|
+
owning_store_ref?: {
|
|
311
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
312
|
+
schema_version: number;
|
|
313
|
+
store_ref: string;
|
|
314
|
+
record_ref: string;
|
|
315
|
+
} | undefined;
|
|
316
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
317
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
318
|
+
surface_ref?: string | undefined;
|
|
319
|
+
};
|
|
320
|
+
}, {
|
|
321
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
322
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
323
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
324
|
+
memory_id: string;
|
|
325
|
+
owning_store_ref: {
|
|
326
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
327
|
+
store_ref: string;
|
|
328
|
+
record_ref: string;
|
|
329
|
+
schema_version?: number | undefined;
|
|
330
|
+
};
|
|
331
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
332
|
+
domain_fields: Record<string, unknown>;
|
|
333
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
334
|
+
content_state: "materialized" | "redacted";
|
|
335
|
+
dependency_ref: {
|
|
336
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
337
|
+
ref: string;
|
|
338
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
339
|
+
owning_store_ref?: {
|
|
340
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
341
|
+
store_ref: string;
|
|
342
|
+
record_ref: string;
|
|
343
|
+
schema_version?: number | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
346
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
347
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
348
|
+
surface_ref?: string | undefined;
|
|
349
|
+
};
|
|
350
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
351
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
352
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
353
|
+
}>;
|
|
354
|
+
content: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
355
|
+
state: z.ZodLiteral<"available">;
|
|
356
|
+
excerpt: z.ZodString;
|
|
357
|
+
}, "strict", z.ZodTypeAny, {
|
|
358
|
+
state: "available";
|
|
359
|
+
excerpt: string;
|
|
360
|
+
}, {
|
|
361
|
+
state: "available";
|
|
362
|
+
excerpt: string;
|
|
363
|
+
}>, z.ZodObject<{
|
|
364
|
+
state: z.ZodLiteral<"withheld">;
|
|
365
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
366
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
367
|
+
}, "strict", z.ZodTypeAny, {
|
|
368
|
+
state: "withheld";
|
|
369
|
+
reason_refs: string[];
|
|
370
|
+
redaction_ref?: string | undefined;
|
|
371
|
+
}, {
|
|
372
|
+
state: "withheld";
|
|
373
|
+
redaction_ref?: string | undefined;
|
|
374
|
+
reason_refs?: string[] | undefined;
|
|
375
|
+
}>]>;
|
|
376
|
+
use_policy: z.ZodEffects<z.ZodObject<{
|
|
377
|
+
remembered: z.ZodDefault<z.ZodLiteral<true>>;
|
|
378
|
+
usable: z.ZodBoolean;
|
|
379
|
+
speakable: z.ZodBoolean;
|
|
380
|
+
actionable: z.ZodBoolean;
|
|
381
|
+
inhibition_only: z.ZodBoolean;
|
|
382
|
+
planning_only: z.ZodBoolean;
|
|
383
|
+
forbidden: z.ZodBoolean;
|
|
384
|
+
memory_is_runtime_authority: z.ZodDefault<z.ZodLiteral<false>>;
|
|
385
|
+
required_confirmation: z.ZodDefault<z.ZodEnum<["none", "before_speech", "before_action", "before_resume"]>>;
|
|
386
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
387
|
+
allowed_use_classes: z.ZodDefault<z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">>;
|
|
388
|
+
blocked_use_classes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
389
|
+
}, "strict", z.ZodTypeAny, {
|
|
390
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
391
|
+
actionable: boolean;
|
|
392
|
+
speakable: boolean;
|
|
393
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
394
|
+
forbidden: boolean;
|
|
395
|
+
remembered: true;
|
|
396
|
+
usable: boolean;
|
|
397
|
+
inhibition_only: boolean;
|
|
398
|
+
planning_only: boolean;
|
|
399
|
+
memory_is_runtime_authority: false;
|
|
400
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
401
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
402
|
+
}, {
|
|
403
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
404
|
+
actionable: boolean;
|
|
405
|
+
speakable: boolean;
|
|
406
|
+
forbidden: boolean;
|
|
407
|
+
usable: boolean;
|
|
408
|
+
inhibition_only: boolean;
|
|
409
|
+
planning_only: boolean;
|
|
410
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
411
|
+
remembered?: true | undefined;
|
|
412
|
+
memory_is_runtime_authority?: false | undefined;
|
|
413
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
414
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
415
|
+
}>, {
|
|
416
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
417
|
+
actionable: boolean;
|
|
418
|
+
speakable: boolean;
|
|
419
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
420
|
+
forbidden: boolean;
|
|
421
|
+
remembered: true;
|
|
422
|
+
usable: boolean;
|
|
423
|
+
inhibition_only: boolean;
|
|
424
|
+
planning_only: boolean;
|
|
425
|
+
memory_is_runtime_authority: false;
|
|
426
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
427
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
428
|
+
}, {
|
|
429
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
430
|
+
actionable: boolean;
|
|
431
|
+
speakable: boolean;
|
|
432
|
+
forbidden: boolean;
|
|
433
|
+
usable: boolean;
|
|
434
|
+
inhibition_only: boolean;
|
|
435
|
+
planning_only: boolean;
|
|
436
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
437
|
+
remembered?: true | undefined;
|
|
438
|
+
memory_is_runtime_authority?: false | undefined;
|
|
439
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
440
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
441
|
+
}>;
|
|
442
|
+
source_projection_ref: z.ZodString;
|
|
443
|
+
audit_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
444
|
+
}, "strict", z.ZodTypeAny, {
|
|
445
|
+
content: {
|
|
446
|
+
state: "available";
|
|
447
|
+
excerpt: string;
|
|
448
|
+
} | {
|
|
449
|
+
state: "withheld";
|
|
450
|
+
reason_refs: string[];
|
|
451
|
+
redaction_ref?: string | undefined;
|
|
452
|
+
};
|
|
453
|
+
entry_id: string;
|
|
454
|
+
audit_refs: string[];
|
|
455
|
+
source_ref: {
|
|
456
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
457
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
458
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
459
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
460
|
+
memory_id: string;
|
|
461
|
+
owning_store_ref: {
|
|
462
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
463
|
+
schema_version: number;
|
|
464
|
+
store_ref: string;
|
|
465
|
+
record_ref: string;
|
|
466
|
+
};
|
|
467
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
468
|
+
domain_fields: Record<string, unknown>;
|
|
469
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
470
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
471
|
+
superseded_by_memory_id: string | null;
|
|
472
|
+
content_state: "materialized" | "redacted";
|
|
473
|
+
dependency_ref: {
|
|
474
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
475
|
+
ref: string;
|
|
476
|
+
content_state: "materialized" | "redacted";
|
|
477
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
478
|
+
owning_store_ref?: {
|
|
479
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
480
|
+
schema_version: number;
|
|
481
|
+
store_ref: string;
|
|
482
|
+
record_ref: string;
|
|
483
|
+
} | undefined;
|
|
484
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
485
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
486
|
+
surface_ref?: string | undefined;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
490
|
+
use_policy: {
|
|
491
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
492
|
+
actionable: boolean;
|
|
493
|
+
speakable: boolean;
|
|
494
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
495
|
+
forbidden: boolean;
|
|
496
|
+
remembered: true;
|
|
497
|
+
usable: boolean;
|
|
498
|
+
inhibition_only: boolean;
|
|
499
|
+
planning_only: boolean;
|
|
500
|
+
memory_is_runtime_authority: false;
|
|
501
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
502
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
503
|
+
};
|
|
504
|
+
source_projection_ref: string;
|
|
505
|
+
}, {
|
|
506
|
+
content: {
|
|
507
|
+
state: "available";
|
|
508
|
+
excerpt: string;
|
|
509
|
+
} | {
|
|
510
|
+
state: "withheld";
|
|
511
|
+
redaction_ref?: string | undefined;
|
|
512
|
+
reason_refs?: string[] | undefined;
|
|
513
|
+
};
|
|
514
|
+
entry_id: string;
|
|
515
|
+
source_ref: {
|
|
516
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
517
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
518
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
519
|
+
memory_id: string;
|
|
520
|
+
owning_store_ref: {
|
|
521
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
522
|
+
store_ref: string;
|
|
523
|
+
record_ref: string;
|
|
524
|
+
schema_version?: number | undefined;
|
|
525
|
+
};
|
|
526
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
527
|
+
domain_fields: Record<string, unknown>;
|
|
528
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
529
|
+
content_state: "materialized" | "redacted";
|
|
530
|
+
dependency_ref: {
|
|
531
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
532
|
+
ref: string;
|
|
533
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
534
|
+
owning_store_ref?: {
|
|
535
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
536
|
+
store_ref: string;
|
|
537
|
+
record_ref: string;
|
|
538
|
+
schema_version?: number | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
541
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
542
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
543
|
+
surface_ref?: string | undefined;
|
|
544
|
+
};
|
|
545
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
546
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
547
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
548
|
+
};
|
|
549
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
550
|
+
use_policy: {
|
|
551
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
552
|
+
actionable: boolean;
|
|
553
|
+
speakable: boolean;
|
|
554
|
+
forbidden: boolean;
|
|
555
|
+
usable: boolean;
|
|
556
|
+
inhibition_only: boolean;
|
|
557
|
+
planning_only: boolean;
|
|
558
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
559
|
+
remembered?: true | undefined;
|
|
560
|
+
memory_is_runtime_authority?: false | undefined;
|
|
561
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
562
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
563
|
+
};
|
|
564
|
+
source_projection_ref: string;
|
|
565
|
+
audit_refs?: string[] | undefined;
|
|
566
|
+
}>, {
|
|
567
|
+
content: {
|
|
568
|
+
state: "available";
|
|
569
|
+
excerpt: string;
|
|
570
|
+
} | {
|
|
571
|
+
state: "withheld";
|
|
572
|
+
reason_refs: string[];
|
|
573
|
+
redaction_ref?: string | undefined;
|
|
574
|
+
};
|
|
575
|
+
entry_id: string;
|
|
576
|
+
audit_refs: string[];
|
|
577
|
+
source_ref: {
|
|
578
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
579
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
580
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
581
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
582
|
+
memory_id: string;
|
|
583
|
+
owning_store_ref: {
|
|
584
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
585
|
+
schema_version: number;
|
|
586
|
+
store_ref: string;
|
|
587
|
+
record_ref: string;
|
|
588
|
+
};
|
|
589
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
590
|
+
domain_fields: Record<string, unknown>;
|
|
591
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
592
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
593
|
+
superseded_by_memory_id: string | null;
|
|
594
|
+
content_state: "materialized" | "redacted";
|
|
595
|
+
dependency_ref: {
|
|
596
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
597
|
+
ref: string;
|
|
598
|
+
content_state: "materialized" | "redacted";
|
|
599
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
600
|
+
owning_store_ref?: {
|
|
601
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
602
|
+
schema_version: number;
|
|
603
|
+
store_ref: string;
|
|
604
|
+
record_ref: string;
|
|
605
|
+
} | undefined;
|
|
606
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
607
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
608
|
+
surface_ref?: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
612
|
+
use_policy: {
|
|
613
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
614
|
+
actionable: boolean;
|
|
615
|
+
speakable: boolean;
|
|
616
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
617
|
+
forbidden: boolean;
|
|
618
|
+
remembered: true;
|
|
619
|
+
usable: boolean;
|
|
620
|
+
inhibition_only: boolean;
|
|
621
|
+
planning_only: boolean;
|
|
622
|
+
memory_is_runtime_authority: false;
|
|
623
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
624
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
625
|
+
};
|
|
626
|
+
source_projection_ref: string;
|
|
627
|
+
}, {
|
|
628
|
+
content: {
|
|
629
|
+
state: "available";
|
|
630
|
+
excerpt: string;
|
|
631
|
+
} | {
|
|
632
|
+
state: "withheld";
|
|
633
|
+
redaction_ref?: string | undefined;
|
|
634
|
+
reason_refs?: string[] | undefined;
|
|
635
|
+
};
|
|
636
|
+
entry_id: string;
|
|
637
|
+
source_ref: {
|
|
638
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
639
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
640
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
641
|
+
memory_id: string;
|
|
642
|
+
owning_store_ref: {
|
|
643
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
644
|
+
store_ref: string;
|
|
645
|
+
record_ref: string;
|
|
646
|
+
schema_version?: number | undefined;
|
|
647
|
+
};
|
|
648
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
649
|
+
domain_fields: Record<string, unknown>;
|
|
650
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
651
|
+
content_state: "materialized" | "redacted";
|
|
652
|
+
dependency_ref: {
|
|
653
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
654
|
+
ref: string;
|
|
655
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
656
|
+
owning_store_ref?: {
|
|
657
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
658
|
+
store_ref: string;
|
|
659
|
+
record_ref: string;
|
|
660
|
+
schema_version?: number | undefined;
|
|
661
|
+
} | undefined;
|
|
662
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
663
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
664
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
665
|
+
surface_ref?: string | undefined;
|
|
666
|
+
};
|
|
667
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
668
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
669
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
670
|
+
};
|
|
671
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
672
|
+
use_policy: {
|
|
673
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
674
|
+
actionable: boolean;
|
|
675
|
+
speakable: boolean;
|
|
676
|
+
forbidden: boolean;
|
|
677
|
+
usable: boolean;
|
|
678
|
+
inhibition_only: boolean;
|
|
679
|
+
planning_only: boolean;
|
|
680
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
681
|
+
remembered?: true | undefined;
|
|
682
|
+
memory_is_runtime_authority?: false | undefined;
|
|
683
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
684
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
685
|
+
};
|
|
686
|
+
source_projection_ref: string;
|
|
687
|
+
audit_refs?: string[] | undefined;
|
|
688
|
+
}>;
|
|
689
|
+
export type CoreCompanionMemoryEntry = z.infer<typeof CoreCompanionMemoryEntrySchema>;
|
|
690
|
+
export declare const CoreCompanionMemoryRestrictedEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
691
|
+
entry_id: z.ZodString;
|
|
692
|
+
source_ref: z.ZodEffects<z.ZodObject<{
|
|
693
|
+
memory_id: z.ZodString;
|
|
694
|
+
owning_store_ref: z.ZodObject<{
|
|
695
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
696
|
+
store_ref: z.ZodString;
|
|
697
|
+
record_ref: z.ZodString;
|
|
698
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
699
|
+
}, "strict", z.ZodTypeAny, {
|
|
700
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
701
|
+
schema_version: number;
|
|
702
|
+
store_ref: string;
|
|
703
|
+
record_ref: string;
|
|
704
|
+
}, {
|
|
705
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
706
|
+
store_ref: string;
|
|
707
|
+
record_ref: string;
|
|
708
|
+
schema_version?: number | undefined;
|
|
709
|
+
}>;
|
|
710
|
+
role: z.ZodEnum<["knowledge", "work_memory", "relationship", "seed", "boundary", "promise", "anti_memory", "tension"]>;
|
|
711
|
+
record_kind: z.ZodEnum<["stable_profile_fact", "preference", "routine", "boundary", "intervention_policy", "episodic_event", "promise", "correction", "relationship_posture", "consent_scope", "work_commitment", "project_fact", "knowledge_fact", "open_tension", "anti_memory_rule", "seed_candidate"]>;
|
|
712
|
+
domain_fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
713
|
+
allowed_uses: z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">;
|
|
714
|
+
not_allowed_uses: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
715
|
+
lifecycle: z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>;
|
|
716
|
+
correction_state: z.ZodDefault<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
717
|
+
superseded_by_memory_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
718
|
+
sensitivity: z.ZodEnum<["public", "private", "sensitive"]>;
|
|
719
|
+
content_state: z.ZodEnum<["materialized", "redacted"]>;
|
|
720
|
+
dependency_ref: z.ZodObject<{
|
|
721
|
+
kind: z.ZodEnum<["memory_record", "permission_grant", "runtime_item", "agenda_item", "urge_candidate", "outcome_decision", "expression_decision", "memory_write_candidate", "session_resume_attempt", "audit_trace"]>;
|
|
722
|
+
ref: z.ZodString;
|
|
723
|
+
owning_store_ref: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
725
|
+
store_ref: z.ZodString;
|
|
726
|
+
record_ref: z.ZodString;
|
|
727
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
728
|
+
}, "strict", z.ZodTypeAny, {
|
|
729
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
730
|
+
schema_version: number;
|
|
731
|
+
store_ref: string;
|
|
732
|
+
record_ref: string;
|
|
733
|
+
}, {
|
|
734
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
735
|
+
store_ref: string;
|
|
736
|
+
record_ref: string;
|
|
737
|
+
schema_version?: number | undefined;
|
|
738
|
+
}>>;
|
|
739
|
+
content_state: z.ZodDefault<z.ZodEnum<["materialized", "redacted"]>>;
|
|
740
|
+
lifecycle: z.ZodOptional<z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>>;
|
|
741
|
+
correction_state: z.ZodOptional<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
742
|
+
superseded_by_memory_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
743
|
+
surface_ref: z.ZodOptional<z.ZodString>;
|
|
744
|
+
}, "strict", z.ZodTypeAny, {
|
|
745
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
746
|
+
ref: string;
|
|
747
|
+
content_state: "materialized" | "redacted";
|
|
748
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
749
|
+
owning_store_ref?: {
|
|
750
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
751
|
+
schema_version: number;
|
|
752
|
+
store_ref: string;
|
|
753
|
+
record_ref: string;
|
|
754
|
+
} | undefined;
|
|
755
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
756
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
757
|
+
surface_ref?: string | undefined;
|
|
758
|
+
}, {
|
|
759
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
760
|
+
ref: string;
|
|
761
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
762
|
+
owning_store_ref?: {
|
|
763
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
764
|
+
store_ref: string;
|
|
765
|
+
record_ref: string;
|
|
766
|
+
schema_version?: number | undefined;
|
|
767
|
+
} | undefined;
|
|
768
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
769
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
770
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
771
|
+
surface_ref?: string | undefined;
|
|
772
|
+
}>;
|
|
773
|
+
}, "strict", z.ZodTypeAny, {
|
|
774
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
775
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
776
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
777
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
778
|
+
memory_id: string;
|
|
779
|
+
owning_store_ref: {
|
|
780
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
781
|
+
schema_version: number;
|
|
782
|
+
store_ref: string;
|
|
783
|
+
record_ref: string;
|
|
784
|
+
};
|
|
785
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
786
|
+
domain_fields: Record<string, unknown>;
|
|
787
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
788
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
789
|
+
superseded_by_memory_id: string | null;
|
|
790
|
+
content_state: "materialized" | "redacted";
|
|
791
|
+
dependency_ref: {
|
|
792
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
793
|
+
ref: string;
|
|
794
|
+
content_state: "materialized" | "redacted";
|
|
795
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
796
|
+
owning_store_ref?: {
|
|
797
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
798
|
+
schema_version: number;
|
|
799
|
+
store_ref: string;
|
|
800
|
+
record_ref: string;
|
|
801
|
+
} | undefined;
|
|
802
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
803
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
804
|
+
surface_ref?: string | undefined;
|
|
805
|
+
};
|
|
806
|
+
}, {
|
|
807
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
808
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
809
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
810
|
+
memory_id: string;
|
|
811
|
+
owning_store_ref: {
|
|
812
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
813
|
+
store_ref: string;
|
|
814
|
+
record_ref: string;
|
|
815
|
+
schema_version?: number | undefined;
|
|
816
|
+
};
|
|
817
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
818
|
+
domain_fields: Record<string, unknown>;
|
|
819
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
820
|
+
content_state: "materialized" | "redacted";
|
|
821
|
+
dependency_ref: {
|
|
822
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
823
|
+
ref: string;
|
|
824
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
825
|
+
owning_store_ref?: {
|
|
826
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
827
|
+
store_ref: string;
|
|
828
|
+
record_ref: string;
|
|
829
|
+
schema_version?: number | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
832
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
833
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
834
|
+
surface_ref?: string | undefined;
|
|
835
|
+
};
|
|
836
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
837
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
838
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
839
|
+
}>, {
|
|
840
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
841
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
842
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
843
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
844
|
+
memory_id: string;
|
|
845
|
+
owning_store_ref: {
|
|
846
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
847
|
+
schema_version: number;
|
|
848
|
+
store_ref: string;
|
|
849
|
+
record_ref: string;
|
|
850
|
+
};
|
|
851
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
852
|
+
domain_fields: Record<string, unknown>;
|
|
853
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
854
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
855
|
+
superseded_by_memory_id: string | null;
|
|
856
|
+
content_state: "materialized" | "redacted";
|
|
857
|
+
dependency_ref: {
|
|
858
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
859
|
+
ref: string;
|
|
860
|
+
content_state: "materialized" | "redacted";
|
|
861
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
862
|
+
owning_store_ref?: {
|
|
863
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
864
|
+
schema_version: number;
|
|
865
|
+
store_ref: string;
|
|
866
|
+
record_ref: string;
|
|
867
|
+
} | undefined;
|
|
868
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
869
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
870
|
+
surface_ref?: string | undefined;
|
|
871
|
+
};
|
|
872
|
+
}, {
|
|
873
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
874
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
875
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
876
|
+
memory_id: string;
|
|
877
|
+
owning_store_ref: {
|
|
878
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
879
|
+
store_ref: string;
|
|
880
|
+
record_ref: string;
|
|
881
|
+
schema_version?: number | undefined;
|
|
882
|
+
};
|
|
883
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
884
|
+
domain_fields: Record<string, unknown>;
|
|
885
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
886
|
+
content_state: "materialized" | "redacted";
|
|
887
|
+
dependency_ref: {
|
|
888
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
889
|
+
ref: string;
|
|
890
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
891
|
+
owning_store_ref?: {
|
|
892
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
893
|
+
store_ref: string;
|
|
894
|
+
record_ref: string;
|
|
895
|
+
schema_version?: number | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
898
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
899
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
900
|
+
surface_ref?: string | undefined;
|
|
901
|
+
};
|
|
902
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
903
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
904
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
905
|
+
}>;
|
|
906
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
907
|
+
restriction_reasons: z.ZodArray<z.ZodEnum<["stale", "superseded", "corrected", "sensitive", "out_of_scope", "redacted", "lifecycle_ineligible", "permission_blocked", "forbidden_use", "not_allowed_for_requested_use", "stale_or_missing_surface"]>, "many">;
|
|
908
|
+
content: z.ZodObject<{
|
|
909
|
+
state: z.ZodLiteral<"withheld">;
|
|
910
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
911
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
912
|
+
}, "strict", z.ZodTypeAny, {
|
|
913
|
+
state: "withheld";
|
|
914
|
+
reason_refs: string[];
|
|
915
|
+
redaction_ref?: string | undefined;
|
|
916
|
+
}, {
|
|
917
|
+
state: "withheld";
|
|
918
|
+
redaction_ref?: string | undefined;
|
|
919
|
+
reason_refs?: string[] | undefined;
|
|
920
|
+
}>;
|
|
921
|
+
use_policy: z.ZodEffects<z.ZodObject<{
|
|
922
|
+
remembered: z.ZodDefault<z.ZodLiteral<true>>;
|
|
923
|
+
usable: z.ZodBoolean;
|
|
924
|
+
speakable: z.ZodBoolean;
|
|
925
|
+
actionable: z.ZodBoolean;
|
|
926
|
+
inhibition_only: z.ZodBoolean;
|
|
927
|
+
planning_only: z.ZodBoolean;
|
|
928
|
+
forbidden: z.ZodBoolean;
|
|
929
|
+
memory_is_runtime_authority: z.ZodDefault<z.ZodLiteral<false>>;
|
|
930
|
+
required_confirmation: z.ZodDefault<z.ZodEnum<["none", "before_speech", "before_action", "before_resume"]>>;
|
|
931
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
932
|
+
allowed_use_classes: z.ZodDefault<z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">>;
|
|
933
|
+
blocked_use_classes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
934
|
+
}, "strict", z.ZodTypeAny, {
|
|
935
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
936
|
+
actionable: boolean;
|
|
937
|
+
speakable: boolean;
|
|
938
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
939
|
+
forbidden: boolean;
|
|
940
|
+
remembered: true;
|
|
941
|
+
usable: boolean;
|
|
942
|
+
inhibition_only: boolean;
|
|
943
|
+
planning_only: boolean;
|
|
944
|
+
memory_is_runtime_authority: false;
|
|
945
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
946
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
947
|
+
}, {
|
|
948
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
949
|
+
actionable: boolean;
|
|
950
|
+
speakable: boolean;
|
|
951
|
+
forbidden: boolean;
|
|
952
|
+
usable: boolean;
|
|
953
|
+
inhibition_only: boolean;
|
|
954
|
+
planning_only: boolean;
|
|
955
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
956
|
+
remembered?: true | undefined;
|
|
957
|
+
memory_is_runtime_authority?: false | undefined;
|
|
958
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
959
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
960
|
+
}>, {
|
|
961
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
962
|
+
actionable: boolean;
|
|
963
|
+
speakable: boolean;
|
|
964
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
965
|
+
forbidden: boolean;
|
|
966
|
+
remembered: true;
|
|
967
|
+
usable: boolean;
|
|
968
|
+
inhibition_only: boolean;
|
|
969
|
+
planning_only: boolean;
|
|
970
|
+
memory_is_runtime_authority: false;
|
|
971
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
972
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
973
|
+
}, {
|
|
974
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
975
|
+
actionable: boolean;
|
|
976
|
+
speakable: boolean;
|
|
977
|
+
forbidden: boolean;
|
|
978
|
+
usable: boolean;
|
|
979
|
+
inhibition_only: boolean;
|
|
980
|
+
planning_only: boolean;
|
|
981
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
982
|
+
remembered?: true | undefined;
|
|
983
|
+
memory_is_runtime_authority?: false | undefined;
|
|
984
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
985
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
986
|
+
}>;
|
|
987
|
+
source_projection_ref: z.ZodString;
|
|
988
|
+
audit_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
989
|
+
}, "strict", z.ZodTypeAny, {
|
|
990
|
+
content: {
|
|
991
|
+
state: "withheld";
|
|
992
|
+
reason_refs: string[];
|
|
993
|
+
redaction_ref?: string | undefined;
|
|
994
|
+
};
|
|
995
|
+
entry_id: string;
|
|
996
|
+
audit_refs: string[];
|
|
997
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
998
|
+
source_ref: {
|
|
999
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1000
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1001
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1002
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1003
|
+
memory_id: string;
|
|
1004
|
+
owning_store_ref: {
|
|
1005
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1006
|
+
schema_version: number;
|
|
1007
|
+
store_ref: string;
|
|
1008
|
+
record_ref: string;
|
|
1009
|
+
};
|
|
1010
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1011
|
+
domain_fields: Record<string, unknown>;
|
|
1012
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1013
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1014
|
+
superseded_by_memory_id: string | null;
|
|
1015
|
+
content_state: "materialized" | "redacted";
|
|
1016
|
+
dependency_ref: {
|
|
1017
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1018
|
+
ref: string;
|
|
1019
|
+
content_state: "materialized" | "redacted";
|
|
1020
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1021
|
+
owning_store_ref?: {
|
|
1022
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1023
|
+
schema_version: number;
|
|
1024
|
+
store_ref: string;
|
|
1025
|
+
record_ref: string;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1028
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1029
|
+
surface_ref?: string | undefined;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
use_policy: {
|
|
1033
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1034
|
+
actionable: boolean;
|
|
1035
|
+
speakable: boolean;
|
|
1036
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1037
|
+
forbidden: boolean;
|
|
1038
|
+
remembered: true;
|
|
1039
|
+
usable: boolean;
|
|
1040
|
+
inhibition_only: boolean;
|
|
1041
|
+
planning_only: boolean;
|
|
1042
|
+
memory_is_runtime_authority: false;
|
|
1043
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1044
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1045
|
+
};
|
|
1046
|
+
source_projection_ref: string;
|
|
1047
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
1048
|
+
}, {
|
|
1049
|
+
content: {
|
|
1050
|
+
state: "withheld";
|
|
1051
|
+
redaction_ref?: string | undefined;
|
|
1052
|
+
reason_refs?: string[] | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
entry_id: string;
|
|
1055
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1056
|
+
source_ref: {
|
|
1057
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1058
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1059
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1060
|
+
memory_id: string;
|
|
1061
|
+
owning_store_ref: {
|
|
1062
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1063
|
+
store_ref: string;
|
|
1064
|
+
record_ref: string;
|
|
1065
|
+
schema_version?: number | undefined;
|
|
1066
|
+
};
|
|
1067
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1068
|
+
domain_fields: Record<string, unknown>;
|
|
1069
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1070
|
+
content_state: "materialized" | "redacted";
|
|
1071
|
+
dependency_ref: {
|
|
1072
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1073
|
+
ref: string;
|
|
1074
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1075
|
+
owning_store_ref?: {
|
|
1076
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1077
|
+
store_ref: string;
|
|
1078
|
+
record_ref: string;
|
|
1079
|
+
schema_version?: number | undefined;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1082
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1083
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1084
|
+
surface_ref?: string | undefined;
|
|
1085
|
+
};
|
|
1086
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1087
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1088
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1089
|
+
};
|
|
1090
|
+
use_policy: {
|
|
1091
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1092
|
+
actionable: boolean;
|
|
1093
|
+
speakable: boolean;
|
|
1094
|
+
forbidden: boolean;
|
|
1095
|
+
usable: boolean;
|
|
1096
|
+
inhibition_only: boolean;
|
|
1097
|
+
planning_only: boolean;
|
|
1098
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1099
|
+
remembered?: true | undefined;
|
|
1100
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1101
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1102
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
source_projection_ref: string;
|
|
1105
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
1106
|
+
audit_refs?: string[] | undefined;
|
|
1107
|
+
}>, {
|
|
1108
|
+
content: {
|
|
1109
|
+
state: "withheld";
|
|
1110
|
+
reason_refs: string[];
|
|
1111
|
+
redaction_ref?: string | undefined;
|
|
1112
|
+
};
|
|
1113
|
+
entry_id: string;
|
|
1114
|
+
audit_refs: string[];
|
|
1115
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1116
|
+
source_ref: {
|
|
1117
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1118
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1119
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1120
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1121
|
+
memory_id: string;
|
|
1122
|
+
owning_store_ref: {
|
|
1123
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1124
|
+
schema_version: number;
|
|
1125
|
+
store_ref: string;
|
|
1126
|
+
record_ref: string;
|
|
1127
|
+
};
|
|
1128
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1129
|
+
domain_fields: Record<string, unknown>;
|
|
1130
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1131
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1132
|
+
superseded_by_memory_id: string | null;
|
|
1133
|
+
content_state: "materialized" | "redacted";
|
|
1134
|
+
dependency_ref: {
|
|
1135
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1136
|
+
ref: string;
|
|
1137
|
+
content_state: "materialized" | "redacted";
|
|
1138
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1139
|
+
owning_store_ref?: {
|
|
1140
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1141
|
+
schema_version: number;
|
|
1142
|
+
store_ref: string;
|
|
1143
|
+
record_ref: string;
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1146
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1147
|
+
surface_ref?: string | undefined;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
use_policy: {
|
|
1151
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1152
|
+
actionable: boolean;
|
|
1153
|
+
speakable: boolean;
|
|
1154
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1155
|
+
forbidden: boolean;
|
|
1156
|
+
remembered: true;
|
|
1157
|
+
usable: boolean;
|
|
1158
|
+
inhibition_only: boolean;
|
|
1159
|
+
planning_only: boolean;
|
|
1160
|
+
memory_is_runtime_authority: false;
|
|
1161
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1162
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1163
|
+
};
|
|
1164
|
+
source_projection_ref: string;
|
|
1165
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
1166
|
+
}, {
|
|
1167
|
+
content: {
|
|
1168
|
+
state: "withheld";
|
|
1169
|
+
redaction_ref?: string | undefined;
|
|
1170
|
+
reason_refs?: string[] | undefined;
|
|
1171
|
+
};
|
|
1172
|
+
entry_id: string;
|
|
1173
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1174
|
+
source_ref: {
|
|
1175
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1176
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1177
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1178
|
+
memory_id: string;
|
|
1179
|
+
owning_store_ref: {
|
|
1180
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1181
|
+
store_ref: string;
|
|
1182
|
+
record_ref: string;
|
|
1183
|
+
schema_version?: number | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1186
|
+
domain_fields: Record<string, unknown>;
|
|
1187
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1188
|
+
content_state: "materialized" | "redacted";
|
|
1189
|
+
dependency_ref: {
|
|
1190
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1191
|
+
ref: string;
|
|
1192
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1193
|
+
owning_store_ref?: {
|
|
1194
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1195
|
+
store_ref: string;
|
|
1196
|
+
record_ref: string;
|
|
1197
|
+
schema_version?: number | undefined;
|
|
1198
|
+
} | undefined;
|
|
1199
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1200
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1201
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1202
|
+
surface_ref?: string | undefined;
|
|
1203
|
+
};
|
|
1204
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1205
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1206
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1207
|
+
};
|
|
1208
|
+
use_policy: {
|
|
1209
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1210
|
+
actionable: boolean;
|
|
1211
|
+
speakable: boolean;
|
|
1212
|
+
forbidden: boolean;
|
|
1213
|
+
usable: boolean;
|
|
1214
|
+
inhibition_only: boolean;
|
|
1215
|
+
planning_only: boolean;
|
|
1216
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1217
|
+
remembered?: true | undefined;
|
|
1218
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1219
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1220
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1221
|
+
};
|
|
1222
|
+
source_projection_ref: string;
|
|
1223
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
1224
|
+
audit_refs?: string[] | undefined;
|
|
1225
|
+
}>;
|
|
1226
|
+
export type CoreCompanionMemoryRestrictedEntry = z.infer<typeof CoreCompanionMemoryRestrictedEntrySchema>;
|
|
1227
|
+
export declare const CoreCompanionMemoryOrdinarySurfacePolicySchema: z.ZodObject<{
|
|
1228
|
+
raw_memory_dump_visible: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1229
|
+
raw_correction_state_visible: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1230
|
+
ordinary_surface_receives_only_allowed_entries: z.ZodDefault<z.ZodLiteral<true>>;
|
|
1231
|
+
}, "strict", z.ZodTypeAny, {
|
|
1232
|
+
raw_memory_dump_visible: false;
|
|
1233
|
+
raw_correction_state_visible: false;
|
|
1234
|
+
ordinary_surface_receives_only_allowed_entries: true;
|
|
1235
|
+
}, {
|
|
1236
|
+
raw_memory_dump_visible?: false | undefined;
|
|
1237
|
+
raw_correction_state_visible?: false | undefined;
|
|
1238
|
+
ordinary_surface_receives_only_allowed_entries?: true | undefined;
|
|
1239
|
+
}>;
|
|
1240
|
+
export type CoreCompanionMemoryOrdinarySurfacePolicy = z.infer<typeof CoreCompanionMemoryOrdinarySurfacePolicySchema>;
|
|
1241
|
+
export declare const CoreCompanionMemoryProjectionSummarySchema: z.ZodObject<{
|
|
1242
|
+
included_count: z.ZodNumber;
|
|
1243
|
+
restricted_count: z.ZodNumber;
|
|
1244
|
+
remembered_count: z.ZodNumber;
|
|
1245
|
+
usable_count: z.ZodNumber;
|
|
1246
|
+
speakable_count: z.ZodNumber;
|
|
1247
|
+
actionable_count: z.ZodNumber;
|
|
1248
|
+
inhibition_only_count: z.ZodNumber;
|
|
1249
|
+
planning_only_count: z.ZodNumber;
|
|
1250
|
+
forbidden_count: z.ZodNumber;
|
|
1251
|
+
}, "strict", z.ZodTypeAny, {
|
|
1252
|
+
included_count: number;
|
|
1253
|
+
restricted_count: number;
|
|
1254
|
+
remembered_count: number;
|
|
1255
|
+
usable_count: number;
|
|
1256
|
+
speakable_count: number;
|
|
1257
|
+
actionable_count: number;
|
|
1258
|
+
inhibition_only_count: number;
|
|
1259
|
+
planning_only_count: number;
|
|
1260
|
+
forbidden_count: number;
|
|
1261
|
+
}, {
|
|
1262
|
+
included_count: number;
|
|
1263
|
+
restricted_count: number;
|
|
1264
|
+
remembered_count: number;
|
|
1265
|
+
usable_count: number;
|
|
1266
|
+
speakable_count: number;
|
|
1267
|
+
actionable_count: number;
|
|
1268
|
+
inhibition_only_count: number;
|
|
1269
|
+
planning_only_count: number;
|
|
1270
|
+
forbidden_count: number;
|
|
1271
|
+
}>;
|
|
1272
|
+
export type CoreCompanionMemoryProjectionSummary = z.infer<typeof CoreCompanionMemoryProjectionSummarySchema>;
|
|
1273
|
+
export declare const CoreCompanionMemoryProjectionSchema: z.ZodEffects<z.ZodObject<{
|
|
1274
|
+
schema_version: z.ZodLiteral<"core-companion-memory-projection/v1">;
|
|
1275
|
+
projection_id: z.ZodString;
|
|
1276
|
+
created_at: z.ZodString;
|
|
1277
|
+
caller_path: z.ZodEnum<["chat_gateway_model_loop", "chat_native_agent_loop", "chat_runtime_control", "chat_configure_route", "task_agent_loop", "bounded_agent_loop", "resident_attention_cycle", "projection_only"]>;
|
|
1278
|
+
grounding_profile_id: z.ZodOptional<z.ZodEnum<["chat/general_turn", "chat/handoff", "agent_loop/task_execution", "core_loop/verification"]>>;
|
|
1279
|
+
grounding_bundle_ref: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
cognition_ref: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
source_refs: z.ZodArray<z.ZodObject<{
|
|
1282
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "surface_projection", "knowledge_manager", "soil", "dream_seed", "correction_ledger", "grounding_profile", "grounding_bundle"]>;
|
|
1283
|
+
ref: z.ZodString;
|
|
1284
|
+
owner_kind: z.ZodOptional<z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>>;
|
|
1285
|
+
}, "strict", z.ZodTypeAny, {
|
|
1286
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
1287
|
+
ref: string;
|
|
1288
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
1289
|
+
}, {
|
|
1290
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
1291
|
+
ref: string;
|
|
1292
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
1293
|
+
}>, "many">;
|
|
1294
|
+
surface_ref: z.ZodString;
|
|
1295
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
1296
|
+
included_entries: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1297
|
+
entry_id: z.ZodString;
|
|
1298
|
+
lane: z.ZodEnum<["knowledge", "work_memory", "relationship", "boundary", "promise", "tension", "anti_memory"]>;
|
|
1299
|
+
source_ref: z.ZodEffects<z.ZodObject<{
|
|
1300
|
+
memory_id: z.ZodString;
|
|
1301
|
+
owning_store_ref: z.ZodObject<{
|
|
1302
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
1303
|
+
store_ref: z.ZodString;
|
|
1304
|
+
record_ref: z.ZodString;
|
|
1305
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1306
|
+
}, "strict", z.ZodTypeAny, {
|
|
1307
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1308
|
+
schema_version: number;
|
|
1309
|
+
store_ref: string;
|
|
1310
|
+
record_ref: string;
|
|
1311
|
+
}, {
|
|
1312
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1313
|
+
store_ref: string;
|
|
1314
|
+
record_ref: string;
|
|
1315
|
+
schema_version?: number | undefined;
|
|
1316
|
+
}>;
|
|
1317
|
+
role: z.ZodEnum<["knowledge", "work_memory", "relationship", "seed", "boundary", "promise", "anti_memory", "tension"]>;
|
|
1318
|
+
record_kind: z.ZodEnum<["stable_profile_fact", "preference", "routine", "boundary", "intervention_policy", "episodic_event", "promise", "correction", "relationship_posture", "consent_scope", "work_commitment", "project_fact", "knowledge_fact", "open_tension", "anti_memory_rule", "seed_candidate"]>;
|
|
1319
|
+
domain_fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1320
|
+
allowed_uses: z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">;
|
|
1321
|
+
not_allowed_uses: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
1322
|
+
lifecycle: z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>;
|
|
1323
|
+
correction_state: z.ZodDefault<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
1324
|
+
superseded_by_memory_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1325
|
+
sensitivity: z.ZodEnum<["public", "private", "sensitive"]>;
|
|
1326
|
+
content_state: z.ZodEnum<["materialized", "redacted"]>;
|
|
1327
|
+
dependency_ref: z.ZodObject<{
|
|
1328
|
+
kind: z.ZodEnum<["memory_record", "permission_grant", "runtime_item", "agenda_item", "urge_candidate", "outcome_decision", "expression_decision", "memory_write_candidate", "session_resume_attempt", "audit_trace"]>;
|
|
1329
|
+
ref: z.ZodString;
|
|
1330
|
+
owning_store_ref: z.ZodOptional<z.ZodObject<{
|
|
1331
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
1332
|
+
store_ref: z.ZodString;
|
|
1333
|
+
record_ref: z.ZodString;
|
|
1334
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1335
|
+
}, "strict", z.ZodTypeAny, {
|
|
1336
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1337
|
+
schema_version: number;
|
|
1338
|
+
store_ref: string;
|
|
1339
|
+
record_ref: string;
|
|
1340
|
+
}, {
|
|
1341
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1342
|
+
store_ref: string;
|
|
1343
|
+
record_ref: string;
|
|
1344
|
+
schema_version?: number | undefined;
|
|
1345
|
+
}>>;
|
|
1346
|
+
content_state: z.ZodDefault<z.ZodEnum<["materialized", "redacted"]>>;
|
|
1347
|
+
lifecycle: z.ZodOptional<z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>>;
|
|
1348
|
+
correction_state: z.ZodOptional<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
1349
|
+
superseded_by_memory_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1350
|
+
surface_ref: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
}, "strict", z.ZodTypeAny, {
|
|
1352
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1353
|
+
ref: string;
|
|
1354
|
+
content_state: "materialized" | "redacted";
|
|
1355
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1356
|
+
owning_store_ref?: {
|
|
1357
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1358
|
+
schema_version: number;
|
|
1359
|
+
store_ref: string;
|
|
1360
|
+
record_ref: string;
|
|
1361
|
+
} | undefined;
|
|
1362
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1363
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1364
|
+
surface_ref?: string | undefined;
|
|
1365
|
+
}, {
|
|
1366
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1367
|
+
ref: string;
|
|
1368
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1369
|
+
owning_store_ref?: {
|
|
1370
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1371
|
+
store_ref: string;
|
|
1372
|
+
record_ref: string;
|
|
1373
|
+
schema_version?: number | undefined;
|
|
1374
|
+
} | undefined;
|
|
1375
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1376
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1377
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1378
|
+
surface_ref?: string | undefined;
|
|
1379
|
+
}>;
|
|
1380
|
+
}, "strict", z.ZodTypeAny, {
|
|
1381
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1382
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1383
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1384
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1385
|
+
memory_id: string;
|
|
1386
|
+
owning_store_ref: {
|
|
1387
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1388
|
+
schema_version: number;
|
|
1389
|
+
store_ref: string;
|
|
1390
|
+
record_ref: string;
|
|
1391
|
+
};
|
|
1392
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1393
|
+
domain_fields: Record<string, unknown>;
|
|
1394
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1395
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1396
|
+
superseded_by_memory_id: string | null;
|
|
1397
|
+
content_state: "materialized" | "redacted";
|
|
1398
|
+
dependency_ref: {
|
|
1399
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1400
|
+
ref: string;
|
|
1401
|
+
content_state: "materialized" | "redacted";
|
|
1402
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1403
|
+
owning_store_ref?: {
|
|
1404
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1405
|
+
schema_version: number;
|
|
1406
|
+
store_ref: string;
|
|
1407
|
+
record_ref: string;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1410
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1411
|
+
surface_ref?: string | undefined;
|
|
1412
|
+
};
|
|
1413
|
+
}, {
|
|
1414
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1415
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1416
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1417
|
+
memory_id: string;
|
|
1418
|
+
owning_store_ref: {
|
|
1419
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1420
|
+
store_ref: string;
|
|
1421
|
+
record_ref: string;
|
|
1422
|
+
schema_version?: number | undefined;
|
|
1423
|
+
};
|
|
1424
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1425
|
+
domain_fields: Record<string, unknown>;
|
|
1426
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1427
|
+
content_state: "materialized" | "redacted";
|
|
1428
|
+
dependency_ref: {
|
|
1429
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1430
|
+
ref: string;
|
|
1431
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1432
|
+
owning_store_ref?: {
|
|
1433
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1434
|
+
store_ref: string;
|
|
1435
|
+
record_ref: string;
|
|
1436
|
+
schema_version?: number | undefined;
|
|
1437
|
+
} | undefined;
|
|
1438
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1439
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1440
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1441
|
+
surface_ref?: string | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1444
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1445
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1446
|
+
}>, {
|
|
1447
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1448
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1449
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1450
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1451
|
+
memory_id: string;
|
|
1452
|
+
owning_store_ref: {
|
|
1453
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1454
|
+
schema_version: number;
|
|
1455
|
+
store_ref: string;
|
|
1456
|
+
record_ref: string;
|
|
1457
|
+
};
|
|
1458
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1459
|
+
domain_fields: Record<string, unknown>;
|
|
1460
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1461
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1462
|
+
superseded_by_memory_id: string | null;
|
|
1463
|
+
content_state: "materialized" | "redacted";
|
|
1464
|
+
dependency_ref: {
|
|
1465
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1466
|
+
ref: string;
|
|
1467
|
+
content_state: "materialized" | "redacted";
|
|
1468
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1469
|
+
owning_store_ref?: {
|
|
1470
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1471
|
+
schema_version: number;
|
|
1472
|
+
store_ref: string;
|
|
1473
|
+
record_ref: string;
|
|
1474
|
+
} | undefined;
|
|
1475
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1476
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1477
|
+
surface_ref?: string | undefined;
|
|
1478
|
+
};
|
|
1479
|
+
}, {
|
|
1480
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1481
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1482
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1483
|
+
memory_id: string;
|
|
1484
|
+
owning_store_ref: {
|
|
1485
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1486
|
+
store_ref: string;
|
|
1487
|
+
record_ref: string;
|
|
1488
|
+
schema_version?: number | undefined;
|
|
1489
|
+
};
|
|
1490
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1491
|
+
domain_fields: Record<string, unknown>;
|
|
1492
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1493
|
+
content_state: "materialized" | "redacted";
|
|
1494
|
+
dependency_ref: {
|
|
1495
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1496
|
+
ref: string;
|
|
1497
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1498
|
+
owning_store_ref?: {
|
|
1499
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1500
|
+
store_ref: string;
|
|
1501
|
+
record_ref: string;
|
|
1502
|
+
schema_version?: number | undefined;
|
|
1503
|
+
} | undefined;
|
|
1504
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1505
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1506
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1507
|
+
surface_ref?: string | undefined;
|
|
1508
|
+
};
|
|
1509
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1510
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1511
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1512
|
+
}>;
|
|
1513
|
+
content: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
1514
|
+
state: z.ZodLiteral<"available">;
|
|
1515
|
+
excerpt: z.ZodString;
|
|
1516
|
+
}, "strict", z.ZodTypeAny, {
|
|
1517
|
+
state: "available";
|
|
1518
|
+
excerpt: string;
|
|
1519
|
+
}, {
|
|
1520
|
+
state: "available";
|
|
1521
|
+
excerpt: string;
|
|
1522
|
+
}>, z.ZodObject<{
|
|
1523
|
+
state: z.ZodLiteral<"withheld">;
|
|
1524
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1526
|
+
}, "strict", z.ZodTypeAny, {
|
|
1527
|
+
state: "withheld";
|
|
1528
|
+
reason_refs: string[];
|
|
1529
|
+
redaction_ref?: string | undefined;
|
|
1530
|
+
}, {
|
|
1531
|
+
state: "withheld";
|
|
1532
|
+
redaction_ref?: string | undefined;
|
|
1533
|
+
reason_refs?: string[] | undefined;
|
|
1534
|
+
}>]>;
|
|
1535
|
+
use_policy: z.ZodEffects<z.ZodObject<{
|
|
1536
|
+
remembered: z.ZodDefault<z.ZodLiteral<true>>;
|
|
1537
|
+
usable: z.ZodBoolean;
|
|
1538
|
+
speakable: z.ZodBoolean;
|
|
1539
|
+
actionable: z.ZodBoolean;
|
|
1540
|
+
inhibition_only: z.ZodBoolean;
|
|
1541
|
+
planning_only: z.ZodBoolean;
|
|
1542
|
+
forbidden: z.ZodBoolean;
|
|
1543
|
+
memory_is_runtime_authority: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1544
|
+
required_confirmation: z.ZodDefault<z.ZodEnum<["none", "before_speech", "before_action", "before_resume"]>>;
|
|
1545
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
1546
|
+
allowed_use_classes: z.ZodDefault<z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">>;
|
|
1547
|
+
blocked_use_classes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
1548
|
+
}, "strict", z.ZodTypeAny, {
|
|
1549
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1550
|
+
actionable: boolean;
|
|
1551
|
+
speakable: boolean;
|
|
1552
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1553
|
+
forbidden: boolean;
|
|
1554
|
+
remembered: true;
|
|
1555
|
+
usable: boolean;
|
|
1556
|
+
inhibition_only: boolean;
|
|
1557
|
+
planning_only: boolean;
|
|
1558
|
+
memory_is_runtime_authority: false;
|
|
1559
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1560
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1561
|
+
}, {
|
|
1562
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1563
|
+
actionable: boolean;
|
|
1564
|
+
speakable: boolean;
|
|
1565
|
+
forbidden: boolean;
|
|
1566
|
+
usable: boolean;
|
|
1567
|
+
inhibition_only: boolean;
|
|
1568
|
+
planning_only: boolean;
|
|
1569
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1570
|
+
remembered?: true | undefined;
|
|
1571
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1572
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1573
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1574
|
+
}>, {
|
|
1575
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1576
|
+
actionable: boolean;
|
|
1577
|
+
speakable: boolean;
|
|
1578
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1579
|
+
forbidden: boolean;
|
|
1580
|
+
remembered: true;
|
|
1581
|
+
usable: boolean;
|
|
1582
|
+
inhibition_only: boolean;
|
|
1583
|
+
planning_only: boolean;
|
|
1584
|
+
memory_is_runtime_authority: false;
|
|
1585
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1586
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1587
|
+
}, {
|
|
1588
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1589
|
+
actionable: boolean;
|
|
1590
|
+
speakable: boolean;
|
|
1591
|
+
forbidden: boolean;
|
|
1592
|
+
usable: boolean;
|
|
1593
|
+
inhibition_only: boolean;
|
|
1594
|
+
planning_only: boolean;
|
|
1595
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1596
|
+
remembered?: true | undefined;
|
|
1597
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1598
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1599
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1600
|
+
}>;
|
|
1601
|
+
source_projection_ref: z.ZodString;
|
|
1602
|
+
audit_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1603
|
+
}, "strict", z.ZodTypeAny, {
|
|
1604
|
+
content: {
|
|
1605
|
+
state: "available";
|
|
1606
|
+
excerpt: string;
|
|
1607
|
+
} | {
|
|
1608
|
+
state: "withheld";
|
|
1609
|
+
reason_refs: string[];
|
|
1610
|
+
redaction_ref?: string | undefined;
|
|
1611
|
+
};
|
|
1612
|
+
entry_id: string;
|
|
1613
|
+
audit_refs: string[];
|
|
1614
|
+
source_ref: {
|
|
1615
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1616
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1617
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1618
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1619
|
+
memory_id: string;
|
|
1620
|
+
owning_store_ref: {
|
|
1621
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1622
|
+
schema_version: number;
|
|
1623
|
+
store_ref: string;
|
|
1624
|
+
record_ref: string;
|
|
1625
|
+
};
|
|
1626
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1627
|
+
domain_fields: Record<string, unknown>;
|
|
1628
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1629
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1630
|
+
superseded_by_memory_id: string | null;
|
|
1631
|
+
content_state: "materialized" | "redacted";
|
|
1632
|
+
dependency_ref: {
|
|
1633
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1634
|
+
ref: string;
|
|
1635
|
+
content_state: "materialized" | "redacted";
|
|
1636
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1637
|
+
owning_store_ref?: {
|
|
1638
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1639
|
+
schema_version: number;
|
|
1640
|
+
store_ref: string;
|
|
1641
|
+
record_ref: string;
|
|
1642
|
+
} | undefined;
|
|
1643
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1644
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1645
|
+
surface_ref?: string | undefined;
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
1649
|
+
use_policy: {
|
|
1650
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1651
|
+
actionable: boolean;
|
|
1652
|
+
speakable: boolean;
|
|
1653
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1654
|
+
forbidden: boolean;
|
|
1655
|
+
remembered: true;
|
|
1656
|
+
usable: boolean;
|
|
1657
|
+
inhibition_only: boolean;
|
|
1658
|
+
planning_only: boolean;
|
|
1659
|
+
memory_is_runtime_authority: false;
|
|
1660
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1661
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1662
|
+
};
|
|
1663
|
+
source_projection_ref: string;
|
|
1664
|
+
}, {
|
|
1665
|
+
content: {
|
|
1666
|
+
state: "available";
|
|
1667
|
+
excerpt: string;
|
|
1668
|
+
} | {
|
|
1669
|
+
state: "withheld";
|
|
1670
|
+
redaction_ref?: string | undefined;
|
|
1671
|
+
reason_refs?: string[] | undefined;
|
|
1672
|
+
};
|
|
1673
|
+
entry_id: string;
|
|
1674
|
+
source_ref: {
|
|
1675
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1676
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1677
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1678
|
+
memory_id: string;
|
|
1679
|
+
owning_store_ref: {
|
|
1680
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1681
|
+
store_ref: string;
|
|
1682
|
+
record_ref: string;
|
|
1683
|
+
schema_version?: number | undefined;
|
|
1684
|
+
};
|
|
1685
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1686
|
+
domain_fields: Record<string, unknown>;
|
|
1687
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1688
|
+
content_state: "materialized" | "redacted";
|
|
1689
|
+
dependency_ref: {
|
|
1690
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1691
|
+
ref: string;
|
|
1692
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1693
|
+
owning_store_ref?: {
|
|
1694
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1695
|
+
store_ref: string;
|
|
1696
|
+
record_ref: string;
|
|
1697
|
+
schema_version?: number | undefined;
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1700
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1701
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1702
|
+
surface_ref?: string | undefined;
|
|
1703
|
+
};
|
|
1704
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1705
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1706
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1707
|
+
};
|
|
1708
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
1709
|
+
use_policy: {
|
|
1710
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1711
|
+
actionable: boolean;
|
|
1712
|
+
speakable: boolean;
|
|
1713
|
+
forbidden: boolean;
|
|
1714
|
+
usable: boolean;
|
|
1715
|
+
inhibition_only: boolean;
|
|
1716
|
+
planning_only: boolean;
|
|
1717
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1718
|
+
remembered?: true | undefined;
|
|
1719
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1720
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1721
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1722
|
+
};
|
|
1723
|
+
source_projection_ref: string;
|
|
1724
|
+
audit_refs?: string[] | undefined;
|
|
1725
|
+
}>, {
|
|
1726
|
+
content: {
|
|
1727
|
+
state: "available";
|
|
1728
|
+
excerpt: string;
|
|
1729
|
+
} | {
|
|
1730
|
+
state: "withheld";
|
|
1731
|
+
reason_refs: string[];
|
|
1732
|
+
redaction_ref?: string | undefined;
|
|
1733
|
+
};
|
|
1734
|
+
entry_id: string;
|
|
1735
|
+
audit_refs: string[];
|
|
1736
|
+
source_ref: {
|
|
1737
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1738
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1739
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1740
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1741
|
+
memory_id: string;
|
|
1742
|
+
owning_store_ref: {
|
|
1743
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1744
|
+
schema_version: number;
|
|
1745
|
+
store_ref: string;
|
|
1746
|
+
record_ref: string;
|
|
1747
|
+
};
|
|
1748
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1749
|
+
domain_fields: Record<string, unknown>;
|
|
1750
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1751
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1752
|
+
superseded_by_memory_id: string | null;
|
|
1753
|
+
content_state: "materialized" | "redacted";
|
|
1754
|
+
dependency_ref: {
|
|
1755
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1756
|
+
ref: string;
|
|
1757
|
+
content_state: "materialized" | "redacted";
|
|
1758
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1759
|
+
owning_store_ref?: {
|
|
1760
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1761
|
+
schema_version: number;
|
|
1762
|
+
store_ref: string;
|
|
1763
|
+
record_ref: string;
|
|
1764
|
+
} | undefined;
|
|
1765
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1766
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1767
|
+
surface_ref?: string | undefined;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1770
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
1771
|
+
use_policy: {
|
|
1772
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1773
|
+
actionable: boolean;
|
|
1774
|
+
speakable: boolean;
|
|
1775
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
1776
|
+
forbidden: boolean;
|
|
1777
|
+
remembered: true;
|
|
1778
|
+
usable: boolean;
|
|
1779
|
+
inhibition_only: boolean;
|
|
1780
|
+
planning_only: boolean;
|
|
1781
|
+
memory_is_runtime_authority: false;
|
|
1782
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1783
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1784
|
+
};
|
|
1785
|
+
source_projection_ref: string;
|
|
1786
|
+
}, {
|
|
1787
|
+
content: {
|
|
1788
|
+
state: "available";
|
|
1789
|
+
excerpt: string;
|
|
1790
|
+
} | {
|
|
1791
|
+
state: "withheld";
|
|
1792
|
+
redaction_ref?: string | undefined;
|
|
1793
|
+
reason_refs?: string[] | undefined;
|
|
1794
|
+
};
|
|
1795
|
+
entry_id: string;
|
|
1796
|
+
source_ref: {
|
|
1797
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1798
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1799
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1800
|
+
memory_id: string;
|
|
1801
|
+
owning_store_ref: {
|
|
1802
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1803
|
+
store_ref: string;
|
|
1804
|
+
record_ref: string;
|
|
1805
|
+
schema_version?: number | undefined;
|
|
1806
|
+
};
|
|
1807
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1808
|
+
domain_fields: Record<string, unknown>;
|
|
1809
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1810
|
+
content_state: "materialized" | "redacted";
|
|
1811
|
+
dependency_ref: {
|
|
1812
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1813
|
+
ref: string;
|
|
1814
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1815
|
+
owning_store_ref?: {
|
|
1816
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1817
|
+
store_ref: string;
|
|
1818
|
+
record_ref: string;
|
|
1819
|
+
schema_version?: number | undefined;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1822
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1823
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1824
|
+
surface_ref?: string | undefined;
|
|
1825
|
+
};
|
|
1826
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1827
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1828
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
1831
|
+
use_policy: {
|
|
1832
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
1833
|
+
actionable: boolean;
|
|
1834
|
+
speakable: boolean;
|
|
1835
|
+
forbidden: boolean;
|
|
1836
|
+
usable: boolean;
|
|
1837
|
+
inhibition_only: boolean;
|
|
1838
|
+
planning_only: boolean;
|
|
1839
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
1840
|
+
remembered?: true | undefined;
|
|
1841
|
+
memory_is_runtime_authority?: false | undefined;
|
|
1842
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
1843
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1844
|
+
};
|
|
1845
|
+
source_projection_ref: string;
|
|
1846
|
+
audit_refs?: string[] | undefined;
|
|
1847
|
+
}>, "many">>;
|
|
1848
|
+
restricted_entries: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1849
|
+
entry_id: z.ZodString;
|
|
1850
|
+
source_ref: z.ZodEffects<z.ZodObject<{
|
|
1851
|
+
memory_id: z.ZodString;
|
|
1852
|
+
owning_store_ref: z.ZodObject<{
|
|
1853
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
1854
|
+
store_ref: z.ZodString;
|
|
1855
|
+
record_ref: z.ZodString;
|
|
1856
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1857
|
+
}, "strict", z.ZodTypeAny, {
|
|
1858
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1859
|
+
schema_version: number;
|
|
1860
|
+
store_ref: string;
|
|
1861
|
+
record_ref: string;
|
|
1862
|
+
}, {
|
|
1863
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1864
|
+
store_ref: string;
|
|
1865
|
+
record_ref: string;
|
|
1866
|
+
schema_version?: number | undefined;
|
|
1867
|
+
}>;
|
|
1868
|
+
role: z.ZodEnum<["knowledge", "work_memory", "relationship", "seed", "boundary", "promise", "anti_memory", "tension"]>;
|
|
1869
|
+
record_kind: z.ZodEnum<["stable_profile_fact", "preference", "routine", "boundary", "intervention_policy", "episodic_event", "promise", "correction", "relationship_posture", "consent_scope", "work_commitment", "project_fact", "knowledge_fact", "open_tension", "anti_memory_rule", "seed_candidate"]>;
|
|
1870
|
+
domain_fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1871
|
+
allowed_uses: z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">;
|
|
1872
|
+
not_allowed_uses: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
1873
|
+
lifecycle: z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>;
|
|
1874
|
+
correction_state: z.ZodDefault<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
1875
|
+
superseded_by_memory_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1876
|
+
sensitivity: z.ZodEnum<["public", "private", "sensitive"]>;
|
|
1877
|
+
content_state: z.ZodEnum<["materialized", "redacted"]>;
|
|
1878
|
+
dependency_ref: z.ZodObject<{
|
|
1879
|
+
kind: z.ZodEnum<["memory_record", "permission_grant", "runtime_item", "agenda_item", "urge_candidate", "outcome_decision", "expression_decision", "memory_write_candidate", "session_resume_attempt", "audit_trace"]>;
|
|
1880
|
+
ref: z.ZodString;
|
|
1881
|
+
owning_store_ref: z.ZodOptional<z.ZodObject<{
|
|
1882
|
+
kind: z.ZodEnum<["relationship_profile", "profile_proposal", "runtime_session", "soil", "knowledge", "dream_seed"]>;
|
|
1883
|
+
store_ref: z.ZodString;
|
|
1884
|
+
record_ref: z.ZodString;
|
|
1885
|
+
schema_version: z.ZodDefault<z.ZodNumber>;
|
|
1886
|
+
}, "strict", z.ZodTypeAny, {
|
|
1887
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1888
|
+
schema_version: number;
|
|
1889
|
+
store_ref: string;
|
|
1890
|
+
record_ref: string;
|
|
1891
|
+
}, {
|
|
1892
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1893
|
+
store_ref: string;
|
|
1894
|
+
record_ref: string;
|
|
1895
|
+
schema_version?: number | undefined;
|
|
1896
|
+
}>>;
|
|
1897
|
+
content_state: z.ZodDefault<z.ZodEnum<["materialized", "redacted"]>>;
|
|
1898
|
+
lifecycle: z.ZodOptional<z.ZodEnum<["active", "planted", "matured", "decayed", "retired", "suppressed", "superseded", "retracted", "tombstoned", "deleted", "archived"]>>;
|
|
1899
|
+
correction_state: z.ZodOptional<z.ZodEnum<["current", "under_review", "corrected", "superseded", "retracted", "deleted"]>>;
|
|
1900
|
+
superseded_by_memory_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1901
|
+
surface_ref: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
}, "strict", z.ZodTypeAny, {
|
|
1903
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1904
|
+
ref: string;
|
|
1905
|
+
content_state: "materialized" | "redacted";
|
|
1906
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1907
|
+
owning_store_ref?: {
|
|
1908
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1909
|
+
schema_version: number;
|
|
1910
|
+
store_ref: string;
|
|
1911
|
+
record_ref: string;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1914
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1915
|
+
surface_ref?: string | undefined;
|
|
1916
|
+
}, {
|
|
1917
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1918
|
+
ref: string;
|
|
1919
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1920
|
+
owning_store_ref?: {
|
|
1921
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1922
|
+
store_ref: string;
|
|
1923
|
+
record_ref: string;
|
|
1924
|
+
schema_version?: number | undefined;
|
|
1925
|
+
} | undefined;
|
|
1926
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1927
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1928
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1929
|
+
surface_ref?: string | undefined;
|
|
1930
|
+
}>;
|
|
1931
|
+
}, "strict", z.ZodTypeAny, {
|
|
1932
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1933
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
1934
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1935
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1936
|
+
memory_id: string;
|
|
1937
|
+
owning_store_ref: {
|
|
1938
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1939
|
+
schema_version: number;
|
|
1940
|
+
store_ref: string;
|
|
1941
|
+
record_ref: string;
|
|
1942
|
+
};
|
|
1943
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1944
|
+
domain_fields: Record<string, unknown>;
|
|
1945
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
1946
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1947
|
+
superseded_by_memory_id: string | null;
|
|
1948
|
+
content_state: "materialized" | "redacted";
|
|
1949
|
+
dependency_ref: {
|
|
1950
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1951
|
+
ref: string;
|
|
1952
|
+
content_state: "materialized" | "redacted";
|
|
1953
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1954
|
+
owning_store_ref?: {
|
|
1955
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1956
|
+
schema_version: number;
|
|
1957
|
+
store_ref: string;
|
|
1958
|
+
record_ref: string;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1961
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1962
|
+
surface_ref?: string | undefined;
|
|
1963
|
+
};
|
|
1964
|
+
}, {
|
|
1965
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1966
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
1967
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
1968
|
+
memory_id: string;
|
|
1969
|
+
owning_store_ref: {
|
|
1970
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1971
|
+
store_ref: string;
|
|
1972
|
+
record_ref: string;
|
|
1973
|
+
schema_version?: number | undefined;
|
|
1974
|
+
};
|
|
1975
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
1976
|
+
domain_fields: Record<string, unknown>;
|
|
1977
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
1978
|
+
content_state: "materialized" | "redacted";
|
|
1979
|
+
dependency_ref: {
|
|
1980
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
1981
|
+
ref: string;
|
|
1982
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1983
|
+
owning_store_ref?: {
|
|
1984
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
1985
|
+
store_ref: string;
|
|
1986
|
+
record_ref: string;
|
|
1987
|
+
schema_version?: number | undefined;
|
|
1988
|
+
} | undefined;
|
|
1989
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
1990
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1991
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
1992
|
+
surface_ref?: string | undefined;
|
|
1993
|
+
};
|
|
1994
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
1995
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
1996
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
1997
|
+
}>, {
|
|
1998
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
1999
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2000
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2001
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2002
|
+
memory_id: string;
|
|
2003
|
+
owning_store_ref: {
|
|
2004
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2005
|
+
schema_version: number;
|
|
2006
|
+
store_ref: string;
|
|
2007
|
+
record_ref: string;
|
|
2008
|
+
};
|
|
2009
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2010
|
+
domain_fields: Record<string, unknown>;
|
|
2011
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2012
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2013
|
+
superseded_by_memory_id: string | null;
|
|
2014
|
+
content_state: "materialized" | "redacted";
|
|
2015
|
+
dependency_ref: {
|
|
2016
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2017
|
+
ref: string;
|
|
2018
|
+
content_state: "materialized" | "redacted";
|
|
2019
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2020
|
+
owning_store_ref?: {
|
|
2021
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2022
|
+
schema_version: number;
|
|
2023
|
+
store_ref: string;
|
|
2024
|
+
record_ref: string;
|
|
2025
|
+
} | undefined;
|
|
2026
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2027
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2028
|
+
surface_ref?: string | undefined;
|
|
2029
|
+
};
|
|
2030
|
+
}, {
|
|
2031
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2032
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2033
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2034
|
+
memory_id: string;
|
|
2035
|
+
owning_store_ref: {
|
|
2036
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2037
|
+
store_ref: string;
|
|
2038
|
+
record_ref: string;
|
|
2039
|
+
schema_version?: number | undefined;
|
|
2040
|
+
};
|
|
2041
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2042
|
+
domain_fields: Record<string, unknown>;
|
|
2043
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2044
|
+
content_state: "materialized" | "redacted";
|
|
2045
|
+
dependency_ref: {
|
|
2046
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2047
|
+
ref: string;
|
|
2048
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2049
|
+
owning_store_ref?: {
|
|
2050
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2051
|
+
store_ref: string;
|
|
2052
|
+
record_ref: string;
|
|
2053
|
+
schema_version?: number | undefined;
|
|
2054
|
+
} | undefined;
|
|
2055
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2056
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2057
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2058
|
+
surface_ref?: string | undefined;
|
|
2059
|
+
};
|
|
2060
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2061
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2062
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2063
|
+
}>;
|
|
2064
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
2065
|
+
restriction_reasons: z.ZodArray<z.ZodEnum<["stale", "superseded", "corrected", "sensitive", "out_of_scope", "redacted", "lifecycle_ineligible", "permission_blocked", "forbidden_use", "not_allowed_for_requested_use", "stale_or_missing_surface"]>, "many">;
|
|
2066
|
+
content: z.ZodObject<{
|
|
2067
|
+
state: z.ZodLiteral<"withheld">;
|
|
2068
|
+
redaction_ref: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
reason_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2070
|
+
}, "strict", z.ZodTypeAny, {
|
|
2071
|
+
state: "withheld";
|
|
2072
|
+
reason_refs: string[];
|
|
2073
|
+
redaction_ref?: string | undefined;
|
|
2074
|
+
}, {
|
|
2075
|
+
state: "withheld";
|
|
2076
|
+
redaction_ref?: string | undefined;
|
|
2077
|
+
reason_refs?: string[] | undefined;
|
|
2078
|
+
}>;
|
|
2079
|
+
use_policy: z.ZodEffects<z.ZodObject<{
|
|
2080
|
+
remembered: z.ZodDefault<z.ZodLiteral<true>>;
|
|
2081
|
+
usable: z.ZodBoolean;
|
|
2082
|
+
speakable: z.ZodBoolean;
|
|
2083
|
+
actionable: z.ZodBoolean;
|
|
2084
|
+
inhibition_only: z.ZodBoolean;
|
|
2085
|
+
planning_only: z.ZodBoolean;
|
|
2086
|
+
forbidden: z.ZodBoolean;
|
|
2087
|
+
memory_is_runtime_authority: z.ZodDefault<z.ZodLiteral<false>>;
|
|
2088
|
+
required_confirmation: z.ZodDefault<z.ZodEnum<["none", "before_speech", "before_action", "before_resume"]>>;
|
|
2089
|
+
requested_use: z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>;
|
|
2090
|
+
allowed_use_classes: z.ZodDefault<z.ZodArray<z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, "many">>;
|
|
2091
|
+
blocked_use_classes: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["runtime_grounding", "design_grounding", "behavioral_inhibition", "attention_prioritization", "expression_mode_selection", "tone_adaptation", "goal_planning", "ask_for_confirmation", "proactive_action_candidate", "user_facing_reference", "memory_write_candidate", "surface_projection", "never_use_directly"]>, z.ZodEnum<["user_personality_labeling", "diagnosis", "motivation_claim", "emotional_leverage", "engagement_optimization", "attachment_optimization", "proactive_trigger", "side_effect_authorization", "stale_session_authorization", "raw_prompt_injection", "cross_scope_reuse"]>]>, "many">>;
|
|
2092
|
+
}, "strict", z.ZodTypeAny, {
|
|
2093
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2094
|
+
actionable: boolean;
|
|
2095
|
+
speakable: boolean;
|
|
2096
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2097
|
+
forbidden: boolean;
|
|
2098
|
+
remembered: true;
|
|
2099
|
+
usable: boolean;
|
|
2100
|
+
inhibition_only: boolean;
|
|
2101
|
+
planning_only: boolean;
|
|
2102
|
+
memory_is_runtime_authority: false;
|
|
2103
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2104
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2105
|
+
}, {
|
|
2106
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2107
|
+
actionable: boolean;
|
|
2108
|
+
speakable: boolean;
|
|
2109
|
+
forbidden: boolean;
|
|
2110
|
+
usable: boolean;
|
|
2111
|
+
inhibition_only: boolean;
|
|
2112
|
+
planning_only: boolean;
|
|
2113
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2114
|
+
remembered?: true | undefined;
|
|
2115
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2116
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2117
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2118
|
+
}>, {
|
|
2119
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2120
|
+
actionable: boolean;
|
|
2121
|
+
speakable: boolean;
|
|
2122
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2123
|
+
forbidden: boolean;
|
|
2124
|
+
remembered: true;
|
|
2125
|
+
usable: boolean;
|
|
2126
|
+
inhibition_only: boolean;
|
|
2127
|
+
planning_only: boolean;
|
|
2128
|
+
memory_is_runtime_authority: false;
|
|
2129
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2130
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2131
|
+
}, {
|
|
2132
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2133
|
+
actionable: boolean;
|
|
2134
|
+
speakable: boolean;
|
|
2135
|
+
forbidden: boolean;
|
|
2136
|
+
usable: boolean;
|
|
2137
|
+
inhibition_only: boolean;
|
|
2138
|
+
planning_only: boolean;
|
|
2139
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2140
|
+
remembered?: true | undefined;
|
|
2141
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2142
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2143
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2144
|
+
}>;
|
|
2145
|
+
source_projection_ref: z.ZodString;
|
|
2146
|
+
audit_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2147
|
+
}, "strict", z.ZodTypeAny, {
|
|
2148
|
+
content: {
|
|
2149
|
+
state: "withheld";
|
|
2150
|
+
reason_refs: string[];
|
|
2151
|
+
redaction_ref?: string | undefined;
|
|
2152
|
+
};
|
|
2153
|
+
entry_id: string;
|
|
2154
|
+
audit_refs: string[];
|
|
2155
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2156
|
+
source_ref: {
|
|
2157
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2158
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2159
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2160
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2161
|
+
memory_id: string;
|
|
2162
|
+
owning_store_ref: {
|
|
2163
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2164
|
+
schema_version: number;
|
|
2165
|
+
store_ref: string;
|
|
2166
|
+
record_ref: string;
|
|
2167
|
+
};
|
|
2168
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2169
|
+
domain_fields: Record<string, unknown>;
|
|
2170
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2171
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2172
|
+
superseded_by_memory_id: string | null;
|
|
2173
|
+
content_state: "materialized" | "redacted";
|
|
2174
|
+
dependency_ref: {
|
|
2175
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2176
|
+
ref: string;
|
|
2177
|
+
content_state: "materialized" | "redacted";
|
|
2178
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2179
|
+
owning_store_ref?: {
|
|
2180
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2181
|
+
schema_version: number;
|
|
2182
|
+
store_ref: string;
|
|
2183
|
+
record_ref: string;
|
|
2184
|
+
} | undefined;
|
|
2185
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2186
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2187
|
+
surface_ref?: string | undefined;
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
use_policy: {
|
|
2191
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2192
|
+
actionable: boolean;
|
|
2193
|
+
speakable: boolean;
|
|
2194
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2195
|
+
forbidden: boolean;
|
|
2196
|
+
remembered: true;
|
|
2197
|
+
usable: boolean;
|
|
2198
|
+
inhibition_only: boolean;
|
|
2199
|
+
planning_only: boolean;
|
|
2200
|
+
memory_is_runtime_authority: false;
|
|
2201
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2202
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2203
|
+
};
|
|
2204
|
+
source_projection_ref: string;
|
|
2205
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2206
|
+
}, {
|
|
2207
|
+
content: {
|
|
2208
|
+
state: "withheld";
|
|
2209
|
+
redaction_ref?: string | undefined;
|
|
2210
|
+
reason_refs?: string[] | undefined;
|
|
2211
|
+
};
|
|
2212
|
+
entry_id: string;
|
|
2213
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2214
|
+
source_ref: {
|
|
2215
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2216
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2217
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2218
|
+
memory_id: string;
|
|
2219
|
+
owning_store_ref: {
|
|
2220
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2221
|
+
store_ref: string;
|
|
2222
|
+
record_ref: string;
|
|
2223
|
+
schema_version?: number | undefined;
|
|
2224
|
+
};
|
|
2225
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2226
|
+
domain_fields: Record<string, unknown>;
|
|
2227
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2228
|
+
content_state: "materialized" | "redacted";
|
|
2229
|
+
dependency_ref: {
|
|
2230
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2231
|
+
ref: string;
|
|
2232
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2233
|
+
owning_store_ref?: {
|
|
2234
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2235
|
+
store_ref: string;
|
|
2236
|
+
record_ref: string;
|
|
2237
|
+
schema_version?: number | undefined;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2240
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2241
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2242
|
+
surface_ref?: string | undefined;
|
|
2243
|
+
};
|
|
2244
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2245
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2246
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2247
|
+
};
|
|
2248
|
+
use_policy: {
|
|
2249
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2250
|
+
actionable: boolean;
|
|
2251
|
+
speakable: boolean;
|
|
2252
|
+
forbidden: boolean;
|
|
2253
|
+
usable: boolean;
|
|
2254
|
+
inhibition_only: boolean;
|
|
2255
|
+
planning_only: boolean;
|
|
2256
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2257
|
+
remembered?: true | undefined;
|
|
2258
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2259
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2260
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2261
|
+
};
|
|
2262
|
+
source_projection_ref: string;
|
|
2263
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2264
|
+
audit_refs?: string[] | undefined;
|
|
2265
|
+
}>, {
|
|
2266
|
+
content: {
|
|
2267
|
+
state: "withheld";
|
|
2268
|
+
reason_refs: string[];
|
|
2269
|
+
redaction_ref?: string | undefined;
|
|
2270
|
+
};
|
|
2271
|
+
entry_id: string;
|
|
2272
|
+
audit_refs: string[];
|
|
2273
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2274
|
+
source_ref: {
|
|
2275
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2276
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2277
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2278
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2279
|
+
memory_id: string;
|
|
2280
|
+
owning_store_ref: {
|
|
2281
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2282
|
+
schema_version: number;
|
|
2283
|
+
store_ref: string;
|
|
2284
|
+
record_ref: string;
|
|
2285
|
+
};
|
|
2286
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2287
|
+
domain_fields: Record<string, unknown>;
|
|
2288
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2289
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2290
|
+
superseded_by_memory_id: string | null;
|
|
2291
|
+
content_state: "materialized" | "redacted";
|
|
2292
|
+
dependency_ref: {
|
|
2293
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2294
|
+
ref: string;
|
|
2295
|
+
content_state: "materialized" | "redacted";
|
|
2296
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2297
|
+
owning_store_ref?: {
|
|
2298
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2299
|
+
schema_version: number;
|
|
2300
|
+
store_ref: string;
|
|
2301
|
+
record_ref: string;
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2304
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2305
|
+
surface_ref?: string | undefined;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
use_policy: {
|
|
2309
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2310
|
+
actionable: boolean;
|
|
2311
|
+
speakable: boolean;
|
|
2312
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2313
|
+
forbidden: boolean;
|
|
2314
|
+
remembered: true;
|
|
2315
|
+
usable: boolean;
|
|
2316
|
+
inhibition_only: boolean;
|
|
2317
|
+
planning_only: boolean;
|
|
2318
|
+
memory_is_runtime_authority: false;
|
|
2319
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2320
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2321
|
+
};
|
|
2322
|
+
source_projection_ref: string;
|
|
2323
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2324
|
+
}, {
|
|
2325
|
+
content: {
|
|
2326
|
+
state: "withheld";
|
|
2327
|
+
redaction_ref?: string | undefined;
|
|
2328
|
+
reason_refs?: string[] | undefined;
|
|
2329
|
+
};
|
|
2330
|
+
entry_id: string;
|
|
2331
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2332
|
+
source_ref: {
|
|
2333
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2334
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2335
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2336
|
+
memory_id: string;
|
|
2337
|
+
owning_store_ref: {
|
|
2338
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2339
|
+
store_ref: string;
|
|
2340
|
+
record_ref: string;
|
|
2341
|
+
schema_version?: number | undefined;
|
|
2342
|
+
};
|
|
2343
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2344
|
+
domain_fields: Record<string, unknown>;
|
|
2345
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2346
|
+
content_state: "materialized" | "redacted";
|
|
2347
|
+
dependency_ref: {
|
|
2348
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2349
|
+
ref: string;
|
|
2350
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2351
|
+
owning_store_ref?: {
|
|
2352
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2353
|
+
store_ref: string;
|
|
2354
|
+
record_ref: string;
|
|
2355
|
+
schema_version?: number | undefined;
|
|
2356
|
+
} | undefined;
|
|
2357
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2358
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2359
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2360
|
+
surface_ref?: string | undefined;
|
|
2361
|
+
};
|
|
2362
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2363
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2364
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2365
|
+
};
|
|
2366
|
+
use_policy: {
|
|
2367
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2368
|
+
actionable: boolean;
|
|
2369
|
+
speakable: boolean;
|
|
2370
|
+
forbidden: boolean;
|
|
2371
|
+
usable: boolean;
|
|
2372
|
+
inhibition_only: boolean;
|
|
2373
|
+
planning_only: boolean;
|
|
2374
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2375
|
+
remembered?: true | undefined;
|
|
2376
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2377
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2378
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2379
|
+
};
|
|
2380
|
+
source_projection_ref: string;
|
|
2381
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2382
|
+
audit_refs?: string[] | undefined;
|
|
2383
|
+
}>, "many">>;
|
|
2384
|
+
ordinary_surface_policy: z.ZodDefault<z.ZodObject<{
|
|
2385
|
+
raw_memory_dump_visible: z.ZodDefault<z.ZodLiteral<false>>;
|
|
2386
|
+
raw_correction_state_visible: z.ZodDefault<z.ZodLiteral<false>>;
|
|
2387
|
+
ordinary_surface_receives_only_allowed_entries: z.ZodDefault<z.ZodLiteral<true>>;
|
|
2388
|
+
}, "strict", z.ZodTypeAny, {
|
|
2389
|
+
raw_memory_dump_visible: false;
|
|
2390
|
+
raw_correction_state_visible: false;
|
|
2391
|
+
ordinary_surface_receives_only_allowed_entries: true;
|
|
2392
|
+
}, {
|
|
2393
|
+
raw_memory_dump_visible?: false | undefined;
|
|
2394
|
+
raw_correction_state_visible?: false | undefined;
|
|
2395
|
+
ordinary_surface_receives_only_allowed_entries?: true | undefined;
|
|
2396
|
+
}>>;
|
|
2397
|
+
summary: z.ZodObject<{
|
|
2398
|
+
included_count: z.ZodNumber;
|
|
2399
|
+
restricted_count: z.ZodNumber;
|
|
2400
|
+
remembered_count: z.ZodNumber;
|
|
2401
|
+
usable_count: z.ZodNumber;
|
|
2402
|
+
speakable_count: z.ZodNumber;
|
|
2403
|
+
actionable_count: z.ZodNumber;
|
|
2404
|
+
inhibition_only_count: z.ZodNumber;
|
|
2405
|
+
planning_only_count: z.ZodNumber;
|
|
2406
|
+
forbidden_count: z.ZodNumber;
|
|
2407
|
+
}, "strict", z.ZodTypeAny, {
|
|
2408
|
+
included_count: number;
|
|
2409
|
+
restricted_count: number;
|
|
2410
|
+
remembered_count: number;
|
|
2411
|
+
usable_count: number;
|
|
2412
|
+
speakable_count: number;
|
|
2413
|
+
actionable_count: number;
|
|
2414
|
+
inhibition_only_count: number;
|
|
2415
|
+
planning_only_count: number;
|
|
2416
|
+
forbidden_count: number;
|
|
2417
|
+
}, {
|
|
2418
|
+
included_count: number;
|
|
2419
|
+
restricted_count: number;
|
|
2420
|
+
remembered_count: number;
|
|
2421
|
+
usable_count: number;
|
|
2422
|
+
speakable_count: number;
|
|
2423
|
+
actionable_count: number;
|
|
2424
|
+
inhibition_only_count: number;
|
|
2425
|
+
planning_only_count: number;
|
|
2426
|
+
forbidden_count: number;
|
|
2427
|
+
}>;
|
|
2428
|
+
prompt_dump: z.ZodOptional<z.ZodNever>;
|
|
2429
|
+
}, "strict", z.ZodTypeAny, {
|
|
2430
|
+
created_at: string;
|
|
2431
|
+
schema_version: "core-companion-memory-projection/v1";
|
|
2432
|
+
summary: {
|
|
2433
|
+
included_count: number;
|
|
2434
|
+
restricted_count: number;
|
|
2435
|
+
remembered_count: number;
|
|
2436
|
+
usable_count: number;
|
|
2437
|
+
speakable_count: number;
|
|
2438
|
+
actionable_count: number;
|
|
2439
|
+
inhibition_only_count: number;
|
|
2440
|
+
planning_only_count: number;
|
|
2441
|
+
forbidden_count: number;
|
|
2442
|
+
};
|
|
2443
|
+
source_refs: {
|
|
2444
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
2445
|
+
ref: string;
|
|
2446
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
2447
|
+
}[];
|
|
2448
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2449
|
+
surface_ref: string;
|
|
2450
|
+
caller_path: "chat_gateway_model_loop" | "chat_native_agent_loop" | "chat_runtime_control" | "chat_configure_route" | "task_agent_loop" | "bounded_agent_loop" | "resident_attention_cycle" | "projection_only";
|
|
2451
|
+
projection_id: string;
|
|
2452
|
+
included_entries: {
|
|
2453
|
+
content: {
|
|
2454
|
+
state: "available";
|
|
2455
|
+
excerpt: string;
|
|
2456
|
+
} | {
|
|
2457
|
+
state: "withheld";
|
|
2458
|
+
reason_refs: string[];
|
|
2459
|
+
redaction_ref?: string | undefined;
|
|
2460
|
+
};
|
|
2461
|
+
entry_id: string;
|
|
2462
|
+
audit_refs: string[];
|
|
2463
|
+
source_ref: {
|
|
2464
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2465
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2466
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2467
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2468
|
+
memory_id: string;
|
|
2469
|
+
owning_store_ref: {
|
|
2470
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2471
|
+
schema_version: number;
|
|
2472
|
+
store_ref: string;
|
|
2473
|
+
record_ref: string;
|
|
2474
|
+
};
|
|
2475
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2476
|
+
domain_fields: Record<string, unknown>;
|
|
2477
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2478
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2479
|
+
superseded_by_memory_id: string | null;
|
|
2480
|
+
content_state: "materialized" | "redacted";
|
|
2481
|
+
dependency_ref: {
|
|
2482
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2483
|
+
ref: string;
|
|
2484
|
+
content_state: "materialized" | "redacted";
|
|
2485
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2486
|
+
owning_store_ref?: {
|
|
2487
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2488
|
+
schema_version: number;
|
|
2489
|
+
store_ref: string;
|
|
2490
|
+
record_ref: string;
|
|
2491
|
+
} | undefined;
|
|
2492
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2493
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2494
|
+
surface_ref?: string | undefined;
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
2498
|
+
use_policy: {
|
|
2499
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2500
|
+
actionable: boolean;
|
|
2501
|
+
speakable: boolean;
|
|
2502
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2503
|
+
forbidden: boolean;
|
|
2504
|
+
remembered: true;
|
|
2505
|
+
usable: boolean;
|
|
2506
|
+
inhibition_only: boolean;
|
|
2507
|
+
planning_only: boolean;
|
|
2508
|
+
memory_is_runtime_authority: false;
|
|
2509
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2510
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2511
|
+
};
|
|
2512
|
+
source_projection_ref: string;
|
|
2513
|
+
}[];
|
|
2514
|
+
restricted_entries: {
|
|
2515
|
+
content: {
|
|
2516
|
+
state: "withheld";
|
|
2517
|
+
reason_refs: string[];
|
|
2518
|
+
redaction_ref?: string | undefined;
|
|
2519
|
+
};
|
|
2520
|
+
entry_id: string;
|
|
2521
|
+
audit_refs: string[];
|
|
2522
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2523
|
+
source_ref: {
|
|
2524
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2525
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2526
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2527
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2528
|
+
memory_id: string;
|
|
2529
|
+
owning_store_ref: {
|
|
2530
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2531
|
+
schema_version: number;
|
|
2532
|
+
store_ref: string;
|
|
2533
|
+
record_ref: string;
|
|
2534
|
+
};
|
|
2535
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2536
|
+
domain_fields: Record<string, unknown>;
|
|
2537
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2538
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2539
|
+
superseded_by_memory_id: string | null;
|
|
2540
|
+
content_state: "materialized" | "redacted";
|
|
2541
|
+
dependency_ref: {
|
|
2542
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2543
|
+
ref: string;
|
|
2544
|
+
content_state: "materialized" | "redacted";
|
|
2545
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2546
|
+
owning_store_ref?: {
|
|
2547
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2548
|
+
schema_version: number;
|
|
2549
|
+
store_ref: string;
|
|
2550
|
+
record_ref: string;
|
|
2551
|
+
} | undefined;
|
|
2552
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2553
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2554
|
+
surface_ref?: string | undefined;
|
|
2555
|
+
};
|
|
2556
|
+
};
|
|
2557
|
+
use_policy: {
|
|
2558
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2559
|
+
actionable: boolean;
|
|
2560
|
+
speakable: boolean;
|
|
2561
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2562
|
+
forbidden: boolean;
|
|
2563
|
+
remembered: true;
|
|
2564
|
+
usable: boolean;
|
|
2565
|
+
inhibition_only: boolean;
|
|
2566
|
+
planning_only: boolean;
|
|
2567
|
+
memory_is_runtime_authority: false;
|
|
2568
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2569
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2570
|
+
};
|
|
2571
|
+
source_projection_ref: string;
|
|
2572
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2573
|
+
}[];
|
|
2574
|
+
ordinary_surface_policy: {
|
|
2575
|
+
raw_memory_dump_visible: false;
|
|
2576
|
+
raw_correction_state_visible: false;
|
|
2577
|
+
ordinary_surface_receives_only_allowed_entries: true;
|
|
2578
|
+
};
|
|
2579
|
+
prompt_dump?: undefined;
|
|
2580
|
+
grounding_profile_id?: "chat/general_turn" | "chat/handoff" | "agent_loop/task_execution" | "core_loop/verification" | undefined;
|
|
2581
|
+
grounding_bundle_ref?: string | undefined;
|
|
2582
|
+
cognition_ref?: string | undefined;
|
|
2583
|
+
}, {
|
|
2584
|
+
created_at: string;
|
|
2585
|
+
schema_version: "core-companion-memory-projection/v1";
|
|
2586
|
+
summary: {
|
|
2587
|
+
included_count: number;
|
|
2588
|
+
restricted_count: number;
|
|
2589
|
+
remembered_count: number;
|
|
2590
|
+
usable_count: number;
|
|
2591
|
+
speakable_count: number;
|
|
2592
|
+
actionable_count: number;
|
|
2593
|
+
inhibition_only_count: number;
|
|
2594
|
+
planning_only_count: number;
|
|
2595
|
+
forbidden_count: number;
|
|
2596
|
+
};
|
|
2597
|
+
source_refs: {
|
|
2598
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
2599
|
+
ref: string;
|
|
2600
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
2601
|
+
}[];
|
|
2602
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2603
|
+
surface_ref: string;
|
|
2604
|
+
caller_path: "chat_gateway_model_loop" | "chat_native_agent_loop" | "chat_runtime_control" | "chat_configure_route" | "task_agent_loop" | "bounded_agent_loop" | "resident_attention_cycle" | "projection_only";
|
|
2605
|
+
projection_id: string;
|
|
2606
|
+
prompt_dump?: undefined;
|
|
2607
|
+
grounding_profile_id?: "chat/general_turn" | "chat/handoff" | "agent_loop/task_execution" | "core_loop/verification" | undefined;
|
|
2608
|
+
grounding_bundle_ref?: string | undefined;
|
|
2609
|
+
cognition_ref?: string | undefined;
|
|
2610
|
+
included_entries?: {
|
|
2611
|
+
content: {
|
|
2612
|
+
state: "available";
|
|
2613
|
+
excerpt: string;
|
|
2614
|
+
} | {
|
|
2615
|
+
state: "withheld";
|
|
2616
|
+
redaction_ref?: string | undefined;
|
|
2617
|
+
reason_refs?: string[] | undefined;
|
|
2618
|
+
};
|
|
2619
|
+
entry_id: string;
|
|
2620
|
+
source_ref: {
|
|
2621
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2622
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2623
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2624
|
+
memory_id: string;
|
|
2625
|
+
owning_store_ref: {
|
|
2626
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2627
|
+
store_ref: string;
|
|
2628
|
+
record_ref: string;
|
|
2629
|
+
schema_version?: number | undefined;
|
|
2630
|
+
};
|
|
2631
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2632
|
+
domain_fields: Record<string, unknown>;
|
|
2633
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2634
|
+
content_state: "materialized" | "redacted";
|
|
2635
|
+
dependency_ref: {
|
|
2636
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2637
|
+
ref: string;
|
|
2638
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2639
|
+
owning_store_ref?: {
|
|
2640
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2641
|
+
store_ref: string;
|
|
2642
|
+
record_ref: string;
|
|
2643
|
+
schema_version?: number | undefined;
|
|
2644
|
+
} | undefined;
|
|
2645
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2646
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2647
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2648
|
+
surface_ref?: string | undefined;
|
|
2649
|
+
};
|
|
2650
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2651
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2652
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2653
|
+
};
|
|
2654
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
2655
|
+
use_policy: {
|
|
2656
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2657
|
+
actionable: boolean;
|
|
2658
|
+
speakable: boolean;
|
|
2659
|
+
forbidden: boolean;
|
|
2660
|
+
usable: boolean;
|
|
2661
|
+
inhibition_only: boolean;
|
|
2662
|
+
planning_only: boolean;
|
|
2663
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2664
|
+
remembered?: true | undefined;
|
|
2665
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2666
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2667
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2668
|
+
};
|
|
2669
|
+
source_projection_ref: string;
|
|
2670
|
+
audit_refs?: string[] | undefined;
|
|
2671
|
+
}[] | undefined;
|
|
2672
|
+
restricted_entries?: {
|
|
2673
|
+
content: {
|
|
2674
|
+
state: "withheld";
|
|
2675
|
+
redaction_ref?: string | undefined;
|
|
2676
|
+
reason_refs?: string[] | undefined;
|
|
2677
|
+
};
|
|
2678
|
+
entry_id: string;
|
|
2679
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2680
|
+
source_ref: {
|
|
2681
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2682
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2683
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2684
|
+
memory_id: string;
|
|
2685
|
+
owning_store_ref: {
|
|
2686
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2687
|
+
store_ref: string;
|
|
2688
|
+
record_ref: string;
|
|
2689
|
+
schema_version?: number | undefined;
|
|
2690
|
+
};
|
|
2691
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2692
|
+
domain_fields: Record<string, unknown>;
|
|
2693
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2694
|
+
content_state: "materialized" | "redacted";
|
|
2695
|
+
dependency_ref: {
|
|
2696
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2697
|
+
ref: string;
|
|
2698
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2699
|
+
owning_store_ref?: {
|
|
2700
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2701
|
+
store_ref: string;
|
|
2702
|
+
record_ref: string;
|
|
2703
|
+
schema_version?: number | undefined;
|
|
2704
|
+
} | undefined;
|
|
2705
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2706
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2707
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2708
|
+
surface_ref?: string | undefined;
|
|
2709
|
+
};
|
|
2710
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2711
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2712
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2713
|
+
};
|
|
2714
|
+
use_policy: {
|
|
2715
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2716
|
+
actionable: boolean;
|
|
2717
|
+
speakable: boolean;
|
|
2718
|
+
forbidden: boolean;
|
|
2719
|
+
usable: boolean;
|
|
2720
|
+
inhibition_only: boolean;
|
|
2721
|
+
planning_only: boolean;
|
|
2722
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2723
|
+
remembered?: true | undefined;
|
|
2724
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2725
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2726
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2727
|
+
};
|
|
2728
|
+
source_projection_ref: string;
|
|
2729
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2730
|
+
audit_refs?: string[] | undefined;
|
|
2731
|
+
}[] | undefined;
|
|
2732
|
+
ordinary_surface_policy?: {
|
|
2733
|
+
raw_memory_dump_visible?: false | undefined;
|
|
2734
|
+
raw_correction_state_visible?: false | undefined;
|
|
2735
|
+
ordinary_surface_receives_only_allowed_entries?: true | undefined;
|
|
2736
|
+
} | undefined;
|
|
2737
|
+
}>, {
|
|
2738
|
+
created_at: string;
|
|
2739
|
+
schema_version: "core-companion-memory-projection/v1";
|
|
2740
|
+
summary: {
|
|
2741
|
+
included_count: number;
|
|
2742
|
+
restricted_count: number;
|
|
2743
|
+
remembered_count: number;
|
|
2744
|
+
usable_count: number;
|
|
2745
|
+
speakable_count: number;
|
|
2746
|
+
actionable_count: number;
|
|
2747
|
+
inhibition_only_count: number;
|
|
2748
|
+
planning_only_count: number;
|
|
2749
|
+
forbidden_count: number;
|
|
2750
|
+
};
|
|
2751
|
+
source_refs: {
|
|
2752
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
2753
|
+
ref: string;
|
|
2754
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
2755
|
+
}[];
|
|
2756
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2757
|
+
surface_ref: string;
|
|
2758
|
+
caller_path: "chat_gateway_model_loop" | "chat_native_agent_loop" | "chat_runtime_control" | "chat_configure_route" | "task_agent_loop" | "bounded_agent_loop" | "resident_attention_cycle" | "projection_only";
|
|
2759
|
+
projection_id: string;
|
|
2760
|
+
included_entries: {
|
|
2761
|
+
content: {
|
|
2762
|
+
state: "available";
|
|
2763
|
+
excerpt: string;
|
|
2764
|
+
} | {
|
|
2765
|
+
state: "withheld";
|
|
2766
|
+
reason_refs: string[];
|
|
2767
|
+
redaction_ref?: string | undefined;
|
|
2768
|
+
};
|
|
2769
|
+
entry_id: string;
|
|
2770
|
+
audit_refs: string[];
|
|
2771
|
+
source_ref: {
|
|
2772
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2773
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2774
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2775
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2776
|
+
memory_id: string;
|
|
2777
|
+
owning_store_ref: {
|
|
2778
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2779
|
+
schema_version: number;
|
|
2780
|
+
store_ref: string;
|
|
2781
|
+
record_ref: string;
|
|
2782
|
+
};
|
|
2783
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2784
|
+
domain_fields: Record<string, unknown>;
|
|
2785
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2786
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2787
|
+
superseded_by_memory_id: string | null;
|
|
2788
|
+
content_state: "materialized" | "redacted";
|
|
2789
|
+
dependency_ref: {
|
|
2790
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2791
|
+
ref: string;
|
|
2792
|
+
content_state: "materialized" | "redacted";
|
|
2793
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2794
|
+
owning_store_ref?: {
|
|
2795
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2796
|
+
schema_version: number;
|
|
2797
|
+
store_ref: string;
|
|
2798
|
+
record_ref: string;
|
|
2799
|
+
} | undefined;
|
|
2800
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2801
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2802
|
+
surface_ref?: string | undefined;
|
|
2803
|
+
};
|
|
2804
|
+
};
|
|
2805
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
2806
|
+
use_policy: {
|
|
2807
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2808
|
+
actionable: boolean;
|
|
2809
|
+
speakable: boolean;
|
|
2810
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2811
|
+
forbidden: boolean;
|
|
2812
|
+
remembered: true;
|
|
2813
|
+
usable: boolean;
|
|
2814
|
+
inhibition_only: boolean;
|
|
2815
|
+
planning_only: boolean;
|
|
2816
|
+
memory_is_runtime_authority: false;
|
|
2817
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2818
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2819
|
+
};
|
|
2820
|
+
source_projection_ref: string;
|
|
2821
|
+
}[];
|
|
2822
|
+
restricted_entries: {
|
|
2823
|
+
content: {
|
|
2824
|
+
state: "withheld";
|
|
2825
|
+
reason_refs: string[];
|
|
2826
|
+
redaction_ref?: string | undefined;
|
|
2827
|
+
};
|
|
2828
|
+
entry_id: string;
|
|
2829
|
+
audit_refs: string[];
|
|
2830
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2831
|
+
source_ref: {
|
|
2832
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2833
|
+
correction_state: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected";
|
|
2834
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2835
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2836
|
+
memory_id: string;
|
|
2837
|
+
owning_store_ref: {
|
|
2838
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2839
|
+
schema_version: number;
|
|
2840
|
+
store_ref: string;
|
|
2841
|
+
record_ref: string;
|
|
2842
|
+
};
|
|
2843
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2844
|
+
domain_fields: Record<string, unknown>;
|
|
2845
|
+
not_allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2846
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2847
|
+
superseded_by_memory_id: string | null;
|
|
2848
|
+
content_state: "materialized" | "redacted";
|
|
2849
|
+
dependency_ref: {
|
|
2850
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2851
|
+
ref: string;
|
|
2852
|
+
content_state: "materialized" | "redacted";
|
|
2853
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2854
|
+
owning_store_ref?: {
|
|
2855
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2856
|
+
schema_version: number;
|
|
2857
|
+
store_ref: string;
|
|
2858
|
+
record_ref: string;
|
|
2859
|
+
} | undefined;
|
|
2860
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2861
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2862
|
+
surface_ref?: string | undefined;
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
use_policy: {
|
|
2866
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2867
|
+
actionable: boolean;
|
|
2868
|
+
speakable: boolean;
|
|
2869
|
+
required_confirmation: "none" | "before_speech" | "before_action" | "before_resume";
|
|
2870
|
+
forbidden: boolean;
|
|
2871
|
+
remembered: true;
|
|
2872
|
+
usable: boolean;
|
|
2873
|
+
inhibition_only: boolean;
|
|
2874
|
+
planning_only: boolean;
|
|
2875
|
+
memory_is_runtime_authority: false;
|
|
2876
|
+
allowed_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2877
|
+
blocked_use_classes: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[];
|
|
2878
|
+
};
|
|
2879
|
+
source_projection_ref: string;
|
|
2880
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
2881
|
+
}[];
|
|
2882
|
+
ordinary_surface_policy: {
|
|
2883
|
+
raw_memory_dump_visible: false;
|
|
2884
|
+
raw_correction_state_visible: false;
|
|
2885
|
+
ordinary_surface_receives_only_allowed_entries: true;
|
|
2886
|
+
};
|
|
2887
|
+
prompt_dump?: undefined;
|
|
2888
|
+
grounding_profile_id?: "chat/general_turn" | "chat/handoff" | "agent_loop/task_execution" | "core_loop/verification" | undefined;
|
|
2889
|
+
grounding_bundle_ref?: string | undefined;
|
|
2890
|
+
cognition_ref?: string | undefined;
|
|
2891
|
+
}, {
|
|
2892
|
+
created_at: string;
|
|
2893
|
+
schema_version: "core-companion-memory-projection/v1";
|
|
2894
|
+
summary: {
|
|
2895
|
+
included_count: number;
|
|
2896
|
+
restricted_count: number;
|
|
2897
|
+
remembered_count: number;
|
|
2898
|
+
usable_count: number;
|
|
2899
|
+
speakable_count: number;
|
|
2900
|
+
actionable_count: number;
|
|
2901
|
+
inhibition_only_count: number;
|
|
2902
|
+
planning_only_count: number;
|
|
2903
|
+
forbidden_count: number;
|
|
2904
|
+
};
|
|
2905
|
+
source_refs: {
|
|
2906
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "dream_seed" | "surface_projection" | "grounding_bundle" | "knowledge_manager" | "correction_ledger" | "grounding_profile";
|
|
2907
|
+
ref: string;
|
|
2908
|
+
owner_kind?: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed" | undefined;
|
|
2909
|
+
}[];
|
|
2910
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2911
|
+
surface_ref: string;
|
|
2912
|
+
caller_path: "chat_gateway_model_loop" | "chat_native_agent_loop" | "chat_runtime_control" | "chat_configure_route" | "task_agent_loop" | "bounded_agent_loop" | "resident_attention_cycle" | "projection_only";
|
|
2913
|
+
projection_id: string;
|
|
2914
|
+
prompt_dump?: undefined;
|
|
2915
|
+
grounding_profile_id?: "chat/general_turn" | "chat/handoff" | "agent_loop/task_execution" | "core_loop/verification" | undefined;
|
|
2916
|
+
grounding_bundle_ref?: string | undefined;
|
|
2917
|
+
cognition_ref?: string | undefined;
|
|
2918
|
+
included_entries?: {
|
|
2919
|
+
content: {
|
|
2920
|
+
state: "available";
|
|
2921
|
+
excerpt: string;
|
|
2922
|
+
} | {
|
|
2923
|
+
state: "withheld";
|
|
2924
|
+
redaction_ref?: string | undefined;
|
|
2925
|
+
reason_refs?: string[] | undefined;
|
|
2926
|
+
};
|
|
2927
|
+
entry_id: string;
|
|
2928
|
+
source_ref: {
|
|
2929
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2930
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2931
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2932
|
+
memory_id: string;
|
|
2933
|
+
owning_store_ref: {
|
|
2934
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2935
|
+
store_ref: string;
|
|
2936
|
+
record_ref: string;
|
|
2937
|
+
schema_version?: number | undefined;
|
|
2938
|
+
};
|
|
2939
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
2940
|
+
domain_fields: Record<string, unknown>;
|
|
2941
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
2942
|
+
content_state: "materialized" | "redacted";
|
|
2943
|
+
dependency_ref: {
|
|
2944
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
2945
|
+
ref: string;
|
|
2946
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2947
|
+
owning_store_ref?: {
|
|
2948
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2949
|
+
store_ref: string;
|
|
2950
|
+
record_ref: string;
|
|
2951
|
+
schema_version?: number | undefined;
|
|
2952
|
+
} | undefined;
|
|
2953
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
2954
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2955
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
2956
|
+
surface_ref?: string | undefined;
|
|
2957
|
+
};
|
|
2958
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
2959
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2960
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
2961
|
+
};
|
|
2962
|
+
lane: "promise" | "knowledge" | "work_memory" | "relationship" | "boundary" | "anti_memory" | "tension";
|
|
2963
|
+
use_policy: {
|
|
2964
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2965
|
+
actionable: boolean;
|
|
2966
|
+
speakable: boolean;
|
|
2967
|
+
forbidden: boolean;
|
|
2968
|
+
usable: boolean;
|
|
2969
|
+
inhibition_only: boolean;
|
|
2970
|
+
planning_only: boolean;
|
|
2971
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
2972
|
+
remembered?: true | undefined;
|
|
2973
|
+
memory_is_runtime_authority?: false | undefined;
|
|
2974
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
2975
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
2976
|
+
};
|
|
2977
|
+
source_projection_ref: string;
|
|
2978
|
+
audit_refs?: string[] | undefined;
|
|
2979
|
+
}[] | undefined;
|
|
2980
|
+
restricted_entries?: {
|
|
2981
|
+
content: {
|
|
2982
|
+
state: "withheld";
|
|
2983
|
+
redaction_ref?: string | undefined;
|
|
2984
|
+
reason_refs?: string[] | undefined;
|
|
2985
|
+
};
|
|
2986
|
+
entry_id: string;
|
|
2987
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
2988
|
+
source_ref: {
|
|
2989
|
+
role: "promise" | "knowledge" | "work_memory" | "relationship" | "seed" | "boundary" | "anti_memory" | "tension";
|
|
2990
|
+
allowed_uses: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[];
|
|
2991
|
+
sensitivity: "sensitive" | "public" | "private";
|
|
2992
|
+
memory_id: string;
|
|
2993
|
+
owning_store_ref: {
|
|
2994
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
2995
|
+
store_ref: string;
|
|
2996
|
+
record_ref: string;
|
|
2997
|
+
schema_version?: number | undefined;
|
|
2998
|
+
};
|
|
2999
|
+
record_kind: "promise" | "boundary" | "stable_profile_fact" | "preference" | "routine" | "intervention_policy" | "episodic_event" | "correction" | "relationship_posture" | "consent_scope" | "work_commitment" | "project_fact" | "knowledge_fact" | "open_tension" | "anti_memory_rule" | "seed_candidate";
|
|
3000
|
+
domain_fields: Record<string, unknown>;
|
|
3001
|
+
lifecycle: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted";
|
|
3002
|
+
content_state: "materialized" | "redacted";
|
|
3003
|
+
dependency_ref: {
|
|
3004
|
+
kind: "memory_write_candidate" | "memory_record" | "permission_grant" | "runtime_item" | "agenda_item" | "urge_candidate" | "outcome_decision" | "expression_decision" | "session_resume_attempt" | "audit_trace";
|
|
3005
|
+
ref: string;
|
|
3006
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
3007
|
+
owning_store_ref?: {
|
|
3008
|
+
kind: "relationship_profile" | "profile_proposal" | "runtime_session" | "soil" | "knowledge" | "dream_seed";
|
|
3009
|
+
store_ref: string;
|
|
3010
|
+
record_ref: string;
|
|
3011
|
+
schema_version?: number | undefined;
|
|
3012
|
+
} | undefined;
|
|
3013
|
+
lifecycle?: "active" | "archived" | "suppressed" | "tombstoned" | "deleted" | "planted" | "matured" | "decayed" | "retired" | "superseded" | "retracted" | undefined;
|
|
3014
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
3015
|
+
content_state?: "materialized" | "redacted" | undefined;
|
|
3016
|
+
surface_ref?: string | undefined;
|
|
3017
|
+
};
|
|
3018
|
+
correction_state?: "deleted" | "superseded" | "retracted" | "current" | "under_review" | "corrected" | undefined;
|
|
3019
|
+
not_allowed_uses?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
3020
|
+
superseded_by_memory_id?: string | null | undefined;
|
|
3021
|
+
};
|
|
3022
|
+
use_policy: {
|
|
3023
|
+
requested_use: "runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse";
|
|
3024
|
+
actionable: boolean;
|
|
3025
|
+
speakable: boolean;
|
|
3026
|
+
forbidden: boolean;
|
|
3027
|
+
usable: boolean;
|
|
3028
|
+
inhibition_only: boolean;
|
|
3029
|
+
planning_only: boolean;
|
|
3030
|
+
required_confirmation?: "none" | "before_speech" | "before_action" | "before_resume" | undefined;
|
|
3031
|
+
remembered?: true | undefined;
|
|
3032
|
+
memory_is_runtime_authority?: false | undefined;
|
|
3033
|
+
allowed_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly")[] | undefined;
|
|
3034
|
+
blocked_use_classes?: ("runtime_grounding" | "design_grounding" | "behavioral_inhibition" | "attention_prioritization" | "expression_mode_selection" | "tone_adaptation" | "goal_planning" | "ask_for_confirmation" | "proactive_action_candidate" | "user_facing_reference" | "memory_write_candidate" | "surface_projection" | "never_use_directly" | "user_personality_labeling" | "diagnosis" | "motivation_claim" | "emotional_leverage" | "engagement_optimization" | "attachment_optimization" | "proactive_trigger" | "side_effect_authorization" | "stale_session_authorization" | "raw_prompt_injection" | "cross_scope_reuse")[] | undefined;
|
|
3035
|
+
};
|
|
3036
|
+
source_projection_ref: string;
|
|
3037
|
+
restriction_reasons: ("out_of_scope" | "stale" | "sensitive" | "superseded" | "corrected" | "redacted" | "forbidden_use" | "permission_blocked" | "lifecycle_ineligible" | "not_allowed_for_requested_use" | "stale_or_missing_surface")[];
|
|
3038
|
+
audit_refs?: string[] | undefined;
|
|
3039
|
+
}[] | undefined;
|
|
3040
|
+
ordinary_surface_policy?: {
|
|
3041
|
+
raw_memory_dump_visible?: false | undefined;
|
|
3042
|
+
raw_correction_state_visible?: false | undefined;
|
|
3043
|
+
ordinary_surface_receives_only_allowed_entries?: true | undefined;
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
}>;
|
|
3046
|
+
export type CoreCompanionMemoryProjection = z.infer<typeof CoreCompanionMemoryProjectionSchema>;
|
|
3047
|
+
export interface CreateCoreCompanionMemoryProjectionFromSurfaceInput {
|
|
3048
|
+
surfaceProjection: unknown;
|
|
3049
|
+
callerPath: CognitionProjectionCallerPathKind;
|
|
3050
|
+
projectionId?: string;
|
|
3051
|
+
groundingProfileId?: GroundingProfileId;
|
|
3052
|
+
groundingBundleRef?: string;
|
|
3053
|
+
cognitionRef?: string;
|
|
3054
|
+
correctionEventRefs?: string[];
|
|
3055
|
+
createdAt?: string;
|
|
3056
|
+
}
|
|
3057
|
+
export declare function createCoreCompanionMemoryProjectionFromSurface(input: CreateCoreCompanionMemoryProjectionFromSurfaceInput): CoreCompanionMemoryProjection;
|
|
3058
|
+
export declare function createCoreCompanionMemoryProjectionCognitionRef(projection: Pick<CoreCompanionMemoryProjection, "projection_id">): CognitionContextRef;
|
|
3059
|
+
//# sourceMappingURL=core-companion-memory-projection.d.ts.map
|