Secrets in failed logs may be copied into the plan document
Source references: 4The workflow calls for extracting complete error messages, stack traces, and build root causes and recording findings in a plan, but it provides no instruction to detect or redact tokens, credentials, private URLs, environment-variable values, or other sensitive log content.
If CI has already printed a secret into a failed log, the generated plan could preserve or expose it to additional readers and extend its lifetime. This does not mean that any particular log contains secrets.
The workflow extracts error messages, stack traces, and root causes from CI logs, then records findings and locations in a plan, without requiring detection or redaction of tokens, environment-variable values, private URLs, or other sensitive material. If failure output accidentally contains a secret, it could be carried into the persistent plan with the error context. The skill does not require copying entire logs, so the risk depends on whether the secret appears in extracted context. Users can require redaction before display or storage and limit captured context.
```bashGH_PAGER=cat gh run view <run-id> --log-failed```Focus on extracting:- Error messages and their locations (file paths, line numbers)- Compilation errors (unused imports, type mismatches, etc.)- Linting/clippy errors with specific lint names- Test failure messages and stack traces- Build failures and their root causesShow 3 other places
Create a plan document (using `create_plan` tool) with:- **Problem Statement**: Summary of failing checks- **Current State**: What errors were found and where- **Proposed Changes**: Specific fixes needed for each error category- **Validation Steps**: Commands to verify fixes (fmt, clippy, tests, presubmit)For each failed check, pull the logs using the run ID from the status check:```bashGH_PAGER=cat gh run view <run-id> --log-failed```Focus on extracting:- Error messages and their locations (file paths, line numbers)- Compilation errors (unused imports, type mismatches, etc.)- Linting/clippy errors with specific lint names- Test failure messages and stack traces- Build failures and their root causes