Skip to content
1 viewer
View

Knowledge reference

5 pages, 50 routes, 48 connections and 0 CLI commands, generated from the declarations of Knowledge without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 9

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Runtime codecode.indexcustom/view/knowledge/code0in navigation
Code galaxycode.galaxycustom/view/knowledge/code/galaxy60code.indexin navigation
Code findingscode.findingscustom/view/knowledge/code/findings61code.indexin navigation
Search codecode.searchcustom/view/knowledge/code/search62code.indexin navigation
Commonsknowledge.commonscustom/view/knowledge/commons63in navigation
Cratecode.cratecustom/view/knowledge/code/crate/{crate}240code.indexCratehidden
Source filecode.filecustom/view/knowledge/code/file250code.indexSourceFilehidden
Functioncode.fncustom/view/knowledge/code/fn260code.indexFunctionhidden
Step throughcode.stepcustom/view/knowledge/code/step265code.indexFunctionhidden
9 rows

Connections · 48

Knowledge.CallChain

Walk the call graph from a starting function (callee chain).

Knowledge.CallChain input
FieldTypeRequiredDescriptionAllowed
function_namerequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler

Knowledge.CodeFreshness

Compare each ingested SourceFile's stored sha256 against the current on-disk content; report fresh/stale/deleted. With reingest=true, re-ingest drifted files in place (re-writing the same vertex kinds).

Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /code/freshnessHTTP route

Knowledge.CodeIngest

Ingest a single source file — parses the AST and writes SourceFile / FunctionSignature / StructDef / EnumDef / TraitDef / ImplBlock vertices into the knowledge graph.

Knowledge.CodeIngest input
FieldTypeRequiredDescriptionAllowed
file_pathrequired
languagerequired
source_coderequired
originoptional
urloptional
5 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /code/ingestHTTP route

Knowledge.CodeIngestBatch

Batch variant of Knowledge.CodeIngest — ingests N source files in a single dispatch. Writes the same SourceFile / FunctionSignature / StructDef / EnumDef / TraitDef / ImplBlock vertices per-file.

Knowledge.CodeIngestBatch input
FieldTypeRequiredDescriptionAllowed
filesrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /code/ingest-batchHTTP route

Knowledge.CodeSummary

Aggregate code-ingest summary (file / symbol counts).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler

Knowledge.ComputeMetrics

Compute code-graph metrics — materialize fan-in / fan-out and cyclomatic complexity onto FunctionSignature vertices, and CloneCluster hyperedges over exact structural duplicates (functions sharing a signature_hash). Extractor-agnostic: reads the graph, never the source.

Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /graph/metricsHTTP route

Knowledge.Consolidate

Consolidation plan for one function crystal — every (file, function) member of the SubGraph class, a suggested canonical survivor, and the equivalence basis behind the claim. Read-only: it proposes the collapse, never performs it.

Knowledge.Consolidate input
FieldTypeRequiredDescriptionAllowed
sub_graph_hashrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/consolidateHTTP route

Knowledge.ConsolidationTargets

Sub-crystal classes ranked by how many (file, function) members share one body — the DRY hot-spot map over function crystals.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/consolidation-targetsHTTP route

Knowledge.CrystalDeep

Deep equivalence-class crystallization view (ir_hash clusters).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler

Knowledge.Entity

One entity by `entity_id`, or by `kind` with an identifier's `scheme` and `value`: its identifiers with the row that carried each, its rows, every attribute folded from its observations (each source row's newest statement, and whether the sources agree) and the candidates still open on it. Reads only.

Knowledge.Entity input
FieldTypeRequiredDescriptionAllowed
entity_idoptional
kindoptional
schemeoptional
valueoptional
4 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/entityHTTP route

Knowledge.EntityCandidates

The likenesses the matching rule would not join, in `state` (open by default), of one `kind` when given. Who settled one is never returned. Reads only.

Knowledge.EntityCandidates input
FieldTypeRequiredDescriptionAllowed
stateoptional
kindoptional
limitoptional
3 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/entities/candidatesHTTP route

Knowledge.EntitySettle

Operator only. Confirm or reject one candidate (`key`, `decision`). A confirmation places a waiting row in the candidate or merges the entity the row made into it, and is refused when that would hold two values under one identifier scheme. A rejection is kept so it is never offered again; a waiting row left with no candidate stands as its own entity.

