Repository navigation
feat(core): add the DeclareSecrets rule - #86
runewright[bot] wants to merge 5 commits into
Conversation
The stack declares secrets with secretspec now: each repository from the skeleton has a secretspec.toml, rune launch reads its credentials through ~/.config/rune/secretspec.toml, and provision stores new keys in the Keychain. The rule tells an agent to declare each secret with a description, read it only through secretspec, keep values out of the conversation and off argv, and give every call a reason. The delivery cast selects it. Change declare-secrets-per-repository. Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness stood down on |
…sitory Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness stood down on |
Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
The rule names ~/.config/provision/secretspec.toml, which runedeck/provision publishes, as the declaration of the machine credentials, with one profile for each account. A repository reads such a credential from that manifest and does not declare it again. The rule also limits `secretspec get` to a pipe or a command substitution, and keeps the error text of secretspec out of the transcript, because a parse error quotes the value. Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness round 1 started on |
|
Claude finished @N4M3Z's task in 2m 42s —— View job Correctness reviewRequest changes. The rule's only worked example is the bare
High — Medium — Verified as upheld: |
Runeseer review — cleanLooks good. The head is unchanged from the last review, both earlier credential-handling issues stay fixed, and no reviewer raised a new defect.
No open findings · Reviewed |
The example for the provision manifest was a bare `secretspec get`, the call the same rule forbids because it prints the value into the transcript. It is now a `secretspec run` call. The reason sentence names what secretspec 0.21.1 does: by default it refuses an agent session without --reason, and only a provider that keeps an audit log records the reason. The comment in secretspec.toml shows the read with a reason. Resolves-Thread: #86 (comment) Resolves-Thread: #86 (comment) Co-Authored-By: Martin Zeman <N4M3Z@users.noreply.github.com>
|
review/correctness round 2 started on |
|
Claude finished @N4M3Z's task in 1m 21s —— View job Correctness reviewLooks good. Both findings from the previous round are fixed at
Minor, non-blocking: the comment line at |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — The new rule standardizes credential handling across core and delivery sessions. Unresolved review concerns about transcript disclosure and SecretSpec command compatibility need reconciliation with the current revision before agents rely on these instructions. Notes:
You can add or adjust custom eligibility rules. Learn more. |
The pull request body changed after the verdict; the approval is stale.
|
review/correctness round 3 started on |
Draft for
change/declare-secrets-per-repository: the session agent fills this body beforerune sign open.Plan
Why this shape, one or two sentences.
Changes
Testing
Release Notes
Note
Add the
DeclareSecretsrule to core runes and the delivery castsecretspec.tomlwith purpose descriptions, read them via SecretSpec, and pass values through stdin rather than conversation text or process arguments. It also covers machine credentials via the provision manifest and account-specific profile.casts/delivery.yamlrune selection for unintended runtime rule additions.Macroscope summarized 2e2f2c6.