Skip to content

Merge Orchestration runtime · increment 4: Dispatcher wiring (decision → dispatch pipeline + lease)#490

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/peaceful-pascal-IRlgq
Jun 14, 2026
Merged

Merge Orchestration runtime · increment 4: Dispatcher wiring (decision → dispatch pipeline + lease)#490
hyperpolymath merged 1 commit into
mainfrom
claude/peaceful-pascal-IRlgq

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Runtime build — increment 4: the wiring (the last increment). Connects the decision modules to hypatia's existing dispatch pipeline.

lib/merge_orchestration/dispatcher.ex maps a Strategist decision (route × method × safety) onto Hypatia.DispatchManifest's entry shape — the tier/strategy vocabulary (eliminate|substitute|control × auto_execute|review|report_only) that the dispatch-runner and the .git-private-farm actuator 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 (one DispatchManifest.write call), 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

…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
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 42 issues detected

Severity Count
🔴 Critical 0
🟠 High 0
🟡 Medium 42
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

@hyperpolymath hyperpolymath merged commit d2595d4 into main Jun 14, 2026
40 checks passed
@hyperpolymath hyperpolymath deleted the claude/peaceful-pascal-IRlgq branch June 14, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants