@codyswann/lisa 4.108.0 → 4.108.2

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.
Files changed (127) hide show
  1. package/all/copy-overwrite/scripts/lib/completion-proof-projection.mjs +29 -3
  2. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +1 -1
  3. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  4. package/dist/core/lisa-owned-hash-ledger.js +10 -0
  5. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  6. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  7. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  8. package/dist/core/upstream-evidence-manifest.js +11 -9
  9. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  10. package/package.json +4 -4
  11. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  12. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  13. package/plugins/lisa/.codex-plugin/skills/lisa-github-journey/SKILL.md +9 -6
  14. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +9 -6
  15. package/plugins/lisa/.codex-plugin/skills/lisa-linear-journey/SKILL.md +9 -6
  16. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -1
  17. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  18. package/plugins/lisa/.codex-plugin/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  19. package/plugins/lisa/rules/reference/verification.md +8 -6
  20. package/plugins/lisa/skills/lisa-github-journey/SKILL.md +9 -6
  21. package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +9 -6
  22. package/plugins/lisa/skills/lisa-linear-journey/SKILL.md +9 -6
  23. package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -1
  24. package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  25. package/plugins/lisa/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  26. package/plugins/lisa-agy/plugin.json +1 -1
  27. package/plugins/lisa-agy/skills/lisa-github-journey/SKILL.md +9 -6
  28. package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +9 -6
  29. package/plugins/lisa-agy/skills/lisa-linear-journey/SKILL.md +9 -6
  30. package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -1
  31. package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  32. package/plugins/lisa-agy/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  33. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  35. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  36. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  40. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-copilot/rules/reference/verification.md +8 -6
  42. package/plugins/lisa-copilot/skills/lisa-github-journey/SKILL.md +9 -6
  43. package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +9 -6
  44. package/plugins/lisa-copilot/skills/lisa-linear-journey/SKILL.md +9 -6
  45. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -1
  46. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  47. package/plugins/lisa-copilot/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  48. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-cursor/rules/verification-reference.mdc +8 -6
  50. package/plugins/lisa-cursor/skills/lisa-github-journey/SKILL.md +9 -6
  51. package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +9 -6
  52. package/plugins/lisa-cursor/skills/lisa-linear-journey/SKILL.md +9 -6
  53. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -1
  54. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  55. package/plugins/lisa-cursor/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  56. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  58. package/plugins/lisa-devin/rules/reference/verification.md +8 -6
  59. package/plugins/lisa-devin/skills/lisa-github-journey/SKILL.md +9 -6
  60. package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +9 -6
  61. package/plugins/lisa-devin/skills/lisa-linear-journey/SKILL.md +9 -6
  62. package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -1
  63. package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  64. package/plugins/lisa-devin/skills/lisa-verification-lifecycle/SKILL.md +1 -1
  65. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  67. package/plugins/lisa-expo-agy/plugin.json +1 -1
  68. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  72. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  75. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  79. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  81. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  82. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  86. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  89. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  93. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  96. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-rails-agy/plugin.json +1 -1
  103. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  104. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  107. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  109. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  110. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  114. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  116. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  117. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  118. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  121. package/plugins/src/base/rules/reference/verification.md +8 -6
  122. package/plugins/src/base/skills/lisa-github-journey/SKILL.md +9 -6
  123. package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +9 -6
  124. package/plugins/src/base/skills/lisa-linear-journey/SKILL.md +9 -6
  125. package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -1
  126. package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +112 -1
  127. package/plugins/src/base/skills/lisa-verification-lifecycle/SKILL.md +1 -1
package/package.json CHANGED
@@ -188,7 +188,7 @@
188
188
  "qs": "^6.16.0"
189
189
  },
190
190
  "name": "@codyswann/lisa",
191
- "version": "4.108.0",
191
+ "version": "4.108.2",
192
192
  "description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
193
193
  "main": "dist/index.js",
194
194
  "exports": {
@@ -351,7 +351,7 @@
351
351
  "test": "tests"
352
352
  },
353
353
  "types": "./dist/index.d.ts",
354
- "lisaReleaseCommit": "061aea52990c6564039cc45d14ff0d082e7c7059",
355
- "gitHead": "061aea52990c6564039cc45d14ff0d082e7c7059",
356
- "lisaReleaseTag": "v4.108.0"
354
+ "lisaReleaseCommit": "aff6172ae0dd8ea3c0f3702e6acd49af210110d6",
355
+ "gitHead": "aff6172ae0dd8ea3c0f3702e6acd49af210110d6",
356
+ "lisaReleaseTag": "v4.108.2"
357
357
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.108.0",
3
+ "version": "4.108.2",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.108.0",
3
+ "version": "4.108.2",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -47,7 +47,7 @@ Before starting the journey, verify each prerequisite:
47
47
 
48
48
  Execute each step sequentially. Determine the verification approach based on the step text and the issue's change type (inferred from `type:` label, `component:` labels, and the body):
49
49
 
50
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt` (or `.json`).
50
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`.
51
51
  - **Database changes** → Run psql/migration commands, capture schema output.
52
52
  - **Background jobs** → Trigger the job, check queue/state, capture logs.
53
53
  - **Library/utility changes** → Run tests, capture output.
@@ -56,13 +56,16 @@ Execute each step sequentially. Determine the verification approach based on the
56
56
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
57
57
 
58
58
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
59
- - `http-transcript` → the exact request (curl command or client call) plus the full response
60
- - `cli-output` → the command plus stdout/stderr and exit code
59
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
60
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
61
61
  - `log-snippet` → the correlated log lines pulled from the running system
