ODF — One-call delegation efficiency

ODF — One-call delegation efficiency An architecture diagram generated by Archify. odoo_orchestrator · routes · gates · no code · ODF · single resolved round-trip odoo_orchestrator routes · gates · no code odf_delegate · 1 call · ≤5 skills · ODF · single resolved round-trip · plugin tool odf_delegate 1 call · ≤5 skills plugin tool odf-registry.json · 87 skills · 11 agents · ODF · single resolved round-trip · TTL cache odf-registry.json 87 skills · 11 agents TTL cache Skill compact rules · phase-aware match · ODF · single resolved round-trip · max 5 Skill compact rules phase-aware match max 5 Specialist agent · pre-loaded context · ODF · single resolved round-trip Specialist agent pre-loaded context Odoo worktree · edits · tests · lint · Architecture component · code + evidence Odoo worktree edits · tests · lint code + evidence grep symbols · round 1 · Naive agent · repeated context loop · ×N grep symbols round 1 ×N read files · round 2 · Naive agent · repeated context loop · ×N read files round 2 ×N re-grep misses · round 3 · Naive agent · repeated context loop · ×N re-grep misses round 3 ×N finally act · context bloated · Naive agent · repeated context loop finally act context bloated odf_delegate(phase, prompt) resolve agent + skills match ≤5 inject compact rules task() · gates enforced edits · runs tests context grows misses → retry finally act same specialist, later ODF · single resolved round-trip Naive agent · repeated context loop Legend Backend Database External

Why one call wins

  • • Registry, agent, skills, and profile resolve inside odf_delegate — zero extra orchestrator turns
  • • Policy Gate and evidence seal run before the specialist starts, not after it guesses
  • • Specialist arrives with ≤5 compact rules instead of spending turns grepping the repo

Cost of the naive path

  • • Every grep + read is a model round-trip that bloats context
  • • Missed symbols trigger re-search loops with no single source of truth
  • • No gate runs between discovery and edit — errors surface late

Measured shape

  • • ODF: 1 tool call → pre-loaded specialist → evidence-backed result
  • • Naive: O(N) search rounds → bloated context → same worktree outcome
  • • Optional CodeGraph collapses structural queries further (install with --with-codegraph)