Merge Orchestration runtime · increment 4: Dispatcher wiring (decision → dispatch pipeline + lease)#490
Merged
Merged
Conversation
…decision -> dispatch pipeline + lease) The last runtime increment -- connects the decision modules to hypatia's existing pipeline: - lib/merge_orchestration/dispatcher.ex: maps a Strategist decision (route x method x safety) onto Hypatia.DispatchManifest's entry shape (the tier/strategy vocabulary the dispatch-runner + the .git-private-farm actuator already consume), and mints the Kin.Gate coordination lease (a5 schema) for the PR territory. Pure; the I/O is the caller's thin glue, so it stays test-isolated. - test: 5 ExUnit cases. Full merge_orchestration suite now 20 tests, 0 failures (local elixir 1.14). Runtime structurally complete: Strategist + Kin.Council + Dispatcher (hypatia) + the actuator (.git-private-farm #77). The spec -> running-code path is end-to-end. https://claude.ai/code/session_011GXPoh6pB6rm3jfeLHWMtc
🔍 Hypatia Security ScanFindings: 42 issues detected
View findings[
{
"reason": "Repository has 5 non-main remote branch(es). Policy: single main branch only.",
"type": "GS007",
"file": ".",
"action": "delete_remote_branches",
"rule_module": "git_state",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "src/ui/gossamer/README.adoc",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "scripts/ci-tools/Cargo.toml",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "scripts/bench-tools/Cargo.toml",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "ffi/zig/README.adoc",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "docs/reports/audit/audit-2026-04-15-post.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "docs/integration/github-registry.adoc",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "docs/integration/github-registry.adoc",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "docs/integration/a2ml-k9.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
},
{
"reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 11 day(s) old",
"type": "CSA001",
"file": "docs/architecture/system-integration.md",
"action": "review",
"rule_module": "code_scanning_alerts",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runtime build — increment 4: the wiring (the last increment). Connects the decision modules to hypatia's existing dispatch pipeline.
lib/merge_orchestration/dispatcher.exmaps aStrategistdecision (route × method × safety) ontoHypatia.DispatchManifest's entry shape — thetier/strategyvocabulary (eliminate|substitute|control×auto_execute|review|report_only) that the dispatch-runner and the.git-private-farmactuator already consume — and mints the Kin.Gate coordination lease (artifact 5) for the PR territory. Pure; the I/O is the caller's thin glue.Full merge-orchestration suite: 20 tests, 0 failures (local Elixir 1.14) — 6 Kin.Council + 9 Strategist + 5 Dispatcher.
With this the runtime is structurally complete — Strategist (decision) + Kin.Council (consensus) + Dispatcher (wiring) in hypatia, plus the actuator (#77) in the farm. The spec→running-code path is end-to-end, all locally tested.
Not auto-armed (core-tier → your review). What remains is operationalisation, not design: the thin glue into
pattern_analyzer/fleet_dispatcher(oneDispatchManifest.writecall), real Kin.Gate lease storage, and GoT/MoE weights into Kin.Council — plus the owner follow-ons (required-checks per repo; the a5 standards adoption; the P3 handshake +mass_squash; and the farm's dead Actions billing).Generated by Claude Code