Skip to content

docs: turn docs/configuration.md into a reference - #276

Merged
goldbarth merged 1 commit into
mainfrom
docs/configuration-reference
Sep 29, 2026
Merged

goldbarth merged 1 commit into
mainfrom
docs/configuration-reference

Conversation

@goldbarth

Copy link
Copy Markdown
Owner

Follows #270 and #274, whose pages took the tutorials and rules out of this one.

  • Why: docs/configuration.md mixed a reference with measurements, a context-window tutorial and visibility rules; after docs: move provider setup to docs/providers.md #270 and docs: explain what goes into a release in docs/what-goes-into-a-release.md #274 moved those out, what was left had no "valid values" anywhere, no word on where the file is read from, and no word on lists and maps as environment variables. Three descriptions were wrong.
  • Where the file is read from: chartula.yaml or chartula.yml in the directory the run starts in, no search upward, so a run from a subdirectory reads no file. With both present, chartula.yaml wins (chartula.yml is ignored without a word when chartula.yaml exists next to it #278 makes that a refusal).
  • Environment variables for lists and maps: __0, __1 per element and one variable per map name, with the consequence that a variable replaces one element, not the list.
  • One table per section with default, valid values and description. Every thinking and depth alias is listed, and that provider, thinking and depth ignore - and _.
  • Corrected against the code: breakingProminent affects the product rendering only (GroundedFactsFactory.cs); categories.names changes the name the model is given for a category, not a heading (CategorySettings.DisplayName is used only in the fact statement); order applies within the groups of the technical and customer renderings.
  • excludeCategories: [] keeps the default: the old text said an empty list replaces it, which is what the code intends and does not do. The page states the actual behavior until An empty list in chartula.yaml is read as no setting, so excludeCategories: [] keeps [Internal] #277 fixes it.
  • No measurements or tutorials: the alpha-run figures and the "measured to cost thousands of tokens" claim under faithfulness are gone.
  • A complete example that sets every key.
  • chartula.example.yaml becomes every key with a one-line comment and a link, no prose; the local and hosted provider examples live in docs/providers.md.

Verified: all 19 keys of ChartulaYamlSchema.cs appear in a table of the page and in chartula.example.yaml. The example file, uncommented, and the page's example both pass ChartulaYamlConfiguration.Flatten (the first with a temporary test, the second with MalformedYamlTests). The empty-list behavior was checked with a temporary test: Flatten returns no pairs and the bound list is null. Every relative link and anchor resolves.

Tests: no test changed. MalformedYamlTests and ChartulaYamlSchemaTests passing (43).

@goldbarth goldbarth self-assigned this Sep 29, 2026
@goldbarth
goldbarth merged commit beaa5b7 into main Sep 29, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/configuration-reference branch September 29, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant