1---2name: auto-reply3description: Skill for the Auto-reply area of Wiki. 326 symbols across 153 files.4---56# Auto-reply78326 symbols | 153 files | Cohesion: 55%910## When to Use1112- Working with code in `AI/`13- Understanding how isPathWithinBase, parseCommand, parseBooleanValue work14- Modifying auto-reply-related functionality1516## Key Files1718| File | Symbols |19|------|---------|20| `AI/3-Application/Openclaw-source/src/auto-reply/commands-registry.ts` | buildSkillCommandDefinitions, listChatCommands, listChatCommandsForConfig, getTextAliasMap, normalizeCommandBody (+11) |21| `AI/3-Application/Openclaw-source/src/auto-reply/reply.triggers.trigger-handling.test-harness.ts` | getRunEmbeddedPiAgentMock, requireSessionStorePath, readSessionStore, runDirectElevatedToggleAndLoadStore, makeCfg (+6) |22| `AI/3-Application/Openclaw-source/src/auto-reply/fallback-state.ts` | truncateFallbackReasonPart, formatFallbackAttemptReason, formatFallbackAttemptSummary, buildFallbackReasonSummary, buildFallbackAttemptSummaries (+5) |23| `AI/3-Application/Openclaw-source/src/auto-reply/command-auth.ts` | resolveProviderFromContext, resolveFallbackAllowFrom, resolveCommandAuthorization, normalizeAllowFromEntry, shouldUseFromAsSenderFallback (+5) |24| `AI/3-Application/Openclaw-source/src/auto-reply/status.ts` | formatCommandEntry, buildCommandItems, buildCommandsMessage, buildCommandsMessagePaginated, formatTokens (+4) |25| `AI/3-Application/Openclaw-source/src/auto-reply/thinking.shared.ts` | normalizeProviderId, isBinaryThinkingProvider, supportsBuiltInXHighThinking, listThinkingLevelLabels, resolveThinkingDefaultForModel (+4) |26| `AI/3-Application/Openclaw-source/src/auto-reply/reply.directive.directive-behavior.e2e-harness.ts` | replyText, makeWhatsAppDirectiveConfig, replyTexts, sessionStorePath, makeElevatedDirectiveConfig (+2) |27| `AI/3-Application/Openclaw-source/src/auto-reply/skill-commands.ts` | dedupeBySkillName, listSkillCommandsForAgents, findSkillCommand, resolveSkillCommandInvocation, listReservedChatSlashCommandNames (+1) |28| `AI/3-Application/Openclaw-source/src/auto-reply/commands-registry.data.ts` | getChatCommands, defineChatCommand, defineDockCommand, registerAlias, assertCommandRegistry (+1) |29| `AI/3-Application/Openclaw-source/src/auto-reply/chunk.ts` | chunkByNewline, chunkText, resolveChunkEarlyReturn, chunkMarkdownText, pickSafeBreakIndex (+1) |3031## Entry Points3233Start here when exploring this area:3435- **`isPathWithinBase`** (Function) — `AI/3-Application/Openclaw-source/test/helpers/paths.ts:2`36- **`parseCommand`** (Function) — `AI/3-Application/Openclaw-source/src/tui/commands.ts:39`37- **`parseBooleanValue`** (Function) — `AI/3-Application/Openclaw-source/src/utils/boolean.ts:10`38- **`resolveThreadParentSessionKey`** (Function) — `AI/3-Application/Openclaw-source/src/sessions/session-key-utils.ts:111`39- **`isMattermostMutableAllowEntry`** (Function) — `AI/3-Application/Openclaw-source/src/security/mutable-allowlist-detectors.ts:68`4041## Key Symbols4243| Symbol | Type | File | Line |44|--------|------|------|------|45| `isPathWithinBase` | Function | `AI/3-Application/Openclaw-source/test/helpers/paths.ts` | 2 |46| `parseCommand` | Function | `AI/3-Application/Openclaw-source/src/tui/commands.ts` | 39 |47| `parseBooleanValue` | Function | `AI/3-Application/Openclaw-source/src/utils/boolean.ts` | 10 |48| `resolveThreadParentSessionKey` | Function | `AI/3-Application/Openclaw-source/src/sessions/session-key-utils.ts` | 111 |49| `isMattermostMutableAllowEntry` | Function | `AI/3-Application/Openclaw-source/src/security/mutable-allowlist-detectors.ts` | 68 |50| `formatAllowFromLowercase` | Function | `AI/3-Application/Openclaw-source/src/plugin-sdk/allow-from.ts` | 30 |51| `isNormalizedSenderAllowed` | Function | `AI/3-Application/Openclaw-source/src/plugin-sdk/allow-from.ts` | 54 |52| `getFileExtension` | Function | `AI/3-Application/Openclaw-source/src/media/mime.ts` | 79 |53| `isGifMedia` | Function | `AI/3-Application/Openclaw-source/src/media/mime.ts` | 159 |54| `parseLogLine` | Function | `AI/3-Application/Openclaw-source/src/logging/parse-log-line.ts` | 40 |55| `parseCaseFilter` | Function | `AI/3-Application/Openclaw-source/src/image-generation/live-test-helpers.ts` | 8 |56| `parseProviderModelMap` | Function | `AI/3-Application/Openclaw-source/src/image-generation/live-test-helpers.ts` | 43 |57| `resolveConfiguredLiveImageModels` | Function | `AI/3-Application/Openclaw-source/src/image-generation/live-test-helpers.ts` | 59 |58| `add` | Function | `AI/3-Application/Openclaw-source/src/image-generation/live-test-helpers.ts` | 62 |59| `isWindowsPlatform` | Function | `AI/3-Application/Openclaw-source/src/infra/exec-approvals-analysis.ts` | 420 |60| `isSafeBinUsage` | Function | `AI/3-Application/Openclaw-source/src/infra/exec-approvals-allowlist.ts` | 50 |61| `listSkillCommandsForAgents` | Function | `AI/3-Application/Openclaw-source/src/auto-reply/skill-commands.ts` | 64 |62| `resolveSkillCommandInvocation` | Function | `AI/3-Application/Openclaw-source/src/auto-reply/skill-commands.ts` | 165 |63| `parseConfiguredAcpSessionKey` | Function | `AI/3-Application/Openclaw-source/src/acp/persistent-bindings.types.ts` | 108 |64| `matchesExactOrPrefix` | Function | `AI/3-Application/Openclaw-source/extensions/openai/shared.ts` | 5 |6566## Execution Flows6768| Flow | Type | Steps |69|------|------|-------|70| `ProcessMessage → ToLowerCase` | cross_community | 8 |71| `HandleSpeculationAccept → ToLowerCase` | cross_community | 8 |72| `CompactEmbeddedPiSessionDirect → ToLowerCase` | cross_community | 6 |73| `RegisterTelegramHandlers → Trim` | cross_community | 6 |74| `RegisterTelegramHandlers → ToLowerCase` | cross_community | 6 |75| `RegisterTelegramHandlers → GetActivePluginRegistry` | cross_community | 6 |76| `UseRemoteSession → ToLowerCase` | cross_community | 6 |77| `MonitorDiscordProvider → ToLowerCase` | cross_community | 6 |78| `StartGatewayServer → ToLowerCase` | cross_community | 5 |79| `AttachGatewayWsMessageHandler → ToLowerCase` | cross_community | 5 |8081## Connected Areas8283| Area | Connections |84|------|-------------|85| Scripts | 107 calls |86| Monitor | 18 calls |87| Agents | 17 calls |88| Plugins | 13 calls |89| Reply | 13 calls |90| Infra | 12 calls |91| Ink | 9 calls |92| Commands | 6 calls |9394## How to Explore95961. `gitnexus_context({name: "isPathWithinBase"})` — see callers and callees972. `gitnexus_query({query: "auto-reply"})` — find related execution flows983. Read key files listed above for implementation details