@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.
Files changed (147) hide show
  1. package/all/create-only/.lisa/DEPENDENCY_DECISIONS.md +10 -1
  2. package/dist/cli/ui-enabled-plugins.d.ts.map +1 -1
  3. package/dist/cli/ui-enabled-plugins.js +5 -29
  4. package/dist/cli/ui-enabled-plugins.js.map +1 -1
  5. package/dist/core/lisa.d.ts +17 -1
  6. package/dist/core/lisa.d.ts.map +1 -1
  7. package/dist/core/lisa.js +51 -4
  8. package/dist/core/lisa.js.map +1 -1
  9. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  10. package/dist/core/plugin-command.d.ts +14 -0
  11. package/dist/core/plugin-command.d.ts.map +1 -1
  12. package/dist/core/plugin-command.js +21 -3
  13. package/dist/core/plugin-command.js.map +1 -1
  14. package/dist/core/plugin-marketplace-filter.d.ts +36 -0
  15. package/dist/core/plugin-marketplace-filter.d.ts.map +1 -0
  16. package/dist/core/plugin-marketplace-filter.js +35 -0
  17. package/dist/core/plugin-marketplace-filter.js.map +1 -0
  18. package/dist/core/plugin-registration-prune.d.ts +31 -0
  19. package/dist/core/plugin-registration-prune.d.ts.map +1 -0
  20. package/dist/core/plugin-registration-prune.js +257 -0
  21. package/dist/core/plugin-registration-prune.js.map +1 -0
  22. package/dist/core/project-config-dependencies.d.ts +103 -0
  23. package/dist/core/project-config-dependencies.d.ts.map +1 -0
  24. package/dist/core/project-config-dependencies.js +118 -0
  25. package/dist/core/project-config-dependencies.js.map +1 -0
  26. package/dist/core/project-config.d.ts +8 -0
  27. package/dist/core/project-config.d.ts.map +1 -1
  28. package/dist/core/project-config.js +4 -0
  29. package/dist/core/project-config.js.map +1 -1
  30. package/dist/core/retired-plugin-keys.d.ts +24 -0
  31. package/dist/core/retired-plugin-keys.d.ts.map +1 -0
  32. package/dist/core/retired-plugin-keys.js +12 -0
  33. package/dist/core/retired-plugin-keys.js.map +1 -0
  34. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  35. package/dist/core/upstream-evidence-manifest.js +21 -6
  36. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  37. package/dist/migrations/index.d.ts +1 -0
  38. package/dist/migrations/index.d.ts.map +1 -1
  39. package/dist/migrations/index.js +4 -0
  40. package/dist/migrations/index.js.map +1 -1
  41. package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts +33 -0
  42. package/dist/migrations/prune-retired-claude-stack-plugin-keys.d.ts.map +1 -0
  43. package/dist/migrations/prune-retired-claude-stack-plugin-keys.js +98 -0
  44. package/dist/migrations/prune-retired-claude-stack-plugin-keys.js.map +1 -0
  45. package/dist/utils/marketplace-manifest.d.ts +19 -0
  46. package/dist/utils/marketplace-manifest.d.ts.map +1 -0
  47. package/dist/utils/marketplace-manifest.js +59 -0
  48. package/dist/utils/marketplace-manifest.js.map +1 -0
  49. package/package.json +4 -4
  50. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  52. package/plugins/lisa/.codex-plugin/skills/lisa-task-decomposition/SKILL.md +6 -3
  53. package/plugins/lisa/hooks/inject-resolved-config.mjs +94 -0
  54. package/plugins/lisa/rules/reference/config-resolution.md +1 -0
  55. package/plugins/lisa/rules/reference/dependency-decision-records.md +7 -0
  56. package/plugins/lisa/rules/reference/dependency-trust-classes.md +39 -1
  57. package/plugins/lisa/skills/lisa-task-decomposition/SKILL.md +6 -3
  58. package/plugins/lisa-agy/plugin.json +1 -1
  59. package/plugins/lisa-agy/skills/lisa-task-decomposition/SKILL.md +6 -3
  60. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  62. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  63. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  67. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +94 -0
  69. package/plugins/lisa-copilot/rules/reference/config-resolution.md +1 -0
  70. package/plugins/lisa-copilot/rules/reference/dependency-decision-records.md +7 -0
  71. package/plugins/lisa-copilot/rules/reference/dependency-trust-classes.md +39 -1
  72. package/plugins/lisa-copilot/skills/lisa-task-decomposition/SKILL.md +6 -3
  73. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +94 -0
  75. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +1 -0
  76. package/plugins/lisa-cursor/rules/dependency-decision-records-reference.mdc +7 -0
  77. package/plugins/lisa-cursor/rules/dependency-trust-classes-reference.mdc +39 -1
  78. package/plugins/lisa-cursor/skills/lisa-task-decomposition/SKILL.md +6 -3
  79. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  81. package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +94 -0
  82. package/plugins/lisa-devin/rules/reference/config-resolution.md +1 -0
  83. package/plugins/lisa-devin/rules/reference/dependency-decision-records.md +7 -0
  84. package/plugins/lisa-devin/rules/reference/dependency-trust-classes.md +39 -1
  85. package/plugins/lisa-devin/skills/lisa-task-decomposition/SKILL.md +6 -3
  86. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-expo-agy/plugin.json +1 -1
  89. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  93. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  96. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  103. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  104. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  107. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  109. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  110. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  114. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  116. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  117. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  118. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  121. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  123. package/plugins/lisa-rails-agy/plugin.json +1 -1
  124. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  125. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  128. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  129. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  130. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  131. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  132. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  133. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  135. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  136. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  137. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  138. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  139. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  142. package/plugins/src/base/hooks/inject-resolved-config.mjs +94 -0
  143. package/plugins/src/base/rules/reference/config-resolution.md +1 -0
  144. package/plugins/src/base/rules/reference/dependency-decision-records.md +7 -0
  145. package/plugins/src/base/rules/reference/dependency-trust-classes.md +39 -1
  146. package/plugins/src/base/skills/lisa-task-decomposition/SKILL.md +6 -3
  147. package/typescript/copy-contents/.husky/post-checkout +28 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -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, rather than discovering both at the end.
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; a work unit that needs it and does
118
- not say so is not ready.
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
@@ -71,12 +71,40 @@ _lisa_bootstrap_worktree_plugins() {
71
71
 
72
72
  echo "🔌 Bootstrapping Claude Code plugins for new worktree (scope: project)…"
73
73
  _lisa_claude plugin marketplace update lisa >/dev/null 2>&1 || true
74
+
75
+ # Plugin names the Lisa marketplace actually ships. A `<name>@lisa` key it
76
+ # does not list (e.g. the retired `typescript@lisa`) can never install, so it
77
+ # is skipped with one note and does not hold back the sentinel. When the
78
+ # manifest is unreadable this stays empty and every key is attempted, as
79
+ # before — never skip blindly.
80
+ _lisa_manifest="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/lisa/.claude-plugin/marketplace.json"
81
+ _lisa_known=""
82
+ if [ -f "$_lisa_manifest" ]; then
83
+ _lisa_known="$(jq -r '.plugins[]?.name // empty' "$_lisa_manifest" 2>/dev/null || true)"
84
+ fi
85
+
74
86
  _had_failure=0
75
87
  for _p in $_plugins; do
76
88
  # Skip ids with shell-unsafe characters before interpolating into the CLI.
77
89
  case "$_p" in
78
90
  *[!A-Za-z0-9@._/-]*) continue ;;
79
91
  esac
92
+ if [ -n "$_lisa_known" ]; then
93
+ case "$_p" in
94
+ *@lisa)
95
+ if ! printf '%s\n' "$_lisa_known" | grep -qxF "${_p%@lisa}"; then
96
+ # Mirrors RETIRED_STACK_PLUGIN_KEYS in Lisa's core/retired-plugin-keys.
97
+ case "$_p" in
98
+ typescript@lisa | cdk@lisa | expo@lisa | nestjs@lisa | rails@lisa)
99
+ echo " ⚠ $_p (not in the Lisa marketplace; retired, its successor is lisa-$_p)" ;;
100
+ *)
101
+ echo " ⚠ $_p (not in the Lisa marketplace; skipped)" ;;
102
+ esac
103
+ continue
104
+ fi
105
+ ;;
106
+ esac
107
+ fi
80
108
  if _lisa_claude plugin install "$_p" --scope project >/dev/null 2>&1; then
81
109
  echo " ✓ $_p"
82
110
  else