Skip to content
RAGRAF

repo_map

Edition: community ragraf_repo_map

Repository map: modules → files → key symbols, within a token budget

Parameters

Name Type Default
scopestr | NoneNone
budget_tokensint2000
detailstr'normal'

Call example

ragraf -p config/ragraf.yaml query repo_map

Angle brackets mark a required parameter; defaults may be omitted.

What it returns

budget_chars, budget_note, budget_tokens, chars_used, files, files_included, files_total, ranking, ranking_note, scope

When it refuses

An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.