62
- - `db-query-output` → the query plus returned rows
63
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
62
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
63
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
64
64
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
65
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
65
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
66
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
67
+
68
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
66
69
 
67
70
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
68
71
 
@@ -81,7 +81,7 @@ Before starting the journey, verify each prerequisite:
81
81
 
82
82
  Execute each step sequentially. For each step, determine the verification approach based on the step text and change type:
83
83
 
84
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt`
84
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`
85
85
  - **Database changes** → Run psql/migration commands, capture schema output to `evidence/NN-name.txt`
86
86
  - **Background jobs** → Trigger the job, check queue/state, capture logs to `evidence/NN-name.txt`
87
87
  - **Library/utility changes** → Run tests, capture output to `evidence/NN-name.txt`
@@ -90,13 +90,16 @@ Execute each step sequentially. For each step, determine the verification approa
90
90
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
91
91
 
92
92
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
93
- - `http-transcript` → the exact request (curl command or client call) plus the full response
94
- - `cli-output` → the command plus stdout/stderr and exit code
93
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
94
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
95
95
  - `log-snippet` → the correlated log lines pulled from the running system
96
- - `db-query-output` → the query plus returned rows
97
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
96
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
97
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
98
98
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
99
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
99
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
100
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
101
+
102
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
100
103
 
101
104
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
102
105
 
@@ -56,7 +56,7 @@ Stop and report if any prerequisite is not satisfied.
56
56
 
57
57
  Execute each step sequentially. Determine the verification approach based on the step text and change type:
58
58
 
59
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt` (or `.json` for structured data)
59
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`
60
60
  - **Database changes** → Run psql / migration commands, capture schema output
61
61
  - **Background jobs** → Trigger the job, check queue / state, capture logs
62
62
  - **Library / utility changes** → Run tests, capture output
@@ -66,13 +66,16 @@ Execute each step sequentially. Determine the verification approach based on the
66
66
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
67
67
 
68
68
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
69
- - `http-transcript` → the exact request (curl command or client call) plus the full response
70
- - `cli-output` → the command plus stdout/stderr and exit code
69
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
70
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
71
71
  - `log-snippet` → the correlated log lines pulled from the running system
72
- - `db-query-output` → the query plus returned rows
73
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
72
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
73
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
74
74
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
75
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
75
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
76
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
77
+
78
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
76
79
 
77
80
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
78
81
 
@@ -44,7 +44,7 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
44
44
  Never describe ignored evidence as "committed". A digest of a file that was neither committed nor uploaded is a session-local anchor, not something a reviewer can re-check.
45
45
  - Never post evidence to a different ticket than the one named — `$ARGUMENTS` is the source of truth.
46
46
  - Never invent a verify-specific usage footer. Evidence artifact usage must flow through `lisa-usage-accounting`, preserve the canonical `## Lisa Usage` section, and surface `source: unavailable` explicitly when the runtime cannot provide trustworthy numbers.
47
- - **Evidence-manifest gate (leaf work units).** Before dispatching to a vendor skill that transitions the ticket, confirm `EVIDENCE_DIR` contains a non-empty artifact **of the declared type** for every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared in the ticket's Validation Journey — a `screenshot` marker needs an actual image, an `http-transcript` marker needs the request + response text, a `perf-trace` marker needs measured numbers; a prose claim satisfies nothing. If any declared marker has no captured artifact, an empty one, or one whose content/extension does not match its declared type, stop and report the offending markers by name instead of posting — a leaf work unit (Bug / Task / Sub-task / Improvement) may not advance to its review/Done state with an unsatisfied manifest (see the "Per-Work-Unit Evidence Contract" in the `verification` rule). Epics / Stories / Spikes, and leaf units without a Validation Journey, are exempt.
47
+ - **Evidence-manifest gate (leaf work units).** Before dispatching to a vendor skill that transitions the ticket, confirm `EVIDENCE_DIR` contains a non-empty artifact **of the declared type** for every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared in the ticket's Validation Journey — a `screenshot` marker needs an actual image, an `http-transcript` marker needs a JSON request/response capture (`request.method`, `request.url`, `response.status`, `response.body`), a `perf-trace` marker needs JSON measurements — the JSON kinds refuse plain text, and their required fields are in `references/completion-authorization.md` ("Typed capture shapes"); a prose claim satisfies nothing. If any declared marker has no captured artifact, an empty one, or one whose content/extension does not match its declared type, stop and report the offending markers by name instead of posting — a leaf work unit (Bug / Task / Sub-task / Improvement) may not advance to its review/Done state with an unsatisfied manifest (see the "Per-Work-Unit Evidence Contract" in the `verification` rule). Epics / Stories / Spikes, and leaf units without a Validation Journey, are exempt.
48
48
  - **Claim↔boundary binding (S14 upgrade).** Satisfying the manifest by *type* is not enough: each `[EVIDENCE: <artifact-type>: <name>]` marker is also cited for a **claim**, and the marker's artifact type must **reach the boundary that claim declares** per the `claim-evidence-mapping` rule's taxonomy. A `browser` claim (user-visible UI behavior) is reached by `screenshot` / `recording` and never by a unit `test-run-log`; an `http-api` claim needs an `http-transcript`; a `deploy-health` claim needs a `deploy-log` and no pre-deploy artifact. On a mismatch, report the offending marker **by name** together with the claim, its boundary, and the **required evidence kinds** for that boundary — e.g. `[EVIDENCE: test-run-log: unit-suite] cited for claim AC-2 [boundary browser] — required evidence kinds: screenshot, recording`. Swapping in a marker of a reaching kind with a real captured artifact satisfies the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json` (the same ratchet flag the Stop-hook gate reads, default `false`), a boundary mismatch is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing or wrong-type artifact. Missing/empty/wrong-type artifacts keep refusing the post regardless of the flag.
49
49
  - **The "Not established" section is required.** Before posting, confirm `evidence/comment.md` (and `comment.txt` where the vendor uses it) contains a `## Not established` heading and that the verdict carries `not_established_reviewed: true`. The heading is **never omitted and never blank**: with nothing outstanding it still renders `None outstanding — reviewed`; otherwise it lists, in plain operator language, each thing the verification did not prove — boundaries not exercised, environments not tested, behavior consciously out of scope. A comment with no such heading, a heading with nothing under it, or a verdict whose `not_established_reviewed` flag is absent is **refused**: stop and report the missing Not-established review instead of posting. (The list may be empty; the flag may never be omitted.) Definition and exemplars live in the `claim-evidence-mapping` rule; this generalizes `lisa-improve-harness`'s required, never-empty `Known limits` field.
