Commit Graph

988 Commits

Author SHA1 Message Date
ejclaw
2b32b72119 paired: decouple unsafe host mode from fresh reviewer sessions 2026-04-22 06:47:52 +09:00
ejclaw
091f34ed23 paired: preserve prior owner and reviewer finals across superseded tasks 2026-04-22 06:02:27 +09:00
ejclaw
1122ace363 paired: disable latest owner final carry-forward by default 2026-04-22 05:51:43 +09:00
ejclaw
8fff703f84 test/runtime: align executor specs and bundled cli resolution 2026-04-20 13:33:13 +09:00
ejclaw
fc1c377cf1 fix(runtime): guard carry-forward prompts and support inbound IPC injection 2026-04-20 13:31:34 +09:00
ejclaw
5de25ca0aa fix(runners): explicitly resolve bundled Claude Code binary path
SDK 0.2.114's optional-dep resolution tries linux-x64-musl first even on
glibc systems, failing if the musl package is installed as empty shell
(directory exists but binary missing). This caused 'Claude Code native
binary not found' errors on Ubuntu hosts after upgrading SDK.

Add a platform-aware helper (resolveBundledClaudeCodeExecutable) that:
- Respects EJCLAW_CLAUDE_CLI_PATH env override for custom deployments
- Probes platform-specific bundled binary paths in order (glibc before musl)
- Throws with tried-paths list if none exist (vs SDK's silent fallback)

Wire it into agent-runner query() calls (main run + session command).

Also bumps @anthropic-ai/claude-agent-sdk ^0.2.101 -> 0.2.114 so the
bundled CLI supports the 'xhigh' effort level introduced in CLI 2.1.111.

Keeps EJClaw self-contained: no system /home/*/.local/bin/claude dependency.

Verified with CLAUDE_EFFORT=xhigh:
- 37/37 agent-runner tests pass (+ 8 new bundled-cli-path tests)
- reviewer agent-run Exit Code 0 (Duration 183s) after restart
- paired_turn_attempts failed count: 97 -> 0 after fix
- Discord reviewer delivery confirmed
2026-04-20 11:09:50 +09:00
ejclaw
34a51c95b2 build: restore dev type compatibility 2026-04-20 09:06:38 +09:00
ejclaw
be7383d68c style: format paired execution carry-forward changes 2026-04-20 08:20:17 +09:00
ejclaw
b6a24ad9fb paired: carry forward latest owner final across superseded tasks 2026-04-20 08:19:31 +09:00
ejclaw
a59813dee6 feat: support room-level reviewer and arbiter agent selection 2026-04-15 23:47:46 +09:00
ejclaw
1846d59d2f Format owner failure recovery changes 2026-04-15 03:11:47 +09:00
ejclaw
2ab3bddc0e Recover Codex compaction failures in paired owner flow 2026-04-15 03:11:14 +09:00
ejclaw
c76902a84b Release v0.2.2 2026-04-15 01:46:48 +09:00
ejclaw
533d0fbd18 Format supersession follow-up changes 2026-04-15 01:22:20 +09:00
ejclaw
0a6782f5c2 Fix merge-ready task supersession handling 2026-04-15 01:21:00 +09:00
ejclaw
df04ef25eb runtime: resume review after CI watcher completion 2026-04-13 10:51:17 +09:00
ejclaw
6e4a1a0d82 release: cut v0.2.1 2026-04-13 09:41:55 +09:00
ejclaw
9e152fac93 runner: narrow Claude task progress subagent mapping 2026-04-13 08:38:44 +09:00
ejclaw
721f0f65f0 runtime: suppress stale owner progress updates 2026-04-12 14:59:52 +09:00
ejclaw
1f4cd861af runtime: suppress stale owner progress flush 2026-04-12 14:18:22 +09:00
ejclaw
4275f4f984 prompts: anchor reviewer verification to workspace root 2026-04-12 00:31:19 +09:00
ejclaw
561eee050e build: refresh Claude and Codex SDKs 2026-04-11 23:21:29 +09:00
ejclaw
0185b5e6b6 docs: prepare 0.2.0 release notes 2026-04-11 21:00:10 +09:00
ejclaw
c984d972e1 paired: resync reviewer workspace to owner path 2026-04-11 20:12:53 +09:00
ejclaw
e458382d3d runtime: canonicalize Claude token env names 2026-04-11 14:32:43 +09:00
ejclaw
91caf81069 fix: run room migration during deploy 2026-04-11 13:57:05 +09:00
ejclaw
a1617b7456 runtime: unify final delivery and startup preconditions 2026-04-11 13:48:54 +09:00
ejclaw
dcf18b8797 runtime: replace owner progress with final delivery 2026-04-11 12:45:41 +09:00
ejclaw
29e39f25c9 paired: suppress reviewer progress flush before verdict 2026-04-11 09:56:59 +09:00
ejclaw
a858cc0cab paired: suppress stale finalize retries 2026-04-11 09:18:47 +09:00
ejclaw
fe9d265c66 paired: repair safe owner workspace branch mismatches 2026-04-11 08:45:47 +09:00
ejclaw
2b8f55deb6 runtime: centralize unsafe paired mode checks 2026-04-11 08:20:05 +09:00
ejclaw
af04fe04cf db: split runtime facade by domain 2026-04-11 08:09:29 +09:00
ejclaw
10fa7fb747 db: extract paired turn provenance helpers 2026-04-11 07:54:14 +09:00
ejclaw
7ef0738726 db: fold legacy runtime bootstrap into v7 2026-04-11 07:39:08 +09:00
ejclaw
eda59270e4 db: isolate paired turn provenance migration 2026-04-11 07:14:57 +09:00
ejclaw
eed2d5124f db: extract paired schema cleanup migrations 2026-04-11 06:57:41 +09:00
ejclaw
0e12daed8b db: split legacy schema bundle migrations 2026-04-11 06:34:41 +09:00
ejclaw
f81a6032f6 db: add versioned schema migration runner 2026-04-11 06:20:33 +09:00
ejclaw
c6b86f6dac runtime: split message agent executor lifecycle 2026-04-11 06:06:02 +09:00
ejclaw
88f8b3006c runtime: split ipc queue and runner helpers 2026-04-11 05:49:40 +09:00
ejclaw
30dda74621 setup: narrow legacy room registration surface 2026-04-11 05:28:26 +09:00
ejclaw
9237173e43 build: cover shared runtime files in format gate 2026-04-11 05:16:15 +09:00
ejclaw
f5c3393c32 runners: share protocol and reviewer policy 2026-04-11 05:07:05 +09:00
ejclaw
94d53e4cc3 build: unify bun quality gate 2026-04-11 04:47:16 +09:00
ejclaw
f10833e818 docs: add codebase simplification spec 2026-04-11 04:47:01 +09:00
ejclaw
e88073f2f8 fix: block stale paired IPC and duplicate finalize turns 2026-04-11 04:18:43 +09:00
ejclaw
320fc58763 Merge branch 'main' into codex/owner/ejclaw 2026-04-10 23:59:31 +09:00
ejclaw
bc42511771 fix: persist direct terminal verdicts for paired reviewers 2026-04-10 23:47:41 +09:00
ejclaw
d8b34db92c fix: persist direct terminal verdicts for paired reviewers 2026-04-10 23:41:41 +09:00