Update the smoke report reference
This commit is contained in:
10
docs/cli.md
10
docs/cli.md
@@ -1027,7 +1027,7 @@ conflicting namespace flags use status `2`.
|
|||||||
| `--llm-api-key-env` | string | omitted | Name the environment variable containing the API key. |
|
| `--llm-api-key-env` | string | omitted | Name the environment variable containing the API key. |
|
||||||
| `--llm-transient-retries` | integer | omitted | Set the retry count for transient inference failures. |
|
| `--llm-transient-retries` | integer | omitted | Set the retry count for transient inference failures. |
|
||||||
| `--llm-extra-params` | JSON object | omitted | Supply provider parameters as a whole map. |
|
| `--llm-extra-params` | JSON object | omitted | Supply provider parameters as a whole map. |
|
||||||
| `--format` | `text`, `yaml`, `json` | automatic | Select the report format; automatic and text use YAML for these structured reports. |
|
| `--format` | `text`, `yaml`, `json` | automatic | Select the report format; automatic/text use the smoke text template (YAML evidence with percentage comments). YAML/JSON select structured output. |
|
||||||
|
|
||||||
These execution flags override settings for the selected operation. The
|
These execution flags override settings for the selected operation. The
|
||||||
`--llm-api-key-env` value is a variable name, not a credential value. The
|
`--llm-api-key-env` value is a variable name, not a credential value. The
|
||||||
@@ -1049,7 +1049,11 @@ The report includes `kind`, `supported`, `applicable`, `completed`, `reason`,
|
|||||||
contains selected IDs, selection source, endpoint, effective settings, and
|
contains selected IDs, selection source, endpoint, effective settings, and
|
||||||
settings-presence flags. Attempt entries retain their own facts, timing,
|
settings-presence flags. Attempt entries retain their own facts, timing,
|
||||||
failure, and token-usage evidence. Durations use Go duration strings; token
|
failure, and token-usage evidence. Durations use Go duration strings; token
|
||||||
counts preserve `value`, `known`, and `complete`.
|
counts preserve `value`, `known`, and `complete`. Both attempt and aggregate
|
||||||
|
usage include `reasoning_tokens` with that count state and `cache_hit_ratio`.
|
||||||
|
The structured ratio is a nullable numeric fraction: `0.2` means 20%, `0` is a
|
||||||
|
known zero ratio, and null means unavailable. Text adds available ratios as
|
||||||
|
percentages with one decimal place. PromptKit owns the ratio and token meanings.
|
||||||
|
|
||||||
For example, this report says the configured HTTP diagnostic is unavailable:
|
For example, this report says the configured HTTP diagnostic is unavailable:
|
||||||
|
|
||||||
@@ -1106,6 +1110,8 @@ attempts: []
|
|||||||
usage:
|
usage:
|
||||||
prompt_tokens: {value: 0, known: true, complete: true}
|
prompt_tokens: {value: 0, known: true, complete: true}
|
||||||
completion_tokens: {value: 0, known: true, complete: true}
|
completion_tokens: {value: 0, known: true, complete: true}
|
||||||
|
reasoning_tokens: {value: 0, known: true, complete: true}
|
||||||
|
cache_hit_ratio: null
|
||||||
total_tokens: {value: 0, known: true, complete: true}
|
total_tokens: {value: 0, known: true, complete: true}
|
||||||
cached_tokens: {value: 0, known: true, complete: true}
|
cached_tokens: {value: 0, known: true, complete: true}
|
||||||
cache_write_tokens: {value: 0, known: true, complete: true}
|
cache_write_tokens: {value: 0, known: true, complete: true}
|
||||||
|
|||||||
@@ -40,7 +40,10 @@ Validation used Go 1.27.4:
|
|||||||
|
|
||||||
## R1: Complete the canonical smoke-report documentation
|
## R1: Complete the canonical smoke-report documentation
|
||||||
|
|
||||||
**Priority:** P3. **Status:** open. **Plan coverage:** Stages 5 and 8.
|
**Priority:** P3. **Status:** complete. **Plan coverage:** Stages 5 and 8.
|
||||||
|
|
||||||
|
Verified against the smoke DTO, text templates, and existing smoke projection
|
||||||
|
checks. Updated the format row, field definitions, and emitted-shape example.
|
||||||
|
|
||||||
**Relevant material:** the smoke `--format` row in
|
**Relevant material:** the smoke `--format` row in
|
||||||
[the CLI reference](../cli.md#smoke-test-flags), the
|
[the CLI reference](../cli.md#smoke-test-flags), the
|
||||||
|
|||||||
Reference in New Issue
Block a user