Skip to content

jina: pack_edge writes the canonical CausalEdge64 contract - #365

Merged
AdaWorldAPI merged 2 commits into
masterfrom
ccr-9f3b8075-74u47l-ce64-jina
Oct 17, 2026
Merged

AdaWorldAPI merged 2 commits into
masterfrom
ccr-9f3b8075-74u47l-ce64-jina

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

hpc::jina::causal::pack_edge (used by JinaRuntime::pack_spo_edge, GPT-2 and OpenChat attention) still wrote the v1 upper half. Read with the canonical layout (lance-graph causal_edge::layout) its edges carried:

  • orientation 4 at 43..45 (a Haspelmath function, not Core), so a Moore lift refuses them;
  • mantissa +1 at 46..49 (Deduction), which the code labelled "observation";
  • plasticity at 49 instead of 50..52;
  • a 12-bit temporal position at 52, spilling into W (53..58) and the epistemic state (59..63). From position 3072 on that is a reserved epistemic code.

Same names and signatures, canonical bodies:

  • pack_edge: orientation Core, neutral mantissa, plasticity at 50..52, W and epistemic state 0. The temporal argument is accepted and not stored.
  • edge_plasticity reads 50..52.
  • edge_temporal is #[deprecated] and returns 0. The word has no temporal field.
  • GPT-2 and OpenChat AttentionEdge gain position: u16, so the position is kept in the row.

Tests

  • Red first (8e358a2): pack_edge_writes_the_canonical_contract (5 positions incl. 3072 and 4095), edge_plasticity_reads_bits_50_to_52.
  • temporal_does_not_change_the_word replaces test_temporal_sort; test_pack_spo_edge now checks plasticity instead of temporal.
  • Disable runs, each red: orientation 4 restored, plasticity read at 49, temporal written at 52.
  • cargo test --lib hpc::jina: 25 passed. cargo clippy --lib --tests -D warnings clean, fmt clean.

Part of the CE64 alignment catalogued in lance-graph .claude/board/entries/2026-10-17-ce64-one-layout-moore-synapse-membrane.md.


Generated by Claude Code

…ontract (red)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011BMJnDBAfzcuQh5HeT39Rh
…moves to the row

pack_edge kept its v1 upper bits: orientation 4 at 43 (a Haspelmath
function, not Core), mantissa +1 at 46, plasticity at 49 and a 12-bit
temporal position at 52, which spilled into W (53..58) and the
epistemic state (59..63; reserved codes from position 3072 on).

Same names and signatures, canonical bodies: orientation Core, neutral
mantissa (an observation is not an inference), plasticity at 50..52,
W and epistemic state 0. edge_plasticity reads 50..52. The temporal
argument is accepted and not stored; edge_temporal is deprecated and
returns 0. GPT-2 and OpenChat AttentionEdge gain a position field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011BMJnDBAfzcuQh5HeT39Rh
@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ef2ab8eb-161c-425a-a76d-0feb43c55b43
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 17, 2026 08:40
@AdaWorldAPI
AdaWorldAPI merged commit 0457890 into master Oct 17, 2026
20 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T08:40:49.478790Z 9ea9ac5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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