Examples

Director daemon

Real production manifest — process supervisor, email, comms, MCP.

The director daemon is the first service registered via ASMP. It supervises processes, runs email intelligence, and exposes the registry MCP tools.

Manifest

asmp: "0.1"
kind: service

name: director-daemon
description: "Director of AI — process supervisor, email daemon, comms, MCP"
version: "1.0.0"
created_by: macdash-migration
owner: daniel
section: tools

lifecycle:
  launchd_label: com.aicholdings.director-daemon
  start: launchctl load ~/Library/LaunchAgents/com.aicholdings.director-daemon.plist
  stop: launchctl unload ~/Library/LaunchAgents/com.aicholdings.director-daemon.plist

run:
  style: daemon

endpoints:
  - protocol: http
    host: 127.0.0.1
    port: 7400
    visibility: loopback

health:
  method: http
  target: http://localhost:7400/health
  interval: 30s
  timeout: 5s

capabilities:
  provides:
    - process.supervise
    - email.classify
    - email.decide
    - comms.search
  requires:
    - claude-p

logs:
  path: ~/.director-daemon/supervisor.log

repo: ~/repos-personal/aic-director-daemon

display:
  icon: "🎯"
  label: Director Daemon
  section: tools
  critical: true
  url: http://director.reeves/status

Discovery

service_find(capability="email.classify")
→ director-daemon (healthy, :7400)
service_find(capability="comms.search")
→ director-daemon (healthy, :7400)

Role in the stack

Director daemon is both a registered service (declared via ASMP) and the registry host (runs the MCP discovery tools). Bootstrap chicken-and-egg: it registers itself, then helps other services register.