@codyswann/lisa 4.99.10 → 4.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +10 -1
- package/dist/cli/ui-enabled-plugins.d.ts.map +1 -1
- package/dist/cli/ui-enabled-plugins.js +5 -29
- package/dist/cli/ui-enabled-plugins.js.map +1 -1
- package/dist/core/lisa.d.ts +17 -1
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +51 -4
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/plugin-command.d.ts +14 -0
- package/dist/core/plugin-command.d.ts.map +1 -1
- package/dist/core/plugin-command.js +21 -3
- package/dist/core/plugin-command.js.map +1 -1
- package/dist/core/plugin-marketplace-filter.d.ts +36 -0
- package/dist/core/plugin-marketplace-filter.d.ts.map +1 -0
- package/dist/core/plugin-marketplace-filter.js +35 -0
- package/dist/core/plugin-marketplace-filter.js.map +1 -0
- package/dist/core/plugin-registration-prune.d.ts +31 -0
- package/dist/core/plugin-registration-prune.d.ts.map +1 -0
- package/dist/core/plugin-registration-prune.js +257 -0
- package/dist/core/plugin-registration-prune.js.map +1 -0
- 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/retired-plugin-keys.d.ts +24 -0
- package/dist/core/retired-plugin-keys.d.ts.map +1 -0
- package/dist/core/retired-plugin-keys.js +12 -0
- package/dist/core/retired-plugin-keys.js.map +1 -0
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +21 -6
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +4 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts +33 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts.map +1 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.js +98 -0
- package/dist/migrations/prune-retired-claude-stack-plugin-keys.js.map +1 -0
- package/dist/utils/marketplace-manifest.d.ts +19 -0
- package/dist/utils/marketplace-manifest.d.ts.map +1 -0
- package/dist/utils/marketplace-manifest.js +59 -0
- package/dist/utils/marketplace-manifest.js.map +1 -0
- 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-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa/hooks/inject-resolved-config.mjs +94 -0
- 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/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +6 -3
- 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/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/skills/lisa-task-decomposition/SKILL.md +6 -3
- 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/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/skills/lisa-task-decomposition/SKILL.md +6 -3
- 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/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/skills/lisa-task-decomposition/SKILL.md +6 -3
- 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/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/skills/lisa-task-decomposition/SKILL.md +6 -3
- package/typescript/copy-contents/.husky/post-checkout +28 -0
|
@@ -114,8 +114,11 @@ unit proposes adding one, the work unit must, before it is buildable:
|
|
|
114
114
|
2. **State the class's required evidence** — the detection evidence that class
|
|
115
115
|
demands, and whether product/human ratification is required before the work
|
|
116
116
|
starts. Runtime-critical service clients and expiry extensions on temporary
|
|
117
|
-
dependencies always require ratification
|
|
118
|
-
|
|
117
|
+
dependencies always require ratification — unless `.lisa.config.json` sets
|
|
118
|
+
`dependencies.humanSignOff` to `"none"`, in which case no class requires
|
|
119
|
+
ratification and the work unit says so instead (the class and its evidence
|
|
120
|
+
are still required). A work unit that needs ratification and does not say so
|
|
121
|
+
is not ready.
|
|
119
122
|
3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
|
|
120
123
|
criteria, so the record entry lands in the same change as the dependency.
|
|
121
124
|
|
|
@@ -206,7 +209,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
|
|
|
206
209
|
- Every task must have at least one acceptance criterion that can be empirically verified
|
|
207
210
|
- Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
|
|
208
211
|
- 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)
|
|
209
|
-
- 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
|
|
212
|
+
- 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
|
|
210
213
|
- 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
|
|
211
214
|
- Keep tasks ordered so that no task references work that has not been completed by a prior task
|
|
212
215
|
- Flag any task that requires access, permissions, or external input not yet available
|
|
@@ -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(
|
|
@@ -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,
|
|
@@ -114,8 +114,11 @@ unit proposes adding one, the work unit must, before it is buildable:
|
|
|
114
114
|
2. **State the class's required evidence** — the detection evidence that class
|
|
115
115
|
demands, and whether product/human ratification is required before the work
|
|
116
116
|
starts. Runtime-critical service clients and expiry extensions on temporary
|
|
117
|
-
dependencies always require ratification
|
|
118
|
-
|
|
117
|
+
dependencies always require ratification — unless `.lisa.config.json` sets
|
|
118
|
+
`dependencies.humanSignOff` to `"none"`, in which case no class requires
|
|
119
|
+
ratification and the work unit says so instead (the class and its evidence
|
|
120
|
+
are still required). A work unit that needs ratification and does not say so
|
|
121
|
+
is not ready.
|
|
119
122
|
3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
|
|
120
123
|
criteria, so the record entry lands in the same change as the dependency.
|
|
121
124
|
|
|
@@ -206,7 +209,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
|
|
|
206
209
|
- Every task must have at least one acceptance criterion that can be empirically verified
|
|
207
210
|
- Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
|
|
208
211
|
- 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)
|
|
209
|
-
- 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
|
|
212
|
+
- 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
|
|
210
213
|
- 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
|
|
211
214
|
- Keep tasks ordered so that no task references work that has not been completed by a prior task
|
|
212
215
|
- Flag any task that requires access, permissions, or external input not yet available
|
|
@@ -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(
|
|
@@ -285,6 +285,7 @@ fi
|
|
|
285
285
|
| `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. |
|
|
286
286
|
| `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. |
|
|
287
287
|
| `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. |
|
|
288
|
+
| `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"`. |
|
|
288
289
|
| `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". |
|
|
289
290
|
| `wiki` | no | — | Wiki location for the `wiki-knowledge-source` rule. Omit for a local in-repo wiki (`wiki/`). See **Wiki source** below. |
|
|
290
291
|
| `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. |
|
|
@@ -39,6 +39,9 @@ can add one without rewriting the file. An honest gap is written as
|
|
|
39
39
|
Escalate, rather than just recording, when detection evidence says "nothing
|
|
40
40
|
would catch it", when `Last reviewed` predates the dependency's last major
|
|
41
41
|
upgrade, or when the trust basis names no maintainer or owner.
|
|
42
|
+
When `dependencies.humanSignOff` is `"none"`, the agent resolves the
|
|
43
|
+
escalation itself — reclassify, replace, remove, or accept — and records the decision and
|
|
44
|
+
its reason in the entry.
|
|
42
45
|
|
|
43
46
|
---
|
|
44
47
|
|
|
@@ -117,6 +120,10 @@ An entry full of `_Not yet decided_` is not an escalation; it is unstarted work.
|
|
|
117
120
|
These three are escalations precisely because someone already looked and the
|
|
118
121
|
answer was bad.
|
|
119
122
|
|
|
123
|
+
When `dependencies.humanSignOff` is `"none"`, the agent resolves the
|
|
124
|
+
escalation itself — reclassify, replace, remove, or accept — and records the decision and
|
|
125
|
+
its reason in the entry.
|
|
126
|
+
|
|
120
127
|
## What counts as material
|
|
121
128
|
|
|
122
129
|
Material means: if this dependency vanished, broke, or shipped a hostile update,
|
|
@@ -39,6 +39,14 @@ ratification, not weaker: runtime-critical service clients always need human
|
|
|
39
39
|
ratification to add or major-upgrade; temporary dependencies need it to live
|
|
40
40
|
past their expiry date; thin wrappers need it to be kept rather than in-housed.
|
|
41
41
|
|
|
42
|
+
**Unless the project turns sign-off off.** When `.lisa.config.json` sets
|
|
43
|
+
`dependencies.humanSignOff` to `"none"`, no ratification requirement or
|
|
44
|
+
human-review trigger in this rule applies — see
|
|
45
|
+
[When `dependencies.humanSignOff` is `"none"`](#when-dependencieshumansignoff-is-none).
|
|
46
|
+
The effective value is printed in the session's `lisa-resolved-config` block.
|
|
47
|
+
The default (`"default"`, or the key omitted) keeps every requirement below
|
|
48
|
+
exactly as written.
|
|
49
|
+
|
|
42
50
|
Every class also names one **human-review trigger** — the observable event that
|
|
43
51
|
takes the decision away from the agent. A class definition that cannot say what
|
|
44
52
|
would trigger human review is not finished.
|
|
@@ -253,6 +261,35 @@ Not required for mature ecosystem primitives or build/development tools on
|
|
|
253
261
|
routine adds and upgrades. Those two classes are where the crowd and the blast
|
|
254
262
|
radius do the work a human would otherwise have to do.
|
|
255
263
|
|
|
264
|
+
### When `dependencies.humanSignOff` is `"none"`
|
|
265
|
+
|
|
266
|
+
A project whose owner has decided that no dependency should ever wait on a
|
|
267
|
+
person's approval sets `"dependencies": { "humanSignOff": "none" }` in
|
|
268
|
+
`.lisa.config.json`. Read the effective value from the
|
|
269
|
+
`dependencies.humanSignOff` line of the session's `lisa-resolved-config` block.
|
|
270
|
+
Under `"none"`:
|
|
271
|
+
|
|
272
|
+
- **No ratification line in this rule applies** — not the runtime-critical
|
|
273
|
+
service client's sign-off to add or major-upgrade, the fast-moving standard
|
|
274
|
+
implementation's major-upgrade sign-off, the thin wrapper's sign-off to keep
|
|
275
|
+
it, or the temporary/experimental dependency's sign-off to extend or promote
|
|
276
|
+
it. Do not stop work, hold a work item, or ask a person to approve any of them.
|
|
277
|
+
- **Human-review triggers become agent decisions.** When a class's trigger
|
|
278
|
+
fires, the agent makes the call itself — catch up, reclassify, replace, or
|
|
279
|
+
remove — and records the decision and its reason in the dependency's
|
|
280
|
+
`.lisa/DEPENDENCY_DECISIONS.md` entry.
|
|
281
|
+
- **Everything else still applies.** Name exactly one trust class, meet that
|
|
282
|
+
class's capability-owner, update-cadence, detection-evidence, and
|
|
283
|
+
replacement-cost requirements, and update the record entry in the same change.
|
|
284
|
+
Turning sign-off off removes the human, not the evidence.
|
|
285
|
+
- **Credential, paid-account, and license approvals are not covered.** A
|
|
286
|
+
dependency that needs a new secret, a paid vendor account, or a license
|
|
287
|
+
decision still raises that as its own human-needed reason; this setting does
|
|
288
|
+
not waive it.
|
|
289
|
+
|
|
290
|
+
`"default"` — or no key at all — keeps every ratification requirement exactly as
|
|
291
|
+
written above. Any other value is reported as invalid and treated as `"default"`.
|
|
292
|
+
|
|
256
293
|
## Naming a class at planning time
|
|
257
294
|
|
|
258
295
|
A work item that proposes adding a new material dependency must, before it is
|
|
@@ -263,7 +300,8 @@ unit proposing a material dependency with no named class.
|
|
|
263
300
|
|
|
264
301
|
The class is what makes the rest of the ticket reviewable: it tells the reviewer
|
|
265
302
|
which evidence to demand and whether a human has to ratify before the work
|
|
266
|
-
starts,
|
|
303
|
+
starts (never, when `dependencies.humanSignOff` is `"none"`), rather than
|
|
304
|
+
discovering both at the end.
|
|
267
305
|
|
|
268
306
|
Naming a class is not a formality either. If nobody can pick one, that is the
|
|
269
307
|
finding — an unclassifiable dependency is usually one nobody has thought about,
|
|
@@ -114,8 +114,11 @@ unit proposes adding one, the work unit must, before it is buildable:
|
|
|
114
114
|
2. **State the class's required evidence** — the detection evidence that class
|
|
115
115
|
demands, and whether product/human ratification is required before the work
|
|
116
116
|
starts. Runtime-critical service clients and expiry extensions on temporary
|
|
117
|
-
dependencies always require ratification
|
|
118
|
-
|
|
117
|
+
dependencies always require ratification — unless `.lisa.config.json` sets
|
|
118
|
+
`dependencies.humanSignOff` to `"none"`, in which case no class requires
|
|
119
|
+
ratification and the work unit says so instead (the class and its evidence
|
|
120
|
+
are still required). A work unit that needs ratification and does not say so
|
|
121
|
+
is not ready.
|
|
119
122
|
3. **Include updating `.lisa/DEPENDENCY_DECISIONS.md`** in its acceptance
|
|
120
123
|
criteria, so the record entry lands in the same change as the dependency.
|
|
121
124
|
|
|
@@ -206,7 +209,7 @@ Map each task to the skills needed to complete it. This enables delegation to sp
|
|
|
206
209
|
- Every task must have at least one acceptance criterion that can be empirically verified
|
|
207
210
|
- Do not create tasks that cannot be verified -- if you cannot define how to prove it is done, the task is not well-scoped
|
|
208
211
|
- 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)
|
|
209
|
-
- 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
|
|
212
|
+
- 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
|
|
210
213
|
- 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
|
|
211
214
|
- Keep tasks ordered so that no task references work that has not been completed by a prior task
|
|
212
215
|
- Flag any task that requires access, permissions, or external input not yet available
|