CRUMB a card from devarno-cloud

Primer Domain Extension Pipeline

grace advanced 8 min read

ELI5

A factory that builds new factories. Feed it a domain questionnaire; ten gated phases later it has produced 20–40 prompt units, a council of named agents, domain rules, and an RFC summarising what was built — all valid against the same SPEC-01..05 surface.

Technical Deep Dive

Source: architecture/GRACE-PROTOCOL-OVERVIEW.md “Primer Subsystem”. Reference chain: stratt://core/chain/domain-extension-pipeline@1.0.0.

Primer Council (Meta)

AgentRolePhase Ownership
ANALYST-01Domain analyst, gate authority0–2 (discovery, mapping, taxonomy)
GENERATOR-02Code-generation lead, protected3–7 (rule, supply, task, chain, role generation)
VALIDATOR-03Verification specialist8–9 (validation, RFC)

Ten Phases

PhaseNameOwner
0domain-discoveryANALYST-01
1workflow-mappingANALYST-01
2tag-taxonomy-designANALYST-01
3rule-generationGENERATOR-02
4supply-generationGENERATOR-02
5task-generationGENERATOR-02
6chain-compositionGENERATOR-02
7role-definitionGENERATOR-02
8domain-validationVALIDATOR-03
9rfc-generationVALIDATOR-03

Each phase boundary is a SPEC-04 gate.

Execution

sequenceDiagram
autonumber
participant Op as Operator
participant ANA as ANALYST-01
participant GEN as GENERATOR-02
participant VAL as VALIDATOR-03
participant CI as stratt ci
Op->>ANA: domain profile (questionnaire)
ANA->>ANA: phases 0-2 (discovery, mapping, taxonomy)
ANA->>GEN: gate(approved): taxonomy + signal words
GEN->>GEN: phases 3-7 (units + chains + roles)
GEN->>VAL: gate(approved): unit drafts
VAL->>CI: validate fingerprints, DAG, contracts, capabilities
alt CI fails
CI-->>VAL: FM-01..09 errors
VAL->>GEN: regenerate flagged units
else CI passes
VAL->>VAL: phase 9 RFC generation
VAL-->>Op: RFC + 20-40 unit addresses
end

Spec Hookups

flowchart LR
P0[Phase 0-2 discovery] --> S1[SPEC-01 typed contracts]
P3[Phase 3-7 generation] --> S1
P3 --> S2[SPEC-02 fingerprint]
P8[Phase 8 validation] --> S2
P8 --> S3[SPEC-03 DAG, no cycles]
P8 --> S4[FM-04 protected agent]
P8 --> S4b[FM-09 capability check]
P9[Phase 9 RFC] --> S5[SPEC-05 trace summary]
style P3 fill:#fef3c7
style P8 fill:#fef3c7

Neuro: First Horizontal Extension

Status: production. 30 units (12 tasks, 4 chains, 5 rules, 4 supplies, 5 roles), 6-agent Dendrite council:

AgentRoleNotes
CORTEX-01Neuroscience leadGate authority
HIPPOCAMPUS-02Literature & context
CEREBELLUM-03Methodology auditor
AMYGDALA-04Integrity guardianProtected — enforces no-data-fabrication rule
THALAMUS-05Cross-domain router
TECTUM-06Validation specialist

Two new capabilities introduced for the domain: search, summarisation.

Target State

11 declared domains (dev, ops, docs, neuro, finance, nutrition, legal, film, artist, core, shared) populated, projected 250–350 total units across all domains.

Key Terms

  • Domain profile → 30–60 minute questionnaire fed at phase 0; the only operator-supplied input.
  • Signal words → Domain-specific vocabulary registered in BOOTSTRAP.md for active context detection.
  • Meta-council → Primer is the only council that governs the pipeline rather than a vertical domain.

Q&A

Q: Which agent is protected in the Primer council? A: GENERATOR-02. It produces unit drafts; protection (FM-04) ensures generation cannot be bypassed by an alternate path that skips integrity checks.

Q: How many internal gates does the pipeline run? A: Nine — one between each adjacent phase pair (0→1 … 8→9). Each requires the owning Primer agent’s approval.

Q: What does phase 9 actually produce? A: An RFC document summarising 20–40 published unit URIs plus newly-registered domain signal words, ready for community review.

Examples

A finance-domain rollout: operator submits a 60-min finance profile. ANALYST-01 extracts entities (P&L, cap table, audit trail). GENERATOR-02 produces ~30 units (rules: SOX-compliance, anti-fabrication; chains: financial-statement-review). VALIDATOR-03 runs stratt ci, fixes 1–3 import errors, generates RFC-finance-v1 with all unit URIs. New Ledger council (or extension of Terra) becomes operational with one protected agent and one gate authority — same shape as Dendrite.

neighbors on the map