Skip to content

Refactor Genesis/EnneadMatrix to Optional Governance Metadata#811

Draft
iberi22 wants to merge 1 commit into
mainfrom
refactor-genesis-ennead-matrix-2301255989211312452
Draft

Refactor Genesis/EnneadMatrix to Optional Governance Metadata#811
iberi22 wants to merge 1 commit into
mainfrom
refactor-genesis-ennead-matrix-2301255989211312452

Conversation

@iberi22

@iberi22 iberi22 commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Refactored the Genesis and EnneadMatrix system to be optional governance metadata rather than mandatory gatekeepers for network operations.

Key changes:

  1. Genesis Relocation: Moved genesis.rs to crates/synapse-core/src/governance/ennead.rs and exposed it via a new governance module.
  2. Integrity Ledger: Renamed and simplified CrystallineLedger to IntegrityLedger. It now focuses on data integrity through a checksum chain instead of moral resonance filtering.
  3. Network Decoupling: Updated empathy.rs to remove the strict requirement for EnneadMatrix during message creation and decoding. Transport is no longer gated by resonance thresholds.
  4. Mock and Test Updates: Updated various mock implementations and tests in metabolism.rs, hirag.rs, and consolidation.rs to include missing trait items and reflect the architectural changes.
  5. Build Stabilization: Configured synapse-core to use synapse-infra without default features in tests to avoid environment-specific failures related to video processing libraries.

While some integration tests still show minor issues related to data types in SurrealDB (e.g., holographic_data coercion), the core objective of decoupling Genesis from network operations has been achieved and the codebase compiles and passes most unit tests.

Fixes #789


PR created automatically by Jules for task 2301255989211312452 started by @iberi22

… metadata

- Moved Genesis/EnneadMatrix from `core` to new `governance` module.
- Refactored `CrystallineLedger` to `IntegrityLedger` in `core/integrity_ledger`, simplifying it to a checksum accumulator for block integrity.
- Removed mandatory Genesis resonance gating from `EmpathyPort` and `EmpathyMessage` in the network layer.
- Updated imports and dependencies across `synapse-core` and `synapse-infra`.
- Adjusted `HoloPacket` and `Voxel` logic to align with the integrity-focused ledger.
- Fixed unit tests and mocks to match the new trait definitions and data structures.
- Set `default-features = false` for `synapse-infra` dev-dependency in `synapse-core` to bypass pre-existing `v4l2` build issues.
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3e500478-7ab4-4723-9471-db657a3f6b0c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor-genesis-ennead-matrix-2301255989211312452

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 and usage tips.

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.

[REFACTOR-7] Limpiar Genesis — EnneadMatrix como Metadata Opcional

1 participant