Commit Graph

16 Commits

Author SHA1 Message Date
Codex
6036430c60 style(turns): apply prettier line-wrap from pre-commit hook 2026-07-26 18:07:33 +09:00
Codex
142929ba39 fix(turns): clear progress ticker on abnormal turn exit to prevent zombie progress messages
turnController.finish() is the only path that clears the 5s progress ticker,
but it lives inside the caller's try block in message-runtime-turns.ts. When
runAgent throws / is aborted / is killed (e.g. a user "중단"), control jumps to
finally and finish() is skipped, leaving the ticker editing the Discord message
forever — an orphaned "stuck at 0s" zombie progress message with no backing
task/attempt.

Add an idempotent MessageTurnController.dispose() that tears down the progress
ticker + idle timer, and always call it from the caller's finally so timers are
cleared on every exit path. Adds a regression test.
2026-07-26 18:07:17 +09:00
Codex
1dd948a7ac merge: integrate origin/main (406 commits) into live branch
Merge upstream's paired-room stabilization, dedicated message-runtime-loop,
outbound delivery refactor (ipc-outbound-delivery / deliverFormattedCanonicalMessage),
discord module split, dashboard rework, and migrations 015-018 into our branch.

Conflict policy: prefer upstream for the heavily-refactored paired-room /
message-runtime / db cluster (it supersedes our earlier loop band-aids), keep
only orthogonal unique fixes:
- codex bundled-JS launcher fix (codex-warmup.ts)
- slot-aligned Claude+Codex usage primer (usage-primer.ts) re-wired into index.ts
- MemoryHigh=3G cgroup bound, discord perms diagnostic, prompt docs
- progress null-race + silent-failure publish guards (message-turn-controller.ts)

Dropped (superseded by upstream or unwired): reviewer STEP_DONE/TASK_DONE loop
band-aids, router markdown-escape override, register tribunal-default+git-init,
restart-context rewindToSeq (unwired).

Verified: typecheck clean, build clean, vitest shows zero new regressions vs the
origin/main baseline (only pre-existing env-config failures remain).
2026-06-08 21:15:39 +09:00
Codex
1509108e04 backup current stable ejclaw state 2026-05-27 10:53:31 +09:00
ejclaw
e20cd2f1b0 fix: treat human-interrupted paired runs as preempted 2026-05-26 03:25:38 +09:00
Eyejoker
d52556fd28 fix: preserve structured attachment outputs (#17) 2026-04-25 14:41:46 +09:00
ejclaw
3c13ab6ed8 style: format structured attachment test 2026-04-25 09:22:01 +09:00
ejclaw
83b7aef494 Add structured Discord attachments 2026-04-25 09:21:47 +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
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
4e05f60400 refactor: land approved runtime cleanup and room binding cutover 2026-04-10 21:04:23 +09:00
ejclaw
2e62e125ae Audit outbound delivery and fix reviewer turn routing 2026-04-10 15:22:45 +09:00