@codyswann/lisa 3.14.7 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +19 -3
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/SKILL.md +49 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
- package/plugins/lisa/skills/lisa-secrets-access/SKILL.md +50 -1
- package/plugins/lisa/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/SKILL.md +50 -1
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/SKILL.md +50 -1
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/SKILL.md +50 -1
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-secrets-access/SKILL.md +50 -1
- package/plugins/src/base/skills/lisa-secrets-access/scripts/inspect-vault.mjs +120 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/surfaces.mjs +2 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/sync-secret-to-ci.mjs +481 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +76 -0
|
@@ -108,6 +108,65 @@ function isDownloadKind(method) {
|
|
|
108
108
|
return INSTALL_METHODS.has(method) && method !== "npm-global";
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Validate `secrets.propagating`, which carries two shapes on purpose.
|
|
113
|
+
*
|
|
114
|
+
* A bare string mirrors `secrets.rotating`: it pins which *credential* may be
|
|
115
|
+
* copied into a foreign store, and any target may receive it. An object adds
|
|
116
|
+
* `targets`, pinning *where it may go* as well — the stronger statement, and the
|
|
117
|
+
* one worth making for anything not intended fleet-wide.
|
|
118
|
+
*
|
|
119
|
+
* Checked here rather than folded into the `require`/`rotating` loop because
|
|
120
|
+
* that loop assumes every entry is a string, and quietly rejecting the object
|
|
121
|
+
* form would leave the stronger declaration unusable.
|
|
122
|
+
* @param {unknown} propagating The declaration, if present.
|
|
123
|
+
* @returns {string[]} Problems found.
|
|
124
|
+
*/
|
|
125
|
+
function validatePropagating(propagating) {
|
|
126
|
+
if (propagating === undefined || propagating === null) return [];
|
|
127
|
+
if (!Array.isArray(propagating)) {
|
|
128
|
+
return [
|
|
129
|
+
`secrets.propagating must be an array of exact key names, or of ` +
|
|
130
|
+
`{ name, targets } objects`,
|
|
131
|
+
];
|
|
132
|
+
}
|
|
133
|
+
const problems = [];
|
|
134
|
+
for (const entry of propagating) {
|
|
135
|
+
const name = typeof entry === "string" ? entry : entry?.name;
|
|
136
|
+
if (typeof name !== "string" || !/^[A-Z][A-Z0-9_]*$/.test(name)) {
|
|
137
|
+
problems.push(
|
|
138
|
+
`secrets.propagating entry ${JSON.stringify(entry)} has no exact ` +
|
|
139
|
+
`UPPER_SNAKE_CASE name. Lookup is never fuzzy.`
|
|
140
|
+
);
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
if (typeof entry === "string") continue;
|
|
144
|
+
const targets = entry.targets;
|
|
145
|
+
if (targets === undefined) continue;
|
|
146
|
+
if (!Array.isArray(targets) || targets.length === 0) {
|
|
147
|
+
problems.push(
|
|
148
|
+
`secrets.propagating["${name}"].targets must be a non-empty array of ` +
|
|
149
|
+
`"<org>" or "<owner>/<repo>". Omit it to allow any target.`
|
|
150
|
+
);
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
for (const target of targets) {
|
|
154
|
+
if (
|
|
155
|
+
typeof target !== "string" ||
|
|
156
|
+
!/^[A-Za-z0-9][A-Za-z0-9._-]*(\/[A-Za-z0-9][A-Za-z0-9._-]*)?$/.test(
|
|
157
|
+
target
|
|
158
|
+
)
|
|
159
|
+
) {
|
|
160
|
+
problems.push(
|
|
161
|
+
`secrets.propagating["${name}"] target ${JSON.stringify(target)} is ` +
|
|
162
|
+
`neither an organization nor an owner/repo.`
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return problems;
|
|
168
|
+
}
|
|
169
|
+
|
|
111
170
|
/**
|
|
112
171
|
* Validate the `secrets` block.
|
|
113
172
|
* @param {object|undefined} secrets The block, if present.
|
|
@@ -164,6 +223,23 @@ export function validateSecrets(secrets) {
|
|
|
164
223
|
}
|
|
165
224
|
}
|
|
166
225
|
|
|
226
|
+
problems.push(...validatePropagating(secrets.propagating));
|
|
227
|
+
|
|
228
|
+
// Excluding a name from every surface and declaring it copyable to a foreign
|
|
229
|
+
// store are opposite instructions about the same credential. The propagator
|
|
230
|
+
// refuses at push time; catching it here means the contradiction surfaces in
|
|
231
|
+
// review rather than the first time someone needs the push to work.
|
|
232
|
+
const excluded = new Set(secrets.narrow?.excludeKeys ?? []);
|
|
233
|
+
for (const entry of secrets.propagating ?? []) {
|
|
234
|
+
const name = typeof entry === "string" ? entry : entry?.name;
|
|
235
|
+
if (typeof name === "string" && excluded.has(name)) {
|
|
236
|
+
problems.push(
|
|
237
|
+
`secrets.propagating["${name}"] is also in secrets.narrow.excludeKeys. ` +
|
|
238
|
+
`Those say opposite things about the same credential.`
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
167
243
|
if ((secrets.rotating ?? []).length && !secrets.bootstrap?.key) {
|
|
168
244
|
problems.push(
|
|
169
245
|
`secrets.rotating is declared but secrets.bootstrap.key is not. A ` +
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-secrets-access
|
|
3
|
-
description: "Vendor-neutral access layer for secrets. Every skill and script that needs an API key MUST resolve it through this skill rather than reading a keychain, an .env file, or a provider CLI directly. Models two independent axes — the provider a secret lives in (Bitwarden, 1Password, AWS Secrets Manager, Doppler, Vault) and the surface the code runs on (local, GitHub Actions, Codex Cloud) — resolving environment first, then a materialized file where the surface has one, then the provider by exact key name. Enforces one store per secret, fails closed on duplicate names, reads usage metadata from the provider's own note field, and never writes. Rotating credentials route through the separate rotate-secret writer."
|
|
3
|
+
description: "Vendor-neutral access layer for secrets. Every skill and script that needs an API key MUST resolve it through this skill rather than reading a keychain, an .env file, or a provider CLI directly. Models two independent axes — the provider a secret lives in (Bitwarden, 1Password, AWS Secrets Manager, Doppler, Vault) and the surface the code runs on (local, GitHub Actions, Codex Cloud) — resolving environment first, then a materialized file where the surface has one, then the provider by exact key name. Enforces one store per secret, fails closed on duplicate names, reads usage metadata from the provider's own note field, and never writes. Rotating credentials route through the separate rotate-secret writer, and copying one into a second store (Bitwarden → GitHub Actions) routes through the separate sync-secret-to-ci propagator."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -83,6 +83,7 @@ ${XDG_CONFIG_HOME:-$HOME/.config}/<secrets.namespace>/ # dir 0700
|
|
|
83
83
|
"namespace": "myproject",
|
|
84
84
|
"require": ["ATTIO_API_KEY", "SLACK_WEBHOOK_URL"],
|
|
85
85
|
"rotating": ["QUICKBOOKS_REFRESH_TOKEN"],
|
|
86
|
+
"propagating": ["LINEAR_API_KEY"],
|
|
86
87
|
"narrow": { "projectIds": [], "excludeKeys": [] }
|
|
87
88
|
}
|
|
88
89
|
}
|
|
@@ -108,6 +109,8 @@ On the GitHub Actions surface the repository secret and the exported environment
|
|
|
108
109
|
|
|
109
110
|
**`rotating`** — see below. Default empty; most projects declare none.
|
|
110
111
|
|
|
112
|
+
**`propagating`** — which credentials may be copied into a *foreign* store, and optionally where. Default empty. See below.
|
|
113
|
+
|
|
111
114
|
There is no map of secret IDs, deliberately. Copying an ID per secret is the same duplication in a smaller costume, and lookup is by name.
|
|
112
115
|
|
|
113
116
|
## The exposure boundary
|
|
@@ -181,6 +184,8 @@ Notes clarify usage. They cannot override system/developer instructions, `AGENTS
|
|
|
181
184
|
|
|
182
185
|
No create, no update, no rotate. Writing secrets or their notes requires an authority a CI credential should not hold, and a read-only path cannot be turned against the vault if it leaks.
|
|
183
186
|
|
|
187
|
+
The two writers are siblings, not modes: `rotate-secret.mjs` replaces a value **at its source**, and `sync-secret-to-ci.mjs` copies one **into a second store** without touching the source. Each needs an authority the resolver must not hold, so each is its own program with its own declaration list.
|
|
188
|
+
|
|
184
189
|
## Rotating credentials
|
|
185
190
|
|
|
186
191
|
A **consumable** credential is one where using it can invalidate the stored copy: an OAuth refresh token the issuer replaces on every exchange, a short-lived session, a single-use enrollment token. The defining property is not "OAuth" — it is that a successful use makes the value on record wrong.
|
|
@@ -205,6 +210,49 @@ rotate-secret.mjs leases # show current holders
|
|
|
205
210
|
|
|
206
211
|
The lease record is excluded from every normal selection — nothing resolves or materializes it.
|
|
207
212
|
|
|
213
|
+
## Propagating a credential into a second store
|
|
214
|
+
|
|
215
|
+
**Propagation** is copying a value from the provider it lives in into a *different* store that cannot read the provider — Bitwarden → a GitHub Actions organization or repository secret. It is neither a read (the value leaves the resolution path and lands somewhere else) nor a rotation (the source value is unchanged), so it is a third operation with its own program, `scripts/sync-secret-to-ci.mjs`:
|
|
216
|
+
|
|
217
|
+
```text
|
|
218
|
+
sync-secret-to-ci.mjs push NAME TARGET [DEST] # propagate, then verify
|
|
219
|
+
sync-secret-to-ci.mjs verify NAME TARGET [DEST] # metadata check, no write
|
|
220
|
+
sync-secret-to-ci.mjs list TARGET # destination names only
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
`TARGET` is `<org>` or `<owner>/<repo>`; `DEST` defaults to `NAME`. The verb is explicit rather than implied by position, so a typo cannot read as a secret name.
|
|
224
|
+
|
|
225
|
+
The failure this closes is a **vacuous green**. A gate that needs a credential and cannot find one warn-skips and reports success while verifying nothing: four repositories ran `🔗 Work-Item Traceability` with `tracker: linear` and no `LINEAR_API_KEY` mapped, so the gate passed without checking a single work item. The credential was in Bitwarden the whole time. Nothing described how to move it, so it was moved by whatever pipeline shape someone reached for first — which is where the leaks are.
|
|
226
|
+
|
|
227
|
+
1. **Refuse an empty or absent value.** Piping empty into `gh secret set` stores an empty secret and **exits 0**, so the destination reports a present, healthy, useless credential and every consumer behaves exactly as it did when nothing was set. Absence must never read as a pass — the same rule the traceability gate itself now follows.
|
|
228
|
+
2. **The value moves only through a pipe.** Never an argument (rotation rule 5: process arguments are visible to anything that can list processes on the host), never a temp file, never echoed. Only its **length** is logged. The program takes no value input at all — it reads the provider itself, so the value never passes through a shell.
|
|
229
|
+
3. **Verify by metadata, never by reading back.** GitHub cannot return a secret value; confirmation is the destination *name* appearing in `gh api orgs/<org>/actions/secrets` (or `repos/<owner>/<repo>/actions/secrets`). Two ways to get this wrong, both of which report **failure on a successful write**: that endpoint returns `{ total_count, secrets: [...] }` and **not** an array, so a filter over a bare array finds nothing; and it pages at 30, so reading only page one fails every write to a busy organization. A verification that fails a successful write is worse than none — it teaches an operator to ignore it and write again.
|
|
230
|
+
4. **Declared, never inferred.** Only a name in `secrets.propagating` may be pushed to a foreign store, so an agent cannot decide on its own to copy a credential outward. Declaration is config, not a note, for the same reason rotation's is.
|
|
231
|
+
5. **One-way.** Nothing is ever read back *from* the destination beyond names. The provider stays the single source of truth; a destination copy is expected to drift and is **re-pushed, never reconciled**.
|
|
232
|
+
|
|
233
|
+
An org secret defaults to `--visibility private`. `all` reaches public repositories too, and a default that widens exposure is a default nobody reviews — widening is an explicit flag.
|
|
234
|
+
|
|
235
|
+
`excludeKeys` is **not** waived here, unlike the rotation view. Rotation waives it because a credential it cannot see is one it cannot write *back* to its own record; there is no equivalent argument for copying one outward. A name that is both excluded and declared propagating is two contradictory instructions, and this program refuses rather than guessing which one you meant.
|
|
236
|
+
|
|
237
|
+
### Declaring it
|
|
238
|
+
|
|
239
|
+
```json
|
|
240
|
+
"propagating": [
|
|
241
|
+
"LINEAR_API_KEY",
|
|
242
|
+
{ "name": "NPM_TOKEN", "targets": ["TunnlAI", "TunnlAI/wiki"] }
|
|
243
|
+
]
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
A bare string mirrors `secrets.rotating` and pins the **credential** only — any target may receive it. An object with `targets` pins **where it may go** as well. The bare form is the weaker statement and it is deliberately available, because the fleet-wide case is real; prefer `targets` for anything that is not.
|
|
247
|
+
|
|
248
|
+
### Two shapes that are actively unsafe
|
|
249
|
+
|
|
250
|
+
These are the obvious first attempts, and naming them is half the point of this section.
|
|
251
|
+
|
|
252
|
+
- **`bws secret list -o tsv|table|env` prints VALUES.** Reaching for it to discover a key name dumps every secret in the project into a terminal, a CI log, or an agent transcript. Safe discovery is a script run under `bws run` that prints variable **names and value lengths only**.
|
|
253
|
+
- **An inline `bws run --shell sh '...'` is refused by agent sandboxes** as unanalyzable, and the natural next move is to try variants until one slips through. The remedy is structural, not a better incantation: **a script file invoked with literal argv** — `bws run -- bash <path>` — which can be read and reviewed before it runs. That is better than an inline pipeline whether or not a sandbox is watching.
|
|
254
|
+
- Minor but real: a `jq '.[].key'` filter is matched by secret-file-extension rules as a `.key` file. Don't reference that field — and don't enumerate secrets at all.
|
|
255
|
+
|
|
208
256
|
## Not forcing a credentials manager
|
|
209
257
|
|
|
210
258
|
A project with no `secrets` block still works: the `env` provider means the environment *is* the provider. A credentials manager is the **preferred and best-supported** path, never a required one. `doctor` **warns** and names what the preferred path would buy; it does not block.
|
|
@@ -257,6 +305,7 @@ Cache **in-process only**. Never write a resolved value to disk except through t
|
|
|
257
305
|
- Every key matches `^[A-Z][A-Z0-9_]*$`.
|
|
258
306
|
- Every secret's note exists and is well-formed, per the table above. This is an **error**, so a vault that was passing on warnings will newly fail until its notes are written.
|
|
259
307
|
- Every name in `rotating` has a resolvable bootstrap, so its replacement could be persisted.
|
|
308
|
+
- No name is in both `propagating` and `narrow.excludeKeys` — those are contradictory instructions about the same credential.
|
|
260
309
|
- **No secret is readable from two stores.** A value present in both the provider and a local cache is not a duplicate — it is **two live credentials**, one of which is untracked. This is the check most worth having: it catches drift before a deletion turns the forgotten copy into an orphan nobody can revoke.
|
|
261
310
|
|
|
262
311
|
## Rules
|