Knowledge.EntitySettle input
FieldTypeRequiredDescriptionAllowed
keyrequired
decisionrequired
2 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/entities/settleHTTP route

Knowledge.Equivalent

Resolve all vertices equivalent (by ir_hash) to a given hash.

Knowledge.Equivalent input
FieldTypeRequiredDescriptionAllowed
ir_hashrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/equivalent/{ir_hash}HTTP route

Knowledge.GovPublications

Operator only. Writes one public_dataset node per government payroll, budget, contract, solicitation, disclosure or legislation publication the compiled-in gov-data registry lists, linked published_by to its government node; fetches nothing and holds no published rows. `family`/`families` narrow it, `jurisdiction` keeps one government, `dry_run` returns the records unwritten.

Knowledge.GovPublications input
FieldTypeRequiredDescriptionAllowed
familyoptional
familiesoptional
jurisdictionoptional
dry_runoptional
4 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/gov-publicationsHTTP route

Knowledge.GraphAtlas

Whole-graph frame at kind level (the Crystal Atlas) — every vertex and edge rolled up by kind, nothing sampled.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/atlasHTTP route

Knowledge.GraphContext

K-hop context around a starting vertex — graph-aware lookup.

Knowledge.GraphContext input
FieldTypeRequiredDescriptionAllowed
targetrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/contextHTTP route

Knowledge.GraphDebugFunction

Debug view for a single function vertex (callees, callers, refs).

Knowledge.GraphDebugFunction input
FieldTypeRequiredDescriptionAllowed
namerequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/debug/functionHTTP route

Knowledge.GraphEquivalence

Equivalence classes (e.g. by ir_hash) over knowledge vertices.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/equivalenceHTTP route

Knowledge.GraphHubs

Highest-degree vertices in the knowledge graph (centrality view).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/hubsHTTP route

Knowledge.GraphOrphans

Vertices with no incident edges (graph-cleanup hint).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/orphansHTTP route

Knowledge.GraphSearchFunctions

Search FunctionSignature vertices by substring / signature shape.

Knowledge.GraphSearchFunctions input
FieldTypeRequiredDescriptionAllowed
namerequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler

Knowledge.GraphStats

Hypergraph metrics (vertex / edge counts by kind).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /graph/statsHTTP route

Knowledge.Hub

Hub-vertex inspection — incident edges around a hub.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/hubHTTP route

Knowledge.Import

Bulk import a Knowledge dataset (records → nodes + links). Tracks the ingest in `knowledge_ingest_runtime` and writes the resulting graph vertices/edges in one pass.

Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/importHTTP route

Knowledge.IrExplore

Inspect the IR for a function/symbol — read-only IR introspection.

Knowledge.IrExplore input
FieldTypeRequiredDescriptionAllowed
ir_hashrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler

Knowledge.Node

Create or upsert a single Knowledge graph vertex (entity / symbol / page). Lightweight single-node write into the knowledge graph.

Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • GET /knowledge/nodeHTTP route

Knowledge.Observe

