Skip to content

docs(guardrails): document per-rule prompt override + defaultMode field (#173) - #183

Merged
JAORMX merged 1 commit into
mainfrom
docs/guardrails-prompt-field-173
Jun 24, 2026
Merged

JAORMX merged 1 commit into
mainfrom
docs/guardrails-prompt-field-173

Conversation

@JAORMX

@JAORMX JAORMX commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

What

Documents the previously-undocumented prompt override field (a per-rule YAML key that replaces the built-in inspection rubric) and the defaultMode key (from #171) in docs/usage.md.

Why

The prompt field was fully implemented end-to-end but an operator would only discover it by reading Go struct comments. Now documented with a field bullet, an example YAML entry, and the both-phases caveat.

Closes #173.

…ld (#173)

Document the previously-undocumented prompt override field (a per-rule YAML
key that replaces the built-in inspection rubric) in docs/usage.md, with a
field bullet, an example YAML entry, and the both-phases caveat. Also
document the defaultMode key (from #171) and add the prompt field to the
example YAML. The field was fully implemented end-to-end but an operator
would only discover it by reading Go struct comments.

Closes #173.
@JAORMX
JAORMX merged commit 9d78e7e into main Jun 24, 2026
12 of 13 checks passed
@JAORMX
JAORMX deleted the docs/guardrails-prompt-field-173 branch June 24, 2026 21:56
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.

guardrails: document the per-rule prompt override field (+ update docs for #168-#172)

1 participant