Docs that stay in sync.
Wiki pages are not a separate silo. Pins, API reference blocks, and coverage reports read from the same symbol graph that indexing builds on every push.
kg.symbols - exported - payments-coresynced 2m ago(ctx, Order) -> (Receipt, error)3 callersstruct {ID, Seat, Rate}6 callersNot pasted in. Generated from the graph on every push.
API reference that writes itself.
The payments service exposes a small, deliberately boring surface. Everything routes through processPayment, which assigns a seat, quotes the gateway, and commits a receipt. The table below is not pasted in - it is the public surface as the indexer sees it right now.
| Symbol | Signature | Callers |
|---|---|---|
| processPayment | (ctx, Order) -> (Receipt, error) | 3 |
| refund | (ctx, ChargeID) -> error | 2 |
| quote | (amount, Currency) -> Rate | 5 |
| Receipt | struct { ID, Seat, Rate } | 6 |
# regenerated on push - last index 2m ago - 4 of 4 exported symbols shown
# 3 callers across 2 projects - depth 1
The graph knows what has no docs.
The graph knows which modules have no page. Generate a stub for any of them and it ships pre-filled with the live symbol table, callers, and import edges - then you write the prose.
| Page | Kind | Symbols | Freshness | |
|---|---|---|---|---|
| API reference | authored | 4 / 4 | synced | |
| Architecture map | generated | all | synced | |
| Charge runbook | authored | 1 / 1 | drift | |
| gateway/handlers | none | 0 / 11 | no page | generate stub ◈ |
| kg/index | none | 0 / 6 | no page | generate stub ◈ |
# ▤ authored · ◈ generated · ∅ undocumented module the graph can scaffold
Browse live wiki →From stale to reconciled in four steps.
Example: processPayment gains a ProcessOpts parameter. The prose that described the old signature is rebuilt automatically and reviewed once.
Routes every charge through processPayment, which assigns a seat and commits a receipt.
(ctx, Order) -> (Receipt, error)3 callers# synced 3 days ago
Routes every charge through processPayment, which accepts optional ProcessOpts to override retry behaviour, assigns a seat, and commits a receipt.
(ctx, Order, ProcessOpts) -> (Receipt, error)3 callers# regenerated just now
Live on our source
Browse the wiki on a real repo.
Coverage, API reference blocks, and drift reconciliation on the Citadel fixture namespace.