From 21cad26c089219c14e4bd03819fe27a019edeae3 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 11 Apr 2026 23:37:17 +0900 Subject: [PATCH] docs(config): remove redundant schema default comments Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/config/schema/dynamic-context-pruning.ts | 2 -- src/config/schema/ralph-loop.ts | 2 -- src/config/schema/start-work.ts | 1 - 3 files changed, 5 deletions(-) diff --git a/src/config/schema/dynamic-context-pruning.ts b/src/config/schema/dynamic-context-pruning.ts index 1d99c95c2..e4c07ec98 100644 --- a/src/config/schema/dynamic-context-pruning.ts +++ b/src/config/schema/dynamic-context-pruning.ts @@ -1,9 +1,7 @@ import { z } from "zod" export const DynamicContextPruningConfigSchema = z.object({ - /** Enable dynamic context pruning (default: false) */ enabled: z.boolean().default(false), - /** Notification level: off, minimal, or detailed (default: detailed) */ notification: z.enum(["off", "minimal", "detailed"]).default("detailed"), /** Turn protection - prevent pruning recent tool outputs */ turn_protection: z diff --git a/src/config/schema/ralph-loop.ts b/src/config/schema/ralph-loop.ts index 23770f056..ba061d287 100644 --- a/src/config/schema/ralph-loop.ts +++ b/src/config/schema/ralph-loop.ts @@ -1,9 +1,7 @@ import { z } from "zod" export const RalphLoopConfigSchema = z.object({ - /** Enable ralph loop functionality (default: false - opt-in feature) */ enabled: z.boolean().default(false), - /** Default max iterations if not specified in command (default: 100) */ default_max_iterations: z.number().min(1).max(1000).default(100), /** Custom state file directory relative to project root (default: .opencode/) */ state_dir: z.string().optional(), diff --git a/src/config/schema/start-work.ts b/src/config/schema/start-work.ts index 7daae0c3d..59ae9be45 100644 --- a/src/config/schema/start-work.ts +++ b/src/config/schema/start-work.ts @@ -1,7 +1,6 @@ import { z } from "zod" export const StartWorkConfigSchema = z.object({ - /** Enable auto-commit after each atomic task completion (default: true) */ auto_commit: z.boolean().default(true), })