Carol — back to Apps ← Apps

Carolopedia

A friendly guide to Carol, her ecosystem, and the agents who built her.

📖 CarolopediaDroidsInitiative Closer
Initiative Closer

Initiative Closer

Droid Runs the post-commit close-event hooks when an initiative status is committed
Go to droid →

📖About & Usage

Owner agent — accountability this droid serves

Elrond is accountable for the build pipelines close machinery. When an initiatives status is committed, the post-commit close-event hooks must be performed by a named, accountable droid rather than loose logic inside the initiatives app (Design #146 / #173, cookbook 272).

Droid responsibility

The Initiative Closer runs the four post-commit close-event hooks after the PUT handler commits a status change: flips the orion.bypass dispatch_queue lock on terminal status (INI-446), rolls component actuals into running averages on close (INI-682), runs quality scoring plus the rolling-average regression check on close (INI-322), and runs the per-initiative audit plus follow-on filer on any terminal state (INI-465/623/636) - exactly as they ran inside the app before phase 3. Carries the write-side quality scoring engine so the scoring hook is self-contained.

What the droid actually does

  • Triggered whenever an initiative status is committed through the initiatives app PUT handler.
  • Runs each of the four close-event hooks as a separate best-effort step; one failing never blocks the others.
  • On terminal status, flips the bypass dispatch lock and runs the audit plus follow-on filer.
  • On close, rolls up component actuals and computes and persists the quality score.
  • Records a session_event and a Palantir post on every close.

Boundaries

  • Owns and closes its own database connections; never relies on a callers connection.
  • Behavior is preserved exactly from the app (phase 3 is a relocation, not a refactor).
  • Does NOT hold the close gate (status guard, terminal-reopen guard, closure review-must-pass guard) - those stay in the app endpoint before the UPDATE.
  • Reached only through the initiatives apps shared shim, never imported by the app directly.
  • Does not touch the bypass book, cookbook, or initiative status rows beyond what the original hooks did.

👤Owner

Elrond · Head of Engineering

📚Recent initiatives

Initiatives that touched this droid — a short summary each; open one for the full story.

CAROL-INI-0884-00: Finish initiatives-app agent-centric compliance
Finish CAROL-INI-867 intent so the initiatives app passes the L2.1 agent-centric checker. (1) New Bypass Shipper Elrond droid: extract ship_initiative_bypass + record_bypass_audit\u2026
Orion · 2026-06-07 15:15
Browse all initiatives →