Skip to content

Merge Orchestration runtime · increment 2: Kin.Council (competence-weighted veto aggregation)#489

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

Merge Orchestration runtime · increment 2: Kin.Council (competence-weighted veto aggregation)#489
hyperpolymath merged 1 commit into
mainfrom
claude/peaceful-pascal-IRlgq

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Runtime build — increment 2: Kin.Council (the consensus mechanism made executable), wired into the Strategist.

  • lib/merge_orchestration/kin_council.exaggregate/2 folds a3 attestations into %{confidence, vetoes, has_veto, contributing}. Not Byzantine — a competence-weighted mean over the approving attestations (Graph-of-Trust × MoE weight) + a monotone veto (any veto surfaced, never out-voted); zero-weight experts recuse. competence_weight/2 composes trust × competence.
  • lib/merge_orchestration/strategist.ex — the mean stub is gone: confidence + bot-vetoes now come from KinCouncil; a license/SPDX touch adds a symbolic owner-only veto.
  • 6 + 9 = 15 ExUnit cases, run locally → 0 failures (Elixir 1.14). CI mix test re-verifies the integration compile.

Not auto-armed (core-tier code → your review). Next: increment 3 — the .git-private-farm actuator (read decision → re-verify invariants → execute the merge method).


Generated by Claude Code

…ence-weighted veto aggregation)

The consensus mechanism made executable, and wired into the Strategist:
- lib/merge_orchestration/kin_council.ex: aggregate/2 folds a3 attestations into
  {confidence, vetoes}. NOT Byzantine -- a competence-weighted mean over approvals
  (Graph-of-Trust x MoE weight) + a monotone veto (any veto surfaced, never
  out-voted); zero-weight experts recuse. competence_weight/2 composes trust x competence.
- lib/merge_orchestration/strategist.ex: replaces the mean stub -- confidence and
  bot-vetoes now come from KinCouncil; a license/SPDX touch adds a symbolic owner-only veto.
- 6 KinCouncil + 9 Strategist ExUnit cases; run locally on elixir 1.14 -> 15 tests, 0 failures.

Next increment: the .git-private-farm actuator (read decision -> re-verify -> execute method).

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 2b3c98e into main Jun 14, 2026
40 checks passed
@hyperpolymath hyperpolymath deleted the claude/peaceful-pascal-IRlgq branch June 14, 2026 03:50
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