Operator or in-process collector only. Resolves at most 5,000 rows into the entity spine (named graph knowledge-entities): identifiers first (LEI, CIK, UEI, EIN, a register's number, the Census unit id), then for an organization the same name, form and jurisdiction; anything weaker waits as a candidate. Each row's attributes become observations (attribute, value, stated_on, read_at, source, capture_id) that are never overwritten. A kind off the closed list, or a person, is refused.

Knowledge.Observe input
FieldTypeRequiredDescriptionAllowed
rowsrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/entities/observeHTTP route

Knowledge.OfferSources

Operator only, and off unless CRE8_KNOWLEDGE_SOURCE_OFFERS=1. Wraps each committed external import's source artifact in a one-file corpus manifest scoped to `realm:{network_id}`, so trusted peers in this network can pull it through Atom's signed corpus fetch, and announces it on gossip topic knowledge.source_offers.v1.

Knowledge.OfferSources input
FieldTypeRequiredDescriptionAllowed
limitoptional
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/sources/offerHTTP route

Knowledge.PageContribute

Record a role-aware, evidence-bearing contribution as an n-ary KnowledgeRelation. Consumes bounded paper credits and never mutates canonical revisions, ballots, or positions.

Knowledge.PageContribute input
FieldTypeRequiredDescriptionAllowed
slugrequired
bodyrequired
rolerequired
stancerequired
paper_credit_stakerequired
5 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/contributeHTTP route

Knowledge.PageEnsure

Establish a Knowledge Commons page and its initial human-authored canonical revision. Idempotent by slug; later agent activity is proposal-only.

Knowledge.PageEnsure input
FieldTypeRequiredDescriptionAllowed
slugrequired
titlerequired
bodyrequired
actor_idrequired
4 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/ensureHTTP route

Knowledge.PageFrame

Read one wiki-like page frame: canonical and historical revisions, discussion, candidate synthesis, publication decisions, authority, and paper economics.

Knowledge.PageFrame input
FieldTypeRequiredDescriptionAllowed
slugrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • POST /knowledge/page/frameHTTP route

Knowledge.PageMissionAudit

Record a verified-human accept or reopen decision over reported mission execution evidence. Reopen affects only the bounded mission; no canonical revision, Task bounty, or Agent merit is mutated.

Knowledge.PageMissionAudit input
FieldTypeRequiredDescriptionAllowed
slugrequired
mission_idrequired
execution_idrequired
audit_outcomerequired
audit_reasonrequired
human_confirmedrequired
6 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/mission/auditHTTP route

Knowledge.PageMissionAuthorize

Authorize a bounded paper-accounted agent mission against the current published revision through an explicit verified human decision. Typed Task, consent, Provider, and Agent bridges remain undispatched.

Knowledge.PageMissionAuthorize input
FieldTypeRequiredDescriptionAllowed
slugrequired
published_revision_idrequired
titlerequired
bodyrequired
mission_kindrequired
assigned_agent_idrequired
success_criteriarequired
paper_credit_budgetrequired
challenge_window_msrequired
expires_at_msrequired
human_confirmedrequired
11 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/mission/authorizeHTTP route

Knowledge.PageMissionChallenge

Record a bonded challenge to the current mission execution from an authenticated human or runtime-authorized agent. The challenge remains paper-only pending human audit.

Knowledge.PageMissionChallenge input
FieldTypeRequiredDescriptionAllowed
slugrequired
mission_idrequired
execution_idrequired
bodyrequired
paper_credit_stakerequired
5 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/mission/challengeHTTP route

Knowledge.PageMissionSubmit

Accept execution evidence only from the mission's assigned runtime-authorized agent. Source-ingest missions require a committed Knowledge external-import receipt backed by a durable SHA-256-verified Atom; other artifact references remain reported and unverified. Neither path grants settlement or canonical publication authority.

Knowledge.PageMissionSubmit input
FieldTypeRequiredDescriptionAllowed
slugrequired
mission_idrequired
execution_summaryrequired
artifact_refrequired
artifact_sha256required
external_import_receipt_idoptional
paper_credits_spentrequired
7 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/mission/submitHTTP route

Knowledge.PagePublish

Publish one candidate revision through an explicit authenticated or verified human decision. Uses a base-revision compare-and-swap and emits a non-settling audit receipt.

Knowledge.PagePublish input
FieldTypeRequiredDescriptionAllowed
slugrequired
candidate_idrequired
base_revision_idrequired
decision_reasonrequired
human_confirmedrequired
5 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/publishHTTP route

Knowledge.PageReview

Record a bonded reviewer judgment over one contribution as an n-ary KnowledgeRelation and emit an audit receipt. Review signals remain paper-only and never mutate canonical revisions, ballots, or positions.

Knowledge.PageReview input
FieldTypeRequiredDescriptionAllowed
slugrequired
contribution_idrequired
bodyrequired
rolerequired
verdictrequired
paper_credit_stakerequired
6 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/reviewHTTP route

Knowledge.PageSourceDecide

Activate or reject one external-source proposal through explicit verified-human confirmation. Activation creates a versioned registry policy for the current page revision; release admission still requires a separate bounded mission.

Knowledge.PageSourceDecide input
FieldTypeRequiredDescriptionAllowed
slugrequired
source_proposal_idrequired
source_decisionrequired
source_decision_reasonrequired
human_confirmedrequired
5 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/source/decideHTTP route

Knowledge.PageSourcePropose

Propose a bounded, attributed external source policy as a bonded candidate record. Authenticated humans or mandated runtime agents may propose; proposals cannot mutate canonical knowledge or settle value.

Knowledge.PageSourcePropose input
FieldTypeRequiredDescriptionAllowed
slugrequired
published_revision_idrequired
titlerequired
bodyrequired
source_provider_idrequired
source_datasetrequired
source_licenserequired
source_parser_versionrequired
max_source_recordsrequired
max_source_bytesrequired
freshness_target_msrequired
paper_credit_stakerequired
12 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/source/proposeHTTP route

Knowledge.PageSynthesize

Synthesize cited contributions, reviews, or earlier candidates into a bonded candidate revision. Agents require a mandate reference; candidates never mutate canonical knowledge.

Knowledge.PageSynthesize input
FieldTypeRequiredDescriptionAllowed
slugrequired
base_revision_idrequired
source_idsrequired
bodyrequired
rolerequired
paper_credit_stakerequired
6 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/page/synthesizeHTTP route

Knowledge.PullSourceOffer

Operator only, and off unless CRE8_KNOWLEDGE_SOURCE_OFFERS=1. Pulls one received source offer (`offered_by`, `manifest_atom_id`) through Atom's authenticated pull-tree and checks the artifact's address and size. Imports nothing: the artifact enters Knowledge only through this node's own mission and source policy.

Knowledge.PullSourceOffer input
FieldTypeRequiredDescriptionAllowed
offered_byrequired
manifest_atom_idrequired
2 rows
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/sources/pullHTTP route

Knowledge.Query

Generic Knowledge graph query — filters by kind / property.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/queryHTTP route

Knowledge.RebuildBusinessWebsites

Repair derived website-host indexes on at most 500 existing Knowledge nodes. Requires an authenticated session; imports no records.

Knowledge.RebuildBusinessWebsites input
FieldTypeRequiredDescriptionAllowed
limitoptional
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/business-websites/rebuildHTTP route

Knowledge.Stats

Aggregate Knowledge stats (record counts, ingest rollups).

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/statsHTTP route

Knowledge.Status

Knowledge subsystem health / counts.

Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/statusHTTP route

Knowledge.Symbol

Resolve a single symbol name to its FunctionSignature vertex.

Knowledge.Symbol input
FieldTypeRequiredDescriptionAllowed
symbolrequired
1 row
Calls and output
  • Output keyknowledge.result
  • Classificationroute_handler
  • GET /knowledge/symbol/{symbol}HTTP route

Knowledge.Upsert

Upsert a typed Knowledge entity (idempotent by id). Mutates the knowledge graph; safe to call repeatedly with the same payload.

Calls and output
  • Output keyknowledge.result
  • Classificationreal
  • POST /knowledge/upsertHTTP route

Other routes · 7

Routes without a connection
MethodPathKind
GET/code/graph/galaxy.binraw handler
GET/code/graph/names.txtraw handler
GET/code/graph/searchraw handler
POST/graph/link-callsroute
POST/graph/link-traitsroute
POST/graph/queryroute
GET/view/knowledge/commonsraw handler
7 rows

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper_with_sql_compat
  • Preferred truthhyper
  • App ownerKnowledge
  • SQL projectioncompatibility_projection · DDL declarations: 2
Hyper vertex kinds read
  • FunctionSignature
  • IrHash
  • KnowledgeNode
  • SourceFile
  • SubGraph
Hyper vertex kinds written
  • CorpusManifest
  • EnumDef
  • FunctionSignature
  • ImplBlock
  • KnowledgeEntity
  • KnowledgeEntityCandidate
  • KnowledgeEntityKey
  • KnowledgeEntityName
  • KnowledgeEntityRow
  • KnowledgeNode
  • KnowledgeObservation
  • SourceFile
  • StructDef
  • TraitDef
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • warningApp declares a Hyper graph model and SQL DDL; treat SQL as compatibility/projection until migrated. (hybrid_model)
SQL tables
Table
knowledge_ingest_runtime
1 row

Capabilities and dependencies

Depends on
  • Hyperdb
Gossip topics
TopicDescription
knowledge.source_offers.v1Source artifacts this node's Knowledge imports were built from, offered to peers in the same network as metadata (atom ids, provider, dataset, release, size). Receivers record offers only; bytes move on an operator's explicit pull.
1 row

Structure review · 3

Warnings · 3