YeonGyu-Kim
e2f304f1a8
fix(telemetry): validate activity state shape
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-11 21:25:27 +09:00
YeonGyu-Kim
acb0f6b006
fix(install): isolate installer telemetry failures
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-11 21:25:27 +09:00
YeonGyu-Kim
2510870133
fix(run): isolate CLI telemetry failures
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-11 21:25:26 +09:00
YeonGyu-Kim
c09ee32fe9
fix(telemetry): isolate plugin telemetry failures
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-11 21:25:26 +09:00
YeonGyu-Kim
e4bb60ba07
Merge pull request #3339 from Qiiks/fix/shell-detection-shell-before-psmodulepath
...
fix(shell-env): check SHELL before PSModulePath for shell detection
2026-04-11 21:14:02 +09:00
YeonGyu-Kim
a442976d77
Fix invisible characters in agent names
2026-04-11 20:44:57 +09:00
Qiiks
f5a95203a4
fix(shell-env): check SHELL before PSModulePath for shell detection
...
On Windows, PSModulePath is always set by the system even when the
active shell is Git Bash (via SHELL env var). This caused the
non-interactive-env hook to generate PowerShell syntax ($env:VAR=val)
for bash shells, resulting in 15+ errors per command.
The fix prioritizes SHELL over PSModulePath since an explicit SHELL
variable indicates the user's chosen shell, while PSModulePath is just
a system-wide module path that doesn't indicate the active shell.
Fixes : #3338
2026-04-11 16:06:42 +05:30
YeonGyu-Kim
044e1f5ab9
fix(agents): restore ZWSP runtime names in name field for OpenCode sort ordering
...
Reverts getAgentDisplayName back to getAgentRuntimeName in the remapper
and default_agent assignment. OpenCode sorts agents by name via
localeCompare, so ZWSP prefixes in the name field are required to
preserve canonical core agent order (sisyphus > hephaestus > prometheus > atlas).
2026-04-11 15:00:13 +09:00
YeonGyu-Kim
111dcd17a2
fix(agents): backfill ZWSP runtime names for agents missing name field
...
agent-key-remapper now unconditionally injects getAgentRuntimeName()
into the name field, ensuring OpenCode's localeCompare sort preserves
canonical core agent order even when builtin configs omit name.
Also fixes 3 pre-existing test failures where builtinSisyphusConfig
expected the original name to survive remapping.
2026-04-11 14:54:55 +09:00
YeonGyu-Kim
9f135af41c
fix: unify agent display names and strip invisible sort prefixes
...
- Replace getAgentRuntimeName with getAgentDisplayName for consistency
- Add stripAgentListSortPrefix helper to normalize agent names
- Strip sort prefixes in subagent-resolver and sync-executor
- Backfill canonical names for core agents when builtin configs omit name
- Update tests to match new behavior
2026-04-11 14:53:01 +09:00
YeonGyu-Kim
c30b058b7e
fix(agents): use runtime names for default_agent to match ordered agent list
2026-04-11 14:15:00 +09:00
YeonGyu-Kim
365900b17f
feat(telemetry): add install command events and user-facing telemetry notice
2026-04-11 14:14:36 +09:00
YeonGyu-Kim
1c27000c37
feat(telemetry): instrument CLI run command with lifecycle events
2026-04-11 14:14:32 +09:00
YeonGyu-Kim
4e80a1b1ae
feat(telemetry): add plugin_loaded event for entry tracking
2026-04-11 14:14:28 +09:00
YeonGyu-Kim
280a8a34e1
feat(telemetry): add PostHog client factory with activity state tracking
2026-04-11 14:14:24 +09:00
YeonGyu-Kim
146be96716
Merge pull request #3328 from code-yeongyu/fix/effort-hook-small-model-3308
...
fix(anthropic-effort): skip effort injection for Haiku models
2026-04-11 13:48:50 +09:00
YeonGyu-Kim
522f8aab6c
fix: move Haiku check before variant check for reliability
...
Addresses cubic-dev-ai review feedback. The Haiku early-return now
runs immediately after model validation, ensuring it's always reached
regardless of any upstream variant normalization.
2026-04-11 13:44:35 +09:00
YeonGyu-Kim
b3e5d7de10
docs(agents): document permanent agent ordering policy
...
- Add CRITICAL: AGENT ORDERING section to plugin-handlers/AGENTS.md
- Document forbidden patterns (ZWSP, sort shims, display name heuristics)
- Explain the permanent fix: CANONICAL_CORE_AGENT_ORDER + alphabetical non-core
- State PR rejection policy for ordering workarounds
2026-04-11 13:07:48 +09:00
YeonGyu-Kim
7c154c6659
fix(anthropic-effort): skip effort injection for Haiku models ( #3308 )
...
Haiku models do not support the effort parameter and return API errors
when it is passed. The hook now explicitly checks for Haiku model
patterns and skips effort injection, preventing silent title generation
failures.
Added EFFORT_UNSUPPORTED_PATTERN and isEffortUnsupportedModel() to
detect and skip Haiku models.
Fixes #3308
2026-04-11 13:06:24 +09:00
YeonGyu-Kim
5c60d27cdc
fix(agents): enforce permanent canonical agent ordering with regression tests
...
The canonical agent order is: sisyphus → hephaestus → prometheus → atlas
Changes:
- Export CANONICAL_CORE_AGENT_ORDER as single source of truth
- Sort non-core agents alphabetically for deterministic ordering
- Add 12 regression tests including 100-permutation stability test
This permanently resolves the agent ordering saga that caused 15+ commits,
8+ PRs, and multiple reverts due to ZWSP prefixes, Object.entries() order
dependencies, and inconsistent merge sequences.
Closes #3281
2026-04-11 13:06:15 +09:00
YeonGyu-Kim
5493ae226c
fix(migration): persist fullMigrationSet in-config when sidecar write fails
...
Addresses Cubic review: configs without prior _migrations now get the
full migration set written to config as fallback when sidecar write
fails, preventing migration tracking loss.
2026-04-10 19:01:59 +09:00
YeonGyu-Kim
6ec9a2bd79
fix(openclaw): skip session.created dispatch for subagent sessions
2026-04-10 18:47:18 +09:00
YeonGyu-Kim
de156578ea
fix(stop-continuation): clear stop state for native work-starting commands
2026-04-10 18:47:18 +09:00
YeonGyu-Kim
9532440cb2
fix(plugin-handlers): remove ZWSP prefixes from API-facing agent paths
2026-04-10 18:47:18 +09:00
YeonGyu-Kim
68c8701d34
fix(migration): preserve _migrations in config when sidecar write fails
2026-04-10 18:47:18 +09:00
YeonGyu-Kim
10371d5bde
fix(agents): re-apply GPT apply_patch deny after config override merge
2026-04-10 18:47:17 +09:00
YeonGyu-Kim
e54f747916
fix(tests): replace as any with typed PluginInput mocks
2026-04-10 18:47:17 +09:00
YeonGyu-Kim
e7f5d0d5fd
test(shared): update shared utility tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:37 +09:00
YeonGyu-Kim
37057f18b9
test(tools): update MCP, delegate-task, skill, and slashcommand tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:35 +09:00
YeonGyu-Kim
ca9b5fde40
test(hooks): update claude-code, comment-checker, and rules-injector tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:33 +09:00
YeonGyu-Kim
8a4eacfd24
test(hooks): update multiple hook test suites
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:32 +09:00
YeonGyu-Kim
4180a0ba0a
test(features): update background agent, MCP loader, and tmux tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:30 +09:00
YeonGyu-Kim
12c9db729b
test(cli): update all CLI command tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:28 +09:00
YeonGyu-Kim
12a96eeb77
test(agents): update agent utility and builtin agent tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:27 +09:00
YeonGyu-Kim
77af6c643e
test(plugin-handlers): update all plugin handler tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:25 +09:00
YeonGyu-Kim
c21c3630ca
test(plugin): update plugin config and registry tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:25 +09:00
YeonGyu-Kim
fa1b4650ce
test(core): update main test setup and core tests
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:25 +09:00
YeonGyu-Kim
0e74f5a749
fix(hooks): improve comment checker CLI runner
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:20 +09:00
YeonGyu-Kim
08c4757824
fix(hooks): improve auto update checker
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:19 +09:00
YeonGyu-Kim
c9aedbc77f
fix(cli): improve doctor system check
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:18 +09:00
YeonGyu-Kim
d4ce03411c
fix(plugin-handlers): simplify tool config handler
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:16 +09:00
YeonGyu-Kim
fba3e1b3f7
fix(tools): improve delegate task constants and sync handling
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:14 +09:00
YeonGyu-Kim
111cf6d1a9
fix(hooks): improve session last agent tracking
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:13 +09:00
YeonGyu-Kim
25abda684c
fix(hooks): improve image resizer implementation
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:12 +09:00
YeonGyu-Kim
5a762ba2ca
fix(hooks): improve rules injector implementation
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:10 +09:00
YeonGyu-Kim
bd910ad011
fix(shared): improve compaction marker and tmux server health
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:09 +09:00
YeonGyu-Kim
7244d048fb
feat(session-manager): implement session management tools
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:08 +09:00
YeonGyu-Kim
1a090af2eb
feat(tools): add tools for session manager and skill refresh
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:07 +09:00
YeonGyu-Kim
150dd1c89b
feat(plugin): add PostHog tracking to plugin initialization
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:05 +09:00
YeonGyu-Kim
785d6e2dee
feat(cli): add PostHog tracking and improve runner hooks
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 15:53:04 +09:00