You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create resolve_domain_owner plugin tool for Divisor domain ownership lookup #672
Divisor agent domain ownership (which agent reviews security, which reviews architecture, etc.) is encoded as inline prose across agent files and command files (~250 tokens). When commands need to route a finding to the right Divisor persona, the LLM reads and matches domain descriptions.
Proposed Solution
Extract Divisor domain ownership to structured YAML config → Create resolve_domain_owner plugin tool in uf-workflow plugin.
Instead of extracting to YAML (which the LLM still reads), the tool answers domain ownership questions deterministically. The LLM never parses config.
resolve_domain_owner Tool
resolve_domain_owner: tool({description: "Resolve which Divisor agent owns a given domain or concern area.",args: {domain: z.string().describe("Domain or concern area (e.g. 'security', 'architecture', 'testing', 'documentation', 'operations')")},execute(args): ToolResult<{agent: string;description: string}>{ ... }})
changed the title [-]Extract Divisor domain ownership to structured YAML config[/-][+]Create resolve_domain_owner plugin tool for Divisor domain ownership lookup[/+]on Oct 7, 2026
The Divisor review panel assessed this issue across six personas. All six vote VALID (6/6); the consolidated classification is enhancement, objectivity objective.
Why the classification holds
The problem is measurable and verified. Divisor domain-ownership routing lives as inline prose duplicated across at least three command files: .opencode/commands/uf.triage-issue.md (persona focus table), .opencode/commands/uf.address-feedback.md (routing rules such as "Security concern raised → divisor-adversary"), and .opencode/commands/uf.review-council.md (an agent/capability/scopes table that duplicates .uf/reviewer-capabilities.yaml verbatim — a live drift risk).
Every acceptance criterion is machine-verifiable against existing infrastructure: the two-copy uf-workflow plugin layout, the .uf/reviewer-capabilities.yaml manifest, and the make plugin-test gate (94% statements coverage floor, untouched). No governance gate changes; no new dependencies.
One design fork for the clarify phase
Four personas with parseable assessment reasoning (adversary, curator, guard, sre) independently flag the same tension: the solution prose says mappings "live as code constants inside the tool — sourced from the reviewer manifest," while acceptance criterion 3 requires the tool to "read .uf/reviewer-capabilities.yaml manifest for authoritative mappings." These are different architectures with different failure modes — constants need drift-detection tests against the canonical file; runtime reads need error paths for a missing or malformed manifest. Two repository facts bear on the choice:
The manifest is a project-owned extension point (Spec 005 FR-023, the only reviewer eligibility source; local reviewers: entries survive uf init re-runs). Baked-in constants would make project-registered Divisor agents invisible to domain routing.
The manifest's current v1.0.0 schema (additionalProperties: false) carries agent/capability/scopes as many-to-many eligibility categories, not a one-owner-per-domain mapping, and some example domains in this issue (architecture, operations) are not manifest scopes. The one-owner mapping the issue's examples promise lives in agent files and specs/019-divisor-council-refinement/data-model.md; satisfying criterion 3 literally requires a manifest schema extension (with scaffold asset sync and drift tests) or an explicitly chosen alternative source of truth.
The acceptance criteria govern the contract; the spec phase should pick the source of truth deliberately before implementation.
Resolve the constants-vs-manifest-read fork and the manifest schema gap during clarify.
Scope the ~250-token prose removal into the acceptance criteria (preserving one or two output-format examples near consuming decision points, per DE-002) or defer it to a tracked follow-up — the savings are unrealized while the prose remains.
The implementing PR carries the documentation gate: a CHANGELOG.md entry and a docs issue before merge.
This triage was performed by the Divisor review panel.
Activity
[-]Extract Divisor domain ownership to structured YAML config[/-][+]Create resolve_domain_owner plugin tool for Divisor domain ownership lookup[/+]jflowers commentedon Nov 2, 2026
Triage Result: VALID — Enhancement (objective)
The Divisor review panel assessed this issue across six personas. All six vote VALID (6/6); the consolidated classification is enhancement, objectivity objective.
Why the classification holds
.opencode/commands/uf.triage-issue.md(persona focus table),.opencode/commands/uf.address-feedback.md(routing rules such as "Security concern raised →divisor-adversary"), and.opencode/commands/uf.review-council.md(an agent/capability/scopes table that duplicates.uf/reviewer-capabilities.yamlverbatim — a live drift risk).normalize_model_name; Create map_verdict plugin tool for verdict-to-GitHub-event mapping #671 and Create classify_paths plugin tool for deterministic path classification #673 track sibling extractions under parent Epic: Token Reduction for Command & Agent Files (~47-60% savings) #659.uf-workflowplugin layout, the.uf/reviewer-capabilities.yamlmanifest, and themake plugin-testgate (94% statements coverage floor, untouched). No governance gate changes; no new dependencies.One design fork for the clarify phase
Four personas with parseable assessment reasoning (adversary, curator, guard, sre) independently flag the same tension: the solution prose says mappings "live as code constants inside the tool — sourced from the reviewer manifest," while acceptance criterion 3 requires the tool to "read
.uf/reviewer-capabilities.yamlmanifest for authoritative mappings." These are different architectures with different failure modes — constants need drift-detection tests against the canonical file; runtime reads need error paths for a missing or malformed manifest. Two repository facts bear on the choice:reviewers:entries surviveuf initre-runs). Baked-in constants would make project-registered Divisor agents invisible to domain routing.additionalProperties: false) carries agent/capability/scopes as many-to-many eligibility categories, not a one-owner-per-domain mapping, and some example domains in this issue (architecture, operations) are not manifest scopes. The one-owner mapping the issue's examples promise lives in agent files andspecs/019-divisor-council-refinement/data-model.md; satisfying criterion 3 literally requires a manifest schema extension (with scaffold asset sync and drift tests) or an explicitly chosen alternative source of truth.The acceptance criteria govern the contract; the spec phase should pick the source of truth deliberately before implementation.
Next steps
CHANGELOG.mdentry and a docs issue before merge.This triage was performed by the Divisor review panel.