Commit Graph

5744 Commits

Author SHA1 Message Date
YeonGyu-Kim 102b5f96e7 fix(delegate-task): require one goal per deep call
The caller-facing description told orchestrators WHAT `deep` is but
never specified goal cardinality, so they bundled multiple goals into
one call (e.g. "fix X + merge Y + deploy Z"). The deep agent's own
prompt was already configured to refuse such bundles, but only after
they arrived. The rule now lives on the caller side: ONE goal + ONE
deliverable per call; multiple goals must fan out as parallel `deep`
calls.
2026-05-07 18:36:03 +09:00
YeonGyu-Kim 788fbec0d7 fix desktop plugin startup without Bun 2026-05-07 18:36:03 +09:00
YeonGyu-Kim 4bcbbdd966 Merge pull request #3832 from herjarsa/fix/desktop-electron-bun-protocol-compat
fix(desktop): hide bun:sqlite import from Node.js/Electron ESM loader
2026-05-07 18:35:11 +09:00
YeonGyu-Kim df48af33a6 Merge pull request #3830 from code-yeongyu/fix/posthog-billing-optimization
fix(posthog): disable feature flags, remove plugin_loaded for billing optimization
2026-05-07 17:43:22 +09:00
github-actions[bot] 9861510478 @herjarsa has signed the CLA in code-yeongyu/oh-my-openagent#3832 2026-05-07 08:39:05 +00:00
herjarsa 3a93a40e68 fix(desktop): hide bun:sqlite import from Node.js/Electron ESM loader
Uses new Function() to prevent the static ESM loader from seeing
the bun: protocol import at parse time. In Electron/Node.js, the
import() call is evaluated at runtime and gracefully returns null
when bun:sqlite is unavailable.

Fixes #3829, likely fixes #3762
2026-05-07 10:38:31 +02:00
YeonGyu-Kim 8586cb8965 fix(posthog): disable feature flags, remove plugin_loaded event for billing optimization
- Remove plugin_loaded telemetry from index.ts (was 46.5% of all events, ~2.83M/month)
- Add enableLocalEvaluation: false to prevent feature flag polling/decide calls
- Add strictLocalEvaluation: true to prevent server fallback requests
- Add disableRemoteConfig: true to prevent remote config network requests
- Remove 'plugin_loaded' from PostHogActivityReason type
- Update tests: remove stale mocks, add SDK options verification test
- enableExceptionAutocapture: false already present (kept)

Estimated billing reduction: ~$960+/month from feature flag requests,
plus ~2.83M fewer events/month from plugin_loaded removal.
2026-05-07 16:44:05 +09:00
YeonGyu-Kim 10f9559ccc Merge pull request #3810 from code-yeongyu/fix/ralph-loop-retry-runtime-errors-v2
fix(continuation): retry runtime errors immediately
2026-05-07 12:03:40 +09:00
YeonGyu-Kim dfc7dfae2e feat(delegate-task): add GPT-5.3-codex specialized deep category prompt
- DEEP_CATEGORY_PROMPT_APPEND_GPT_5_3_CODEX preserving all DEEP knowledge (atomic task treatment, root cause bias, ambition scaled, completion bar, status sparse) plus codex-specific additions: bias to action, parallel-batch exploration, code implementation discipline, worktree safety, plan closure, pragmatic final-message format\n- resolveDeepCategoryPromptAppend now routes codex first, then 5.5, else legacy (preserves existing 5.5 and 5.4 test invariants)\n- Tests: assert codex no longer falls back to legacy, content tests mirroring the 5.5 pattern (style markers, knowledge preservation, parallel-batch framing, materially different from siblings)

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 11:56:01 +09:00
YeonGyu-Kim 5eea7024d5 feat(agents): add GPT-5.2 specialized prompts for oracle and momus
- Add isGpt5_2Model type guard\n- ORACLE_GPT_5_2_PROMPT consolidating all knowledge from Claude default, GPT-5.4 generic, and GPT-5.5 variants (XML-tagged blocks, concrete verbosity clamps, long-context re-grounding, anti-narration tool rules, high-risk self-check)\n- MOMUS_GPT_5_2_PROMPT preserving blocker-finder philosophy with new tool_usage_rules block for parallel reference verification\n- Momus GPT-5.2 reasoningEffort set to xhigh per evaluation rigor needs

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 11:55:54 +09:00
YeonGyu-Kim ebe26eab17 fix(ralph-loop): guard runtime error retries 2026-05-07 11:50:44 +09:00
YeonGyu-Kim 83ec352899 merge dev into continuation runtime retry
# Conflicts:
#	src/hooks/ralph-loop/non-abort-error-continuation.test.ts
2026-05-07 11:34:33 +09:00
YeonGyu-Kim 2c70938d81 test(ralph-loop): cover ultrawork runtime retry 2026-05-07 11:27:46 +09:00
YeonGyu-Kim 6a2d19d605 fix(atlas): retry boulder after runtime errors 2026-05-07 11:27:44 +09:00
YeonGyu-Kim cd88e3567d chore(gitignore): ignore session/debugging artifacts and tool caches
Add patterns for runtime residue that should never be committed:
- .dori/ - dori-sync sibling cache
- .playwright-mcp/ - Playwright MCP browser cache
- .debug-journal*.md - debugging skill workspace journals
- session-ses_*.md - exported session dumps
2026-05-07 11:23:49 +09:00
YeonGyu-Kim 40ded422c0 chore(drafts): remove stale gpt-5.5 prompt drafts
All 5 prompts have been applied to the live codebase:
- sisyphus.md     -> src/agents/sisyphus/gpt-5-5.ts
- sisyphus-junior -> src/agents/sisyphus-junior/gpt-5-5.ts
- hephaestus.md   -> src/agents/hephaestus/gpt-5-5.ts
- oracle.md       -> src/agents/oracle.ts (ORACLE_GPT_5_5_PROMPT inline)
- deep.md         -> src/tools/delegate-task/openai-categories.ts (DEEP_CATEGORY_PROMPT_APPEND_GPT_5_5)

