Files
Reuven 1e5a8ec897 perf(plugins): ADR-098 Part 2 (slice 2/4) — token diet for ruflo-ddd/domain-modeler
Moves DDD vocabulary, directory layout, and AgentDB graph-storage
catalogs out of the agent prompt into a sibling REFERENCE.md.

Before: 93 lines per spawn (~1115 tokens).
After:  46 lines per spawn (~550 tokens). Net savings ~565 tokens
        per domain-modeler spawn.

Reference content lives at plugins/ruflo-ddd/REFERENCE.md (76 lines):
  - 7-row DDD building blocks vocabulary table
  - 6-row bounded-context relationships table (added — wasn't in the
    original prompt; now first-class reference)
  - Per-context directory structure
  - AgentDB graph storage commands with 4 standard edge types
  - Naming conventions (added — wasn't in prompt)

The agent prompt keeps:
  - Responsibilities + 6-step scaffold workflow
  - Tools list (Read/Grep/Glob + memory store/search)
  - Cross-references to related plugins
  - Memory pre-search + Neural Learning tail (Part 4 invariant)

Net: prompt is now narrative + procedural; reference is tabular +
catalog. Each is read in different contexts, neither pays tokens for
the other.

ADR-098 acceptance progress:
  - device-coordinator: 30 ≤ 60 ✓
  - domain-modeler:     46 ≤ 60 ✓ (was 93)
  - Remaining: cost-analyst (105), adr-architect (96)

Plugin version: 0.1.0 → 0.1.1 (patch — token diet only).
2026-05-03 22:24:16 -04:00
..