Skip to content

Reified RSpaces [4/11]: GenericRSpace core, agents, and space qualifiers#331

Open
dylon wants to merge 3 commits intofeature/reified-rspaces-03-outer-storagefrom
feature/reified-rspaces-04-generic-rspace
Open

Reified RSpaces [4/11]: GenericRSpace core, agents, and space qualifiers#331
dylon wants to merge 3 commits intofeature/reified-rspaces-03-outer-storagefrom
feature/reified-rspaces-04-generic-rspace

Conversation

@dylon
Copy link
Copy Markdown
Collaborator

@dylon dylon commented Jan 16, 2026

Summary

  • GenericRSpace with produce/consume/install operations
  • SpaceAgent and AsyncSpaceAgent traits
  • ChargingAgent for gas accounting
  • SpaceQualifier (Default, Temp, Seq) for space behavior
  • Similarity extraction helpers for VectorDB integration
  • ISpace adapter for backward compatibility

This is PR 4 of 11 in the Reified RSpaces implementation.

Depends on: Reified RSpaces [3/11]: Outer storage (channel store) implementations

This PR adds the core RSpace implementation and supporting components:

- Parameterized RSpace implementation combining storage + matching
- Core operations: produce, consume, install, gensym
- Similarity-based matching support
- Checkpoint management integration

- agent.rs: SpaceAgent trait defining space operations
- async_agent.rs: AsyncSpaceAgent for async operations
- charging_agent.rs: Gas-aware agent wrapper with phlogiston accounting
- adapter.rs: ISpace adapter for legacy compatibility

- similarity_extraction.rs: Extract similarity info from patterns
- history.rs: HistoryStore trait for checkpoint persistence
- phlogiston.rs: Gas accounting and cost tracking
- registry.rs: SpaceRegistry for space lifecycle management
- prelude.rs: Common re-exports

- qualifier.rs: SpaceQualifier (Default, Temp, Seq)
- config.rs: SpaceConfig, GasConfiguration
- raw_config.rs: RawSpaceConfig for parsing
- theory.rs: Theory validation types
- allocation.rs: Memory allocation tracking

This is PR 4 of 11 for the Reified RSpaces implementation.
@dylon dylon marked this pull request as ready for review January 16, 2026 16:34
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