Skip to main content

How the pieces fit

Version: V2
View Markdown

A music catalog can identify a recording, describe its artist, register their relationship, and read it back from a node. Different parts of Intuition handle each step. The packages handle local modeling and protocol operations. Intuition Core builds and serves the indexed graph.

How it works​

On the concept ladder, Protocol primitives form Tier 1, Intuition Identifier belongs to Tier 2 (Identity), Classification and enrichment span Tiers 3 and 4 (Meaning and Processing), and Protocol writes and Indexing and querying form Tier 5 (Data flow).

Start with exact data​

A recording is an entity. Its atom contains the bytes of a particular representation. A P0 anchor stores canonical IID text, while a contextual representation stores a JSON object. Hashing the exact atom data produces its atom ID. Persist the bytes and ID together so later metadata updates do not silently create a different term.

The catalog represents its relationship as recording → by artist → artist. The predicate is itself an atom. Its registry key selects a definition, and its serialized data determines its ID. A field named artist in a recording object does not create a triple, and reversing subject and object changes the statement.

Choose packages by responsibility​

LayerPackagesResponsibility
Semantic / data modelingschema-org, classifications, predicatesShared vocabulary, input fields, and relationship suggestions
Identityiid-spec, iid, iid-registry, iid-ladder, idsIdentifier rules, candidate selection, provider plans, and deterministic IDs
Builder helpersprimitivesBuild atom data and explicit triples
Pipeline runtimepipeline-runtimeConcurrency, cancellation, and circuit breaking
Atom processingatom-parser, atom-classification, atom-enrichment, atom-runtimeParse inputs, run plugins, and execute configured providers
Application integrationsdk, cliPrepare actions, serializable envelopes, and calldata
Protocol plumbingprotocol, deployments, periphery, curves, reactContract calls, deployment metadata, curve math, and hooks

For a recording, the identity layer can plan a provider lookup from an IID. The atom processing layer executes selected adapters, checks their artifacts, and extracts supported fields. The app decides what evidence to display. See the package relationships in the runtime dependency graph.

Add persistence and transactions deliberately​

Local modeling needs no chain or Core node. RPC reads inspect a selected contract's current state. Preparing an action may use those reads. Submitting it requires an authorized signer. A transaction hash, a successful receipt, and visibility in an index are three different results.

Fork and clone Intuition Core to build your own node from the pinned source. The default Compose stack starts its off-chain API and processing services. Enable the indexing profile and configure the chain and MultiVault deployment for ingestion and projections. Once projections catch up, read the recording and its relationships from your node's Query API. An authenticated off-chain API insert writes to that node independently of a chain transaction. Core architecture, Query a Core node.

Keep provider secrets on your server. Your application owns access control, evidence acceptance, ranking, and the meaning it assigns to vault positions. A shared ID or a large position does not establish that a claim is true.

Source: Package layers.