requirements.authoring.configuration_documentation
Requirements index · View definition
Requirement
Authoring documentation MUST follow
and include complete TOML examples for Bedrock, Ollama, and OpenAI, with all placeholders identified. It MUST show how to choose a default, use a remote Ollama server, select a configuration for a project or invocation, and edit or remove selections by hand. It MUST explain backend-specific options and credential-source references.
Rationale
I judge the tests adequate. I read the documentation section in md/requirements/authoring.md and the four supplied tests in tests/configuration.rs. I did not request implementation source.
Complete TOML examples for Bedrock, Ollama and OpenAI
authoring_documentation_shows_each_configuration_taskextracts the chapter from:::{req} configuration_documentationto## Recording results.- It parses every TOML block in that chapter with
WorkspaceConfig::parsewhen the block contains[evidence], otherwise withUserConfig::parse. A block that doesn’t load as a real file fails the test. - It asserts that blocks exist containing
backend = "bedrock"andbackend = "ollama". - It finds an OpenAI block, failing with “authoring documentation must include a complete OpenAI example” if there is none, and checks that it has
api_key_env = "OPENAI_API_KEY". documented_configuration_examples_are_complete_valid_filesrepeats the parsing across the reference, configuration and authoring documents. It also asserts that each block starts withversion = 1and that at least 14 blocks were checked.
All placeholders identified
authoring_documentation_shows_each_configuration_taskchecks the prose around each block.MODEL_ID,MODEL_TAGandOPENAI_API_KEY_VALUEmust be named in backticks or covered by “replace every uppercase placeholder”.- The same test checks specific instructions for
research,us-east-1,workstation,/absolute/path/to/project, andgeneratedwithgenerated/private. documented_configuration_examples_identify_their_placeholdersapplies this across all three documents. It also treats every all-uppercase string value as a placeholder.documented_configuration_examples_are_complete_valid_filesrequires literal credential values to be uppercase placeholders. It also requires exactly one literal-credential example, and that it be in the authoring chapter.
File to edit, as requirements.configuration.documentation requires
documented_configuration_examples_name_the_file_to_editrequires each example’s introduction to nameconfig.tomlorhabeas.toml.- The main test checks the target file for each authoring block. It also checks that the project-selection example says the table is valid only in the user file.
Show how to choose a default, use a remote Ollama server, and select a configuration for a project or invocation
- The default is covered by
any_block("[authoring]\ndefault = "). - The remote Ollama server is covered by
endpoint = "http://workstation:11434"and theworkstationinstruction. - The project selection is covered by
[authoring.projects.. - The invocation selection is covered by the phrase “Add
--config local”.
Edit or remove selections by hand
- The test asserts the phrases “Edit
authoring.defaultto change the user default”, “Delete the corresponding field or project table to remove a selection”, and “To remove a named configuration, delete its table and update any selections naming it”.
Backend-specific options and credential-source references
- The test asserts the
[authoring.configs.<name>.options]table. - It asserts
api_key_env = "OLLAMA_API_KEY"and the Bedrockaws_profileandregiondefaults. - It asserts
reasoningandmax_output_tokens, and the OpenAI defaults, endpoint override and implicitOPENAI_API_KEY. - It asserts the rule against combining
credentialswithaws_profile, orapi_keywithapi_key_env. - It also asserts the Ollama and Bedrock reference-page options (
num_ctx,maxTokens).
Cited requirements.configuration.documentation
- The file-to-edit, placeholder and literal-secret checks apply that requirement’s rules to the authoring examples.
- The primary examples use credential-source references, and literal credentials appear only as uppercase placeholders.
Residual risk
- The checks are prose-substring and parse-based, which is the normal way to test documentation content. A rewording would break the tests, but that is not a gap.
- I found no required obligation without a test.
Inputs
Implementation
Input 7: outline md/requirements/authoring.md section[Authoring%20evidence]/section[Configuration]/section[Editing%20the%20file]
- File:
md/requirements/authoring.md - Selector:
section[Authoring%20evidence]/section[Configuration]/section[Editing%20the%20file] - Kind:
section md/requirements/authoring.md:1914–2139
### Editing the file
:::{req} configuration_documentation
Authoring documentation MUST follow {cite}`requirements.configuration.documentation`
and include complete TOML examples for Bedrock, Ollama, and OpenAI, with all placeholders
identified. It MUST show how to choose a default, use a remote Ollama server,
select a configuration for a project or invocation, and edit or remove selections
by hand. It MUST explain backend-specific options and credential-source references.
:::
Create the user file at the [shared configuration location](configuration.md#locations-and-scope).
For workspace settings, create `habeas.toml` in the directory whose descendants
should use them. The nearest enclosing file wins. This complete workspace `habeas.toml`
selects the user's saved `cloud` configuration and makes a generated source
directory readable while excluding its private subtree:
{impl}`requirements.configuration.documentation`
{impl}`requirements.authoring.configuration_documentation`
```toml
version = 1
[authoring]
default = "cloud"
[evidence]
allow = ["generated"]
disallow = ["generated/private"]
```
Replace `generated` and `generated/private` with your own paths.
Workspace files can also contain `[authoring.configs.<name>]` tables using the
same backend structures shown below. Those records override same-named user
records as a whole. A user's explicit project selection takes precedence over a
workspace default; `--config` takes precedence over both. Remove the workspace
default or configuration table to fall back to the user settings.
For Ollama, this is a complete minimal user `config.toml`; it can also serve as
a workspace `habeas.toml`. Replace `MODEL_TAG` with a model identifier available
on the local server:
```toml
version = 1
[authoring]
default = "local"
[authoring.configs.local]
backend = "ollama"
model = "MODEL_TAG"
```
For Bedrock, this is a complete minimal user `config.toml`; it can also serve as
a workspace `habeas.toml`. Replace `MODEL_ID` with an available
model or inference-profile identifier, `research` with your AWS profile name,
and `us-east-1` with your region:
```toml
version = 1
[authoring]
default = "cloud"
[authoring.configs.cloud]
backend = "bedrock"
model = "MODEL_ID"
aws_profile = "research"
region = "us-east-1"
```
This complete user `config.toml` combines Bedrock, local Ollama, and remote
Ollama. Its `[authoring.projects]` table is valid only in the user file, never
in a workspace file. Replace
`MODEL_ID` with an available Bedrock model or inference-profile identifier,
`research` with your AWS profile name, `us-east-1` with your region, `MODEL_TAG`
with an Ollama model identifier, `workstation` in the URL with your server, and
`/absolute/path/to/project` with the canonical path to your checkout.
```toml
version = 1
[authoring]
default = "cloud"
[authoring.configs.cloud]
backend = "bedrock"
model = "MODEL_ID"
aws_profile = "research"
region = "us-east-1"
[authoring.configs.local]
backend = "ollama"
model = "MODEL_TAG"
[authoring.configs.workstation]
backend = "ollama"
model = "MODEL_TAG"
endpoint = "http://workstation:11434"
[authoring.projects."/absolute/path/to/project"]
config = "workstation"
```
Edit `authoring.default` to change the user default, or the project entry's
`config` to change that checkout's selection. Delete the corresponding field or
project table to remove a selection. To remove a named configuration, delete its
table and update any selections naming it. Preserve other feature sections when
editing an existing file.
Run `habeas author --all` to fill in evidence needing attention, or
`habeas author <full-name>` to author one requirement or example; add `--force`
to reassess current evidence. Add `--config local`
to override the saved selection for one run. Set `concurrency` alongside `backend`
and `model` to override the provider's default number of simultaneous assessments.
This complete user `config.toml` sets it for the `cloud` configuration; the same
table can appear in a workspace `habeas.toml`:
```toml
version = 1
[authoring]
default = "cloud"
[authoring.configs.cloud]
backend = "bedrock"
model = "MODEL_ID"
concurrency = 4
```
Here `MODEL_ID` is your available model identifier and four is an illustrative
choice, not the default. Bedrock and OpenAI default to the available logical CPU count;
Ollama defaults to one. Lower concurrency if the provider reports throttling;
rerunning `habeas author --all` preserves current accepted results and retries
records that still need attention.
Backend options belong under
`[authoring.configs.<name>.options]`. For an authenticated Ollama server, put
`api_key_env = "OLLAMA_API_KEY"` in its configuration table and set that variable
outside the file. Omit `aws_profile` or `region` to use AWS SDK defaults; omit an
Ollama endpoint to use localhost.
For OpenAI, set `OPENAI_API_KEY` to your API key outside the file and use this
complete user `config.toml` with a credential-source reference. The default
model is `gpt-6.1-sol`, with low reasoning effort and an output-token limit
of 16,384. Model and inference settings remain overridable.
```toml
version = 1
[authoring]
default = "openai"
[authoring.configs.openai]
backend = "openai"
api_key_env = "OPENAI_API_KEY"
```
You may omit `api_key_env` to use `OPENAI_API_KEY` implicitly, or name a different
environment variable. To keep the key in your user file instead, replace
`api_key_env` with `api_key = "OPENAI_API_KEY_VALUE"`, substituting your key for
`OPENAI_API_KEY_VALUE`. OpenAI uses
the Responses API at `https://api.openai.com/v1`; `endpoint` overrides that base URL.
To opt into experimental adaptive routing, set `model = "adaptive"`. It starts
with GPT-5.4-mini and escalates false/FIXME judgments or failed submissions to
Sol; applicable existing FIXMEs go directly to Sol. It accepts mini's `true`
judgments without a Sol audit and missed known gaps in calibration. Adaptive
is a harness model, not an API model ID. Its prompt and routing need further
evaluation before use as a default.
To override the defaults, add `model = "gpt-6-luna"` to the profile and/or
`reasoning = { effort = "medium" }` under its `options` table. Set
`max_output_tokens = 8192` in that same options table to override the output
limit. The `low` effort and 16,384-token defaults also apply to other OpenAI
models; override them with values supported by the selected model. Inference
options are Responses API parameters.
OpenAI defaults to `policy = "once"`: one assessment per subject, including
adaptive escalation if needed. Explicit `policy = "confirm"` independently
reassesses true or FIXME results and uses a third conversation to resolve
disagreement. Other backends continue to default to `confirm`. `concurrency = 1` assesses batch subjects
one at a time; if omitted, OpenAI defaults to the available logical CPU count.
These settings are optional and independent of model selection.
For a model comparison, create one named configuration per model, keep the
policy, output limit, and subject set fixed, and run each on a separate copy
of the same evidence baseline. Existing accepted evidence can otherwise skip
assessment. Compare correctness against your reviewed determinations and
rationales, tool failures, completion rate, elapsed time, and tokens in the
usage records. Start with one concurrent assessment and a small subject set
before increasing the experiment size. Specify each comparison model explicitly.
Literal credentials are supported but not recommended, especially in a
workspace file that might be committed. Prefer the profile and environment
references above. If needed, this complete `habeas.toml` illustrates the fields;
replace every uppercase placeholder with your own value and keep the resulting
file out of version control. Omit `session_token` for credentials without one.
```toml
version = 1
[authoring]
default = "cloud"
[authoring.configs.cloud]
backend = "bedrock"
model = "MODEL_ID"
region = "AWS_REGION"
[authoring.configs.cloud.credentials]
access_key_id = "AWS_ACCESS_KEY_ID"
secret_access_key = "AWS_SECRET_ACCESS_KEY"
session_token = "AWS_SESSION_TOKEN"
[authoring.configs.local]
backend = "ollama"
model = "MODEL_TAG"
api_key = "OLLAMA_API_KEY_VALUE"
```
Do not combine `credentials` with `aws_profile`, or `api_key` with `api_key_env`.
When the model reads a configuration file, its credential values are replaced
with `[REDACTED:<field>]`. Validation reports a committed workspace file that
contains literal credentials; keep such files out of version control or use
credential sources instead.
{impl}`requirements.authoring.credentials`
Tests
Input 3: outline tests/configuration.rs fn[documented_configuration_examples_are_complete_valid_files]
- File:
tests/configuration.rs - Selector:
fn[documented_configuration_examples_are_complete_valid_files] - Kind:
fn tests/configuration.rs:1324–1386
// {test}`requirements.configuration.documentation`
// {test}`requirements.authoring.configuration_documentation`
#[test]
fn documented_configuration_examples_are_complete_valid_files() {
let root = Path::new(env!("CARGO_MANIFEST_DIR"));
let mut checked = 0;
let mut literal_credential_examples = 0;
for document in [
"md/reference.md",
"md/requirements/configuration.md",
"md/requirements/authoring.md",
] {
let text = fs::read_to_string(root.join(document)).unwrap();
let blocks = text.split("```toml\n").skip(1);
for block in blocks {
let source = block.split("\n```").next().unwrap();
let path = Path::new(document);
// Workspace files are the only ones with `[evidence]` or
// `[coverage]` tables.
let parsed = if source.contains("[evidence]") || source.contains("[coverage]") {
WorkspaceConfig::parse(source, path).map(|_| ())
} else {
UserConfig::parse(source, path).map(|_| ())
};
parsed.unwrap_or_else(|error| panic!("{document}: {error}\n{source}"));
assert_eq!(source.lines().next(), Some("version = 1"), "{document}");
// Literal-credential examples in the authoring chapter use only
// uppercase placeholders.
let secrets: Vec<_> = source
.lines()
.filter(|line| {
[
"api_key =",
"access_key_id =",
"secret_access_key =",
"session_token =",
]
.iter()
.any(|key| line.starts_with(key))
})
.collect();
let literal = source.contains(".credentials]")
|| source.lines().any(|line| line.starts_with("credentials"));
if literal || !secrets.is_empty() {
assert_eq!(document, "md/requirements/authoring.md", "{source}");
literal_credential_examples += 1;
}
for line in secrets {
let value = line.split_once('=').unwrap().1.trim().trim_matches('"');
assert!(
!value.is_empty()
&& value
.chars()
.all(|c| c.is_ascii_uppercase() || c.is_ascii_digit() || c == '_'),
"{document}: {line}"
);
}
checked += 1;
}
}
assert_eq!(literal_credential_examples, 1);
assert!(checked >= 14, "{checked}");
}
Input 4: outline tests/configuration.rs fn[authoring_documentation_shows_each_configuration_task]
- File:
tests/configuration.rs - Selector:
fn[authoring_documentation_shows_each_configuration_task] - Kind:
fn tests/configuration.rs:1388–1554
// {test}`requirements.authoring.configuration_documentation`
// {test}`requirements.configuration.state_location`
// {test}`requirements.configuration.documentation`
#[test]
fn authoring_documentation_shows_each_configuration_task() {
let root = Path::new(env!("CARGO_MANIFEST_DIR"));
let section = |document: &str, start: &str, end: &str| {
let text = fs::read_to_string(root.join(document)).unwrap();
let (_, rest) = text.split_once(start).unwrap();
rest.split_once(end).unwrap().0.to_owned()
};
let chapter = section(
"md/requirements/authoring.md",
":::{req} configuration_documentation",
"## Recording results",
);
let reference = section(
"md/reference.md",
"## Authoring evidence with a model",
"### Assessment policy",
);
// Each example is a complete user or workspace file, and every placeholder
// it uses is identified in the prose that introduces it.
let mut pieces = chapter.split("```toml\n");
let mut before = pieces.next().unwrap().to_owned();
let mut blocks = Vec::new();
for block in pieces {
let (source, after) = block.split_once("\n```").unwrap();
let path = Path::new("md/requirements/authoring.md");
if source.contains("[evidence]") {
WorkspaceConfig::parse(source, path).unwrap();
} else {
UserConfig::parse(source, path).unwrap();
}
// The prose before the example, or the paragraph right after it.
let intro = format!(
"{}{}",
before.rsplit("```").next().unwrap(),
after.trim_start().split("\n\n").next().unwrap()
);
let intro = intro.split_whitespace().collect::<Vec<_>>().join(" ");
let target = if source.contains("[evidence]") || source.contains(".credentials]") {
"`habeas.toml`"
} else {
"user `config.toml`"
};
assert!(
intro.contains(target),
"missing target file: {intro}\n{source}"
);
if source.contains("[authoring.projects.") {
assert!(
intro.contains("valid only in the user file, never in a workspace file"),
"{intro}"
);
}
let every_uppercase = intro.contains("replace every uppercase placeholder");
for placeholder in ["MODEL_ID", "MODEL_TAG", "OPENAI_API_KEY_VALUE"] {
if source.contains(placeholder) {
assert!(
every_uppercase || intro.contains(&format!("`{placeholder}`")),
"{placeholder} is not identified:\n{intro}\n{source}"
);
}
}
if source.contains(".credentials]") {
assert!(every_uppercase, "{intro}");
}
for (placeholder, instruction) in [
("research", "`research` with your AWS profile name"),
("us-east-1", "`us-east-1` with your region"),
(
"workstation:11434",
"`workstation` in the URL with your server",
),
(
"/absolute/path/to/project",
"`/absolute/path/to/project` with the canonical path to your checkout",
),
(
"generated",
"Replace `generated` and `generated/private` with your own paths",
),
] {
if source.contains(placeholder) {
assert!(intro.contains(instruction), "{placeholder}: {intro}");
}
}
blocks.push(source.to_owned());
before = after.to_owned();
}
let any_block = |needle: &str| blocks.iter().any(|block| block.contains(needle));
assert!(chapter.contains("Create the user file at the [shared configuration location]"));
assert!(chapter.contains("For workspace settings, create `habeas.toml`"));
// Each backend's example, a default, a remote Ollama server, and a
// project selection.
assert!(any_block("backend = \"bedrock\""));
assert!(any_block("backend = \"ollama\""));
let openai = blocks
.iter()
.find(|block| block.contains("backend = \"openai\""))
.expect("authoring documentation must include a complete OpenAI example");
assert!(openai.contains("api_key_env = \"OPENAI_API_KEY\""));
assert!(any_block("[authoring]\ndefault = "));
assert!(any_block("endpoint = \"http://workstation:11434\""));
assert!(any_block("[authoring.projects."));
for placeholder in [
"`research`",
"`us-east-1`",
"`workstation`",
"`/absolute/path/to/project`",
"`OPENAI_API_KEY_VALUE`",
] {
assert!(chapter.contains(placeholder), "{placeholder}");
}
// Invocation selection and editing or removing selections by hand.
for phrase in [
"Add `--config local`",
"Edit `authoring.default` to change the user default",
"Delete the corresponding field or\nproject table to remove a selection",
"To remove a named configuration, delete its\ntable and update any selections naming it",
] {
assert!(chapter.contains(phrase), "{phrase}");
}
let records = fs::read_to_string(root.join("md/requirements/authoring.md")).unwrap();
assert!(records.contains("Each assessment MUST have a separate JSON usage record"));
assert!(
records.contains("identify its format version, run, project root, subject kind and full")
);
// Backend-specific options and credential-source references.
for phrase in [
"`[authoring.configs.<name>.options]`",
"`api_key_env = \"OLLAMA_API_KEY\"`",
"Omit `aws_profile` or `region` to use AWS SDK defaults",
"`reasoning = ",
"`max_output_tokens = ",
] {
assert!(chapter.contains(phrase), "{phrase}");
}
assert!(reference.contains("[authoring.configs.cloud.options]"));
assert!(reference.contains("`num_ctx`"));
let chapter = chapter.split_whitespace().collect::<Vec<_>>().join(" ");
for phrase in [
"Bedrock and OpenAI default to the available logical CPU count; Ollama defaults to one",
"OpenAI defaults to `policy = \"once\"`",
"Other backends continue to default to `confirm`",
"The default model is `gpt-6.1-sol`, with low reasoning effort and an output-token limit of 16,384",
"OpenAI uses the Responses API at `https://api.openai.com/v1`; `endpoint` overrides that base URL",
"You may omit `api_key_env` to use `OPENAI_API_KEY` implicitly",
"set `OPENAI_API_KEY` to your API key outside the file",
"Do not combine `credentials` with `aws_profile`, or `api_key` with `api_key_env`",
] {
assert!(chapter.contains(phrase), "{phrase}");
}
let reference = fs::read_to_string(root.join("md/reference.md"))
.unwrap()
.split_whitespace()
.collect::<Vec<_>>()
.join(" ");
for phrase in [
"Ollama defaults to `http://localhost:11434`",
"except `maxTokens`: without it, each Bedrock request asks for at most 16,384 output tokens",
] {
assert!(reference.contains(phrase), "{phrase}");
}
}
Input 5: outline tests/configuration.rs fn[documented_configuration_examples_name_the_file_to_edit]
- File:
tests/configuration.rs - Selector:
fn[documented_configuration_examples_name_the_file_to_edit] - Kind:
fn tests/configuration.rs:1583–1631
// {test}`requirements.configuration.documentation`
// {test}`requirements.authoring.configuration_documentation`
#[test]
fn documented_configuration_examples_name_the_file_to_edit() {
let root = Path::new(env!("CARGO_MANIFEST_DIR"));
let mut checked = 0;
for document in [
"md/reference.md",
"md/requirements/configuration.md",
"md/requirements/authoring.md",
] {
let text = fs::read_to_string(root.join(document)).unwrap();
let mut pieces = text.split("```toml\n");
let mut before = pieces.next().unwrap();
for block in pieces {
let (source, after) = block.split_once("\n```").unwrap();
// The prose paragraph introducing the example, ignoring reference
// role lines between it and the fence.
let intro = before
.trim_end()
.rsplit("\n\n")
.find(|paragraph| {
!paragraph
.lines()
.all(|line| line.starts_with('{') || line.trim().is_empty())
})
.unwrap_or_default();
let user = intro.contains("config.toml`");
let workspace = intro.contains("habeas.toml`");
assert!(
user || workspace,
"{document}: example does not name its file:\n{intro}\n{source}"
);
let path = Path::new(document);
if user {
UserConfig::parse(source, path)
.unwrap_or_else(|error| panic!("{document}: user file: {error}\n{source}"));
}
if workspace {
WorkspaceConfig::parse(source, path).unwrap_or_else(|error| {
panic!("{document}: workspace file: {error}\n{source}")
});
}
checked += 1;
before = after;
}
}
assert!(checked >= 8, "{checked}");
}
Input 6: outline tests/configuration.rs fn[documented_configuration_examples_identify_their_placeholders]
- File:
tests/configuration.rs - Selector:
fn[documented_configuration_examples_identify_their_placeholders] - Kind:
fn tests/configuration.rs:1633–1698
// {test}`requirements.configuration.documentation`
// {test}`requirements.authoring.configuration_documentation`
#[test]
fn documented_configuration_examples_identify_their_placeholders() {
let root = Path::new(env!("CARGO_MANIFEST_DIR"));
// Values the examples use that a reader must replace, as they appear in
// TOML, with the name the prose gives them.
let named = [
("MODEL_ID", "MODEL_ID"),
("MODEL_TAG", "MODEL_TAG"),
("\"research\"", "research"),
("\"us-east-1\"", "us-east-1"),
("//workstation:", "workstation"),
("/absolute/path/to/project", "/absolute/path/to/project"),
("\"generated\"", "generated"),
("\"generated/private\"", "generated/private"),
];
let mut checked = 0;
for document in [
"md/reference.md",
"md/requirements/configuration.md",
"md/requirements/authoring.md",
] {
let text = fs::read_to_string(root.join(document)).unwrap();
let mut pieces = text.split("```toml\n");
let mut before = pieces.next().unwrap();
for block in pieces {
let (source, after) = block.split_once("\n```").unwrap();
// The paragraph introducing the example and the one after it.
let context = format!(
"{}\n{}",
before.trim_end().rsplit("\n\n").next().unwrap_or_default(),
after.trim_start().split("\n\n").next().unwrap_or_default()
);
let every_uppercase = context.contains("replace every uppercase placeholder");
let mut placeholders: Vec<(&str, bool)> = named
.iter()
.filter(|(found, _)| source.contains(found))
.map(|(_, name)| (*name, name.chars().all(|c| !c.is_ascii_lowercase())))
.collect();
// Every all-uppercase string value is a placeholder.
for line in source.lines() {
if let Some((_, value)) = line.split_once(" = \"") {
let value = value.trim_end_matches('"');
if !value.is_empty()
&& value
.chars()
.all(|c| c.is_ascii_uppercase() || c.is_ascii_digit() || c == '_')
&& !placeholders.iter().any(|(name, _)| *name == value)
{
placeholders.push((value, true));
}
}
}
for (placeholder, uppercase) in placeholders {
assert!(
(uppercase && every_uppercase) || context.contains(&format!("`{placeholder}`")),
"{document}: {placeholder} is not identified:\n{context}\n{source}"
);
}
checked += 1;
before = after;
}
}
assert!(checked >= 15, "{checked}");
}
Referenced definitions
Input 2: requirements selection requirements.configuration.documentation
requirements.configuration.documentation:md/requirements/configuration.md:241–253
:::{req} documentation
Habeas MUST document the user and project configuration locations, the common
file structure and schema version, and how to create and edit the files by hand.
Each configurable feature MUST document its fields, defaults, resolution rules,
and credential-source references, with complete, copyable examples identifying
all placeholders and the file to edit. Documentation MUST explain how to change
or remove optional settings and selections.
Configuration MUST NOT require a configuration-management command or generated
state beyond the documented files. Primary examples MUST use credential-source
references; examples explaining explicit credential fields MUST use clearly
identified placeholders, never real secrets.
:::
Other sources
Input 1: requirements selection requirements.authoring.configuration_documentation
requirements.authoring.configuration_documentation:md/requirements/authoring.md:1916–1922
:::{req} configuration_documentation
Authoring documentation MUST follow {cite}`requirements.configuration.documentation`
and include complete TOML examples for Bedrock, Ollama, and OpenAI, with all placeholders
identified. It MUST show how to choose a default, use a remote Ollama server,
select a configuration for a project or invocation, and edit or remove selections
by hand. It MUST explain backend-specific options and credential-source references.
:::