The drafts/ directory served its purpose as a design spec staging area
and is no longer the source of truth.
2026-05-07 11:22:24 +09:00
github-actions[bot] 519080525d @oyi77 has signed the CLA in code-yeongyu/oh-my-openagent#3823 2026-05-06 20:27:57 +00:00
YeonGyu-Kim 1ad0fd4ac8 Merge pull request #3748 from code-yeongyu/fix/simple-github-bugs-1948-3564
fix: resolve simple triaged GitHub bugs
2026-05-06 18:43:58 +09:00
YeonGyu-Kim ef66516ea4 Merge pull request #3801 from code-yeongyu/fix/directory-agents-non-string-output
fix(directory-agents-injector): guard against non-string output.output (#3800)
2026-05-06 18:17:36 +09:00
YeonGyu-Kim 7bd863b214 Merge pull request #3813 from code-yeongyu/fix/agent-name-backslash-sanitize
fix(agent): sanitize backslash/quote from agent name
2026-05-06 18:14:39 +09:00
YeonGyu-Kim d9ef03f1a5 test(agent): guard queueItem assertion against empty queue race 2026-05-06 17:50:11 +09:00
YeonGyu-Kim 25d183fbe8 fix(agent): sanitize backslash/quote from agent name in launch() and background-executor
Agent names like \hephaestus\ cause 'Agent not found' errors because
sanitizeSubagentType() was only called in subagent-resolver.ts but not
in the direct manager.launch() path or background-executor.ts.

- manager.ts: strip leading/trailing backslash/quote chars from input.agent
  before validation so \hephaestus\ → hephaestus
- background-executor.ts: call sanitizeSubagentType(args.subagent_type)
  instead of passing raw value to manager.launch()
- agent-display-names.ts: reuse sanitizeSubagentType in stripAgentListSortPrefix
- Add unit tests for all three fix points

Fixes: sessions dying with 'Agent not found: \hephaestus\'
2026-05-06 17:41:41 +09:00
YeonGyu-Kim 66a6f42d73 fix(todo-continuation-enforcer): preserve overload countdown 2026-05-06 17:36:03 +09:00
YeonGyu-Kim 89c959955a fix(team-mode): gate tmux layout cleanup by config
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-06 17:36:03 +09:00
YeonGyu-Kim b4791c85ca fix(team-mode): keep tmux visualization in caller window
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-06 17:36:03 +09:00
YeonGyu-Kim 675f7880fe fix(team-mode): resolve caller tmux window target
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-06 17:36:03 +09:00
YeonGyu-Kim 9dd0e9fb0e Merge pull request #3622 from MoerAI/fix/truncate-tool-error-output
fix(tool-execute-after): cap excessively long tool output to prevent TUI flooding (fixes #3586)
2026-05-06 17:22:53 +09:00
YeonGyu-Kim 44948872eb Merge pull request #3612 from MoerAI/fix/doctor-exit-137-handling
fix(doctor): catch unexpected failures and provide actionable diagnostics (fixes #3345)
2026-05-06 17:22:47 +09:00
YeonGyu-Kim 462d774d1c Merge pull request #3610 from MoerAI/fix/credit-balance-too-low-fallback
fix(error-classifier): classify credit balance too low as quota_exceeded for fallback (fixes #3571)
2026-05-06 17:22:26 +09:00
MoerAI 2971322952 fix(doctor): catch unexpected failures and provide actionable diagnostics (fixes #3345) 2026-05-06 17:17:56 +09:00
MoerAI a22416d270 fix(error-classifier): classify credit balance too low as quota_exceeded for fallback (fixes #3571) 2026-05-06 17:17:23 +09:00
YeonGyu-Kim 7ac1109611 Merge pull request #3636 from lucasyounger/codex/fix-3629-worktree-plan-path
fix(boulder): resolve continuation progress from worktree plan
2026-05-06 17:15:21 +09:00
YeonGyu-Kim 37d981ef1f Merge pull request #3634 from auyua9/fix/ast-grep-pattern-hints
fix(ast-grep): restore pattern hints in tools
2026-05-06 17:15:17 +09:00
YeonGyu-Kim 0a7306c6c1 Merge pull request #3637 from ihoooohi/fix/claude-thinking-legacy-alias-collision
fix(aliases): stop rewriting canonical claude-opus-4-6-thinking
2026-05-06 17:15:09 +09:00
YeonGyu-Kim 7e43beaa9e Merge pull request #3620 from MoerAI/fix/sisyphus-prompt-plan-reference
fix(agents): reference prometheus instead of conditional plan alias in prompts (fixes #3596)
2026-05-06 17:15:05 +09:00
YeonGyu-Kim 62a7356de3 Merge pull request #3621 from MoerAI/fix/skill-tool-respects-plugins-config
fix(tool-registry): pass plugins config to skill tool for proper command filtering (fixes #3582)
2026-05-06 17:15:01 +09:00
YeonGyu-Kim 9b87fd5019 Merge pull request #3744 from Arcadi4/dev
Allow "max" option for "reasoningEffort" field in config schema
2026-05-06 17:14:57 +09:00
YeonGyu-Kim 6a341fcb8f Merge pull request #3595 from samuele-ruffino96/feature/opencode-go-model-upgrade
feat(opencode-go): upgrade to GLM 5.1 and Kimi K2.6 models and change non-existent minimax-m2.7-highspeed
2026-05-06 16:59:34 +09:00
Samuele Domenico Ruffino f31860b17d fix(docs): resolve model table inconsistencies in installation guide
- Add Qwen 3.5 Plus to Different-Behavior Models table (new opencode-go model)
- Fix MiniMax M2.7 Highspeed providers: opencode-go removed, vercel added
- Split Kimi K2.5/K2.6 entries: K2.6 on opencode-go/vercel, K2.5 on other providers
- Add GLM 5.1 entry for opencode-go/vercel alongside existing GLM 5
- Add vercel to MiniMax M2.7 providers
2026-05-06 16:53:39 +09:00
Samuele Domenico Ruffino df7f64db3c fix(docs): correct Explore and Librarian fallback chains in installation guide
The documented chains were missing entries and had wrong providers:
- Librarian was missing openai/gpt-5.4-mini-fast, vercel/minimax-m2.7-highspeed,
  and the last two entries. Also had opencode/ instead of vercel/ for
  minimax-m2.7-highspeed.
- Explore had github-copilot|xai/grok-code-fast-1 as primary (which doesn't
  exist in the fallback chain) and was missing openai/gpt-5.4-mini-fast.
Both now match the exact runtime chains from model-requirements.ts.
2026-05-06 16:52:42 +09:00
Samuele Domenico Ruffino 467a4a5eed fix(test): use toContain instead of providers[0].toBe for multi-provider entries
Restore consistent assertion style in librarian and explore tests.
Multi-provider entries like ["opencode-go", "vercel"] should use
toContain() not providers[0].toBe() to match the established pattern.
2026-05-06 16:51:59 +09:00
Samuele Domenico Ruffino b7d77da88f fix(capabilities): add kimi-k2.6 to supplemental model entries
kimi-k2.6 is referenced in fallback chains but missing from the bundled snapshot (which only has kimi-k2.5). Added supplemental entry with specs matching models.dev data.
2026-05-06 16:51:59 +09:00
Samuele Domenico Ruffino 1e93d37df6 docs(opencode-go): update docs and fallback chain tables to reflect glm-5.1, kimi-k2.6, qwen3.5-plus 2026-05-06 16:50:33 +09:00
Samuele Domenico Ruffino 6cd40df4cb feat(opencode-go): upgrade glm-5 → glm-5.1 and kimi-k2.5 → kimi-k2.6 in fallback chains 2026-05-06 16:45:30 +09:00
Samuele Domenico Ruffino 0727d9a1a3 fix(opencode-go): replace non-existent minimax-m2.7-highspeed with qwen3.5-plus 2026-05-06 16:45:30 +09:00
YeonGyu-Kim ad2255e51b Merge pull request #2227 from DEAN-Cherry/docs/speed-up-fallback
docs: add guide for speeding up fallback with proxy APIs
2026-05-06 16:40:59 +09:00
YeonGyu-Kim d1a7c8f17a Merge pull request #3096 from s2mr/fix/git-master-language-agnostic-support
docs(git-master): make language handling generic (incl. Japanese examples)
2026-05-06 16:40:56 +09:00
YeonGyu-Kim b0c7c9f0cd Merge pull request #3811 from code-yeongyu/feat/readme-dori-image-update-v2
docs(readme): replace dated star-count copy in banner with timeless site catchphrases
2026-05-06 16:39:19 +09:00
YeonGyu-Kim abba70cb1e Merge pull request #3691 from islee23520/chore/gpt-5.5-followup-cleanup
docs: align GPT-5.5 model references
2026-05-06 16:39:03 +09:00
YeonGyu-Kim 4deecdf99d Merge pull request #3358 from lrq3000/patch-1
docs(install): Update installation commands for humans in documentation to oh-my-openagent
2026-05-06 16:37:04 +09:00