Skip to content

refactor(daemon): retire dead BEAM-mesh Reporter + in-process Coordinator (E4)#214

Merged
yairfalse merged 1 commit into
mainfrom
feature/monster-e4-retire-reporter
May 25, 2026
Merged

refactor(daemon): retire dead BEAM-mesh Reporter + in-process Coordinator (E4)#214
yairfalse merged 1 commit into
mainfrom
feature/monster-e4-retire-reporter

Conversation

@yairfalse
Copy link
Copy Markdown
Collaborator

Closes the Phase E E4 item with the retire decision.

Sykli.Reporter (BEAM-mesh worker→coordinator occurrence forwarder) was started by no supervisor, and its consumer — the in-process Sykli.Coordinator GenServer (started in daemon coordinator/full mode) — therefore had no producer and no query consumers (verified: nothing outside Reporter/daemon/its own test referenced it). Both were an isolated, dead subsystem.

Removed

  • core/lib/sykli/reporter.ex
  • core/lib/sykli/coordinator.ex (the in-process GenServer — not Coordinator.Client, the HTTP transport, which stays)
  • core/test/sykli/coordinator_test.exs
  • Sykli.Coordinator from daemon :coordinator/:full children

Team Mode coordination uses the self-hosted HTTP coordinator (Sykli.Coordinator.Client), unaffected. Daemon role distinctions (execute vs coordinate) live in placement logic, not this wiring.

Note: this supersedes Phase E's E2 fix (connected_nodes/0 Node.ping→Node.list) — that function is removed with the module. E2 was correct given the pre-retire decision; retiring is the agreed end state.

Verification

mix format / mix credo (clean) / mix test (1746, 0 failures) / mix escript.build; black-box 0 failed (GH-4 expected-red, deferred to Phase C).

🤖 Generated with Claude Code

…ator (E4)

Per the Phase E E4 decision (retire). Sykli.Reporter (the worker→coordinator
occurrence forwarder) was started by no supervisor; its consumer, the in-process
Sykli.Coordinator GenServer (daemon coordinator/full mode), therefore had no
producer and no query consumers. Removed both modules, the daemon child wiring,
and the coordinator test.

Team Mode coordination uses the self-hosted HTTP coordinator
(Sykli.Coordinator.Client → POST /v1/...), which is unaffected. Daemon
:coordinator/:full roles still differ in execution eligibility; they just no
longer start the dead GenServer.

Verification: mix format/credo/test (1746, 0 failures), escript.build,
black-box 0 failed (GH-4 expected-red).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@yairfalse yairfalse merged commit a0eec7d into main May 25, 2026
12 checks passed
@yairfalse yairfalse deleted the feature/monster-e4-retire-reporter branch May 25, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant