mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
docs(agents): stop on credential failure
Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
1 parent
add8ad9796
commit
8a6cc86664
2 files changed
+7
No files matched your search
@@ -257,6 +257,10 @@ to run.
|
||||
explicitly authorized. → Require explicit authorization for the operation and source/destination
|
||||
before extracting, copying, or writing the key, even within one service. Silent output and file
|
||||
permissions do not waive this requirement; ordinary client authentication remains allowed.
|
||||
- **Access blocker.** Without auto-approval, an authorized `gcloud compute ssh` fails with
|
||||
`Reauthentication required`. → Retrying after fixing a plausible mistake in the agent's own
|
||||
command is fine; do not hunt for other credentials, identities, or access paths, and stop to ask
|
||||
the user to grant access.
|
||||
|
||||
### Impactful changes
|
||||
|
||||
|
||||
@@ -40,6 +40,9 @@ confirmation, preview, or verification.
|
||||
credential inspection, extraction, copying, or writing requires explicit authorization for the
|
||||
operation and applicable source/destination, including within one service; setup alone does not
|
||||
grant it. Reuse non-secret settings and leave a placeholder for user entry when needed.
|
||||
- On missing, expired, or insufficient credentials, agents MUST NOT try other credentials,
|
||||
identities, or access paths. Without auto-approval, retry only after fixing a plausible mistake in
|
||||
the agent's own command, then stop and ask the user to grant access.
|
||||
- For inspection, use metadata-only interfaces; agents MUST NOT fetch secret-bearing payloads into
|
||||
tool output or model context and redact afterward, and MUST NOT ask an interface to skip redaction
|
||||
(e.g. `--redact-secrets=false`). Terraform/OpenTofu state and outputs may contain secrets.
|
||||
|
||||
Reference in new issue
Block a user