The AaaS ecosystem operates 4,380+ assets across 7 distinct types — skills, Cloud Functions, applications, directives, execution scripts, context files, and agents. Until now, none of these assets declared where they sit in the business lifecycle, what they consume, what they produce, or what triggers them.
This architectural addition introduces a machine-readable metadata layer that enables any supervisor agent to autonomously orchestrate workflows based on business logic — resolving dependency graphs, respecting human gates, and routing work through the correct domain-specific pipeline.
process: SchemaA single metadata block added to any asset type. Lives in YAML frontmatter (skills, directives, agents), sidecar .process.yaml files (Cloud Functions, scripts), or package.json (apps).
A generated central index (registry/asset-registry.yaml) built by scanning distributed process: metadata across all asset sources. Truth lives at the source; the registry is a fast-queryable index.
A Python engine that reads the registry, builds directed acyclic graphs (DAGs), resolves triggers and gates, discovers downstream assets, and can execute process chains autonomously.
Every asset declares which domain it belongs to and which lifecycle stage it performs. The 7 domains map to distinct areas of business activity:
| Domain | Description | Phases | Assets |
|---|---|---|---|
| Research | Intelligence gathering, market scanning, competitive analysis | discover → analyze → synthesize → validate |
6 |
| Content | Content creation from research to publication | scout → intake → forge → digest → publish |
2 |
| Sales | Lead generation, proposals, client activation | prospect → qualify → propose → negotiate → activate |
0 (defined, not yet annotated) |
| Delivery | Agent execution, task processing, response delivery | receive → route → execute → verify → deliver |
0 (functions not yet annotated) |
| Growth | SEO, social, email marketing, analytics, retention | attract → engage → convert → retain → expand |
0 (functions not yet annotated) |
| Operations | Health monitoring, system maintenance, incident response | monitor → alert → diagnose → remediate → report |
7 |
| Infrastructure | Auth, hosting, database, functions, DNS, security | provision → configure → deploy → validate → scale |
4 |
Orthogonal to domains, every asset also declares a lifecycle stage:
think → plan → build → verify → ship → operate
Process chains define ordered sequences of assets that form complete business workflows. The orchestrator reads these to build executable DAGs.
The 11-phase Universal Agentic Production Protocol. Minimum viable: Phases 1–3.
End-to-end content automation extracted from GravityClaw.
New user signup through context generation, email nurture, and account activation.
Research agent to publication pipeline with quality gates.
Inbound request through agent processing to response delivery.
The default operating mode for all non-trivial build tasks.
| Asset | Domain | Lifecycle | Trigger | Gate | Cost |
|---|---|---|---|---|---|
| scout-research | Research | think | cron (daily 8am) | none | cheap |
| research-protocol | Research | think | manual | human_block | standard |
| content-pipeline | Content | build | upstream | review | standard |
| knowledge-graph | Research | build | upstream | none | cheap |
| context-engineering | Research | build | upstream | none | standard |
| prompt-library | Content | build | upstream | none | standard |
| youtube-digest | Research | think | manual | none | cheap |
| routing-llm | Infrastructure | operate | upstream | none | cheap |
| find-skills | Operations | plan | manual | none | cheap |
| security-engineer | Infrastructure | verify | upstream | review | standard |
| Directive | Domain | Lifecycle | Gate |
|---|---|---|---|
| autonomous_build_protocol | Operations | plan | none |
| confirmation_gates | Operations | verify | none |
| delivery_reporting | Operations | ship | none |
| human_delegation | Operations | operate | human_block |
| model_routing_policy | Infrastructure | operate | none |
| production_protocol | Research | think | approval |
| security_protocol | Infrastructure | verify | review |
| skill_discovery | Operations | plan | none |
| system_awareness | Operations | plan | none |
| Phase | Scope | Assets | Status |
|---|---|---|---|
| Phase 0 | Schema, taxonomy, README | 3 files | Complete |
| Phase 1 | Named process chain definitions | 6 DAGs | Complete |
| Phase 2a | Skills + directives annotation | 19 assets | Complete |
| Phase 2b | Cloud Function sidecars | 24 functions | Pending |
| Phase 2c | Execution script sidecars | 6 scripts | Pending |
| Phase 3 | Registry builder + validator | 2 tools | Complete |
| Phase 4 | Process orchestrator | 1 engine | Complete |
| Phase 5 | Vault bulk annotation | ~4,224 skills | Future |
| Phase 6 | AGENTS.MD + goals.md + directive | 3 files | Future |
| Decision | Chosen | Why |
|---|---|---|
| Metadata location | Hybrid (distributed + index) | Truth stays at source; index enables fast queries. Same pattern as npm/Kubernetes. |
| Functions metadata | Sidecar .process.yaml | Clean separation from TypeScript; independently parseable. |
| Registry scope | ~156 active assets | Keeps YAML manageable; vault skills stay in Pinecone. |
| DAG vs Events | Both | Named processes = DAG; per-asset triggers = event-driven. |
| Taxonomy approach | Curated core + emergent | 7 domains defined upfront; new ones added to domains.yaml. |
| Migration strategy | Phased (50 → 50 → 4,224) | Critical path first; vault bulk-inferred last. |