Examples

Email service

Real production manifest — Reeves email ingestion and parsing.

The Reeves email service handles ingestion, parsing, threading, and entity extraction.

Manifest

asmp: "0.1"
kind: service

name: email
description: "Email ingestion, parsing, threading, entity extraction"
version: "1.0.0"
created_by: macdash-migration
owner: daniel
section: reeves

lifecycle:
  launchd_label: com.reeves.email
  start: launchctl load ~/Library/LaunchAgents/com.reeves.email.plist
  stop: launchctl unload ~/Library/LaunchAgents/com.reeves.email.plist
  reload: launchctl kickstart -k gui/501/com.reeves.email

run:
  style: daemon

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

health:
  method: http
  target: http://localhost:8787/email/healthz
  interval: 30s
  timeout: 5s

capabilities:
  provides:
    - email.ingest
    - email.parse
    - email.thread
    - email.entity
  requires:
    - postgresql

logs:
  path: ~/.local/log/reeves-email.log

repo: ~/repos-personal/reeves-email

display:
  icon: "✉️"
  label: Email
  section: reeves
  critical: true
  url: http://reeves.reeves/email/

Discovery

service_find(capability="email.ingest")
→ email (healthy, :8787)

Mod example

A compliance mod could attach without modifying the email service:

mods:
  - name: pii-scanner
    attaches_to: [email.parse]
    capabilities:
      provides: [compliance.pii_detect]
      requires: [email.entity]
    state: available