Docs / README · Edit on GitHub

rgctl documentation

Agent-first docs: index once, query with -f json, deepen in the User Guide when a human needs the full walkthrough.

Primary (start here)

GoalCanon
Install rgctl + choose operating modeInstallation
Step-by-step feature how-tos (CoolStore)Guides
Per-language extraction + GQL probesLanguages
Contribute to rgctl (agent README)AGENTS.md — rules, cold profiles, tests/benches
Use rgctl with LLM IDEsAgent commands · USER_AGENTS_TEMPLATE · Agent recipes
JSON shapes (schema_version, fields)JSON API
CLI walkthrough (ecommerce-java)User Guide
Concepts (what / why)Introduction

Use rgctl (consumer agent loop): install skills → discover once → gql / blast-radius / cpg with -f json (agent-commands).
Contribute to this repo: AGENTS.md.
First hour (human): Install → User Guide §1–4 on ecommerce-java, then a Guide for the feature you need.
Latest release: v0.4.15 release notes (Antigravity skill install, in-memory extraction).

Upgrading from v0.4.9: no breaking changes — PHP is additive (discover -l php). Ruby is additive (discover -l ruby).

Upgrading from v0.4.8: v0.4.9 release notes (daemon/MCP removed; Kantra; in-repo .rgctl/ only).

Secondary

GoalDoc
Supported languagesLanguages
Markdown / doc context graphGuide (step-by-step) · Reference.md / .mdx, GQL, Obsidian export, doc semantic index
FAQ / glossaryFAQ · Glossary
HTTP serve query APIHTTP API
CI blast-radius policyPolicy format
Monolith migration (how-to)Building a migration plan
Research mapFurther reading

Optional browser UI (nice-to-have, not required for agents): Dashboard user guide after discover --with-dashboard.

For contributors

Internals and contribution bars — not the default agent reading path.

DocumentTopic
Contributor checklistEnd-to-end workflow: add language, update feature, tests, PR
Feature designsPer-capability engineering notes
Tier 1 language supportLayer A–F bar for Tier 1 languages
Code structureCrate layout
Analysis architectureCFG / PDG / taint
Graph storage architectureSnapshots, blast cache
CLI I/O sanity QEGolden-path test contract
Integration test matrixTier A/B/C — in-repo artifacts, HTTP serve, CLI subprocess
Dashboard designWASM export pipeline
Migration planner design · Migration algorithms · Harmonic centralityMigration internals
ReleasingVersioned binaries
CONTRIBUTING.mdDev setup

Terminology

TermMeaning
Tier 1 languagesTen always-linked plugins (see languages/README.md)
--with-cfgCFG/PDG archive (prefer over legacy --cfg)
CommunitiesLabel propagation (Raghavan 2007); louvain_community_id is historical
Dashboard / migration JSONOpt-in (--with-dashboard / --export-migration-hints)
First-hour fixtureIn-tree ecommerce-java

Redirects

Docs match the CLI in this repository — verify with rgctl --version.

Maintainer scratch: internal/ (not public).