Skip to content

docs(ffi): document the hexadeca-connector surface + ephemerality model#511

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/hopeful-ptolemy-ZdYqp
Jun 18, 2026
Merged

docs(ffi): document the hexadeca-connector surface + ephemerality model#511
hyperpolymath merged 1 commit into
mainfrom
claude/hopeful-ptolemy-ZdYqp

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Part 2 of 2 from the hexadeca review (Part 1 = #510, the drift guard).

Expands ffi/zig/README.adoc beyond the 7 core C-ABI functions to document the 16-protocol Hexadeca-Connector surface:

  • the connector id/name table (grpc=0 … bebop=4 … capnproto=9 … arrow-flight=15), with the load-bearing wire ordering + base+id+1 port layout;
  • the tri-language contract (Zig hexadeca.zig ↔ Idris2 Types.idr ↔ Rust connector.rs) and its golden-fixture drift guard (ffi/connectors.json + test/hexadeca_contract_test.exs, landed in test(ffi): hexadeca-connector golden fixture + tri-language drift guard #510);
  • the transaction-based ephemerality model — ephemeral per-transaction connectors that decode → coreDispatch → re-encode → tear down; in-process consumers call coreDispatch directly;
  • status: surface / contract / drift-guard live; per-protocol wire bodies at reference fidelity, filled on demand (REST/GraphQL for M14, or verisimdb-rest/arrow-flight/grpc once verisim-api deploys; bebop/capnproto last, binding hyperpolymath/bebop-ffi).

Docs-only. Leaves the held 6a2 STATE/META/ANCHOR untouched (merge-orchestration realignment) — when that hold lifts, a STATE/ECOSYSTEM entry can cross-ref this.

https://claude.ai/code/session_016R5WsMHtpnD8bmrkjFNFmg


Generated by Claude Code

Expands ffi/zig/README.adoc beyond the 7 core C ABI functions to document the
16-protocol Hexadeca-Connector surface: the connector id/name table, the
load-bearing wire ordering + port layout, the tri-language contract
(Zig/Idris2/Rust) and its golden-fixture drift guard (ffi/connectors.json +
test/hexadeca_contract_test.exs), the transaction-based ephemerality model
(ephemeral per-transaction connectors routing through coreDispatch), and the
fill-on-demand status of the per-protocol wire bodies.

Leaves the held 6a2 STATE/META/ANCHOR untouched (merge-orchestration realignment).

https://claude.ai/code/session_016R5WsMHtpnD8bmrkjFNFmg
@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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 -- 15 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 marked this pull request as ready for review June 18, 2026 17:56
@hyperpolymath hyperpolymath merged commit e30e7f0 into main Jun 18, 2026
40 checks passed
@hyperpolymath hyperpolymath deleted the claude/hopeful-ptolemy-ZdYqp branch June 18, 2026 17:56
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.

1 participant