50
50
  - **Artifact identity is required, with values (S14 extension).** Before posting, confirm the comment body carries a `## Artifact identity` heading populated with **values, not placeholders**: the `repository`, the `head_sha` the verification observed, the `environment`, and for each committed or uploaded artifact its `sha256` digest and `captured_at`. Then check both identity failures. **`artifact_mismatch`** — an evidence entry whose recorded `artifact_head_sha` differs from the verdict's `artifact.head_sha`: refuse the post and report the offending evidence id together with **both SHAs** (the one the artifact was captured at and the one the verdict claims), e.g. `EV-2 captured at 4f1c9ab but artifact.head_sha is 9de0c31`. **`evidence_digest_mismatch`** — recompute the `sha256` of each committed evidence file on read, or of the fetched bytes when its locator is an uploaded URL; if the bytes no longer match the recorded digest (or the file is absent), stop and report the evidence id by name. Never summarize either as "verification failed" — name the field, the ids, and both SHAs so a non-engineer can read it at the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json`, an identity failure is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing artifact. Definition: the `claim-evidence-mapping` rule.
@@ -116,7 +116,9 @@ screenshot, recording, http-transcript, cli-output, log-snippet, db-query-output
116
116
  perf-trace, test-run-log, deploy-log and state-dump. The reader validates actual
117
117
  captured structure/header, not an extension. HTTP HEAD/204 and empty query rows
118
118
  can be legitimate observations. Structure checks do not claim to evaluate the
