Skip to content

feat: add Symphony Hive Mode — multi-agent collaborative evolution#5

Merged
github-actions[bot] merged 8 commits intomasterfrom
codex/enhance-conversation-history-bridge
Mar 19, 2026
Merged

feat: add Symphony Hive Mode — multi-agent collaborative evolution#5
github-actions[bot] merged 8 commits intomasterfrom
codex/enhance-conversation-history-bridge

Conversation

@broomva
Copy link
Owner

@broomva broomva commented Mar 19, 2026

Summary

  • HiveConfig in symphony-config: agents_per_task, max_generations, convergence_threshold, egri_budget_per_agent, eval_script, spaces_server_id
  • Hive dispatch in symphony-orchestrator: is_hive_dispatch_eligible() allows N concurrent agents per issue (keyed {id}:hive-{n}), is_hive_issue() detects hive label
  • HiveCoordinator in new hive.rs: generation loop management, convergence detection, winner selection, hive prompt building with context injection
  • HiveSessionContext + run_hive_session() on ArcanAgentRunner: metadata propagation (hive_task_id, generation, agent_index), context-augmented prompts
  • CreateSessionRequest.metadata: optional metadata field for session-level key-value pairs

Cross-crate dependencies (already pushed to their repos)

  • aios-protocol: HiveTaskId + 5 EventKind variants (HiveTaskCreated, HiveArtifactShared, HiveSelectionMade, HiveGenerationCompleted, HiveTaskCompleted)
  • lago-core: EventQuery metadata/kind filters + HiveTask aggregate
  • arcan-spaces: HiveSpacesCoordinator for real-time agent coordination
  • autoany-core/autoany-lago: EgriLoop.inject_history() + replay_hive_history()

Test plan

  • cargo test --workspace — 298 tests passing (5 ignored)
  • cargo clippy --workspace — zero warnings
  • cargo fmt --all -- --check — clean
  • 11 new hive-specific tests: dispatch eligibility, convergence, prompt building, wiremock e2e
  • Manual E2E with Arcan daemon + hive-labeled Linear issue (requires runtime)

🤖 Generated with Claude Code

broomva and others added 8 commits March 18, 2026 13:20
Improve conversation-history.py with enhanced parsing, metadata
extraction, and session documentation. Add 13 new conversation
session docs from March 6-18 and update the Conversations index.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
README listed 7 crates but workspace has 8 (symphony-arcan was missing).
Also documented the dashboard/ TypeScript/React Turborepo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…out external APIs

Add a new `tracker.kind: markdown` that reads `.md` files from a local directory
as issues, with YAML front matter for metadata (id, title, state, priority,
labels, blocked_by). State transitions rewrite the front matter in-place.
No API keys or external services required.

Lago integration: every state transition and poll scan is journaled to
`{issues_dir}/.journal.jsonl` using Lago's `EventPayload::Custom` schema.
When `endpoint` points to a running Lago daemon, a session is created on
startup. Falls back to local-only journal when Lago isn't reachable.

- New: `crates/symphony-tracker/src/markdown.rs` (MarkdownClient + Journal)
- New: `examples/markdown-claude.md` WORKFLOW.md example
- Updated: tracker factory, config validator, CLI init scaffold
- Updated: EXTENDING.md, README, Configuration Reference, crate docs
- 26 new tests (68 total in symphony-tracker), all 285 workspace tests pass

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
HiveConfig in symphony-config with agents_per_task, max_generations,
convergence_threshold, egri_budget. Hive-aware dispatch in dispatch.rs
allowing multiple agents per issue. HiveCoordinator in new hive.rs with
generation management, winner selection, convergence detection, and
prompt building. HiveSessionContext + run_hive_session on ArcanAgentRunner
with metadata propagation and context injection. Updated docs.

Issues with 'hive' label + hive.enabled trigger multi-agent dispatch.
All other issues use existing single-agent path unchanged.

Part of Symphony Hive Mode (Phases 4-5).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Configuration Reference: add `hive` config section with all 7 fields
- Crate Map: update orchestrator line counts, add hive cross-crate deps
- Project Status: add Hive Mode to post-Phase 8 features table
- symphony-orchestrator.md: add hive.rs source file, dispatch rules, hive section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@railway-app railway-app bot temporarily deployed to symphony / symphony-pr-5 March 19, 2026 15:10 Destroyed
@railway-app
Copy link

railway-app bot commented Mar 19, 2026

🚅 Deployed to the symphony-pr-5 environment in symphony

Service Status Web Updated (UTC)
symphony 🕒 Building (View Logs) Web Mar 19, 2026 at 3:10 pm
2 services not affected by this PR
  • postgres
  • dashboard

@github-actions github-actions bot merged commit 1eb10bd into master Mar 19, 2026
9 of 10 checks passed
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