openclaw/src/config
Tak Hoffman 94340b9598
fix(agent-init): move session startup context into the runtime (#65055)
* fix: preload startup memory for bare session resets

* docs: align AGENTS template with startup context runtime

* fix(agent-init): harden startup context prompt handling

* fix(agent-init): tighten startup context parsing and limits

* fix(agent-init): honor calendar-day startup memory windows

* docs: clarify startup daily memory injection
2026-04-11 21:52:16 -05:00
..
sessions fix(utils): bypass delivery context wrapper for shared consumers 2026-04-11 17:26:38 +01:00
agent-dirs.test.ts
agent-dirs.ts refactor: dedupe command config lowercase helpers 2026-04-07 20:57:03 +01:00
agent-limits.ts
agent-timeout-defaults.ts Config: align LLM idle timeout defaults 2026-04-11 15:48:58 +10:00
allowed-values.test.ts
allowed-values.ts refactor: dedupe command config lowercase helpers 2026-04-07 20:57:03 +01:00
backup-rotation.ts
bindings.ts fix(cycles): narrow config type imports 2026-04-11 14:01:09 +01:00
bundled-channel-config-metadata.generated.ts chore(config): refresh bundled channel metadata 2026-04-12 00:22:32 +01:00
bundled-channel-config-runtime.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
byte-size.ts
cache-utils.test.ts
cache-utils.ts
channel-capabilities.test.ts
channel-capabilities.ts
channel-compat-normalization.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
channel-config-metadata.ts fix(cycles): continue seam extraction 2026-04-11 10:43:22 +01:00
channel-configured-shared.ts Config: split static channel configured helper 2026-04-07 13:07:40 +08:00
channel-configured.test.ts test: mock channel configured state seams 2026-04-11 05:37:03 +01:00
channel-configured.ts fix(cycles): bulk extract leaf type surfaces 2026-04-11 13:26:50 +01:00
channel-token-and-http.validation.test.ts test: use channel schemas for webhook validation 2026-04-11 05:16:51 +01:00
channel-webhook-and-actions.validation.test.ts test: use channel schemas for webhook validation 2026-04-11 05:16:51 +01:00
commands.flags.ts fix(config): split command flag helpers 2026-04-12 00:05:01 +01:00
commands.test.ts test(plugins): fix rebase fallout 2026-04-03 19:10:00 +01:00
commands.ts fix(config): split command flag helpers 2026-04-12 00:05:01 +01:00
config-env-vars.ts
config-misc.test.ts feat(ui): render assistant directives and add embed tag (#64104) 2026-04-11 07:32:53 -05:00
config-paths.ts
config.acp-binding-cutover.test.ts refactor(plugins): genericize core channel seams 2026-04-03 19:09:21 +01:00
config.agent-concurrency-defaults.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
config.allowlist-requires-allowfrom.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
config.backup-rotation.test-helpers.ts
config.backup-rotation.test.ts
config.compaction-settings.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
config.discord-agent-components.test.ts test: speed up config schema tests 2026-04-07 12:09:15 +01:00
config.discord-presence.test.ts test: speed up config schema tests 2026-04-07 12:09:15 +01:00
config.discord.test.ts test: use discord schema in config tests 2026-04-11 05:20:29 +01:00
config.dm-policy-alias.test.ts test: speed up config schema tests 2026-04-07 12:09:15 +01:00
config.env-vars.test.ts
config.gateway-tailscale-bind.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.hooks-module-paths.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.identity-avatar.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.irc.test.ts test: speed up config schema tests 2026-04-07 12:09:15 +01:00
config.legacy-config-detection.accepts-imessage-dmpolicy.test.ts test: make imessage legacy config checks pure 2026-04-11 05:27:38 +01:00
config.legacy-config-detection.rejects-routing-allowfrom.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
config.legacy-config-provider-shapes.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
config.meta-timestamp-coercion.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.msteams.test.ts test: speed up config schema tests 2026-04-07 12:09:15 +01:00
config.multi-agent-agentdir-validation.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.nix-integration-u3-u5-u9.test.ts perf(runtime): trim config, media, and secrets tests 2026-04-08 01:49:23 +01:00
config.plugin-validation.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.pruning-defaults.test.ts fix(talk): fix ensure permissions on first execution of Talk Mode in MacOS (#62459) 2026-04-11 18:08:45 +10:00
config.sandbox-docker.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
config.schema-regressions.test.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
config.secrets-schema.test.ts test: avoid channel contract imports in config policy tests 2026-04-11 05:34:31 +01:00
config.skills-entries-config.test.ts feat(skills): add inherited agent skill allowlists (#59992) 2026-04-03 13:41:28 -04:00
config.talk-validation.test.ts
config.telegram-custom-commands.test.ts
config.telegram-topic-agentid.test.ts perf(config): fold telegram audio schema coverage 2026-04-08 01:53:18 +01:00
config.tools-alsoAllow.test.ts
config.ts refactor: move legacy config migration behind doctor 2026-04-05 16:12:45 +01:00
config.web-search-provider.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
context-visibility.test.ts test: refresh generated baselines 2026-04-03 04:54:59 +09:00
context-visibility.ts feat: add configurable context visibility 2026-04-03 04:34:57 +09:00
dangerous-name-matching.test.ts
dangerous-name-matching.ts
defaults.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
defaults.ts fix(cycles): continue seam extraction 2026-04-11 10:43:22 +01:00
doc-baseline.integration.test.ts test(config): reuse temp dir helper in config doc baseline tests 2026-04-06 10:52:12 +01:00
doc-baseline.runtime.ts test: lazy-load config doc baseline runtime 2026-04-03 14:29:17 +01:00
doc-baseline.test.ts
doc-baseline.ts refactor: replace 156k-line generated baselines with SHA-256 hash files 2026-04-04 16:49:21 +09:00
env-preserve.test.ts
env-preserve.ts
env-substitution.test.ts
env-substitution.ts
env-vars.ts
gateway-control-ui-origins.ts fix(config): bypass control ui origins barrel 2026-04-11 18:36:48 +01:00
group-policy.test.ts
group-policy.ts fix(cycles): split runtime delivery and registry seams 2026-04-11 13:26:50 +01:00
heartbeat-config-honor.inventory.test.ts fix: honor heartbeat timeoutSeconds (#64491) 2026-04-11 00:39:21 +01:00
home-env.test-harness.ts
includes-scan.ts chore(lint): drop stale config and gateway lint comments 2026-04-06 15:57:32 +01:00
includes.test.ts test(config): reuse temp dir helper in config include tests 2026-04-06 10:50:44 +01:00
includes.ts
io.audit.test.ts refactor: dedupe repeated test helpers 2026-04-08 09:58:22 +01:00
io.audit.ts Config: fix audit base record type 2026-04-07 10:03:42 +01:00
io.compat.test.ts test: split config io coverage 2026-04-07 08:14:35 +01:00
io.eacces.test.ts
io.invalid-config.test.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
io.invalid-config.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
io.observe-recovery.test.ts lint: enable small oxlint rules 2026-04-11 02:15:21 +01:00
io.observe-recovery.ts refactor: dedupe shared helper branches 2026-04-08 15:58:45 +01:00
io.owner-display-secret.test.ts fix(config): stop owner-display barrel cycles 2026-04-09 02:08:02 +01:00
io.owner-display-secret.ts fix(config): stop owner-display barrel cycles 2026-04-09 02:08:02 +01:00
io.runtime-snapshot-write.test.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
io.shell-env-expected-keys.test.ts refactor: resolve channel env vars from plugin manifests 2026-04-06 19:53:27 +01:00
io.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
io.write-config.test.ts test: fix disabled plugin config validation 2026-04-09 04:38:50 +01:00
io.write-prepare.test.ts fix: repair ci lockfile and boundary drift 2026-04-07 09:02:26 +01:00
io.write-prepare.ts test: split config io coverage 2026-04-07 08:14:35 +01:00
issue-format.test.ts
issue-format.ts
legacy-migrate.test-helpers.ts
legacy.rules.ts refactor: move legacy config migrations under doctor 2026-04-05 16:55:10 +01:00
legacy.shared.test.ts
legacy.shared.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
legacy.ts fix(config): apply filtered doctor compat at read time 2026-04-06 20:45:07 +01:00
load-channel-config-surface.test.ts test(config): reuse temp dir helper in config surface tests 2026-04-06 06:32:38 +01:00
logging-max-file-bytes.test.ts perf: narrow config test imports 2026-04-11 01:18:10 +01:00
logging.test.ts
logging.ts
markdown-tables.test.ts test(config): fix markdown table mock typing 2026-04-05 19:04:55 -04:00
markdown-tables.ts fix(cycles): continue seam extraction 2026-04-11 10:43:22 +01:00
markdown-tables.types.ts fix(cycles): bulk extract leaf type surfaces 2026-04-11 13:26:50 +01:00
materialize.ts refactor: move elevenlabs talk config into plugin 2026-04-05 14:11:10 +01:00
mcp-config.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
mcp-config.ts refactor: dedupe config record helpers 2026-04-06 23:08:46 +01:00
media-audio-field-metadata.ts feat(media): add request transport overrides (#59848) 2026-04-03 17:35:26 +09:00
merge-patch.proto-pollution.test.ts
merge-patch.test.ts
merge-patch.ts
model-alias-defaults.test.ts refactor: break runtime import cycles 2026-04-09 03:56:22 +01:00
model-input.ts refactor: dedupe primary string helpers 2026-04-07 10:37:39 +01:00
mutate.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
mutate.ts
normalize-exec-safe-bin.ts
normalize-paths.test.ts perf(runtime): trim config, media, and secrets tests 2026-04-08 01:49:23 +01:00
normalize-paths.ts
paths.test.ts
paths.ts
plugin-auto-enable.apply.ts fix(cycles): narrow plugin auto enable imports 2026-04-11 23:33:41 +01:00
plugin-auto-enable.channels.test.ts test: narrow plugin auto-enable manifest coverage 2026-04-11 05:54:36 +01:00
plugin-auto-enable.core.test.ts test: narrow plugin auto-enable manifest coverage 2026-04-11 05:54:36 +01:00
plugin-auto-enable.detect.ts fix(cycles): narrow plugin auto enable imports 2026-04-11 23:33:41 +01:00
plugin-auto-enable.model-support.test.ts Revert "refactor(cli): remove bundled cli text providers" 2026-04-06 13:40:41 +01:00
plugin-auto-enable.prefer-over.ts fix(cycles): narrow plugin auto enable imports 2026-04-11 23:33:41 +01:00
plugin-auto-enable.providers.test.ts fix(plugins): remove xai boundary leaks 2026-04-06 12:08:44 +01:00
plugin-auto-enable.shared.ts fix(cycles): narrow plugin auto enable imports 2026-04-11 23:33:41 +01:00
plugin-auto-enable.test-helpers.ts Revert "refactor(cli): remove bundled cli text providers" 2026-04-06 13:40:41 +01:00
plugin-auto-enable.ts fix(config): split plugin auto enable types 2026-04-09 08:13:41 +01:00
plugin-auto-enable.types.ts fix(cycles): narrow plugin auto enable imports 2026-04-11 23:33:41 +01:00
plugin-web-search-config.test.ts perf(config): trim web search config helper imports 2026-04-08 08:51:01 +01:00
plugin-web-search-config.ts perf(config): trim web search config helper imports 2026-04-08 08:51:01 +01:00
plugins-allowlist.ts perf(plugin-sdk): narrow provider contract config types 2026-04-07 11:55:02 +01:00
plugins-runtime-boundary.test.ts
port-defaults.test.ts fix: keep browser cdp range wide for high ports 2026-04-11 13:55:08 +01:00
port-defaults.ts fix: keep browser cdp range wide for high ports 2026-04-11 13:55:08 +01:00
prototype-keys.ts
provider-policy.ts refactor: break runtime import cycles 2026-04-09 03:56:22 +01:00
redact-snapshot.raw.test.ts config: skip empty string in raw redaction to avoid corrupting snapshot (#28214) 2026-04-03 17:11:06 -04:00
redact-snapshot.raw.ts config: skip empty string in raw redaction to avoid corrupting snapshot (#28214) 2026-04-03 17:11:06 -04:00
redact-snapshot.restore.test.ts test: move dead helper fixtures into test helpers 2026-04-06 17:51:21 +01:00
redact-snapshot.schema.test.ts test: move dead helper fixtures into test helpers 2026-04-06 17:51:21 +01:00
redact-snapshot.secret-ref.ts
redact-snapshot.test-helpers.ts
redact-snapshot.test.ts test: move dead helper fixtures into test helpers 2026-04-06 17:51:21 +01:00
redact-snapshot.ts refactor: reduce redaction type assertions 2026-04-11 01:52:29 +01:00
runtime-group-policy.test.ts
runtime-group-policy.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
runtime-overrides.test.ts
runtime-overrides.ts
runtime-schema.test.ts fix(plugins): prevent schema load from re-activating plugin registry (#54971) 2026-04-09 10:17:26 +01:00
runtime-schema.ts
runtime-snapshot.test.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
runtime-snapshot.ts test: split config runtime recovery coverage 2026-04-07 09:35:33 +01:00
schema-base.ts feat(config): add rich description fields to JSON Schema output [AI-assisted] (#60067) 2026-04-04 22:10:08 +03:00
schema.base.generated.test.ts Config: align LLM idle timeout defaults 2026-04-11 15:48:58 +10:00
schema.base.generated.ts chore(release): prepare 2026.4.11 2026-04-12 01:05:56 +01:00
schema.help.quality.test.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
schema.help.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
schema.hints.test.ts feat(providers): reopen model request transport config (#60327) 2026-04-03 23:25:11 +09:00
schema.hints.ts refactor: dedupe command config lowercase helpers 2026-04-07 20:57:03 +01:00
schema.labels.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
schema.shared.test.ts
schema.shared.ts
schema.tags.ts feat(ui): render assistant directives and add embed tag (#64104) 2026-04-11 07:32:53 -05:00
schema.test.ts fix: allow private network provider request opt-in (#63671) 2026-04-10 11:11:03 +05:30
schema.ts refactor: dedupe config lowercase helpers 2026-04-07 13:44:42 +01:00
sessions.cache.test.ts test(config): reuse suite temp root tracker in session cache tests 2026-04-06 10:48:45 +01:00
sessions.test.ts fix(test): align runtime config expectations 2026-04-07 00:33:46 +01:00
sessions.ts
shell-env-expected-keys.ts refactor: resolve channel env vars from plugin manifests 2026-04-06 19:53:27 +01:00
state-dir-dotenv.ts
talk-defaults.test.ts refactor: replace 156k-line generated baselines with SHA-256 hash files 2026-04-04 16:49:21 +09:00
talk-defaults.ts
talk.normalize.test.ts test: make talk and compaction config checks pure 2026-04-11 05:52:03 +01:00
talk.ts fix(cycles): continue seam extraction 2026-04-11 10:43:22 +01:00
test-helpers.ts fix: stabilize agent and config isolation 2026-04-07 15:28:46 +01:00
thread-bindings-config-keys.test.ts refactor: move legacy config migrations under doctor 2026-04-05 16:55:10 +01:00
types.acp.ts
types.agent-defaults.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
types.agents-shared.ts feat(agents): allow disabling PI harness fallback 2026-04-10 21:22:16 +01:00
types.agents.ts agents: add strict-agentic execution contract 2026-04-10 22:56:37 +01:00
types.approvals.ts feat(approvals): auto-enable native chat approvals 2026-04-02 17:30:40 +01:00
types.auth.ts fix: narrow auth permanent lockouts 2026-04-04 02:35:27 +09:00
types.base.ts fix(config): normalize channel streaming config shape (#61381) 2026-04-06 05:08:20 +01:00
types.browser.ts fix(config): remove remaining legacy surface leaks (#60726) 2026-04-04 15:55:31 +09:00
types.channel-messaging-common.ts feat: add configurable context visibility 2026-04-03 04:34:57 +09:00
types.channels.ts test(lint): refresh suppression tail guardrail 2026-04-06 21:05:18 +01:00
types.cli.ts
types.cron.ts
types.discord.ts fix(config): normalize channel streaming config shape (#61381) 2026-04-06 05:08:20 +01:00
types.gateway.ts feat(ui): render assistant directives and add embed tag (#64104) 2026-04-11 07:32:53 -05:00
types.googlechat.ts refactor(reply): type reply threading policy 2026-04-05 21:40:56 +01:00
types.hooks.ts fix(config): hide legacy internal hook handlers 2026-04-04 04:26:51 +09:00
types.imessage.ts feat: add configurable context visibility 2026-04-03 04:34:57 +09:00
types.installs.ts
types.irc.ts docs: update IRC host examples 2026-04-05 13:27:04 +01:00
types.mcp.ts
types.memory.ts
types.messages.ts
types.models.ts fix: support inferrs string-only completions 2026-04-07 15:55:20 +01:00
types.msteams.ts feat(msteams): add federated credential support (certificate + managed identity) (#53615) 2026-04-11 13:29:22 -05:00
types.node-host.ts
types.openclaw.ts
types.plugins.ts
types.provider-request.ts fix: allow private network provider request opt-in (#63671) 2026-04-10 11:11:03 +05:30
types.queue.ts
types.sandbox.ts
types.secrets.ts refactor: dedupe secret ref record helper 2026-04-06 23:08:46 +01:00
types.signal.ts fix: emit passive hooks for mention-skipped group messages (#60018) 2026-04-03 10:14:48 +05:30
types.skills.ts
types.slack.ts feat(slack): add thread.requireExplicitMention config option (#58276) 2026-04-06 17:05:11 -07:00
types.telegram.ts fix(config): normalize channel streaming config shape (#61381) 2026-04-06 05:08:20 +01:00
types.tools.ts agents: add strict-agentic execution contract 2026-04-10 22:56:37 +01:00
types.ts feat(media): add request transport overrides (#59848) 2026-04-03 17:35:26 +09:00
types.tts.ts fix(config): remove legacy config aliases from public schema 2026-04-04 01:24:14 +09:00
types.whatsapp.ts feat: add configurable context visibility 2026-04-03 04:34:57 +09:00
validation.allowed-values.test.ts test: narrow allowed-values validation coverage 2026-04-11 04:57:11 +01:00
validation.channel-metadata.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
validation.policy.test.ts perf: narrow plugin config test surfaces 2026-04-11 13:55:08 +01:00
validation.ts test: narrow allowed-values validation coverage 2026-04-11 04:57:11 +01:00
version.test.ts
version.ts
web-search-codex-config.test.ts Codex: add native web search for embedded Pi runs 2026-04-01 03:30:06 +09:00
zod-schema.agent-defaults.test.ts fix: honor heartbeat timeoutSeconds (#64491) 2026-04-11 00:39:21 +01:00
zod-schema.agent-defaults.ts fix(agent-init): move session startup context into the runtime (#65055) 2026-04-11 21:52:16 -05:00
zod-schema.agent-model.ts
zod-schema.agent-runtime.ts fix(config): add timeoutSeconds support to agents.defaults.heartbeat 2026-04-11 00:39:21 +01:00
zod-schema.agents.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
zod-schema.allowdeny.ts
zod-schema.approvals.ts
zod-schema.channels.ts
zod-schema.core.ts Fix: Sync asyncCompletion config in zod-schema.ts to resolve "Unrecog… (#63618) 2026-04-11 11:12:09 +01:00
zod-schema.cron-retention.test.ts
zod-schema.hooks.ts
zod-schema.installs.ts
zod-schema.logging-levels.test.ts
zod-schema.markdown-tables.test.ts
zod-schema.providers-core.ingest.test.ts fix: emit passive hooks for mention-skipped group messages (#60018) 2026-04-03 10:14:48 +05:30
zod-schema.providers-core.ts feat(msteams): add federated credential support (certificate + managed identity) (#53615) 2026-04-11 13:29:22 -05:00
zod-schema.providers-whatsapp.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
zod-schema.providers.lazy-runtime.test.ts fix(config): lazily resolve bundled channel runtimes 2026-04-06 18:57:00 +01:00
zod-schema.providers.ts fix(cycles): bulk extract leaf type surfaces 2026-04-11 13:26:50 +01:00
zod-schema.secret-input-validation.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
zod-schema.sensitive.ts
zod-schema.session-maintenance-extensions.test.ts
zod-schema.session.ts refactor: dedupe config cli command trimmed readers 2026-04-08 01:36:38 +01:00
zod-schema.signal-groups.test.ts test: reduce config validation imports 2026-04-11 05:32:20 +01:00
zod-schema.talk.test.ts
zod-schema.ts feat(ui): render assistant directives and add embed tag (#64104) 2026-04-11 07:32:53 -05:00
zod-schema.tts.test.ts
zod-schema.typing-mode.test.ts