Skip to content

Operations Index

Mikhail Deynekin edited this page Nov 29, 2026 · 8 revisions

Operations A–Z

All 93 operations of the facade, alphabetically. Each name links to its own page; the same operations grouped by task are on 04 · Operations reference.

Operation Group Edition MCP CLI What it answers
attest_bundle External contours enterprise yes yes Attesting a delivery: assemble a signed bundle or verify a ready one
broker_issue External contours pro yes — Issuing a secret on request: a lease with a term, a grantor and a reason
broker_rotate External contours pro yes — Scheduled rotation of the value: status | plan | run
calibrate Index quality community — yes Threshold calibration (FT-11 of the specification)
callees Code graph community yes yes What it calls (the confidence threshold is a parameter, stage 10)
callers Code graph community yes yes Who calls it
catalog Navigation and reading community yes yes Registry of projects: what is indexed, when, with which checksums
class_usage Databases community yes yes Presentation classes: where each is defined, where used, what diverges
code Navigation and reading community yes yes Symbol bodies — only on an explicit request
compact Corpus administration community yes — Retention policy: how much .ragraf takes up and what can be removed
contract_diff External contours enterprise yes yes Changes to the contract between two releases: what appeared, what disappeared and what changed, with breaking and compatible kept apart
contract_drift External contours enterprise yes yes Reconciling intent and code by FQN: modules, dependencies, contracts
contract_pin_approve External contours enterprise yes yes Confirm the current description of an operation (or of all of them) by a human
contract_pin_history External contours enterprise yes yes History of the pinned set: who changed it, when, and from which hash to which, with a summary by author and by object
contract_pin_sample External contours enterprise yes yes Behaviour probe: what an operation actually returns, hashed without the volatile fields — the part a signature pin cannot see
contract_pin_status External contours enterprise yes yes Pinning of operation signatures: what is confirmed, what has diverged
db_cross Databases community yes yes "Code ↔ database" reconciliation: what does not match and who does what
db_drift Databases community yes yes What changed: between revisions AND between migrations and the database (P1-4)
db_relations Databases community yes yes Table relations: declared and inferred from names, kept separate
db_sample Databases community yes yes Sample rows of a table: a snapshot marked with its staleness
db_schema Databases community yes yes Structure of the live databases: tables, columns, types, indexes
db_table Databases community yes yes One table in detail: columns, indexes, relations, hidden fields
dead_code Corpus structure community yes yes 12c. Files and routines with no references and outside reachability (P1-2)
dependents Provenance and staleness pro yes yes What relied on a fact: direct and transitive dependencies along the edges
diff Code graph community yes yes P2-1. What changed between revisions: files, symbols, edges, regressions
doc_asof Provenance and staleness pro yes yes Search across documents valid on a date (the validity interval)
doc_get Documents community yes yes Text by document address, with provenance: from the index or from disk
doc_ocr Documents pro yes yes State of the OCR capability and the decision for one particular file
doc_relations Documents pro yes yes Document links through shared entities: addresses on both sides
doc_search Documents community yes yes Search across document chunks: the fact, its address, its provenance
doc_search_levels Documents community yes yes Dual-level search: local facts and the global level in one answer
doc_status Documents community yes yes State of the document layer: statuses, reasons, budgets
doc_validate Documents community yes yes Checking the integrity of the chunking: a verdict, not an impression
drift_ack Corpus structure community yes yes Acknowledging deltas: appending an ack, WITHOUT deleting the entry (FT-36)
drift_report Corpus structure community yes yes Journal of divergences
duplicates Corpus structure community yes yes 12b. File copies: "one name with numbers" groups and byte-identical ones (P1-2)
edge_evidence Code graph community yes yes A function's edges with their evidence: kind, how it was bound, coordinate
entity_neighbors Documents pro yes yes An entity's neighbours in the document graph: each with the address of its citation
entrypoints Corpus structure community yes yes 12a. Entry points and file reachability (P1-2)
excludes Corpus structure pro yes yes P2-4. Profile of "noisy" directories: what is excluded and what that costs
fact_forget Corpus administration pro yes yes Forgetting a fact: a tombstone and a reason in the notes journal, the record itself is not deleted
fact_history Corpus administration pro yes yes All versions of a fact: replacements and the tombstone, each with its reason
fact_recall Corpus administration pro yes yes Reading facts by substring, namespace or tags; expired ones only on an explicit request
fact_replace Corpus administration pro yes yes Replacing a fact's value: a new version, the previous one kept in history with its reason
fact_store Corpus administration pro yes yes Storing a fact with a key, a version and a lifetime; a second live record for the same key is refused
freshness Navigation and reading community yes yes Index freshness: whether the corpus checksum matches the code
gate Index quality community — yes P3-1 (§3.2). Gate decision on a tool call: allow / ask / deny
global_overview Documents pro yes yes Map of the document graph: how much of what, and which themes dominate
impact Code graph community yes yes What a change will touch. Proven and heuristic links kept apart (FT-18)
index_status Corpus administration community yes yes Revision state, coverage, degradation, journal size
invariant_list Invariants pro yes yes The pinned set: statement, probe kind, origin, verdict, retired entries optionally
invariant_mutation Invariants pro yes yes A declared mutation area: snapshot before, verify after, roll the whole area back on violation
invariant_pin Invariants pro yes yes Pinning an invariant: statement, machine probe and a path:line origin that must exist
invariant_release Invariants pro yes yes First half of unpinning: the constraint is gone from the system, with reason and place
invariant_unpin Invariants pro yes yes Second half: removing an entry whose constraint is proven absent; retire for a mistake
invariant_verify Invariants pro yes yes Re-reading the WHOLE pinned set against the current state — not against a diff
license_offline External contours enterprise yes yes Offline licence for a closed contour: request, issue, acceptance, transfer
live_read Navigation and reading community yes yes Reading the current file, highlighting what differs from the index (FT-31)
neighbors Navigation and reading community yes yes Neighbouring contours: a ready implementation of the same stack
note Corpus administration community yes yes P2-3. Recording a note about a decision: short knowledge between sessions
notes Corpus administration community yes yes P2-3. Reading notes: by task and/or by a substring of the text
policy_trace Databases community yes yes Tracing decisions about permissions (U6)
preflight Corpus structure pro yes yes Price and boundaries BEFORE indexing: what it will cost and what will not be covered
quality_diff Index quality pro yes yes Breakdown of the divergences between two quality runs
quality_pair Index quality pro yes yes Paired run: the same fixed cases, two runs, a verdict per case
quality_prune Index quality pro yes yes Thinning the quality-run journal: a copy, a confirmation, entry numbers
quality_suite Index quality pro yes yes Index check suite: chunk size, signatures, vector, mode, breakdown
quality_trace Index quality pro yes yes Trace of a confirmed failure: record it, show it, replay it
references Navigation and reading community yes yes Every place a symbol is used
repo_map Navigation and reading community yes yes Repository map: modules → files → key symbols, within a token budget
route Navigation and reading community yes yes The route: where the material lives and which local index answers
routes Databases community yes yes Routes and entry points: registrations and markup links (P1-3)
schema Databases community yes yes Database schema from the project's migrations (M2, P1-4)
search Navigation and reading community yes yes Hybrid search: lexis + vectors (RRF), every hit with its provenance
search_multi Navigation and reading community yes yes 1a. Search "in one answer": several queries, copies, encodings (P1-1)
shared_index_publish External contours pro — — Open or close the corpus publication, or change a client's admission
shared_index_query External contours pro — — Put a question to a published index at its address
shared_index_status External contours pro — — State of the corpus publication: whether it is open for reading and who is admitted
siem_export External contours enterprise yes yes Exporting journals to an external SIEM after a cursor
siem_test External contours enterprise yes yes A trial delivery to the SIEM receiver
skill_catalog Navigation and reading pro yes yes Which skills the corpus carries and what reading each one costs, before any body is read
skill_load Navigation and reading pro yes yes The skill body page by page, with sha256 and next_offset; next_offset=0 means there is no continuation
skill_reference Navigation and reading pro yes yes A reference/<name>.md file of a skill by name; anything with a directory in it is refused with path_jail
slice Code graph community yes yes Structural slice: nodes + edges + lines, WITHOUT function bodies (FT-19)
sso_login External contours enterprise yes yes OIDC sign-in: exchanging the authorisation code and verifying the id_token
sso_map_roles External contours enterprise yes yes Mapping groups of the external directory onto panel roles
stale_cascade Provenance and staleness pro yes yes What to recompute after the inputs change: a cascade along fact → fact edges
symbol Navigation and reading community yes yes A symbol: kind, file, lines, signature
table_usage Databases community yes yes Who reads a table and who writes it (U4, U5)
task_set Corpus administration community — yes P3-3. Naming the current task (RAGRAF_TASK without a client)
task_stats Corpus administration community yes yes P3-2 (§3.4). Report line for a task: what the work was evidenced by
themes Documents pro yes yes Themes of the document graph: participants, addresses and a summary, where one exists
write_check Databases community yes yes Checking the write plan against the schema BEFORE execution (U1)

