Phase 0 — research #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Deep-read gitea-webhooks, workspace-ops, agent-reliability, openclaw gateway internals, live system state. Produce ARCHITECTURE.md synthesizing the findings. Three Explore subagents spawned 2026-04-06. Exit: any architectural question answerable without re-grepping source.
Subagent 1 (gitea-webhooks deep read) completed. Report:
research/RESEARCH-01-gitea-webhooks-deep-read.md.Key findings:
slack.solio.tech/hooks/gitea, all haveSecret: NOT SET.Subagents 2 and 3 still running.
Subagents 2 and 3 completed. Reports saved:
research/RESEARCH-02-gateway-internals.md,research/RESEARCH-03-live-state-audit.md.CRITICAL finding from the live audit: openclaw is currently DEGRADED. The heartbeat config references a model
claudehack/claude-sonnet-4-6that does not exist, causing 8 of 12 cron jobs to fail (some with 20 consecutive failures). Thewebhook-verifycron andws-syncare among those failing. This is not a clean-swap migration — the current pipeline is on thin ice and the migration timeline matters.Good news from gateway internals: the migration scope is much smaller than feared. I do not need to replicate openclaws full orchestration (4-8 weeks). I only need the Gitea-facing slice — webhook ingress, event router, script fan-out, policy enforcement — which is a ~600-800 line bun listener (days, not weeks). Everything else stays owned by openclaw or uses Claude Code native primitives (Channels plugins, CronCreate).
Next step: synthesize the three reports into
ARCHITECTURE.mdand move to Phase 1 design.[DONE] Synthesized the three Phase 0 reports into
ARCHITECTURE.mdand pushed it on branchfeat/architecture-synthesis.Key conclusion: this is not a full OpenClaw replacement project. The migration boundary is the Gitea-facing slice only:
That keeps the replacement in the "small standalone listener" category instead of a 4-8 week orchestrator rewrite.
[WARN] The live audit changed the risk picture:
claudehack/claude-sonnet-4-6is invalidws-syncis stalewebhook-verifyis failingSo this is not just a clean migration for convenience. The surrounding automation is already on thin ice.
Recommended Phase 1 direction:
Branch:
feat/architecture-synthesisCommit:
416c575