Eyejoker
fc9f2867b9
refactor: simplify paired review system and add reviewer container isolation
...
Phase 1 — Strip over-engineering (-3,665 lines):
- DB tables: 7 → 3 (remove executions, approvals, artifacts, events)
- Task statuses: 11 → 5 (active, review_ready, in_review, merge_ready, completed)
- Remove plan governance, event sourcing, gate/verdict, freshness guards
- paired-execution-context: 980 → 299 lines
- Session commands: remove /risk, /plan, /approve-plan, /request-plan-changes
Phase 2 — Container isolation for reviewers:
- Add container-runtime.ts (Docker abstraction)
- Add credential-proxy.ts (API key injection without container exposure)
- Add container-runner.ts (reviewer-specific read-only mount + tmpfs)
- Add container/Dockerfile + agent-runner (Chromium, Claude Code, Codex)
- agent-runner.ts: auto-route reviewer execution to container mode
2026-03-29 18:24:56 +09:00
Eyejoker
3dd41f749e
fix: harden stack restart migration
2026-03-29 07:33:13 +09:00
Eyejoker
ca578d1627
feat: add stack restart orchestration
2026-03-29 07:08:01 +09:00
Eyejoker
0e12a560a4
feat: finalize paired tasks on deploy completion
2026-03-29 06:42:03 +09:00
Eyejoker
dad6f50937
feat: enforce paired reviewer gate verdicts
2026-03-29 06:03:45 +09:00
Eyejoker
29310ce67f
feat: recover paired executions after restart
2026-03-29 05:06:25 +09:00
Eyejoker
bb30330c66
feat: add paired execution freshness guard
2026-03-29 04:37:42 +09:00
Eyejoker
03ff69fdd0
fix: tighten auto review checkpoints
2026-03-29 03:58:14 +09:00
Eyejoker
d460933229
feat: add paired intent checkpoints
2026-03-29 03:34:55 +09:00
Eyejoker
2d8f8151dd
style: sync high-risk plan gate formatting
2026-03-29 02:14:44 +09:00
Eyejoker
b536c90716
feat: add high-risk paired plan gate
2026-03-29 02:13:57 +09:00
Eyejoker
c76ed1d10a
fix: reconcile governance scaffold follow-up
2026-03-29 01:38:30 +09:00
Eyejoker
dc8dd98e84
feat: scaffold paired governance state
2026-03-29 01:35:57 +09:00
Eyejoker
b0c833fd70
fix: keep review requests pending without owner workspace
2026-03-29 00:21:29 +09:00
Eyejoker
29053d3273
feat: formalize paired review command flow
2026-03-28 23:36:46 +09:00
Eyejoker
9006b92648
style: sync paired workspace sparse formatting
2026-03-28 21:34:25 +09:00
Eyejoker
eee09e8b7c
fix: clean reviewer snapshots and scope git guard
2026-03-28 21:34:06 +09:00
Eyejoker
06b6326a9d
style: sync paired workspace formatting fallout
2026-03-28 21:15:16 +09:00
Eyejoker
e7f49d77da
feat: add paired review workspace flow
2026-03-28 21:14:25 +09:00
Eyejoker
79a8a2639e
feat: add structured room role metadata
2026-03-28 19:30:32 +09:00
Eyejoker
806e5e4ff1
fix: keep codex approval wording role-based
2026-03-28 17:02:50 +09:00
Eyejoker
772fea45df
refactor: share owner prompts and tighten silent output guidance
2026-03-28 07:46:13 +09:00
Eyejoker
b97d1a6260
refactor: unify typing policy across services
2026-03-28 06:52:57 +09:00
Eyejoker
de913985ba
fix: promote visible progress after silent final
2026-03-28 06:27:36 +09:00
Eyejoker
38d96578a4
refactor: move retry and recovery paths to structured output helpers
2026-03-28 06:17:52 +09:00
Eyejoker
47dda19ded
fix: block malformed structured silent envelope leaks
2026-03-28 06:04:26 +09:00
Eyejoker
0eb2270030
style: sync structured output formatting fallout
2026-03-28 05:57:50 +09:00
Eyejoker
fe6314108c
feat: add structured silent output contract
2026-03-28 05:56:58 +09:00
Eyejoker
e1fdc47552
style: sync pre-commit formatting fallout
2026-03-28 05:41:16 +09:00
Eyejoker
ba9f6871b6
feat: add codex review failover and suppress output hardening
2026-03-28 05:40:38 +09:00
Eyejoker
d1c693fb17
fix: treat signal-killed agents as success when output was delivered
...
Two bugs fixed:
1. agent-runner: process close handler only checked `code !== 0`,
but signal kills (SIGTERM/SIGKILL from post-close cleanup) set
code=null which was misclassified as error even after successful
output delivery. Now checks `code === null && signal` and resolves
as success when hadStreamingOutput is true.
2. message-agent-executor: wrappedOnOutput persisted newSessionId
before checking for poisoned session, allowing a stale session to
be re-saved after clearSession. Reordered to check poison first
and guard persist with !resetSessionRequested.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 21:25:30 +09:00
Eyejoker
c4744177e9
style: format extractWatchCiTarget line wrap
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 20:59:25 +09:00
Eyejoker
7b63ba859d
fix: deduplicate CI watchers and remove task ID from watcher prompts
...
Prevent duplicate CI completion notifications in paired rooms by checking
for existing active watchers with the same channel+provider+metadata before
creating a new one. Remove Task ID from watcher prompt construction to
avoid router secret redaction (task- IDs contain sk- pattern), passing
EJCLAW_RUNTIME_TASK_ID via env var instead and making cancel_task
auto-resolve when task_id is omitted.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 20:57:59 +09:00
Eyejoker
b6dc500daf
docs: add ouroboros prompt design attribution to README
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 20:40:50 +09:00
Eyejoker
18d7b315ea
chore: clean remaining nanoclaw references from skill files
...
Update add-compact, add-voice-transcription, customize, and
update-skills SKILL.md files to reference EJClaw instead of NanoClaw.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 19:11:41 +09:00
Eyejoker
2fd4cfc9d0
chore: align setup with EJClaw dual-service architecture
2026-03-26 19:10:07 +09:00
Eyejoker
3efacbdda1
chore: remove legacy nanoclaw CI workflows
...
Remove bump-version, update-tokens, and merge-forward-skills workflows
inherited from upstream nanoclaw. These require APP_ID/APP_PRIVATE_KEY
secrets not configured for EJClaw and are unnecessary for the current
direct-deploy model. Only ci.yml (PR checks) is retained.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 16:56:13 +09:00
Eyejoker
9152a4ee18
style: format Claude usage cache migration guard
2026-03-26 16:37:38 +09:00
Eyejoker
d865a6b07f
fix: stabilize Claude usage cache across token refreshes
2026-03-26 16:37:00 +09:00
Eyejoker
34c9ecd10b
docs: update README to reflect current architecture and features
...
Add multi-account token rotation, provider fallback, CI monitoring,
usage dashboard. Fix Codex description (SDK, not app-server). Add
Authentication section with setup-token instructions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 11:37:30 +09:00
Eyejoker
f79baf1ff8
fix: avoid Claude token refresh races across services
2026-03-26 10:25:09 +09:00
Eyejoker
2b74e6fe40
style: format streamed output evaluator test
2026-03-26 10:13:02 +09:00
Eyejoker
a330ebdf2a
fix: suppress Claude 502 provider errors from chat output
2026-03-26 10:11:24 +09:00
Eyejoker
bba19b0c0f
docs: clarify Claude internal visibility rules
2026-03-25 23:43:46 +09:00
Eyejoker
8b5624731c
docs: add GitHub CI watcher usage guide to platform prompts
...
Both Claude and Codex platform prompts now include a short
section explaining when to use structured GitHub fields
(ci_provider, ci_repo, ci_run_id) for the host-driven fast
path instead of the generic LLM-per-tick watcher.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-25 23:19:26 +09:00
Eyejoker
5c2e8e4fdc
feat: allow status dashboard header without room details
2026-03-25 23:00:39 +09:00
Eyejoker
c7ba983ea6
feat: show watcher counts in status dashboard header
2026-03-25 22:52:02 +09:00
Eyejoker
20ca6c10fc
style: fix prettier formatting in GitHub watcher scheduler tests
2026-03-25 22:44:02 +09:00
Eyejoker
09b4309d96
feat: add GitHub watcher backoff and auto-pause safeguards
2026-03-25 22:43:35 +09:00
Eyejoker
f51f282eb1
chore: update agent-runner package-lock.json
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-25 22:31:57 +09:00