Architecture
InKCre is built around one reusable info-base. Collection brings information into it; Organization may improve information already there; Application retrieves, navigates, or uses it. These are independent actions over shared graph authority, not mandatory stages in a pipeline.
Knowledge capabilities
source-native input -> Collection -----------+
|
v
Blocks + Relations
|
Organization -------------+------------- Application
improve later use obtain useful results- Collection maps source-native information into durable Blocks and Relations. Correct source mapping may create a graph; that does not make every collected relationship an Organization result.
- Organization acts on information already in the info-base when splitting, merging, linking, interpreting, or another change can improve later use. It may honestly make no change.
- Application finds, navigates, compares, or otherwise uses existing information. Lexical indexes, embeddings, and projections support these queries but do not become graph authority or Organization output.
A Resolver derives use-facing meaning from a Block, its hydrated content, and the direct context required by its contract. Storage owns actual bytes and opaque pointers. Neither silently gains Collection or Organization authority.
See the canonical product glossary and knowledge capability contract for the shared semantics.
Info-base authority
Persisted Blocks and Relations are the shared information authority. Source-native objects, resolver output, search indexes, embeddings, and app views may represent or accelerate parts of that information, but none creates a parallel authoritative store merely because its native shape is convenient.
PostgreSQL owns shared persisted state. The admitted inkcre schema exposes versioned relations and functions to authenticated Peers through native PostgreSQL or PostgREST. Direct database participation means using that protocol—not arbitrary SQL access to internal schemas or provider objects.
The canonical peer database runtime contract defines principals, protocol admission, lifecycle, readiness, and JWT claims.
Peer runtimes, not frontend and backend tiers
The Python, TypeScript, Rust, and macOS implementations participate as Peers around the same info-base. impl-py owns migrations and the executable database lifecycle contract, but it is not a central owner of every request path or product behavior.
The Web app demonstrates this topology: database operations use PostgREST, while runtime-owned capabilities may use native HTTP surfaces advertised by an online Peer. The durable boundary is the admitted protocol and capability contract, not a permanent frontend/backend hierarchy.
Peers that people interact with directly should normally support local named connections and a current selection. Fixed service processes, including an impl-py server deployed for one info-base, can use a single deployment-configured connection. This recommendation follows the runtime's use rather than its language or repository: the CLI shipped by impl-py has a separate local connection list. Switching changes the foreground target without moving information or retargeting work already bound to an instance. The canonical Peer connection guidance owns the scope; Manage Connections describes the user procedures.
Read the canonical unit topology and state authority for the cross-unit contract.
Core libraries and applications
Core is the reusable library for supported protocol and domain operations. Apps choose their deployment and credentials, manage runtime resources, and provide their interface. A running app can host a Peer. The shared Core and App boundary defines the target design for all languages. Consult the implementation repository for the APIs it ships and which operations it can execute.
Ecosystem surfaces
Database Peers
An authenticated runtime can participate through native PostgreSQL or PostgREST while respecting the admitted schema, privileges, protocol revision, and compatibility rules. Administrative schemas and provider internals remain outside that surface.
Extensions
An Extension packages one or more capabilities for a compatible Host. Each Peer selects an exact release of a native Distribution and records whether it should enable that Extension. An online Peer with enabled intent is expected to activate the selected Distribution. Check the advertised capability or runtime diagnostics to confirm it started.
The Python Host supports wheels. The Web app can use a separate Module Federation Distribution for setup or rendering. Each Distribution has its own release versions and Host requirements. See the Extension release and installation contract. The Source Extension tutorial covers the current Core Host SDK 0.3.x path; those programming interfaces still import Core modules and are not a standalone, permanently stable Source SDK.
Native HTTP and sinks
An Extension may expose its own HTTP protocol through its Host, and a Sink may make admitted capabilities available to another tool. These are integration surfaces, not ownership shortcuts: retrieval remains Application, Organization remains explicit, and transport does not redefine graph authority.
Boundaries worth preserving
- Collection, Organization, and Application remain independent actions rather than information states or a mandatory pipeline.
- Source-authored facts remain distinguishable from Organization-authored meaning.
- Blocks and Relations remain authoritative; indexes, embeddings, projections, and caches are derived support.
- Resolver meaning and Storage byte access remain distinct.
- Delivery owner, Host, Peer enablement, and capability owner do not collapse merely because one first-party repository currently implements several of them.
These boundaries are maintained in the canonical product rules and cross-unit contracts.