@codyswann/lisa 4.104.1 → 4.106.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/all/copy-overwrite/scripts/lib/completion-proof-codepipeline.d.mts +28 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-codepipeline.mjs +235 -0
- package/all/copy-overwrite/scripts/lib/completion-proof-source.mjs +15 -4
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +1 -0
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +5 -2
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +13 -3
- package/cdk/create-only/.github/workflows/deploy.yml +4 -0
- package/dist/cli/doctor-cdk-delivery-proof.d.ts +10 -0
- package/dist/cli/doctor-cdk-delivery-proof.d.ts.map +1 -0
- package/dist/cli/doctor-cdk-delivery-proof.js +188 -0
- package/dist/cli/doctor-cdk-delivery-proof.js.map +1 -0
- package/dist/cli/doctor-seeded-artifacts.d.ts.map +1 -1
- package/dist/cli/doctor-seeded-artifacts.js +8 -3
- package/dist/cli/doctor-seeded-artifacts.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +42 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +21 -11
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- 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-doctor/SKILL.md +19 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -0
- package/plugins/lisa/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/lisa/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/lisa-agy/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-agy/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/lisa-copilot/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-copilot/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/lisa-cursor/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-cursor/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/lisa-devin/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-devin/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -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-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-doctor/SKILL.md +19 -0
- package/plugins/src/base/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/src/base/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +83 -0
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-overwrite/.prettierignore +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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": "4.
|
|
3
|
+
"version": "4.106.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"
|
|
@@ -138,6 +138,25 @@ this order:
|
|
|
138
138
|
- Reuse the `deploy.order` / `deploy.branches` contract from `config-resolution` ("Env order
|
|
139
139
|
(sync-down chain)") rather than re-deriving the rules here.
|
|
140
140
|
|
|
141
|
+
7. **CDK delivery-proof audit** (only when `cdk.json` is present)
|
|
142
|
+
- Judge the effective config: `.lisa.config.local.json` deep-merged over `.lisa.config.json`
|
|
143
|
+
(objects merge per key; arrays and scalars are replaced), as the lifecycle CLI reads it.
|
|
144
|
+
- `WARN` (could not inspect) when either config file cannot be parsed; never pass it.
|
|
145
|
+
- `WARN` when no environment declares an accepted mechanism (`github-actions`,
|
|
146
|
+
`aws-codepipeline`, `artifact` or `external-deployment`): lifecycle completion cannot prove
|
|
147
|
+
delivery and stops at `pending-proof`. Name the setting to add —
|
|
148
|
+
`verification.completion.delivery.<env>` with `mechanism: "aws-codepipeline"`,
|
|
149
|
+
`pipeline_name` and `region` — and the read-only `codepipeline:GetPipelineExecution` grant.
|
|
150
|
+
- `WARN` when `verification.completion.delivery.production` has no accepted mechanism even
|
|
151
|
+
though another environment does: completion always proves delivery for `production`.
|
|
152
|
+
- `WARN` when an `aws-codepipeline` delivery has a missing `pipeline_name` or `region`, or one
|
|
153
|
+
the verifier would reject, naming each path.
|
|
154
|
+
- `WARN` when an `aws-codepipeline` delivery has no `account_id`: credentials for another
|
|
155
|
+
stage's account could read a same-named pipeline there as this environment's delivery.
|
|
156
|
+
`WARN` when `account_id` is not 12 digits.
|
|
157
|
+
- `PASS` otherwise, naming the declared environments.
|
|
158
|
+
- `lisa doctor` reports this as the `CDK delivery proof configured?` check.
|
|
159
|
+
|
|
141
160
|
Locality findings are advisory unless the merged config is unusable. Missing shared keys after the
|
|
142
161
|
merge are `FAIL`; shared keys that exist only locally are `WARN`.
|
|
143
162
|
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|
package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md
CHANGED
|
@@ -143,6 +143,89 @@ auxiliary green workflow cannot replace it. Artifact or external-deployment
|
|
|
143
143
|
projects declare their applicable mechanism and empirical attached
|
|
144
144
|
`evidence_refs`; npm, browser, cloud and device checks are not universal.
|
|
145
145
|
|
|
146
|
+
### CodePipeline (CDK hosts)
|
|
147
|
+
|
|
148
|
+
A CDK host's GitHub Actions workflow releases but does not deploy; its AWS
|
|
149
|
+
CodePipeline does. Declare the pipeline that delivers each environment:
|
|
150
|
+
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"verification": {
|
|
154
|
+
"completion": {
|
|
155
|
+
"delivery": {
|
|
156
|
+
"production": {
|
|
157
|
+
"mechanism": "aws-codepipeline",
|
|
158
|
+
"pipeline_name": "<pipeline name>",
|
|
159
|
+
"region": "<aws-region>",
|
|
160
|
+
"account_id": "<12-digit AWS account id>"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
The accepted record's `obligations.delivery` pins the one execution that
|
|
169
|
+
delivered the change:
|
|
170
|
+
|
|
171
|
+
```json
|
|
172
|
+
{
|
|
173
|
+
"required": true,
|
|
174
|
+
"status": "pass",
|
|
175
|
+
"mechanism": "aws-codepipeline",
|
|
176
|
+
"pipeline_name": "<pipeline name>",
|
|
177
|
+
"region": "<aws-region>",
|
|
178
|
+
"account_id": "<the configured account_id, when one is set>",
|
|
179
|
+
"execution_id": "<pipeline execution id>",
|
|
180
|
+
"source_revision": "<the record's source.delivered_sha>"
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Completion reads that one execution read-only, with
|
|
185
|
+
`aws codepipeline get-pipeline-execution --pipeline-name=<name> --pipeline-execution-id=<id> --region=<region> --output json`,
|
|
186
|
+
and decides from it:
|
|
187
|
+
|
|
188
|
+
- **Accepted**: the execution `Succeeded` and one of its `artifactRevisions` is
|
|
189
|
+
the delivered commit. The completion report names the pinned execution.
|
|
190
|
+
- **`pending-proof`**: the execution is still `InProgress`, including one
|
|
191
|
+
waiting at a manual approval. It is never reported as delivered, and the
|
|
192
|
+
message names the waiting execution. The same category is returned when the
|
|
193
|
+
configuration names the mechanism without `pipeline_name` and `region`.
|
|
194
|
+
- **`invalid-proof`**: the execution carried another commit (the message names
|
|
195
|
+
both revisions); it ended `Failed`, `Stopped`, `Superseded` or `Cancelled`,
|
|
196
|
+
or is `Stopping`; the record names another pipeline or region than the
|
|
197
|
+
configuration; or its execution id is missing or malformed.
|
|
198
|
+
- **`read-error`**: the execution could not be read, or the reply carried no
|
|
199
|
+
pipeline execution.
|
|
200
|
+
|
|
201
|
+
To find the execution id, list the pipeline's executions with
|
|
202
|
+
`aws codepipeline list-pipeline-executions --pipeline-name <name> --region <region>`
|
|
203
|
+
and pick the execution whose `sourceRevisions[].revisionId` is the delivered
|
|
204
|
+
commit. That listing needs `codepipeline:ListPipelineExecutions`; completion
|
|
205
|
+
itself needs only the `GetPipelineExecution` read.
|
|
206
|
+
|
|
207
|
+
`account_id` binds the delivery to one AWS account. Stage accounts often run
|
|
208
|
+
pipelines with the same name, so without it, credentials for a dev account can
|
|
209
|
+
read a dev execution as production delivery. When `account_id` is set, the
|
|
210
|
+
record must carry the same value, and completion first runs
|
|
211
|
+
`aws sts get-caller-identity --output=json`: credentials for another account
|
|
212
|
+
are refused (`invalid-proof`, naming both accounts) before any execution is
|
|
213
|
+
read. `sts:GetCallerIdentity` needs no IAM grant; every valid credential may
|
|
214
|
+
call it.
|
|
215
|
+
|
|
216
|
+
The verifier needs no write permission. Its credentials need
|
|
217
|
+
`codepipeline:GetPipelineExecution` on the pipeline, on top of the list grant
|
|
218
|
+
the observer role already carries (Lisa's remote-agent AWS setup). `lisa doctor`
|
|
219
|
+
warns about a CDK project whose `production` delivery is undeclared, and about
|
|
220
|
+
an `aws-codepipeline` delivery without a valid `account_id`.
|
|
221
|
+
|
|
222
|
+
Until a host configures this mechanism, it may declare
|
|
223
|
+
`mechanism: "external-deployment"` instead. Its record must then attach, as
|
|
224
|
+
empirically verified `evidence_refs`, the CodePipeline execution id, that
|
|
225
|
+
execution's source revision and its final status, captured read-only with the
|
|
226
|
+
same `aws codepipeline get-pipeline-execution` call. Lisa cannot check that
|
|
227
|
+
evidence against the pipeline, which is why the native mechanism is preferred.
|
|
228
|
+
|
|
146
229
|
User publishers require fresh native repository write/maintain/admin permission
|
|
147
230
|
and matching stable native asset-uploader identity. Association labels, display
|
|
148
231
|
names and issue edit access are insufficient. `automationPublishers` defaults
|
|
@@ -142,6 +142,7 @@ scripts/lib/automation-provenance-local.mjs
|
|
|
142
142
|
scripts/lib/bounded-spawn.mjs
|
|
143
143
|
scripts/lib/completion-authorization.mjs
|
|
144
144
|
scripts/lib/completion-proof-adapters.mjs
|
|
145
|
+
scripts/lib/completion-proof-codepipeline.mjs
|
|
145
146
|
scripts/lib/completion-proof-conformance.mjs
|
|
146
147
|
scripts/lib/completion-proof-content.mjs
|
|
147
148
|
scripts/lib/completion-proof-errors.mjs
|