@codyswann/lisa 4.99.11 → 4.100.1
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-shape.mjs +23 -4
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +1 -1
- package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +10 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +4 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/lisa.d.ts +7 -0
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +13 -1
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/project-config-dependencies.d.ts +103 -0
- package/dist/core/project-config-dependencies.d.ts.map +1 -0
- package/dist/core/project-config-dependencies.js +118 -0
- package/dist/core/project-config-dependencies.js.map +1 -0
- package/dist/core/project-config.d.ts +8 -0
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +4 -0
- package/dist/core/project-config.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +24 -19
- 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-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- package/plugins/lisa/hooks/inject-resolved-config.mjs +94 -0
- package/plugins/lisa/rules/reference/base-rules.md +1 -1
- package/plugins/lisa/rules/reference/blocker-containment.md +2 -2
- package/plugins/lisa/rules/reference/config-resolution.md +1 -0
- package/plugins/lisa/rules/reference/dependency-decision-records.md +7 -0
- package/plugins/lisa/rules/reference/dependency-trust-classes.md +39 -1
- package/plugins/lisa/rules/reference/derived-branch-plan.md +4 -4
- package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa-agy/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- 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/hooks/inject-resolved-config.mjs +94 -0
- package/plugins/lisa-copilot/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/reference/blocker-containment.md +2 -2
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +1 -0
- package/plugins/lisa-copilot/rules/reference/dependency-decision-records.md +7 -0
- package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +39 -1
- package/plugins/lisa-copilot/rules/reference/derived-branch-plan.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa-copilot/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +94 -0
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/blocker-containment-reference.mdc +2 -2
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +1 -0
- package/plugins/lisa-cursor/rules/dependency-decision-records-reference.mdc +7 -0
- package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +39 -1
- package/plugins/lisa-cursor/rules/derived-branch-plan-reference.mdc +4 -4
- package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa-cursor/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +94 -0
- package/plugins/lisa-devin/rules/reference/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/reference/blocker-containment.md +2 -2
- package/plugins/lisa-devin/rules/reference/config-resolution.md +1 -0
- package/plugins/lisa-devin/rules/reference/dependency-decision-records.md +7 -0
- package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +39 -1
- package/plugins/lisa-devin/rules/reference/derived-branch-plan.md +4 -4
- package/plugins/lisa-devin/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/lisa-devin/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/lisa-devin/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
- 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/hooks/inject-resolved-config.mjs +94 -0
- package/plugins/src/base/rules/reference/base-rules.md +1 -1
- package/plugins/src/base/rules/reference/blocker-containment.md +2 -2
- package/plugins/src/base/rules/reference/config-resolution.md +1 -0
- package/plugins/src/base/rules/reference/dependency-decision-records.md +7 -0
- package/plugins/src/base/rules/reference/dependency-trust-classes.md +39 -1
- package/plugins/src/base/rules/reference/derived-branch-plan.md +4 -4
- package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +7 -3
- package/plugins/src/base/skills/lisa-repair-intake/SKILL.md +2 -1
- package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +5 -2
package/package.json
CHANGED
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"qs": "^6.16.0"
|
|
197
197
|
},
|
|
198
198
|
"name": "@codyswann/lisa",
|
|
199
|
-
"version": "4.
|
|
199
|
+
"version": "4.100.1",
|
|
200
200
|
"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",
|
|
201
201
|
"main": "dist/index.js",
|
|
202
202
|
"exports": {
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"test": "tests"
|
|
360
360
|
},
|
|
361
361
|
"types": "./dist/index.d.ts",
|
|
362
|
-
"lisaReleaseCommit": "
|
|
363
|
-
"gitHead": "
|
|
364
|
-
"lisaReleaseTag": "v4.
|
|
362
|
+
"lisaReleaseCommit": "615bd302c7f3c98778e2c5cc9bd8696dc9a114d3",
|
|
363
|
+
"gitHead": "615bd302c7f3c98778e2c5cc9bd8696dc9a114d3",
|
|
364
|
+
"lisaReleaseTag": "v4.100.1"
|
|
365
365
|
}
|
|
@@ -214,7 +214,7 @@ When `issue_type ∉ {Bug, Epic}`, `parent_ref` must be set — **except for a b
|
|
|
214
214
|
|
|
215
215
|
Every leaf work unit carries `## Target Backend Environment` in the body. The section is where `runtime_behavior_change` is persisted, so it is rendered for exempt work too — see the declaration grammar at the end of this gate. Read accepted environments from the exact configured keys of `.lisa.config.json` `deploy.branches`, never from a hardcoded list. Accept a human-confirmed bare exact configured key or `Confirmed: <env>`, automated `Inferred: <env> — evidence: <title|body|reproduction|hostname>`, automated `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` when no unique reverse-map exists. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. For legacy bare values, use managed draft markers and current ticket content only; provider edit history is not required. A marker proves automation and requires re-annotation; otherwise unknown provenance plus conflicting evidence fails for confirmation. Validate the annotation shape/source and remote-default branch; validate `<env>` as an exact configured key whenever present. A valid branch-only assumption must not fail solely because its reverse-map is absent or ambiguous. Normalize built-in `prod` ↔ `production` only when exactly one of those keys is configured. No other aliases are valid.
|
|
216
216
|
|
|
217
|
-
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: doc-only
|
|
217
|
+
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: <reason>`, where `<reason>` is one of `doc-only | config-only | type-only | test-only` — the same closed set as `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`, which the completion checker enforces. A container (an Epic, or any issue holding child work) declares `None — container: state rolls up from children`. The `None —` prefix is the machine discriminator for `runtime_behavior_change = false`. The reason word is drawn from that closed set, written as plain text (not inside backticks), and the declaration is the **entire** section content — nothing may follow it in the section, not even a further paragraph, because the completion checker reads the whole section: any other reason (for example `refactor-only`), a backticked reason, or any text after the declaration, **FAILs** this gate, because the completion checker would refuse that issue as pending-proof after merge, the most expensive point to find it.
|
|
218
218
|
|
|
219
219
|
Derive the flag from the stored content, never from a caller's word about a live issue: an exact configured environment key means `true`, a `None —` declaration means `false`, and an **absent section means underivable** — never `false`. On a live issue the stored declaration is authoritative, so a caller asserting a `runtime_behavior_change` that contradicts it **FAILs** this gate naming both values rather than silently preferring either; one of the two is wrong, and picking one quietly is how an unauditable gate gets built. A **proposed spec** with no section **FAILs** — `lisa-github-write-issue` must render it before the write. A **live legacy issue** with no section is `N/A` with a repair note routed to claim time: the same asymmetry S19 uses, for the same reason, because failing every existing issue would turn a legacy queue red for a section no human had a way to add.
|
|
220
220
|
|
|
@@ -236,7 +236,7 @@ This gate is `product_relevant: false` because cross-repo work units are not a p
|
|
|
236
236
|
|
|
237
237
|
#### S11 — Validation Journey present
|
|
238
238
|
|
|
239
|
-
When `runtime_behavior_change = true`, body must contain `## Validation Journey`. Skipped for doc-only / config-only / type-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy issue whose body carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
239
|
+
When `runtime_behavior_change = true`, body must contain `## Validation Journey`. Skipped for doc-only / config-only / type-only / test-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy issue whose body carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
240
240
|
|
|
241
241
|
The caller controls strictness via `journey_followup`:
|
|
242
242
|
- `auto` (default): missing section is FAIL with remediation `"Invoke lisa-github-add-journey to append the section after create"`. Callers like `lisa-github-write-issue` know to chain the followup automatically.
|
|
@@ -275,7 +275,7 @@ FAIL when the Validation Journey is present but declares zero binding `[EVIDENCE
|
|
|
275
275
|
|
|
276
276
|
Parse claiming markers by the exact `[EVIDENCE:` prefix. A cross-work-item pointer in the canonical form `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` is non-claiming. The Lisa 2.223.0 form `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` is also accepted as a legacy non-claiming alias; parse it from the right so the final two fields are type/name and a tracker URL may contain `:`. Exclude both forms from the manifest, S14's minimum-marker count, local marker type/name validation, and duplicate-name checks. Independently validate every `EVIDENCE-REF`: the native work-item reference must be non-empty and unambiguous, the artifact type must use the fixed taxonomy, and the name must be non-empty kebab-case. A malformed reference FAILs S14 as an invalid pointer but never becomes a local evidence obligation. A valid canonical or legacy reference may point to a sibling's artifact, but it never satisfies S14 for this issue. Therefore a runtime-changing leaf whose journey contains only `EVIDENCE-REF` entries FAILs S14 for zero local claiming markers, not because a valid legacy reference is malformed. Quoting or code-formatting another issue's `[EVIDENCE: ...]` marker does not make it a reference; writers must convert it to the canonical pipe form.
|
|
277
277
|
|
|
278
|
-
This gate depends on S11. It is `N/A` for containers — an **Epic**, or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-github-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live issue.
|
|
278
|
+
This gate depends on S11. It is `N/A` for containers — an **Epic**, or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-github-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live issue.
|
|
279
279
|
|
|
280
280
|
#### S15 — Leaf-only build-ready
|
|
281
281
|
|
|
@@ -357,7 +357,7 @@ Enforces the `derived-branch-plan` rule: the `## Branch Plan` section is **deriv
|
|
|
357
357
|
|
|
358
358
|
| Case | Verdict |
|
|
359
359
|
|---|---|
|
|
360
|
-
| `runtime_behavior_change = false` (doc-only / config-only / type-only) or an Epic/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
360
|
+
| `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only) or an Epic/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
361
361
|
| Exempt work **carrying** a `## Branch Plan` | **FAIL** — hand-authored branches on work that declared no runtime target |
|
|
362
362
|
| `runtime_behavior_change` **underivable** (live legacy item, no Target Backend Environment declaration) | `N/A` with a repair note — absence is never read as `false` |
|
|
363
363
|
| Plan matches the recomputed plan | PASS |
|
|
@@ -162,7 +162,11 @@ Scenario: <name>
|
|
|
162
162
|
`runtime_behavior_change` is persisted, and an absent section reads as
|
|
163
163
|
*underivable*, not exempt. Work that changes no runtime behavior declares the
|
|
164
164
|
exemption in place of an environment: `None — no runtime behavior change:
|
|
165
|
-
|
|
165
|
+
<reason>`, where `<reason>` is exactly one of the closed set
|
|
166
|
+
`doc-only | config-only | type-only | test-only`, as plain text, and is the
|
|
167
|
+
entire section content — nothing follows it in the section (the set
|
|
168
|
+
is shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`;
|
|
169
|
+
any other reason fails S8 and would be refused at completion). An Epic/container declares
|
|
166
170
|
`None — container: state rolls up from children`. Visible prose, not an HTML
|
|
167
171
|
comment, for the same reason the Branch Plan provenance line is: JIRA's ADF has
|
|
168
172
|
no comment node. See the `derived-branch-plan` rule.]
|
|
@@ -170,7 +174,7 @@ Scenario: <name>
|
|
|
170
174
|
## Branch Plan
|
|
171
175
|
[GENERATED, never hand-authored. Render only when the issue has a Target
|
|
172
176
|
Backend Environment; omit entirely when `runtime_behavior_change = false`
|
|
173
|
-
(doc-only / config-only / type-only) or for an Epic/container — absence is
|
|
177
|
+
(doc-only / config-only / type-only / test-only) or for an Epic/container — absence is
|
|
174
178
|
correct there. Derive per the `derived-branch-plan` rule: resolve the
|
|
175
179
|
environment, map it forward through `.lisa.config.json` `deploy.branches`,
|
|
176
180
|
and prove the branch exists on the remote. Do not accept caller-supplied
|
|
@@ -214,7 +218,7 @@ Scenario: <name>
|
|
|
214
218
|
|
|
215
219
|
## Validation Journey
|
|
216
220
|
[Delegate to /github-add-journey if the issue changes runtime behavior.
|
|
217
|
-
Skip only for doc-only, config-only, or
|
|
221
|
+
Skip only for doc-only, config-only, type-only, or test-only issues. Cross-work-item
|
|
218
222
|
evidence pointers use `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]`;
|
|
219
223
|
they never replace this issue's local S14 marker.]
|
|
220
224
|
```
|
|
@@ -149,7 +149,7 @@ Using the general-purpose agent in Team Lead session, **determine the base branc
|
|
|
149
149
|
- **Legacy (no plan)** → derive it, **write the assumption onto the ticket as a comment**, then proceed. Visible prose plus a dedupe marker, e.g. ``Branch plan derived for this item: branch from `main`, PR into `main` (Target Backend Environment: production via .lisa.config.json deploy.branches).`` followed by `<!-- [lisa-branch-plan] key=<work-item-ref>::<branch> -->` (marker-dedupe on `<work-item-ref>::<branch>`, so a re-claim adds no duplicate; where a vendor cannot host an HTML comment the visible line alone carries it). **No silent guess** — if the comment cannot be written, that is a stop, because proceeding would make the inference invisible.
|
|
150
150
|
- **Conflict with a human-confirmed environment, or with an existing open PR's base** → **stop under the existing confirmation rules** below. A branch plan never overrides the environment and never supplies the confirmation itself.
|
|
151
151
|
- **Stale (config changed since the plan was rendered)** → current config wins: re-render the section onto the ticket, record the change, and never follow the stale plan. Staleness is output falling behind its input, not a conflict to escalate.
|
|
152
|
-
- Exempt work carries no plan and needs none: `runtime_behavior_change = false` (doc-only / config-only / type-only) and containers have no environment to derive from, so **absence of a plan is correct** — never demand or invent one. Read the flag off the item rather than assuming it: `## Target Backend Environment` is rendered on every leaf and carries the declaration (`derived-branch-plan`) — an exact configured environment key means `true`, `None — no runtime behavior change: <doc-only|config-only|type-only>` or `None — container: state rolls up from children` means `false`. An **absent** section is *underivable*, not exempt: derive the flag from the change under implementation, write the declaration onto the item beside the `[lisa-branch-plan]` legacy comment, and proceed. Never read absence as `false` — that is the assumption that made S8/S11/S14/S19 undecidable on a live item.
|
|
152
|
+
- Exempt work carries no plan and needs none: `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only) and containers have no environment to derive from, so **absence of a plan is correct** — never demand or invent one. Read the flag off the item rather than assuming it: `## Target Backend Environment` is rendered on every leaf and carries the declaration (`derived-branch-plan`) — an exact configured environment key means `true`, `None — no runtime behavior change: <doc-only|config-only|type-only|test-only>` (a closed set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`; any other reason is refused at completion) or `None — container: state rolls up from children` means `false`. An **absent** section is *underivable*, not exempt: derive the flag from the change under implementation, write the declaration onto the item beside the `[lisa-branch-plan]` legacy comment, and proceed. Never read absence as `false` — that is the assumption that made S8/S11/S14/S19 undecidable on a live item.
|
|
153
153
|
3. **Establish the feature branch off the latest base, conflict-free:**
|
|
154
154
|
- `git fetch origin`.
|
|
155
155
|
- Already on a feature branch with an **open PR** → reuse it. If the PR's base ≠ the resolved base branch, surface the mismatch and re-target only with confirmation — the ticket's environment is the source of truth.
|
|
@@ -217,7 +217,7 @@ When `issue_type ∉ {Bug, Epic}`, `parent_key` must be set — **except for a b
|
|
|
217
217
|
|
|
218
218
|
Every leaf work unit carries a `Target Backend Environment` section in the description (`h2.` / `##` in proposed text, or an ADF heading in live JIRA). The section is where `runtime_behavior_change` is persisted, so it is rendered for exempt work too — see the declaration grammar at the end of this gate. Read accepted environments from the exact configured keys of `.lisa.config.json` `deploy.branches`, never from a hardcoded list. Accept a human-confirmed bare exact configured key or `Confirmed: <env>`, automated `Inferred: <env> — evidence: <title|body|reproduction|hostname>`, automated `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` when no unique reverse-map exists. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. For legacy bare values, use managed draft markers and current ticket content only; provider edit history is not required. A marker proves automation and requires re-annotation; otherwise unknown provenance plus conflicting evidence fails for confirmation. Validate the annotation shape/source and remote-default branch; validate `<env>` as an exact configured key whenever present. A valid branch-only assumption must not fail solely because its reverse-map is absent or ambiguous. Normalize built-in `prod` ↔ `production` only when exactly one of those keys is configured. No other aliases are valid.
|
|
219
219
|
|
|
220
|
-
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: doc-only
|
|
220
|
+
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: <reason>`, where `<reason>` is one of `doc-only | config-only | type-only | test-only` — the same closed set as `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`, which the completion checker enforces. A container (an Epic, or any ticket holding child work) declares `None — container: state rolls up from children`. The `None —` prefix is the machine discriminator for `runtime_behavior_change = false`. The reason word is drawn from that closed set, written as plain text (not inside backticks), and the declaration is the **entire** section content — nothing may follow it in the section, not even a further paragraph, because the completion checker reads the whole section: any other reason (for example `refactor-only`), a backticked reason, or any text after the declaration, **FAILs** this gate, because the completion checker would refuse that ticket as pending-proof after merge, the most expensive point to find it.
|
|
221
221
|
|
|
222
222
|
Derive the flag from the stored content, never from a caller's word about a live ticket: an exact configured environment key means `true`, a `None —` declaration means `false`, and an **absent section means underivable** — never `false`. On a live ticket the stored declaration is authoritative, so a caller asserting a `runtime_behavior_change` that contradicts it **FAILs** this gate naming both values rather than silently preferring either; one of the two is wrong, and picking one quietly is how an unauditable gate gets built. A **proposed spec** with no section **FAILs** — `lisa-jira-write-ticket` must render it before the write. A **live legacy ticket** with no section is `N/A` with a repair note routed to claim time: the same asymmetry S19 uses, for the same reason, because failing every existing ticket would turn a legacy queue red for a section no human had a way to add.
|
|
223
223
|
|
|
@@ -237,7 +237,7 @@ This gate is `product_relevant: false` because cross-repo work units are not a p
|
|
|
237
237
|
|
|
238
238
|
#### S11 — Validation Journey present
|
|
239
239
|
|
|
240
|
-
When `runtime_behavior_change = true`, description must contain a `Validation Journey` section (`h2.` / `##` in proposed text, or an ADF heading in live JIRA). Skipped for doc-only / config-only / type-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy ticket whose description carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
240
|
+
When `runtime_behavior_change = true`, description must contain a `Validation Journey` section (`h2.` / `##` in proposed text, or an ADF heading in live JIRA). Skipped for doc-only / config-only / type-only / test-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy ticket whose description carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
241
241
|
|
|
242
242
|
The caller controls the strictness by passing `journey_followup: "auto"` or `journey_followup: "none"` in the spec:
|
|
243
243
|
- `auto` (default): if the section is absent, return `FAIL` with remediation `"Invoke lisa-jira-add-journey to append the section after create"`. Callers like `lisa-jira-write-ticket` know to chain `lisa-jira-add-journey` automatically, so this counts as a fixable failure they can resolve in-line — they re-run validation after appending.
|
|
@@ -278,7 +278,7 @@ FAIL when the Validation Journey is present but declares zero binding `[EVIDENCE
|
|
|
278
278
|
|
|
279
279
|
Parse claiming markers by the exact `[EVIDENCE:` prefix. A cross-work-item pointer in the canonical form `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` is non-claiming. The Lisa 2.223.0 form `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` is also accepted as a legacy non-claiming alias; parse it from the right so the final two fields are type/name and a tracker URL may contain `:`. Exclude both forms from the manifest, S14's minimum-marker count, local marker type/name validation, and duplicate-name checks. Independently validate every `EVIDENCE-REF`: the native work-item reference must be non-empty and unambiguous, the artifact type must use the fixed taxonomy, and the name must be non-empty kebab-case. A malformed reference FAILs S14 as an invalid pointer but never becomes a local evidence obligation. A valid canonical or legacy reference may point to a sibling's artifact, but it never satisfies S14 for this ticket. Therefore a runtime-changing leaf whose journey contains only `EVIDENCE-REF` entries FAILs S14 for zero local claiming markers, not because a valid legacy reference is malformed. Quoting or code-formatting another ticket's `[EVIDENCE: ...]` marker does not make it a reference; writers must convert it to the canonical pipe form.
|
|
280
280
|
|
|
281
|
-
This gate depends on S11. It is `N/A` for containers — an **Epic**, or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-jira-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live ticket.
|
|
281
|
+
This gate depends on S11. It is `N/A` for containers — an **Epic**, or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-jira-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live ticket.
|
|
282
282
|
|
|
283
283
|
#### S15 — Leaf-only build-ready
|
|
284
284
|
|
|
@@ -359,7 +359,7 @@ Enforces the `derived-branch-plan` rule: the `Branch Plan` section (`h2.` / `##`
|
|
|
359
359
|
|
|
360
360
|
| Case | Verdict |
|
|
361
361
|
|---|---|
|
|
362
|
-
| `runtime_behavior_change = false` (doc-only / config-only / type-only) or an Epic/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
362
|
+
| `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only) or an Epic/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
363
363
|
| Exempt work **carrying** a `Branch Plan` | **FAIL** — hand-authored branches on work that declared no runtime target |
|
|
364
364
|
| `runtime_behavior_change` **underivable** (live legacy item, no Target Backend Environment declaration) | `N/A` with a repair note — absence is never read as `false` |
|
|
365
365
|
| Plan matches the recomputed plan | PASS |
|
|
@@ -154,7 +154,11 @@ h2. Target Backend Environment
|
|
|
154
154
|
`runtime_behavior_change` is persisted, and an absent section reads as
|
|
155
155
|
*underivable*, not exempt. Work that changes no runtime behavior declares the
|
|
156
156
|
exemption in place of an environment: `None — no runtime behavior change:
|
|
157
|
-
|
|
157
|
+
<reason>`, where `<reason>` is exactly one of the closed set
|
|
158
|
+
`doc-only | config-only | type-only | test-only`, as plain text, and is the
|
|
159
|
+
entire section content — nothing follows it in the section (the set
|
|
160
|
+
is shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`;
|
|
161
|
+
any other reason fails S8 and would be refused at completion). An Epic/container declares
|
|
158
162
|
`None — container: state rolls up from children`. Visible prose, not an HTML
|
|
159
163
|
comment, for the same reason the Branch Plan provenance line is: JIRA's ADF has
|
|
160
164
|
no comment node. See the `derived-branch-plan` rule.]
|
|
@@ -162,7 +166,7 @@ h2. Target Backend Environment
|
|
|
162
166
|
h2. Branch Plan
|
|
163
167
|
[GENERATED, never hand-authored. Render only when the ticket has a Target
|
|
164
168
|
Backend Environment; omit entirely when `runtime_behavior_change = false`
|
|
165
|
-
(doc-only / config-only / type-only) or for an Epic/container — absence is
|
|
169
|
+
(doc-only / config-only / type-only / test-only) or for an Epic/container — absence is
|
|
166
170
|
correct there. Derive per the `derived-branch-plan` rule: resolve the
|
|
167
171
|
environment, map it forward through `.lisa.config.json` `deploy.branches`,
|
|
168
172
|
and prove the branch exists on the remote. Do not accept caller-supplied
|
|
@@ -189,7 +193,7 @@ list multiple repos.]
|
|
|
189
193
|
|
|
190
194
|
h2. Validation Journey
|
|
191
195
|
[Delegate to /jira-add-journey if the ticket changes runtime behavior.
|
|
192
|
-
Skip only for doc-only, config-only, or
|
|
196
|
+
Skip only for doc-only, config-only, type-only, or test-only tickets. Cross-work-item
|
|
193
197
|
evidence pointers use `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]`;
|
|
194
198
|
they never replace this ticket's local S14 marker.]
|
|
195
199
|
```
|
|
@@ -205,7 +205,7 @@ A **build-ready leaf work unit** that is not part of an Epic context stands alon
|
|
|
205
205
|
|
|
206
206
|
Every leaf work unit carries `## Target Backend Environment` in the description. The section is where `runtime_behavior_change` is persisted, so it is rendered for exempt work too — see the declaration grammar at the end of this gate. Read accepted environments from the exact configured keys of `.lisa.config.json` `deploy.branches`, never from a hardcoded list. Accept a human-confirmed bare exact configured key or `Confirmed: <env>`, automated `Inferred: <env> — evidence: <title|body|reproduction|hostname>`, automated `Assumption: <env> — remote default branch <branch>` for a unique reverse-map, or `Assumption: remote default branch <branch>` when no unique reverse-map exists. Human confirmation replaces an automated annotation with the bare key or `Confirmed: <env>`. For legacy bare values, use managed draft markers and current ticket content only; provider edit history is not required. A marker proves automation and requires re-annotation; otherwise unknown provenance plus conflicting evidence fails for confirmation. Validate the annotation shape/source and remote-default branch; validate `<env>` as an exact configured key whenever present. A valid branch-only assumption must not fail solely because its reverse-map is absent or ambiguous. Normalize built-in `prod` ↔ `production` only when exactly one of those keys is configured. No other aliases are valid.
|
|
207
207
|
|
|
208
|
-
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: doc-only
|
|
208
|
+
**The section persists `runtime_behavior_change`, so it is never simply skipped.** Work that changes no runtime behavior declares the exemption in place of an environment: `None — no runtime behavior change: <reason>`, where `<reason>` is one of `doc-only | config-only | type-only | test-only` — the same closed set as `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`, which the completion checker enforces. A container (a Project, or any Issue holding child work) declares `None — container: state rolls up from children`. The `None —` prefix is the machine discriminator for `runtime_behavior_change = false`. The reason word is drawn from that closed set, written as plain text (not inside backticks), and the declaration is the **entire** section content — nothing may follow it in the section, not even a further paragraph, because the completion checker reads the whole section: any other reason (for example `refactor-only`), a backticked reason, or any text after the declaration, **FAILs** this gate, because the completion checker would refuse that Issue as pending-proof after merge, the most expensive point to find it.
|
|
209
209
|
|
|
210
210
|
Derive the flag from the stored content, never from a caller's word about a live Issue: an exact configured environment key means `true`, a `None —` declaration means `false`, and an **absent section means underivable** — never `false`. On a live Issue the stored declaration is authoritative, so a caller asserting a `runtime_behavior_change` that contradicts it **FAILs** this gate naming both values rather than silently preferring either; one of the two is wrong, and picking one quietly is how an unauditable gate gets built. A **proposed spec** with no section **FAILs** — `lisa-linear-write-issue` must render it before the write. A **live legacy Issue** with no section is `N/A` with a repair note routed to claim time: the same asymmetry S19 uses, for the same reason, because failing every existing Issue would turn a legacy queue red for a section no human had a way to add.
|
|
211
211
|
|
|
@@ -225,7 +225,7 @@ This gate is `product_relevant: false` because cross-repo work units are not a p
|
|
|
225
225
|
|
|
226
226
|
#### S11 — Validation Journey present
|
|
227
227
|
|
|
228
|
-
When `runtime_behavior_change = true`, description must contain `## Validation Journey`. Skipped for doc-only / config-only / type-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy Issue whose description carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
228
|
+
When `runtime_behavior_change = true`, description must contain `## Validation Journey`. Skipped for doc-only / config-only / type-only / test-only / Epic. When `runtime_behavior_change` is **underivable** — a live legacy Issue whose description carries no Target Backend Environment declaration (S8) — this gate is `N/A` with the same repair note rather than `PASS`, because a requirement conditioned on a flag nobody recorded cannot be asserted either way.
|
|
229
229
|
|
|
230
230
|
The caller controls strictness via `journey_followup: "auto"` or `"none"`:
|
|
231
231
|
- `auto` (default): missing section returns `FAIL` with remediation `"Invoke lisa-linear-add-journey to append the section after create"`. The write path auto-fixes; dry-run path leaves it as a FAIL the caller must address.
|
|
@@ -264,7 +264,7 @@ FAIL when the Validation Journey is present but declares zero binding `[EVIDENCE
|
|
|
264
264
|
|
|
265
265
|
Parse claiming markers by the exact `[EVIDENCE:` prefix. A cross-work-item pointer in the canonical form `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` is non-claiming. The Lisa 2.223.0 form `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` is also accepted as a legacy non-claiming alias; parse it from the right so the final two fields are type/name and a tracker URL may contain `:`. Exclude both forms from the manifest, S14's minimum-marker count, local marker type/name validation, and duplicate-name checks. Independently validate every `EVIDENCE-REF`: the native work-item reference must be non-empty and unambiguous, the artifact type must use the fixed taxonomy, and the name must be non-empty kebab-case. A malformed reference FAILs S14 as an invalid pointer but never becomes a local evidence obligation. A valid canonical or legacy reference may point to a sibling's artifact, but it never satisfies S14 for this item. Therefore a runtime-changing leaf whose journey contains only `EVIDENCE-REF` entries FAILs S14 for zero local claiming markers, not because a valid legacy reference is malformed. Quoting or code-formatting another item's `[EVIDENCE: ...]` marker does not make it a reference; writers must convert it to the canonical pipe form. Linear returns stored Markdown with brackets escaped (`\[EVIDENCE: cli-output: name\]`, `\[EVIDENCE-REF: ...\]`): decode one Markdown escape layer outside code fences, indented code and inline code spans before matching, as `localMarkers` in `completion-proof-shape.mjs` does, so an escaped and an unescaped marker are the same declaration and a malformed one still FAILs.
|
|
266
266
|
|
|
267
|
-
This gate depends on S11. It is `N/A` for containers — a **Project** (the Epic equivalent), or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-linear-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live Issue.
|
|
267
|
+
This gate depends on S11. It is `N/A` for containers — a **Project** (the Epic equivalent), or any item with open child work (coordination containers, not work units) — and for leaf units with `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only). If S11 fails because the Validation Journey is absent, S14 also FAILs (there is no manifest to bind) with remediation pointing back to `lisa-linear-add-journey`. It is likewise `N/A` with a repair note when `runtime_behavior_change` is **underivable** under S8 — reading an absent declaration as `false` is exactly the silent assumption that made this gate unauditable on a live Issue.
|
|
268
268
|
|
|
269
269
|
#### S15 — Leaf-only build-ready
|
|
270
270
|
|
|
@@ -344,7 +344,7 @@ Enforces the `derived-branch-plan` rule: the `## Branch Plan` section is **deriv
|
|
|
344
344
|
|
|
345
345
|
| Case | Verdict |
|
|
346
346
|
|---|---|
|
|
347
|
-
| `runtime_behavior_change = false` (doc-only / config-only / type-only) or a Project/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
347
|
+
| `runtime_behavior_change = false` (doc-only / config-only / type-only / test-only) or a Project/container, with no plan | `N/A` — absence is correct; never demand one |
|
|
348
348
|
| Exempt work **carrying** a `## Branch Plan` | **FAIL** — hand-authored branches on work that declared no runtime target |
|
|
349
349
|
| `runtime_behavior_change` **underivable** (live legacy item, no Target Backend Environment declaration) | `N/A` with a repair note — absence is never read as `false` |
|
|
350
350
|
| Plan matches the recomputed plan | PASS |
|
|
@@ -141,7 +141,11 @@ Linear descriptions are markdown (NOT Jira wiki markup — no `h2.` headings, us
|
|
|
141
141
|
`runtime_behavior_change` is persisted, and an absent section reads as
|
|
142
142
|
*underivable*, not exempt. Work that changes no runtime behavior declares the
|
|
143
143
|
exemption in place of an environment: `None — no runtime behavior change:
|
|
144
|
-
|
|
144
|
+
<reason>`, where `<reason>` is exactly one of the closed set
|
|
145
|
+
`doc-only | config-only | type-only | test-only`, as plain text, and is the
|
|
146
|
+
entire section content — nothing follows it in the section (the set
|
|
147
|
+
is shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`;
|
|
148
|
+
any other reason fails S8 and would be refused at completion). A Project/container declares
|
|
145
149
|
`None — container: state rolls up from children`. Visible prose, not an HTML
|
|
146
150
|
comment, for the same reason the Branch Plan provenance line is: a marker that
|
|
147
151
|
survives in only one representation cannot be a vendor-neutral discriminator,
|
|
@@ -152,7 +156,7 @@ Linear descriptions are markdown (NOT Jira wiki markup — no `h2.` headings, us
|
|
|
152
156
|
## Branch Plan
|
|
153
157
|
[GENERATED, never hand-authored. Render only when the item has a Target
|
|
154
158
|
Backend Environment; omit entirely when `runtime_behavior_change = false`
|
|
155
|
-
(doc-only / config-only / type-only) or for a Project/container — absence is
|
|
159
|
+
(doc-only / config-only / type-only / test-only) or for a Project/container — absence is
|
|
156
160
|
correct there. Derive per the `derived-branch-plan` rule: resolve the
|
|
157
161
|
environment, map it forward through `.lisa.config.json` `deploy.branches`,
|
|
158
162
|
and prove the branch exists on the remote. Do not accept caller-supplied
|
|
@@ -177,7 +181,7 @@ Linear descriptions are markdown (NOT Jira wiki markup — no `h2.` headings, us
|
|
|
177
181
|
|
|
178
182
|
## Validation Journey
|
|
179
183
|
[Delegate to /linear-add-journey if the item changes runtime behavior.
|
|
180
|
-
Skip only for doc-only, config-only, or
|
|
184
|
+
Skip only for doc-only, config-only, type-only, or test-only items. Cross-work-item
|
|
181
185
|
evidence pointers use `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]`;
|
|
182
186
|
they never replace this item's local S14 marker.]
|
|
183
187
|
```
|
|
@@ -1270,7 +1270,8 @@ layer, and test ancestry against the remote.
|
|
|
1270
1270
|
record.
|
|
1271
1271
|
- **Ships no code** — the blocker is closed as completed, positively declares
|
|
1272
1272
|
`## Target Backend Environment` reading `None — no runtime behavior change: <kind>`
|
|
1273
|
-
with kind `doc-only`, `config-only`,
|
|
1273
|
+
with kind `doc-only`, `config-only`, `type-only`, or `test-only` (the closed set shared with
|
|
1274
|
+
`NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`), and has no linked PR and no merge commit →
|
|
1274
1275
|
**cleared** under the rule's carve-out. This is a positive determination, never an absence:
|
|
1275
1276
|
"no PR found" is `no-pr` and stays blocking. A missing kind does not qualify; any linked
|
|
1276
1277
|
open or unmerged PR stays blocking under the normal containment test.
|
|
@@ -116,8 +116,11 @@ unit proposes adding one, the work unit must, before it is buildable:
|
|
|
116
116
|
2. **State the class's required evidence** — the detection evidence that class
|
|
117
117
|
demands, and whether product/human ratification is required before the work
|
|
118
118
|
starts. Runtime-critical service clients and expiry extensions on temporary
|
|
119
|
-
dependencies always require ratification
|
|
120
|
-
|
|
119
|
+
dependencies always require ratification — unless `.lisa.config.json` sets
|
|
120
|
+
`dependencies.humanSignOff` to `"none"`, in which case no class requires
|
|
121
|
+
ratification and the work unit says so instead (the class and its evidence
|
|
122
|
+
are still required). A work unit that needs ratification and does not say so
|
|
123
|
+
is not ready.
|
|
121
124
|
3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
|
|
122
125
|
criteria, so the record entry lands in the same change as the dependency.
|
|
123
126
|
|
|
@@ -208,7 +211,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
|
|
|
208
211
|
- Every task must have at least one acceptance criterion that can be empirically verified
|
|
209
212
|
- Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
|
|
210
213
|
- Every Task / Bug / Sub-task / Improvement is scoped to exactly one repo -- if the work spans repos, split into per-repo work units under a shared parent Story (see step 1.5)
|
|
211
|
-
- Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed, and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
|
|
214
|
+
- Any task proposing a new material dependency names its trust class, states that class's required evidence and whether human ratification is needed (never, when `dependencies.humanSignOff` is `"none"`), and updates `.lisa/DEPENDENCY_DECISIONS.md` in the same change (see step 4.5) -- a proposed material dependency with no named class is not ready to build
|
|
212
215
|
- Any task removing, replacing, or internalizing a material dependency carries all seven confidence-rebuild kit criteria -- corpus, conformance, negative fixtures, coverage-as-gap-detector, provenance/license, migration/update plan, and rollback criteria (see step 4.6) -- unless it explicitly justifies why the dependency is non-material; a within-trust-class version bump does not carry the kit
|
|
213
216
|
- Keep tasks ordered so that no task references work that has not been completed by a prior task
|
|
214
217
|
- Flag any task that requires access, permissions, or external input not yet available
|
|
@@ -100,8 +100,11 @@ The remote obligation lists empirical required `claim_ids` against the delivered
|
|
|
100
100
|
environment/source, beyond code-unit checks.
|
|
101
101
|
|
|
102
102
|
Runtime leaves require remote and delivery proof. Explicit doc-only,
|
|
103
|
-
config-only and
|
|
104
|
-
N/A reasons
|
|
103
|
+
config-only, type-only and test-only no-runtime declarations permit their
|
|
104
|
+
corresponding N/A reasons. That reason set is closed and is exactly
|
|
105
|
+
`NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`; any other
|
|
106
|
+
reason grants no exemption. No-local-markers permits only the empty manifest
|
|
107
|
+
exemption.
|
|
105
108
|
Missing or duplicate environment declarations cannot grant an exemption.
|
|
106
109
|
Childless Story/Spike work remains a leaf. Container rollup is a separate path;
|
|
107
110
|
older blanket container wording in evidence guidance does not grant a new
|
|
@@ -209,6 +209,26 @@ const CREDENTIAL_SHAPED = [
|
|
|
209
209
|
/** What replaces a redacted value, so the KEY's existence is still visible. */
|
|
210
210
|
const REDACTED = "[redacted]";
|
|
211
211
|
|
|
212
|
+
/**
|
|
213
|
+
* Whether dependency decisions wait on a person (CodySwannGT/lisa#4651).
|
|
214
|
+
*
|
|
215
|
+
* The one built-in default with a CLOSED vocabulary, so it is the one whose
|
|
216
|
+
* declared value can be wrong. A wrong value resolves to `default` — Lisa's
|
|
217
|
+
* config reader degrades rather than throws for this key — and is reported as
|
|
218
|
+
* INVALID among the gap lines, because printing a quiet `default` would make
|
|
219
|
+
* "the project meant `none` and typed it wrong" indistinguishable from "the
|
|
220
|
+
* project never set it".
|
|
221
|
+
*/
|
|
222
|
+
const HUMAN_SIGN_OFF_PATH = "dependencies.humanSignOff";
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* The `dependencies.humanSignOff` vocabulary, copied from
|
|
226
|
+
* `DEPENDENCY_HUMAN_SIGN_OFF_VALUES` in `src/core/project-config-dependencies.ts`
|
|
227
|
+
* (not importable from a plugin payload) and pinned against that export by this
|
|
228
|
+
* hook's wiring test.
|
|
229
|
+
*/
|
|
230
|
+
const HUMAN_SIGN_OFF_VALUES = ["default", "none"];
|
|
231
|
+
|
|
212
232
|
/**
|
|
213
233
|
* Keys Lisa supplies a built-in value for when a project declares none.
|
|
214
234
|
*
|
|
@@ -243,6 +263,11 @@ export const BUILT_IN_DEFAULTS = [
|
|
|
243
263
|
value: ".lisa/PROJECT_LEARNINGS.md",
|
|
244
264
|
owner: "src/core/learnings-location.ts",
|
|
245
265
|
},
|
|
266
|
+
{
|
|
267
|
+
path: HUMAN_SIGN_OFF_PATH,
|
|
268
|
+
value: "default",
|
|
269
|
+
owner: "src/core/project-config-dependencies.ts",
|
|
270
|
+
},
|
|
246
271
|
];
|
|
247
272
|
|
|
248
273
|
/**
|
|
@@ -279,6 +304,7 @@ const SUBTREE_ORDER = [
|
|
|
279
304
|
"policy",
|
|
280
305
|
"quality",
|
|
281
306
|
"learnings",
|
|
307
|
+
"dependencies",
|
|
282
308
|
"verification",
|
|
283
309
|
"nightlyE2E",
|
|
284
310
|
"intake",
|
|
@@ -598,6 +624,63 @@ function renderGates(gates) {
|
|
|
598
624
|
];
|
|
599
625
|
}
|
|
600
626
|
|
|
627
|
+
/**
|
|
628
|
+
* What an invalid `dependencies` declaration declares, in words.
|
|
629
|
+
*
|
|
630
|
+
* Covers both ways the key can be unusable: a `humanSignOff` outside its
|
|
631
|
+
* vocabulary, and a `dependencies` block that is not an object at all, which
|
|
632
|
+
* leaves the key unreadable rather than absent.
|
|
633
|
+
* @param {unknown} block The resolved `dependencies` value.
|
|
634
|
+
* @returns {string|null} The description, or null when absent or valid.
|
|
635
|
+
*/
|
|
636
|
+
function describeInvalidSignOff(block) {
|
|
637
|
+
if (!isObject(block)) {
|
|
638
|
+
return `${JSON.stringify(block)} for dependencies, which is not an object`;
|
|
639
|
+
}
|
|
640
|
+
const { humanSignOff } = block;
|
|
641
|
+
if (humanSignOff === undefined) return null;
|
|
642
|
+
if (HUMAN_SIGN_OFF_VALUES.includes(humanSignOff)) return null;
|
|
643
|
+
const accepted = HUMAN_SIGN_OFF_VALUES.map(value => `"${value}"`).join(" | ");
|
|
644
|
+
return `${JSON.stringify(humanSignOff)}, which is not one of ${accepted}`;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* The INVALID line for an unusable `dependencies.humanSignOff` declaration.
|
|
649
|
+
* @param {object} config Resolved config.
|
|
650
|
+
* @param {string} fallback The value in force instead.
|
|
651
|
+
* @param {string} owner Module that owns the setting.
|
|
652
|
+
* @returns {string|null} The line, or null when the value is absent or valid.
|
|
653
|
+
*/
|
|
654
|
+
function invalidSignOffLine(config, fallback, owner) {
|
|
655
|
+
const declared =
|
|
656
|
+
"dependencies" in config
|
|
657
|
+
? describeInvalidSignOff(config.dependencies)
|
|
658
|
+
: null;
|
|
659
|
+
return declared === null
|
|
660
|
+
? null
|
|
661
|
+
: `${HUMAN_SIGN_OFF_PATH}: ${fallback} [INVALID — this project declares ${declared}; treated as ${fallback}; owner: ${owner}]`;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Render the `dependencies` block.
|
|
666
|
+
*
|
|
667
|
+
* `humanSignOff` is printed as its own dotted line so an agent finds the same
|
|
668
|
+
* spelling the rules use. An invalid value is NOT printed here — the gap lines
|
|
669
|
+
* already state it as INVALID with the value in force, and a second line
|
|
670
|
+
* showing the rejected value would read as the effective one. Any other key a
|
|
671
|
+
* later release adds still renders through the generic subtree renderer.
|
|
672
|
+
* @param {unknown} block The resolved `dependencies` value.
|
|
673
|
+
* @param {string[]} out Lines accumulated so far (mutated).
|
|
674
|
+
*/
|
|
675
|
+
function renderDependencies(block, out) {
|
|
676
|
+
if (!isObject(block)) return;
|
|
677
|
+
const { humanSignOff, ...rest } = block;
|
|
678
|
+
if (HUMAN_SIGN_OFF_VALUES.includes(humanSignOff)) {
|
|
679
|
+
out.push(`${HUMAN_SIGN_OFF_PATH}: ${humanSignOff}`);
|
|
680
|
+
}
|
|
681
|
+
renderSubtree(rest, "dependencies", out);
|
|
682
|
+
}
|
|
683
|
+
|
|
601
684
|
/**
|
|
602
685
|
* Render the declared-vs-defaulted lines.
|
|
603
686
|
* @param {object} config Resolved config.
|
|
@@ -606,6 +689,13 @@ function renderGates(gates) {
|
|
|
606
689
|
function renderDefaults(config) {
|
|
607
690
|
const lines = [];
|
|
608
691
|
for (const { path, value, owner } of BUILT_IN_DEFAULTS) {
|
|
692
|
+
if (path === HUMAN_SIGN_OFF_PATH) {
|
|
693
|
+
const invalid = invalidSignOffLine(config, value, owner);
|
|
694
|
+
if (invalid !== null) {
|
|
695
|
+
lines.push(invalid);
|
|
696
|
+
continue;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
609
699
|
if (at(config, path) !== undefined) continue;
|
|
610
700
|
lines.push(
|
|
611
701
|
`${path}: ${value} [Lisa built-in default — this project declares none; owner: ${owner}]`
|
|
@@ -663,6 +753,10 @@ function renderBody(config) {
|
|
|
663
753
|
lines.push(...gateLines);
|
|
664
754
|
continue;
|
|
665
755
|
}
|
|
756
|
+
if (key === "dependencies") {
|
|
757
|
+
renderDependencies(config.dependencies, lines);
|
|
758
|
+
continue;
|
|
759
|
+
}
|
|
666
760
|
renderSubtree(config[key], key, lines);
|
|
667
761
|
}
|
|
668
762
|
const unlisted = Object.keys(config).filter(
|
|
@@ -75,7 +75,7 @@ JIRA Discipline:
|
|
|
75
75
|
- When creating JIRA tickets, establish issue link relationships (e.g. "is blocked by", "blocks", "relates to", "is duplicated by") between tickets that have dependencies or logical connections. Do not leave related tickets unlinked. Relationship discovery is mandatory on every create and update — search BOTH the local git history (`git log --all --grep=<keyword>`, `git log -- <path>`) AND Jira (JQL by component, keyword, label, epic siblings) before declaring "no related work." Record the searches you ran and their outcomes in the description (or a comment) so a reviewer can see the search was real.
|
|
76
76
|
- Ticket scope by type: Bug, Task, and Sub-task tickets MUST be single-repo (one work unit, one repo). Epic, Spike, and Story tickets MAY span multiple repos. If a Bug/Task/Sub-task crosses repos, split it per the `repo-scope-split` rule — at PRD-decomposition time via `task-decomposition` step 1.5 (parent Story + per-repo children); at work-time (an existing ticket an agent is about to implement) via the work-time split procedure (narrow the original to one repo, spin off a sibling per additional repo cloning its metadata, link the producer→consumer dependency, then proceed). A cross-repo work unit is a decomposition error the agent fixes by splitting, not a reason to bounce the ticket to the reporter.
|
|
77
77
|
- Ticket descriptions MUST contain everything an implementer needs to start work without asking the reporter. In particular:
|
|
78
|
-
- **Target backend environment** (`dev` / `staging` / `prod`) when the ticket has runtime behavior. QA/product report against a deployed env; the implementer verifies locally first against that backend before CI/CD. Skip only for doc-only, config-only, type-only, or Epic tickets.
|
|
78
|
+
- **Target backend environment** (`dev` / `staging` / `prod`) when the ticket has runtime behavior. QA/product report against a deployed env; the implementer verifies locally first against that backend before CI/CD. Skip only for doc-only, config-only, type-only, test-only, or Epic tickets (the closed no-runtime reason set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`).
|
|
79
79
|
- **Sign-in account / credentials** when the work requires being signed in. Name the account (or the source — 1Password item, env var, seeded fixture) and the role. Omit entirely when sign-in is not required.
|
|
80
80
|
- **Gherkin acceptance criteria** (Given/When/Then) so the implementer can verify behavior without guessing.
|
|
81
81
|
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in jira-verify).
|
|
@@ -39,7 +39,7 @@ A false negative (left blocked) costs a cycle and is visible. A false positive (
|
|
|
39
39
|
|
|
40
40
|
## The one carve-out: a blocker with no code
|
|
41
41
|
|
|
42
|
-
A dependency need not deliver code. A blocker **closed as completed** that positively declares no code deliverable — `## Target Backend Environment` reading `None — no runtime behavior change: <kind>` (`doc-only` / `config-only` / `type-only`), no linked PR, no merge commit — is **cleared**, because there is no artifact whose location could matter.
|
|
42
|
+
A dependency need not deliver code. A blocker **closed as completed** that positively declares no code deliverable — `## Target Backend Environment` reading `None — no runtime behavior change: <kind>` (`doc-only` / `config-only` / `type-only` / `test-only`, the closed set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`), no linked PR, no merge commit — is **cleared**, because there is no artifact whose location could matter.
|
|
43
43
|
|
|
44
44
|
This requires a **positive determination**, never an absence. "I could not find a PR" is fail-closed under the rule above; "the item declares it ships no code" is this carve-out. Collapsing the two turns the carve-out into a universal bypass.
|
|
45
45
|
|
|
@@ -130,7 +130,7 @@ Not every dependency delivers code. A decision, a doc change, or a config-only i
|
|
|
130
130
|
A blocker is cleared under this carve-out when **all** of the following hold:
|
|
131
131
|
|
|
132
132
|
1. it is **closed as completed** (not `not planned` — see `rejection-detection`, where *not planned* is a durable decline);
|
|
133
|
-
2. it **positively declares no code deliverable** — `## Target Backend Environment` reading `None — no runtime behavior change: doc-only` (or `config-only` / `type-only`), per the grammar `derived-branch-plan` already defines;
|
|
133
|
+
2. it **positively declares no code deliverable** — `## Target Backend Environment` reading `None — no runtime behavior change: doc-only` (or `config-only` / `type-only` / `test-only`), per the grammar `derived-branch-plan` already defines;
|
|
134
134
|
3. it has **no linked PR and no merge commit**. Any linked PR requires the normal containment test regardless of what the section declares; an open or unmerged PR remains blocking — the code is the authority over the prose.
|
|
135
135
|
|
|
136
136
|
This is a **positive determination, never an absence.** "I could not find a PR" is `no-pr` in the fail-closed table above. "The item declares that it ships no code" is this carve-out. Collapsing the two converts a narrow carve-out into a universal bypass, and it is the single most likely way for this rule to be implemented wrongly.
|
|
@@ -280,6 +280,7 @@ fi
|
|
|
280
280
|
| `learnings.lowConfidence` | no | `human-triage` | How `lisa-persist-learning` submits a low-confidence learning PR. `human-triage` keeps auto-merge off and labels it `learning:needs-triage` for a human to merge or close. `auto-merge` submits it like a high-confidence PR, merging through the project's normal gates, labeled `learning:low-confidence`; `lisa-learnings-audit` then re-reviews those entries first. Any other value is rejected. |
|
|
281
281
|
| `health.schedule` | no | `off` | Health cadence contract: `off`, `daily`, or `weekly`. `lisa sync` populates the default with `_lisaSync.populated` provenance and rejects values outside this closed vocabulary. Runtime results live only at the gitignored `.lisa/health/latest.json`, never in either config file. |
|
|
282
282
|
| `usage` | no | — | Optional token/cost pricing metadata consumed by the `usage-accounting` rule. Missing pricing never blocks a lifecycle flow; Lisa records token counts with `estimated_cost: null` when no trustworthy price source is configured. |
|
|
283
|
+
| `dependencies.humanSignOff` | no | `"default"` | Whether dependency decisions wait on a person. `"default"` keeps every ratification requirement in `dependency-trust-classes`; `"none"` drops all of them — the trust class and its per-class evidence are still required, and credential, paid-account, and license approvals are unaffected. Any other value is reported as invalid (in `lisa apply` output and the session's `lisa-resolved-config` block) and treated as `"default"`. |
|
|
283
284
|
| `humanGate.humanOnly` | no | `[]` | Decision classes this project reserves for a person, such as `["pricing"]`. A `human_gate` reason naming one (as a whole word) is accepted by the writers and never lifted by the sweeps. Absent, only acts an agent cannot perform qualify as a human gate. `.lisa.config.local.json` replaces the list when it sets one. Read by `scripts/human-gate-act.mjs`; see `ready-role-filing`, "What a human gate is". |
|
|
284
285
|
| `wiki` | no | — | Wiki location for the `wiki-knowledge-source` rule. Omit for a local in-repo wiki (`wiki/`). See **Wiki source** below. |
|
|
285
286
|
| `sessionManager` | no | — (opt-in) | Local session manager: polls the Ready queue, runs each item in a fresh background Claude Code session, and relays questions over a per-project Telegram bot when one is configured (optional). Absent means the manager is not used; `lisa sync` never populates it. Written by `/lisa:setup:session-manager`. See **Session manager (`sessionManager`)** below. |
|
|
@@ -34,6 +34,9 @@ can add one without rewriting the file. An honest gap is written as
|
|
|
34
34
|
Escalate, rather than just recording, when detection evidence says "nothing
|
|
35
35
|
would catch it", when `Last reviewed` predates the dependency's last major
|
|
36
36
|
upgrade, or when the trust basis names no maintainer or owner.
|
|
37
|
+
When `dependencies.humanSignOff` is `"none"`, the agent resolves the
|
|
38
|
+
escalation itself — reclassify, replace, remove, or accept — and records the decision and
|
|
39
|
+
its reason in the entry.
|
|
37
40
|
|
|
38
41
|
---
|
|
39
42
|
|
|
@@ -112,6 +115,10 @@ An entry full of `_Not yet decided_` is not an escalation; it is unstarted work.
|
|
|
112
115
|
These three are escalations precisely because someone already looked and the
|
|
113
116
|
answer was bad.
|
|
114
117
|
|
|
118
|
+
When `dependencies.humanSignOff` is `"none"`, the agent resolves the
|
|
119
|
+
escalation itself — reclassify, replace, remove, or accept — and records the decision and
|
|
120
|
+
its reason in the entry.
|
|
121
|
+
|
|
115
122
|
## What counts as material
|
|
116
123
|
|
|
117
124
|
Material means: if this dependency vanished, broke, or shipped a hostile update,
|
|
@@ -34,6 +34,14 @@ ratification, not weaker: runtime-critical service clients always need human
|
|
|
34
34
|
ratification to add or major-upgrade; temporary dependencies need it to live
|
|
35
35
|
past their expiry date; thin wrappers need it to be kept rather than in-housed.
|
|
36
36
|
|
|
37
|
+
**Unless the project turns sign-off off.** When `.lisa.config.json` sets
|
|
38
|
+
`dependencies.humanSignOff` to `"none"`, no ratification requirement or
|
|
39
|
+
human-review trigger in this rule applies — see
|
|
40
|
+
[When `dependencies.humanSignOff` is `"none"`](#when-dependencieshumansignoff-is-none).
|
|
41
|
+
The effective value is printed in the session's `lisa-resolved-config` block.
|
|
42
|
+
The default (`"default"`, or the key omitted) keeps every requirement below
|
|
43
|
+
exactly as written.
|
|
44
|
+
|
|
37
45
|
Every class also names one **human-review trigger** — the observable event that
|
|
38
46
|
takes the decision away from the agent. A class definition that cannot say what
|
|
39
47
|
would trigger human review is not finished.
|
|
@@ -248,6 +256,35 @@ Not required for mature ecosystem primitives or build/development tools on
|
|
|
248
256
|
routine adds and upgrades. Those two classes are where the crowd and the blast
|
|
249
257
|
radius do the work a human would otherwise have to do.
|
|
250
258
|
|
|
259
|
+
### When `dependencies.humanSignOff` is `"none"`
|
|
260
|
+
|
|
261
|
+
A project whose owner has decided that no dependency should ever wait on a
|
|
262
|
+
person's approval sets `"dependencies": { "humanSignOff": "none" }` in
|
|
263
|
+
`.lisa.config.json`. Read the effective value from the
|
|
264
|
+
`dependencies.humanSignOff` line of the session's `lisa-resolved-config` block.
|
|
265
|
+
Under `"none"`:
|
|
266
|
+
|
|
267
|
+
- **No ratification line in this rule applies** — not the runtime-critical
|
|
268
|
+
service client's sign-off to add or major-upgrade, the fast-moving standard
|
|
269
|
+
implementation's major-upgrade sign-off, the thin wrapper's sign-off to keep
|
|
270
|
+
it, or the temporary/experimental dependency's sign-off to extend or promote
|
|
271
|
+
it. Do not stop work, hold a work item, or ask a person to approve any of them.
|
|
272
|
+
- **Human-review triggers become agent decisions.** When a class's trigger
|
|
273
|
+
fires, the agent makes the call itself — catch up, reclassify, replace, or
|
|
274
|
+
remove — and records the decision and its reason in the dependency's
|
|
275
|
+
`.lisa/DEPENDENCY_DECISIONS.md` entry.
|
|
276
|
+
- **Everything else still applies.** Name exactly one trust class, meet that
|
|
277
|
+
class's capability-owner, update-cadence, detection-evidence, and
|
|
278
|
+
replacement-cost requirements, and update the record entry in the same change.
|
|
279
|
+
Turning sign-off off removes the human, not the evidence.
|
|
280
|
+
- **Credential, paid-account, and license approvals are not covered.** A
|
|
281
|
+
dependency that needs a new secret, a paid vendor account, or a license
|
|
282
|
+
decision still raises that as its own human-needed reason; this setting does
|
|
283
|
+
not waive it.
|
|
284
|
+
|
|
285
|
+
`"default"` — or no key at all — keeps every ratification requirement exactly as
|
|
286
|
+
written above. Any other value is reported as invalid and treated as `"default"`.
|
|
287
|
+
|
|
251
288
|
## Naming a class at planning time
|
|
252
289
|
|
|
253
290
|
A work item that proposes adding a new material dependency must, before it is
|
|
@@ -258,7 +295,8 @@ unit proposing a material dependency with no named class.
|
|
|
258
295
|
|
|
259
296
|
The class is what makes the rest of the ticket reviewable: it tells the reviewer
|
|
260
297
|
which evidence to demand and whether a human has to ratify before the work
|
|
261
|
-
starts,
|
|
298
|
+
starts (never, when `dependencies.humanSignOff` is `"none"`), rather than
|
|
299
|
+
discovering both at the end.
|
|
262
300
|
|
|
263
301
|
Naming a class is not a formality either. If nobody can pick one, that is the
|
|
264
302
|
finding — an unclassifiable dependency is usually one nobody has thought about,
|