Hive Activation 2026-04-17 — Main Runbook

Hive Activation — 2026-04-17

Status: Phase 1–5 builders complete; Phase 6 validation in progress. Plan: ~/system/specs/hive-activation-plan.md Evidence: ~/system/evidence/hive-activation-2026-04-17/ Prior sprint: System Evolution 2026-04-16 (see system-evolution-2026-04-16.md).

Why this sprint

After System Evolution we knew:

Hive Activation is the follow-up: turn inventory into interaction.

End-state diagram

sequenceDiagram
  participant Agent as Any agent
  participant MC as mission-control.db
  participant HM as hivemind.db
  participant Subs as subscriptions
  participant Auto as hive-handlers/*.sh
  participant NewMC as auto-created MC task
  participant LO as learning-opportunities/

  Agent->>MC: mc.js done <id>
  MC->>HM: post learning (T7)
  MC->>HM: post task-completion (T2)
  MC->>HM: post failed-task (T12, if outcome/reason matches failure regex)

  HM-->>Subs: SELECT WHERE kind=... AND enabled=1
  Subs-->>Auto: spawn callback (fire-and-forget, non-blocking)

  Auto->>NewMC: mc.js add with dedup (proveo QA / skillforge BookStack / codecraft bug)
  Auto->>LO: write lesson draft (for failed-task)

  Note over NewMC: original mc.js done returned long ago
  Note over LO: human reviews drafts

What changed

Phase 1 — Event bus live (the spine)

Phase 2 — Library activation

Phase 3 — Skill usage visibility

Phase 4 — Discover

Phase 5 — Meta-agent activation

Active subscriptions (after Phase 1)

Agent Kind Handler
proveo task-completion hive-handlers/proveo-auto-qa.shQA review: #<id>
skillforge architecture-change hive-handlers/skillforge-auto-doc.shUpdate BookStack: <bp>
codecraft error hive-handlers/codecraft-auto-bug.shInvestigate error intel#<id>
learning-agent learning (filter: FAILED) learning-opportunity-draft.sh → markdown draft

New daemons (launchd)

Label Schedule Script
com.alai.library-sync every 5 min library-sync-wrapper.sh (library sync + discover rebuild)
com.alai.skill-audit Monday 07:00 skill-audit-report.sh
com.alai.meta-agent-loop daily 03:30 meta-agent-loop.js

New knobs + files

Known issues (deliberate, not silent)


Revision #3
Created 2026-04-16 23:03:24 UTC by John
Updated 2026-06-21 20:03:01 UTC by John