Documentation Index
Fetch the complete documentation index at: https://docs.sigilix.ai/llms.txt
Use this file to discover all available pages before exploring further.
guidance and rules.<role> are the simplest part of sigilix.json and the part that moves the most signal. Both are free-form text appended to specialist prompts — Sigilix doesn’t lint them, the models just read them. Quality matters more than length.
Two layers, one mental model
| Layer | Where it applies | When to use |
|---|---|---|
guidance | Every specialist + the synthesizer | Repo-wide truths every reviewer must know |
rules.<role> | Only that one specialist | A rule that only matters to one role |
guidance as “what every reviewer should walk in knowing” and rules.<role> as “the focused playbook for this role on this repo.”
What good guidance looks like
Good guidance is specific, load-bearing, and short.- Good
- Bad
guidance. If they wouldn’t, it doesn’t.
Length & structure
Guidance is read on every review, so it counts against the token budget. Targets:- Under 150 words is comfortable.
- 150–400 words is fine for complex stacks; structure it as a bulleted list so the model can attend per-bullet.
- Over 400 words starts to dilute. Consider moving repo-wide checks into
rules.<role>ordeterministicChecksinstead.
Per-role rules
Userules.<role> when a rule clearly belongs to one specialist’s domain. The role tokens are the internal names:
| Token | Specialist | Use for |
|---|---|---|
logic | Glyph | Architecture, layering, dependency rules, dead code |
security | Warden | Auth boundaries, input validation, secret leakage |
performance | Pulse | N+1, hot paths, memory, big-O regressions |
tests | Weave | Naming, semantics, test coverage, branch reachability |
Why per-role instead of just guidance?
Two reasons:
- Token budget. Repo-wide guidance is read by every specialist. A 200-word security-only rule wastes 200 tokens × 4 specialists × every review. Per-role rules are read once, by the right specialist.
- Signal clarity. When you write “All POST routes need CSRF” in
guidance, the performance specialist reads it too and now has noise to discount. Put it inrules.securityand only Warden sees it.
Anti-patterns
These show up regularly and should be moved out:| Pattern | Where to put it instead |
|---|---|
”Reject lines containing console.log” | deterministicChecks (a regex catches this for free) |
“Skip dist/** and lockfiles” | pathFilters |
| ”Apply this rule only on PRs by user X” | Out of scope — Sigilix doesn’t gate on author |
| ”Always approve PRs that only touch comments” | Out of scope — Sigilix’s verdict is from the synthesizer, not configurable shortcuts |
| A 2,000-word style guide | Externalize as a linked doc; reference it: "See https://example.com/style for full rules" |
Iterating
The fast loop:- Drop a
sigilix.jsonwith your first-draftguidanceinto an open PR. - Sigilix re-runs on the next push and reads the new config.
- Read the next review — did the prompt hit, miss, or over-flag?
- Edit
guidancein the same PR. Iterate.
sigilix.json to your default branch so future PRs inherit it.
Read next
Path Filters & Profile
Scope reviews to the files that matter.
Deterministic Checks
Encode hard regex rules that don’t need an LLM.