119
- visual truth of an image or the business meaning of every captured line.
119
+ visual truth of an image or the business meaning of every captured line. Six
120
+ kinds must be captured as JSON with specific fields; see
121
+ [Typed capture shapes](#typed-capture-shapes).
120
122
 
121
123
  Native JSON reads use a separate 16 MiB ceiling per response, including the
122
124
  complete slurped output of a paginated listing. The immutable proof record
@@ -131,6 +133,115 @@ exits nonzero when no locator was published. A successful bot publication with
131
133
  category `published/pending-producer` remains a successful publication; only
132
134
  completion waits for its pinned producer attempt.
133
135
 
136
+ ### Typed capture shapes
137
+
138
+ Some evidence kinds are checked for structure, not just presence. For those
139
+ kinds a plain-text capture is refused on purpose, even when it is a faithful
140
+ copy of what the terminal showed: text cannot be checked for the facts the
141
+ kind promises (which request was sent, which rows came back, which command
142
+ exited how). Save these captures as a JSON file with the fields below.
143
+
144
+ | Kind | What the JSON must contain |
145
+ |---|---|
146
+ | `http-transcript` | `request.method` and `request.url` (non-empty text), and `response.status` (a whole number from 100 to 599). `response.body` must be present (it may be empty) unless the status is 204 or the method is HEAD. |
147
+ | `db-query-output` | `query` (the query text, non-empty) and `rows` (a list; an empty list is a valid result). |
148
+ | `state-dump` | At least one of `state`, `data`, `response` or `records` (what was observed), and at least one of `id`, `source`, `command` or `captured_at` (where or when it was read). |
149
+ | `cli-output` | `command` (text, or a non-empty list of text), `stdout` and `stderr` (text; may be empty), and the exit code as a whole number under `exit_code`, `exitCode`, `exit` or `status`. |
150
+ | `deploy-log` | Either a finished pipeline run (`status: "completed"`, a non-empty `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` shape whose `stdout` mentions a deploy, release or health check. |
151
+ | `perf-trace` | `methodology` (text or an object) and a non-empty `measurements` list where every item has `metric` (text), `value` (a finite number) and `unit` (text). |
152
+
153
+ `test-run-log` and `log-snippet` accept plain text. A test-run log needs two
154
+ things somewhere in the file:
155
+
156
+ - a count from the runner's summary: a number that is not zero followed by a
157
+ space and `passed`, `passing`, `failed` or `failing` (any letter case, for
158
+ example `3 passed` or `1 failed`), or a TAP line `# pass <n>` / `# fail <n>`
159
+ whose count starts with 1–9. A failed run is still a real capture.
160
+ - a test marker: `✓`, `PASS` (capital letters), `ok <n>`, `testName`,
161
+ `test_name`, `fullName`, or ` > ` (space, greater-than, space, as in
162
+ `file > suite > test`).
163
+
164
+ A log snippet needs a timestamp whose date is written `YYYY-MM-DD`, followed by
165
+ `T` or a space and the time, for example `2026-11-13T08:00:01` or
166
+ `2026-11-13 08:00:01`. Syslog-style dates (`Nov 13 08:00:01`) and epoch numbers
167
+ (`1763020801`) are refused. As JSON, a log snippet can instead be
168
+ `{source, lines}` with at least one line.
169
+
170
+ For the JSON kinds, the fields may sit at the top of the file or inside other
171
+ objects or lists, nested up to 12 levels deep. That lets one file carry the raw
172
+ text you captured and where it came from (command, file path, checksum) beside
173
+ the typed object, for example
174
+ `{"raw": "<the terminal text>", "provenance": {...}, "capture": {<typed object>}}`.
175
+ For those kinds only the typed object is checked; the extra fields are kept for
176
+ readers. The text checks for `test-run-log` and `log-snippet` read the whole
177
+ file, wrapper included.
178
+
179
+ Minimal accepted examples:
180
+
181
+ <!-- capture-example: http-transcript -->
182
+ ```json
183
+ {
184
+ "request": { "method": "GET", "url": "https://example.invalid/health" },
185
+ "response": { "status": 200, "body": "{\"ok\":true}" }
186
+ }
187
+ ```
188
+
189
+ <!-- capture-example: db-query-output -->
190
+ ```json
191
+ {
192
+ "query": "SELECT id, status FROM orders WHERE id = 42",
193
+ "rows": [{ "id": 42, "status": "shipped" }]
194
+ }
195
+ ```
196
+
197
+ <!-- capture-example: state-dump -->
198
+ ```json
199
+ {
200
+ "source": "orders service GET /orders/42",
201
+ "captured_at": "2026-11-13T08:00:00Z",
202
+ "state": { "id": 42, "status": "shipped" }
203
+ }
204
+ ```
205
+
206
+ <!-- capture-example: cli-output -->
207
+ ```json
208
+ {
209
+ "command": ["bun", "run", "check"],
210
+ "stdout": "all checks passed\n",
211
+ "stderr": "",
212
+ "exit_code": 0
213
+ }
214
+ ```
215
+
216
+ <!-- capture-example: deploy-log -->
217
+ ```json
218
+ {
219
+ "id": 123456789,
220
+ "workflow_path": ".github/workflows/deploy.yml",
221
+ "status": "completed",
222
+ "conclusion": "success"
223
+ }
224
+ ```
225
+
226
+ <!-- capture-example: perf-trace -->
227
+ ```json
228
+ {
229
+ "methodology": "500 sequential requests against staging from one client",
230
+ "measurements": [{ "metric": "p95_latency", "value": 120, "unit": "ms" }]
231
+ }
232
+ ```
233
+
234
+ <!-- capture-example: test-run-log -->
235
+ ```text
236
+ ✓ tests/unit/health.test.ts > health endpoint > returns 200
237
+ Tests 1 passed (1)
238
+ ```
239
+
240
+ <!-- capture-example: log-snippet -->
241
+ ```text
242
+ 2026-11-13T08:00:01.120Z INFO orders order 42 marked shipped
243
+ ```
244
+
134
245
  ## Delivery and publisher configuration
135
246
 
136
247
  Configure the actual production delivery mechanism under
@@ -316,7 +316,7 @@ Agents must follow this sequence unless explicitly instructed otherwise:
316
316
  3. **If verification fails**: Fix and re-run, don't mark complete
317
317
  4. **If verification blocked** (missing tools, services, etc.): Mark as blocked, not complete
318
318
  5. **Must not be dependent on CI/CD** if necessary, you may use local deploy methods found in the project manifest, but the verification methods must be listed in the pull request and therefore cannot be dependent on CI/CD completing
319
- 6. **Evidence manifest satisfied (leaf work units)**: For a leaf work unit (Bug / Task / Sub-task / Improvement) whose ticket carries a Validation Journey, do not mark the ticket complete or transition it out of in-progress until every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared on the ticket has a corresponding captured, non-empty artifact **of the declared type** attached to the ticket (an image for `screenshot`, request + response for `http-transcript`, measured output for `perf-trace`, …). A missing, empty, or wrong-type artifact for any declared marker blocks completion exactly like a failed verification — fix and re-capture, or escalate; never close with an unsatisfied manifest. Epics / Stories / Spikes are exempt (coordination containers, not work units).
319
+ 6. **Evidence manifest satisfied (leaf work units)**: For a leaf work unit (Bug / Task / Sub-task / Improvement) whose ticket carries a Validation Journey, do not mark the ticket complete or transition it out of in-progress until every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared on the ticket has a corresponding captured, non-empty artifact **of the declared type** attached to the ticket (an image for `screenshot`, a JSON request/response capture for `http-transcript`, JSON measurements for `perf-trace`, …; the JSON kinds refuse plain text — see `../lisa-tracker-evidence/references/completion-authorization.md` ("Typed capture shapes")). A missing, empty, or wrong-type artifact for any declared marker blocks completion exactly like a failed verification — fix and re-capture, or escalate; never close with an unsatisfied manifest. Epics / Stories / Spikes are exempt (coordination containers, not work units).
320
320
  - Extract local obligations using the exact `[EVIDENCE:` prefix (plus legacy local `[SCREENSHOT:`). Both the canonical `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` and the Lisa 2.223.0 legacy alias `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` are non-claiming pointers to another work item: never capture either, match it to a local artifact, include it in duplicates, or count it toward S14. A reference-only runtime-changing leaf remains incomplete.
321
321
  7. **No artifact-only completion for required runtime verification**: If empirical verification is required and cannot run because credentials are missing, do not mark the item done on artifact-only evidence. Exhaust the credential lookup order first; if still blocked, post the blocker comment, move the item to the configured blocked state, and apply the configured `needs-human` / `human-review` label.
322
322
 
@@ -138,14 +138,16 @@ Example transformation (the failure mode this grammar exists to prevent):
138
138
  |---|---|
139
139
  | `screenshot` | an image of the observed UI/state (Playwright, simulator, device) |
140
140
  | `recording` | a video of the playthrough |
141
- | `http-transcript` | the exact request (curl command or client call) plus the full response — status, headers of interest, body |
142
- | `cli-output` | the command plus its stdout/stderr and exit code |
141
+ | `http-transcript` | a JSON file with `request.method`, `request.url`, a whole-number `response.status` (100–599) and `response.body` (omittable only for a 204 or a HEAD request); plain curl text is refused |
142
+ | `cli-output` | a JSON file with `command`, `stdout`, `stderr` and a whole-number exit code (`exit_code`, `exitCode`, `exit` or `status`) |
143
143
  | `log-snippet` | correlated log lines captured from the running system |
144
- | `db-query-output` | the query plus the returned rows |
145
- | `perf-trace` | benchmark / frame-timing / profiler output, with the methodology (device profile, dataset size) noted |
144
+ | `db-query-output` | a JSON file with the `query` text and a `rows` list (an empty list is valid); plain query output is refused |
145
+ | `perf-trace` | a JSON file with `methodology` (device profile, dataset size) and a non-empty `measurements` list of `{metric, value, unit}` |
146
146
  | `test-run-log` | reporter output naming the spec and showing it ran and passed |
147
- | `deploy-log` | deployment output or a health-check response from the target environment |
148
- | `state-dump` | machine-readable observed state (e.g. the `state.json` asserted against) |
147
+ | `deploy-log` | a JSON finished pipeline run (`status: "completed"`, `conclusion`, whole-number `id` or `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy, release or health check |
148
+ | `state-dump` | a JSON file with one of `state`/`data`/`response`/`records` (what was observed) plus one of `id`/`source`/`command`/`captured_at` (where or when it was read) |
149
+
150
+ The JSON kinds above are checked for structure, so a plain-text capture of them is refused. Required fields and a minimal example for every kind are in `skills/lisa-tracker-evidence/references/completion-authorization.md` ("Typed capture shapes"), relative to the Lisa plugin root.
149
151
 
150
152
  Do not invent types inline; if none fits, propose extending this table. The legacy `[SCREENSHOT: name]` marker is equivalent to `[EVIDENCE: screenshot: name]`.
151
153
 
@@ -45,7 +45,7 @@ Before starting the journey, verify each prerequisite:
45
45
 
46
46
  Execute each step sequentially. Determine the verification approach based on the step text and the issue's change type (inferred from `type:` label, `component:` labels, and the body):
47
47
 
48
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt` (or `.json`).
48
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`.
49
49
  - **Database changes** → Run psql/migration commands, capture schema output.
50
50
  - **Background jobs** → Trigger the job, check queue/state, capture logs.
51
51
  - **Library/utility changes** → Run tests, capture output.
@@ -54,13 +54,16 @@ Execute each step sequentially. Determine the verification approach based on the
54
54
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
55
55
 
56
56
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
57
- - `http-transcript` → the exact request (curl command or client call) plus the full response
58
- - `cli-output` → the command plus stdout/stderr and exit code
57
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
58
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
59
59
  - `log-snippet` → the correlated log lines pulled from the running system
60
- - `db-query-output` → the query plus returned rows
61
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
60
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
61
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
62
62
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
63
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
63
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
64
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
65
+
66
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
64
67
 
65
68
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
66
69
 
@@ -79,7 +79,7 @@ Before starting the journey, verify each prerequisite:
79
79
 
80
80
  Execute each step sequentially. For each step, determine the verification approach based on the step text and change type:
81
81
 
82
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt`
82
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`
83
83
  - **Database changes** → Run psql/migration commands, capture schema output to `evidence/NN-name.txt`
84
84
  - **Background jobs** → Trigger the job, check queue/state, capture logs to `evidence/NN-name.txt`
85
85
  - **Library/utility changes** → Run tests, capture output to `evidence/NN-name.txt`
@@ -88,13 +88,16 @@ Execute each step sequentially. For each step, determine the verification approa
88
88
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
89
89
 
90
90
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
91
- - `http-transcript` → the exact request (curl command or client call) plus the full response
92
- - `cli-output` → the command plus stdout/stderr and exit code
91
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
92
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
93
93
  - `log-snippet` → the correlated log lines pulled from the running system
94
- - `db-query-output` → the query plus returned rows
95
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
94
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
95
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
96
96
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
97
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
97
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
98
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
99
+
100
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
98
101
 
99
102
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
100
103
 
@@ -54,7 +54,7 @@ Stop and report if any prerequisite is not satisfied.
54
54
 
55
55
  Execute each step sequentially. Determine the verification approach based on the step text and change type:
56
56
 
57
- - **API endpoints** → Run curl commands, capture HTTP response to `evidence/NN-name.txt` (or `.json` for structured data)
57
+ - **API endpoints** → Run curl commands, save the request and response as `http-transcript` JSON to `evidence/NN-name.json`
58
58
  - **Database changes** → Run psql / migration commands, capture schema output
59
59
  - **Background jobs** → Trigger the job, check queue / state, capture logs
60
60
  - **Library / utility changes** → Run tests, capture output
@@ -64,13 +64,16 @@ Execute each step sequentially. Determine the verification approach based on the
64
64
  At each typed `[EVIDENCE: <artifact-type>: <name>]` marker, capture an artifact **of the declared type** — the type is the contract, not a suggestion:
65
65
 
66
66
  - `screenshot` / `recording` → an actual image/video file from the driven UI (Playwright, simulator), never a text description of what was seen
67
- - `http-transcript` → the exact request (curl command or client call) plus the full response
68
- - `cli-output` → the command plus stdout/stderr and exit code
67
+ - `http-transcript` → a JSON file with `request.method`, `request.url`, `response.status` and `response.body` (plain curl text is refused)
68
+ - `cli-output` → a JSON file with `command`, `stdout`, `stderr` and an integer `exit_code`
69
69
  - `log-snippet` → the correlated log lines pulled from the running system
70
- - `db-query-output` → the query plus returned rows
71
- - `perf-trace` → the benchmark/frame-timing/profiler output with methodology (device profile, dataset size)
70
+ - `db-query-output` → a JSON file with the `query` text and a `rows` list (plain query output is refused)
71
+ - `perf-trace` → a JSON file with `methodology` (device profile, dataset size) and `measurements` of `{metric, value, unit}`
72
72
  - `test-run-log` → reporter output naming the spec and showing it ran and passed
73
- - `deploy-log` / `state-dump` → the deployment/health-check output or observed-state JSON
73
+ - `deploy-log` → a JSON finished pipeline run (`status` exactly `"completed"`, `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` JSON whose `stdout` mentions the deploy or health check
74
+ - `state-dump` → a JSON file with one of `state`/`data`/`response`/`records` plus one of `id`/`source`/`command`/`captured_at`
75
+
76
+ The JSON field rules and a minimal example for every kind are in the "Typed capture shapes" section of `../lisa-tracker-evidence/references/completion-authorization.md` (relative to this skill directory). A wrapper JSON file may also carry the raw text capture and its provenance beside the typed object.
74
77
 
75
78
  A prose claim ("the error state rendered gracefully") satisfies no marker. Legacy untyped markers: infer the type from the step's action, capture accordingly, and note the inference. Write each artifact to a numbered file:
76
79
 
@@ -42,7 +42,7 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
42
42
  Never describe ignored evidence as "committed". A digest of a file that was neither committed nor uploaded is a session-local anchor, not something a reviewer can re-check.
43
43
  - Never post evidence to a different ticket than the one named — `$ARGUMENTS` is the source of truth.
44
44
  - Never invent a verify-specific usage footer. Evidence artifact usage must flow through `lisa-usage-accounting`, preserve the canonical `## Lisa Usage` section, and surface `source: unavailable` explicitly when the runtime cannot provide trustworthy numbers.
45
- - **Evidence-manifest gate (leaf work units).** Before dispatching to a vendor skill that transitions the ticket, confirm `EVIDENCE_DIR` contains a non-empty artifact **of the declared type** for every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared in the ticket's Validation Journey — a `screenshot` marker needs an actual image, an `http-transcript` marker needs the request + response text, a `perf-trace` marker needs measured numbers; a prose claim satisfies nothing. If any declared marker has no captured artifact, an empty one, or one whose content/extension does not match its declared type, stop and report the offending markers by name instead of posting — a leaf work unit (Bug / Task / Sub-task / Improvement) may not advance to its review/Done state with an unsatisfied manifest (see the "Per-Work-Unit Evidence Contract" in the `verification` rule). Epics / Stories / Spikes, and leaf units without a Validation Journey, are exempt.
45
+ - **Evidence-manifest gate (leaf work units).** Before dispatching to a vendor skill that transitions the ticket, confirm `EVIDENCE_DIR` contains a non-empty artifact **of the declared type** for every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared in the ticket's Validation Journey — a `screenshot` marker needs an actual image, an `http-transcript` marker needs a JSON request/response capture (`request.method`, `request.url`, `response.status`, `response.body`), a `perf-trace` marker needs JSON measurements — the JSON kinds refuse plain text, and their required fields are in `references/completion-authorization.md` ("Typed capture shapes"); a prose claim satisfies nothing. If any declared marker has no captured artifact, an empty one, or one whose content/extension does not match its declared type, stop and report the offending markers by name instead of posting — a leaf work unit (Bug / Task / Sub-task / Improvement) may not advance to its review/Done state with an unsatisfied manifest (see the "Per-Work-Unit Evidence Contract" in the `verification` rule). Epics / Stories / Spikes, and leaf units without a Validation Journey, are exempt.
46
46
  - **Claim↔boundary binding (S14 upgrade).** Satisfying the manifest by *type* is not enough: each `[EVIDENCE: <artifact-type>: <name>]` marker is also cited for a **claim**, and the marker's artifact type must **reach the boundary that claim declares** per the `claim-evidence-mapping` rule's taxonomy. A `browser` claim (user-visible UI behavior) is reached by `screenshot` / `recording` and never by a unit `test-run-log`; an `http-api` claim needs an `http-transcript`; a `deploy-health` claim needs a `deploy-log` and no pre-deploy artifact. On a mismatch, report the offending marker **by name** together with the claim, its boundary, and the **required evidence kinds** for that boundary — e.g. `[EVIDENCE: test-run-log: unit-suite] cited for claim AC-2 [boundary browser] — required evidence kinds: screenshot, recording`. Swapping in a marker of a reaching kind with a real captured artifact satisfies the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json` (the same ratchet flag the Stop-hook gate reads, default `false`), a boundary mismatch is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing or wrong-type artifact. Missing/empty/wrong-type artifacts keep refusing the post regardless of the flag.
47
47
  - **The "Not established" section is required.** Before posting, confirm `evidence/comment.md` (and `comment.txt` where the vendor uses it) contains a `## Not established` heading and that the verdict carries `not_established_reviewed: true`. The heading is **never omitted and never blank**: with nothing outstanding it still renders `None outstanding — reviewed`; otherwise it lists, in plain operator language, each thing the verification did not prove — boundaries not exercised, environments not tested, behavior consciously out of scope. A comment with no such heading, a heading with nothing under it, or a verdict whose `not_established_reviewed` flag is absent is **refused**: stop and report the missing Not-established review instead of posting. (The list may be empty; the flag may never be omitted.) Definition and exemplars live in the `claim-evidence-mapping` rule; this generalizes `lisa-improve-harness`'s required, never-empty `Known limits` field.
48
48
  - **Artifact identity is required, with values (S14 extension).** Before posting, confirm the comment body carries a `## Artifact identity` heading populated with **values, not placeholders**: the `repository`, the `head_sha` the verification observed, the `environment`, and for each committed or uploaded artifact its `sha256` digest and `captured_at`. Then check both identity failures. **`artifact_mismatch`** — an evidence entry whose recorded `artifact_head_sha` differs from the verdict's `artifact.head_sha`: refuse the post and report the offending evidence id together with **both SHAs** (the one the artifact was captured at and the one the verdict claims), e.g. `EV-2 captured at 4f1c9ab but artifact.head_sha is 9de0c31`. **`evidence_digest_mismatch`** — recompute the `sha256` of each committed evidence file on read, or of the fetched bytes when its locator is an uploaded URL; if the bytes no longer match the recorded digest (or the file is absent), stop and report the evidence id by name. Never summarize either as "verification failed" — name the field, the ids, and both SHAs so a non-engineer can read it at the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json`, an identity failure is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing artifact. Definition: the `claim-evidence-mapping` rule.
@@ -116,7 +116,9 @@ screenshot, recording, http-transcript, cli-output, log-snippet, db-query-output
116
116
  perf-trace, test-run-log, deploy-log and state-dump. The reader validates actual
117
117
  captured structure/header, not an extension. HTTP HEAD/204 and empty query rows
118
118
  can be legitimate observations. Structure checks do not claim to evaluate the
119
- visual truth of an image or the business meaning of every captured line.
119
+ visual truth of an image or the business meaning of every captured line. Six
120
+ kinds must be captured as JSON with specific fields; see
121
+ [Typed capture shapes](#typed-capture-shapes).
120
122
 
121
123
  Native JSON reads use a separate 16 MiB ceiling per response, including the
122
124
  complete slurped output of a paginated listing. The immutable proof record
@@ -131,6 +133,115 @@ exits nonzero when no locator was published. A successful bot publication with
131
133
  category `published/pending-producer` remains a successful publication; only
132
134
  completion waits for its pinned producer attempt.
133
135
 
136
+ ### Typed capture shapes
137
+
138
+ Some evidence kinds are checked for structure, not just presence. For those
139
+ kinds a plain-text capture is refused on purpose, even when it is a faithful
140
+ copy of what the terminal showed: text cannot be checked for the facts the
141
+ kind promises (which request was sent, which rows came back, which command
142
+ exited how). Save these captures as a JSON file with the fields below.
143
+
144
+ | Kind | What the JSON must contain |
145
+ |---|---|
146
+ | `http-transcript` | `request.method` and `request.url` (non-empty text), and `response.status` (a whole number from 100 to 599). `response.body` must be present (it may be empty) unless the status is 204 or the method is HEAD. |
147
+ | `db-query-output` | `query` (the query text, non-empty) and `rows` (a list; an empty list is a valid result). |
148
+ | `state-dump` | At least one of `state`, `data`, `response` or `records` (what was observed), and at least one of `id`, `source`, `command` or `captured_at` (where or when it was read). |
149
+ | `cli-output` | `command` (text, or a non-empty list of text), `stdout` and `stderr` (text; may be empty), and the exit code as a whole number under `exit_code`, `exitCode`, `exit` or `status`. |
150
+ | `deploy-log` | Either a finished pipeline run (`status: "completed"`, a non-empty `conclusion`, and a whole-number `id` or a `workflow_path`), or a `cli-output` shape whose `stdout` mentions a deploy, release or health check. |
151
+ | `perf-trace` | `methodology` (text or an object) and a non-empty `measurements` list where every item has `metric` (text), `value` (a finite number) and `unit` (text). |
152
+
153
+ `test-run-log` and `log-snippet` accept plain text. A test-run log needs two
154
+ things somewhere in the file:
155
+
156
+ - a count from the runner's summary: a number that is not zero followed by a
157
+ space and `passed`, `passing`, `failed` or `failing` (any letter case, for
158
+ example `3 passed` or `1 failed`), or a TAP line `# pass <n>` / `# fail <n>`
159
+ whose count starts with 1–9. A failed run is still a real capture.
160
+ - a test marker: `✓`, `PASS` (capital letters), `ok <n>`, `testName`,
161
+ `test_name`, `fullName`, or ` > ` (space, greater-than, space, as in
162
+ `file > suite > test`).
163
+
164
+ A log snippet needs a timestamp whose date is written `YYYY-MM-DD`, followed by
165
+ `T` or a space and the time, for example `2026-11-13T08:00:01` or
166
+ `2026-11-13 08:00:01`. Syslog-style dates (`Nov 13 08:00:01`) and epoch numbers
167
+ (`1763020801`) are refused. As JSON, a log snippet can instead be
168
+ `{source, lines}` with at least one line.
169
+
170
+ For the JSON kinds, the fields may sit at the top of the file or inside other
171
+ objects or lists, nested up to 12 levels deep. That lets one file carry the raw
172
+ text you captured and where it came from (command, file path, checksum) beside
173
+ the typed object, for example
174
+ `{"raw": "<the terminal text>", "provenance": {...}, "capture": {<typed object>}}`.
175
+ For those kinds only the typed object is checked; the extra fields are kept for
176
+ readers. The text checks for `test-run-log` and `log-snippet` read the whole
177
+ file, wrapper included.
178
+
179
+ Minimal accepted examples:
180
+
181
+ <!-- capture-example: http-transcript -->
182
+ ```json
183
+ {
184
+ "request": { "method": "GET", "url": "https://example.invalid/health" },
185
+ "response": { "status": 200, "body": "{\"ok\":true}" }
186
+ }
187
+ ```
188
+
189
+ <!-- capture-example: db-query-output -->
190
+ ```json
191
+ {
192
+ "query": "SELECT id, status FROM orders WHERE id = 42",
193
+ "rows": [{ "id": 42, "status": "shipped" }]
194
+ }
195
+ ```
196
+
197
+ <!-- capture-example: state-dump -->
198
+ ```json
199
+ {
200
+ "source": "orders service GET /orders/42",
201
+ "captured_at": "2026-11-13T08:00:00Z",
202
+ "state": { "id": 42, "status": "shipped" }
203
+ }
204
+ ```
205
+
206
+ <!-- capture-example: cli-output -->
207
+ ```json
208
+ {
209
+ "command": ["bun", "run", "check"],
210
+ "stdout": "all checks passed\n",
211
+ "stderr": "",
212
+ "exit_code": 0
213
+ }
214
+ ```
215
+
216
+ <!-- capture-example: deploy-log -->
217
+ ```json
218
+ {
219
+ "id": 123456789,
220
+ "workflow_path": ".github/workflows/deploy.yml",
221
+ "status": "completed",
222
+ "conclusion": "success"
223
+ }
224
+ ```
225
+
226
+ <!-- capture-example: perf-trace -->
227
+ ```json
228
+ {
229
+ "methodology": "500 sequential requests against staging from one client",
230
+ "measurements": [{ "metric": "p95_latency", "value": 120, "unit": "ms" }]
231
+ }
232
+ ```
233
+
234
+ <!-- capture-example: test-run-log -->
235
+ ```text
236
+ ✓ tests/unit/health.test.ts > health endpoint > returns 200
237
+ Tests 1 passed (1)
238
+ ```
239
+
240
+ <!-- capture-example: log-snippet -->
241
+ ```text
242
+ 2026-11-13T08:00:01.120Z INFO orders order 42 marked shipped
243
+ ```
244
+
134
245
  ## Delivery and publisher configuration
135
246
 
136
247
  Configure the actual production delivery mechanism under
@@ -314,7 +314,7 @@ Agents must follow this sequence unless explicitly instructed otherwise:
314
314
  3. **If verification fails**: Fix and re-run, don't mark complete
315
315
  4. **If verification blocked** (missing tools, services, etc.): Mark as blocked, not complete
316
316
  5. **Must not be dependent on CI/CD** if necessary, you may use local deploy methods found in the project manifest, but the verification methods must be listed in the pull request and therefore cannot be dependent on CI/CD completing
317
- 6. **Evidence manifest satisfied (leaf work units)**: For a leaf work unit (Bug / Task / Sub-task / Improvement) whose ticket carries a Validation Journey, do not mark the ticket complete or transition it out of in-progress until every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared on the ticket has a corresponding captured, non-empty artifact **of the declared type** attached to the ticket (an image for `screenshot`, request + response for `http-transcript`, measured output for `perf-trace`, …). A missing, empty, or wrong-type artifact for any declared marker blocks completion exactly like a failed verification — fix and re-capture, or escalate; never close with an unsatisfied manifest. Epics / Stories / Spikes are exempt (coordination containers, not work units).
317
+ 6. **Evidence manifest satisfied (leaf work units)**: For a leaf work unit (Bug / Task / Sub-task / Improvement) whose ticket carries a Validation Journey, do not mark the ticket complete or transition it out of in-progress until every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared on the ticket has a corresponding captured, non-empty artifact **of the declared type** attached to the ticket (an image for `screenshot`, a JSON request/response capture for `http-transcript`, JSON measurements for `perf-trace`, …; the JSON kinds refuse plain text — see `../lisa-tracker-evidence/references/completion-authorization.md` ("Typed capture shapes")). A missing, empty, or wrong-type artifact for any declared marker blocks completion exactly like a failed verification — fix and re-capture, or escalate; never close with an unsatisfied manifest. Epics / Stories / Spikes are exempt (coordination containers, not work units).
318
318
  - Extract local obligations using the exact `[EVIDENCE:` prefix (plus legacy local `[SCREENSHOT:`). Both the canonical `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` and the Lisa 2.223.0 legacy alias `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` are non-claiming pointers to another work item: never capture either, match it to a local artifact, include it in duplicates, or count it toward S14. A reference-only runtime-changing leaf remains incomplete.
319
319
  7. **No artifact-only completion for required runtime verification**: If empirical verification is required and cannot run because credentials are missing, do not mark the item done on artifact-only evidence. Exhaust the credential lookup order first; if still blocked, post the blocker comment, move the item to the configured blocked state, and apply the configured `needs-human` / `human-review` label.
320
320
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.108.0",
3
+ "version": "4.108.2",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"