Skip to content

Conversation

@lukvmil
Copy link
Member

@lukvmil lukvmil commented Aug 10, 2025

beta for major version upgrade 1.1.0

changelog:

  • adds a secure identity layer supported by ECDSA signatures
  • each node stores a private / public key pair, and node RIDs now derive from their hashed public key
  • both requests and responses are enclosed in signed "envelopes"
  • envelopes are JSON objects which wrap existing payloads, adding additional fields for the source node, the target node, and a signature (signed by source node)
  • restructuring of codebase
  • re implemented deprecated effector (originally from rid-lib), with a stronger integration with the processing pipeline
  • factored out dependencies for developer facing code (knowledge handlers, effector actions) into "context" classes
  • factored out protocol behaviors (handshake) into stand alone functions
  • (non exhaustive)

lukvmil added 30 commits May 28, 2025 15:01
…KOI headers created on send, and validated on receive
…requests and generating secure response headers
… payloads, adding source and target nodes along with a signature. in order to simplify first contact seeding, url and rid both required (as opposed to copying over a profile bundle)
…rated out common logic, still some organizing to do.
… of graph class. implementing developmental Bundle contents typing from rid-lib, moving towards re implementing effector (in koi-net this time)
…lercontext which is passed into handler functions. better separation of concerns. circular symbol important of HandlerContext and ProcessorInterface resolved with forward references
…tial loops introduced with network fetching, needs another look. one bug fixed where node attempted to query itself over the network. some places still rely on current cache state and shouldn't use deref function
…text to new context.py, added effector to both contexts, added deref call in default knowledge handler
… NetworkEventQueue, wrapping fetch requests and broadcast/poll respectively. handler and dereference function calls now pass keyword arguments now, ctx and rid/kobj
…ad from incomplete internal knowledge objects (this is redundant behavior, devs should include a full bundle)
…. finer grained control over what deref methods are attempted
… rid_lib.ext.utils, .protocol.secure_models -> .protocol.envelope
lukvmil added 9 commits August 5, 2025 12:05
… to Secure class, change first_contact to a NodeContact model, instead of two separate fields
…deref use_network=False, added custom error respones and exceptions to handle protocol errors, add error handler to respond to connection or protocol errors in requests to other nodes, updated event queue functions to support first_contact when RID isn't found in cache
@lukvmil lukvmil merged commit 7a4e03f into main Aug 10, 2025
@lukvmil lukvmil deleted the refactor branch August 10, 2025 23:53
@lukvmil lukvmil restored the refactor branch August 11, 2025 20:06
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