This glossary defines the core concepts and symbols used throughout QNTX. For a conceptual overview, see Understanding QNTX. For system architecture patterns, see Two-Phase Jobs.
Both a type system AND storage system for attestations. For storage details, see Bounded Storage. It defines:
A verifiable claim in the form: [Subject] is [Predicate] of [Context] by [Actor] at [Time]
Example: USER-123 is member of TEAM-ENGINEERING by hr-system@company at 2025-01-06T09:45:00Z
Unique identifier for attestations. Always random for uniqueness, ensuring no collisions.
An atomic unit of the attestation grammar. The operators (i, am, ix, ax, by, at, so, se, as, is, of) are all segments. Each segment has three layers:
⋈, ⨳, +, =, ∈, ⌬, ✦)These symbols have UI components and keyboard shortcuts (user-configurable):
| Symbol | Command | Meaning | Usage |
|---|---|---|---|
⍟ | i | Self | Your vantage point into QNTX - the current user/session |
≡ | am | Configuration | System settings and state |
⨳ | ix | Ingest | Import external data |
⋈ | ax | Expand | Query and surface related context |
⌬ | by | Actor | All forms: creator, source, authenticated user |
✦ | at | Temporal | Time marker/moment |
⟶ | so | Therefore | Consequent action/trigger |
⊨ | se | Semantic | Meaning-based search and entailment |
Fundamental components of attestations (not UI elements):
| Symbol | Concept | Role in Attestation |
|---|---|---|
+ | as | Assert - emit an attestation |
= | is | Identity/equivalence in "subject IS predicate" |
∈ | of | Membership in "predicate OF context" |
Note: Consider alternative typeable symbol for ∈ (of) for better keyboard accessibility
Infrastructure and lifecycle markers:
| Symbol | Name | Purpose |
|---|---|---|
꩜ | Pulse | Async operations, always prefix Pulse-related logs. See API |
✿ | PulseOpen | Graceful startup with orphaned job recovery. See Opening & Closing |
❀ | PulseClose | Graceful shutdown with checkpoint preservation. See Opening & Closing |
⊔ | DB | Database/storage layer |
▣ | Prose | Documentation and prose content |
▤ | Doc | Document/file content (PDF, etc.) |
⌗ | Subcanvas | Nested canvas workspace |
The visual form a glyph takes when it morphs beyond the GlyphRun. A glyph can manifest as a window, canvas, fullscreen overlay, modal, tooltip, or any other interactive surface. The same DOM element, the same identity — different manifestations. See glyphs.md for the full vision.
am.toml (preferred) or config.toml (compatibility)qntx.toml~/.qntx/am_from_ui.toml (auto-generated, never in project)/etc/qntx/config.toml) - lowest~/.qntx/config.toml)~/.qntx/am_from_ui.toml)./config.toml)QNTX_*) - highestAlways shows source in UI to debug precedence issues.
Core is minimal, containing only:
Everything else is a plugin communicating via gRPC for isolation.
The ai/tracker records API calls and feeds data to pulse/budget for centralized budget management.
Uses both REST API and WebSocket:
Hard limits with oldest deletion by default. Future versions will support user-defined retention policies.
Flexible based on predicate - can be single timestamp, range, or point-in-time with duration.
Versioned with migrations using the migration system in db/sqlite/migrations/
errors.Wrap() for contextqntxtest.CreateTestDB(t) for all database testsupstream (Python global)When a meld edge triggers a py glyph, the triggering attestation is injected as a Python dict named upstream. The glyph code doesn't fetch or subscribe — it is invoked with the attestation already present. Each matching attestation triggers a fresh execution.
upstream = {"id": "...", "subjects": [...], "predicates": [...], ...}upstream = NoneThe name upstream reflects that the attestation comes from the upstream glyph in the meld DAG. Injected by the Rust runtime (qntx-python/src/execution.rs) alongside attest(). See development/glyph-attestation-flow.md for the full model.
attest() (Python builtin)Creates an attestation from within a py glyph. Injected into the Python execution context by the Rust runtime (qntx-python/src/atsstore.rs) — not a library import, just available as a global function.
attest(
subjects=["alice"],
predicates=["enriched"],
contexts=["pipeline"],
actors=None, # defaults to ["glyph:{glyph_id}"] when running in a glyph
attributes={"key": "value"} # optional, arbitrary JSON
)
Returns a dict with the created attestation's fields (id, subjects, predicates, etc.). When called inside a meld-triggered execution, the output attestation can trigger further downstream glyphs if the DAG continues.
glyph:{id}Attestations created by canvas glyphs carry actor: glyph:{glyph_id}. This is how producer→downstream edges scope their subscriptions: the edge watches for attestations from that specific upstream glyph. Defaulted automatically by attest() when running inside a glyph execution context.
ax contact # Find all attestations about contacts
ax is member of TEAM-ENGINEERING # Find team members
ix https://api.example.com/data # Ingest from API
ix file://./data.json # Ingest from local file
qntx am show # Show all configuration with sources
qntx am get pulse.workers # Get specific value