Repository navigation
docs(contract): exemplar centroid moves required -> optional (kannaka-memory#703) - #72
Merged
Merged
Conversation
…-memory#703) The exemplar publisher never sent centroid and the requirement turned out to be wrong by design, not just by size: HRM encodings are per-agent — each agent's encoder maps content into its own wave space, and divergence between encoders is deliberate — so an absorbing agent cannot use a foreign centroid. It re-encodes the exemplar's CONTENT into its own space; content plus content_hash is the interchange payload, and always was. Size seconds the motion: a full centroid is WAVEFRONT_DIM floats, and at large dims the top-25 post-dream batch brushes NATS's 1 MB payload cap. The envelope half of kannaka-memory#703 (schema_version + ts via add_envelope) already landed on the publisher side; with this amendment the shipped payload is fully on-contract. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to the publisher-side envelope fix already on kannaka-memory master.
The requirement was wrong by design, not just by size: HRM encodings are per-agent — each agent's encoder maps content into its own wave space, and divergence between encoders is deliberate — so an absorbing agent cannot use a foreign centroid. It re-encodes the exemplar's content into its own space;
content+content_hashis the interchange payload, and always was. Size seconds the motion: a full centroid is WAVEFRONT_DIM floats, and the top-25 post-dream batch brushes NATS's 1 MB cap at large dims.With this amendment plus the landed
add_envelopechange, the shipped exemplar payload is fully on-contract. A regression test pinning the envelope keys lands separately in kannaka-memory.