How the operation pages are written

Every one of the 87 pages has the same ten parts, in the same order, so that a reader who has read one page knows where everything is on the rest:

  1. The name as the title, and one sentence saying what the operation answers.
  2. At a glance — group, edition, capability, MCP tool with its annotations, CLI form.
  3. Why it exists — the problem it was created for, with the place the reason is stated.
  4. What it solves — the questions it closes and the decisions it supports.
  5. How to use it — the call form from the signature, and an answer captured on a real corpus, or the reason why no example was run.
  6. Parameters — name, type and default, read from the signature.
  7. What it returns — the result keys, and the fields the body adds to the envelope.
  8. How it works — what it reads, calls, is guarded by and writes, with a diagram built from those same facts.
  9. Where it stops — the limits field of the answer, and a pointer to the group boundary instead of a copy of it.
  10. Around this group — previous and next inside the group, then the hub.

Two rules hold on every page. A fact that cannot be read from the code is not written: if the result keys are built at runtime, the page says so instead of guessing, and if the code has no fork, the diagram has none either. And every page names its source, because a claim without a reference is a guess.

Codes in brackets inside the one-line answers — FT-11, P1-1, U1, NFR-6, R-PERF-1 — are requirement, plan and roadmap identifiers of this project. They are kept verbatim, exactly as they stand in the reference table, so that a sentence on a page can be traced back to the document that asked for it; they are not shortcuts a reader is expected to decode from memory.

Keeping these pages current

The 87 pages are generated, not typed. Editing one by hand is lost at the next run, so a change belongs in the generator or in the data it reads:

Step Command What it does
1 python tools/build-op-data.py --out op-data.json reads the signatures, the MCP annotations, the edition baseline, the reference table and the body of each method into one file
2 python tools/build-op-examples.py indexes a small demo corpus and runs every read-only community operation, keeping the real answer
3 python tools/build-wiki-ops.py regenerates the pages, the A–Z index, the hub links and the sidebar entry
4 python tools/check-wiki-ops.py page count, the ten parts in order, previous/next chains whole, names matching the surface
5 python tools/check-op-text.py every hand-written reason has a source that exists, and the English fields carry no Cyrillic
6 python tools/check-wiki-diagrams.py one diagram per page, its nodes matching the facts of that operation, an entry and an exit
7 python tools/check-wiki-links.py every internal link resolves, every external one answers

The generator lives outside the repository, next to the other documentation tools, because the wiki is a separate git repository: the clone is RAGRAF.wiki, the generator runs over it from the project workspace.

Clone this wiki locally