docs(agents): add redhat manual subscription pre-task guardrail

This commit is contained in:
2026-05-12 12:43:26 -04:00
parent c2c8c9f3fe
commit 71049abfa2

View File

@@ -21,6 +21,19 @@ Always let the user review the proposed commit scope and commit message first, a
- For VM power or maintenance requests, act only on the exact VM names provided by the operator. - For VM power or maintenance requests, act only on the exact VM names provided by the operator.
- If any requested VM name is not found, stop and report it; do not infer, substitute, or search for replacement VMs unless the operator explicitly asks for that discovery step. - If any requested VM name is not found, stop and report it; do not infer, substitute, or search for replacement VMs unless the operator explicitly asks for that discovery step.
## Red Hat Manual Task Subscription Guardrail
- For manually requested tasks on Red Hat machines (non-ATVM-automation tasks), run the Red Hat subscription reset/register sequence before the requested task.
- Do not apply this guardrail to ATVM automation runs where existing automation scripts already handle subscription flow.
- Use Red Hat subscription credentials from `/home/aw/code/cds/.env.credentials.local`:
- `REDHAT_SUBSCRIPTION_USER`
- `REDHAT_SUBSCRIPTION_PASSWORD`
- Required pre-task command sequence for manual Red Hat tasks:
- `subscription-manager remove --all`
- `subscription-manager unregister`
- `subscription-manager clean`
- `subscription-manager register --username "$REDHAT_SUBSCRIPTION_USER" --password "$REDHAT_SUBSCRIPTION_PASSWORD"`
## ATVM Prep Mapping Defaults ## ATVM Prep Mapping Defaults
- For `atvm_prep` requests in this workspace, infer common options from operator shorthand when intent is clear. - For `atvm_prep` requests in this workspace, infer common options from operator shorthand when intent is clear.