Documentation Index
Fetch the complete documentation index at: https://docs.oktolabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
KG decision history
You can use the Knowledge Graph to recover design decisions from prior sprints before an agent writes new work. This keeps the next spec from contradicting decisions the team already made.The problem
An agent starting a new spec may not know why a choice was made three sprints ago. The answer might live in an old spec, a bug learning, or a superseded decision. KG queries make that context discoverable.How decisions enter the KG
Decisions recorded on specs consolidate intoDecision nodes. Alternatives, constraints, entities, learnings, and supersedence edges can connect to those nodes.
Query the decision history
Use topic search when you know the area but not the exact node ID.Follow supersedence
When you have a decision ID, trace its replacement chain.Find similar past decisions
Use similarity before creating a new decision. It catches renamed or paraphrased topics.Trace contradictions before writing a new spec
Run contradiction search before introducing a change that might violate old constraints.Read-only reporting agent setup
A reporting agent needskg.query.decision_history, kg.query.similar_decisions, kg.query.supersedence_chain, and relevant entity read flags. It does not need kg.session.commit or admin flags.