@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
@@ -22,6 +22,7 @@ export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-loc
22
22
  export { EnsureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared.js";
23
23
  export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
24
24
  export { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
25
+ export { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
25
26
  export { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
26
27
  export { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
27
28
  export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,EAAE,qCAAqC,EAAE,MAAM,uCAAuC,CAAC;AAC9F,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ureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared.js";
21
21
  import { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
22
22
  import { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
23
+ import { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
23
24
  import { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
24
25
  import { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
25
26
  import { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
@@ -47,6 +48,7 @@ export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-loc
47
48
  export { EnsureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared.js";
48
49
  export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
49
50
  export { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
51
+ export { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
50
52
  export { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
51
53
  export { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
52
54
  export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
@@ -86,6 +88,8 @@ export class MigrationRegistry {
86
88
  new PruneRetiredClaudeDenyRulesMigration(),
87
89
  new PruneRetiredEntireHooksMigration(),
88
90
  new ReconcileClaudeStackPluginsMigration(),
91
+ // After reconcile: a successor it adds retires its predecessor at once.
92
+ new PruneRetiredClaudeStackPluginKeysMigration(),
89
93
  new UntrackCodexMarketplaceMigration(),
90
94
  new RetireNativeSafetyNetMigration(),
91
95
  new CorrectLisaCoderabbitLabelingMigration(),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO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;YAChD,IAAI,gCAAgC,EAAE;YACtC,IAAI,8BAA8B,EAAE;YACpC,IAAI,sCAAsC,EAAE;YAC5C,0EAA0E;YAC1E,6DAA6D;YAC7D,IAAI,yCAAyC,EAAE;SAChD,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CAAC,GAAqB;QAC7C,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,gBAAgB,EAAE,CAAC;gBAC/B,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAqB;QAChC,MAAM,OAAO,GAAsB,EAAE,CAAC;QACtC,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC/C,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1D,SAAS;YACX,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC1C,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,IAAI,iBAAiB,EAAE,CAAC;AACjC,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
2
+ /**
3
+ * Migration: remove the stack plugin keys Lisa once shipped and later renamed
4
+ * (see {@link RETIRED_STACK_PLUGIN_KEYS} for the exact keys and the commits
5
+ * that prove them).
6
+ *
7
+ * `reconcile-claude-stack-plugins` manages only `lisa-<type>@lisa` keys, and
8
+ * the merge strategy only adds keys, so nothing ever removed the old names.
9
+ * Every apply and every new worktree then tried to install a plugin that does
10
+ * not exist, warned, and the worktree bootstrap never settled
11
+ * (CodySwannGT/lisa#4645).
12
+ *
13
+ * Registered after `reconcile-claude-stack-plugins`, so a successor that
14
+ * migration adds retires its predecessor in the same apply. Host-added keys,
15
+ * including any other `<name>@lisa` key, are never touched.
16
+ */
17
+ export declare class PruneRetiredClaudeStackPluginKeysMigration implements Migration {
18
+ readonly name = "prune-retired-claude-stack-plugin-keys";
19
+ readonly description = "Remove renamed Lisa stack plugin keys (e.g. typescript@lisa) from .claude/settings.json";
20
+ /**
21
+ * Whether any retired key can be removed.
22
+ * @param ctx - Migration context
23
+ * @returns True when at least one retired key is removable
24
+ */
25
+ applies(ctx: MigrationContext): Promise<boolean>;
26
+ /**
27
+ * Remove the removable retired keys and name each one.
28
+ * @param ctx - Migration context
29
+ * @returns Result naming the keys removed
30
+ */
31
+ apply(ctx: MigrationContext): Promise<MigrationResult>;
32
+ }
33
+ //# sourceMappingURL=prune-retired-claude-stack-plugin-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prune-retired-claude-stack-plugin-keys.d.ts","sourceRoot":"","sources":["../../src/migrations/prune-retired-claude-stack-plugin-keys.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAgDlC;;;;;;;;;;;;;;GAcG;AACH,qBAAa,0CAA2C,YAAW,SAAS;IAC1E,QAAQ,CAAC,IAAI,4CAA4C;IACzD,QAAQ,CAAC,WAAW,6FACwE;IAE5F;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAWtD;;;;OAIG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAkC7D"}
@@ -0,0 +1,98 @@
1
+ import * as path from "node:path";
2
+ import { RETIRED_STACK_PLUGIN_KEYS } from "../core/retired-plugin-keys.js";
3
+ import { readJsonOrNull, writeJson } from "../utils/json-utils.js";
4
+ const SETTINGS_REL_PATH = path.join(".claude", "settings.json");
5
+ /**
6
+ * The retired keys in `enabledPlugins` that are safe to remove: those whose
7
+ * successor is already present, and those whose stack type no longer applies.
8
+ * A retired key whose type still applies but whose successor is missing is
9
+ * kept — removing it would leave the stack with no plugin key at all.
10
+ * @param enabledPlugins - Current enabledPlugins map
11
+ * @param detectedTypes - Detected project types (already parent-expanded)
12
+ * @returns Retired keys to remove, in file order
13
+ */
14
+ function findRemovableRetiredKeys(enabledPlugins, detectedTypes) {
15
+ return Object.keys(enabledPlugins).filter(key => {
16
+ const retired = RETIRED_STACK_PLUGIN_KEYS.get(key);
17
+ if (retired === undefined) {
18
+ return false;
19
+ }
20
+ return (Object.hasOwn(enabledPlugins, retired.successor) ||
21
+ !detectedTypes.includes(retired.type));
22
+ });
23
+ }
24
+ /**
25
+ * Read the project's `.claude/settings.json`, returning null when absent.
26
+ * @param projectDir - Destination project directory
27
+ * @returns Parsed settings or null when missing/invalid
28
+ */
29
+ async function readClaudeSettings(projectDir) {
30
+ return readJsonOrNull(path.join(projectDir, SETTINGS_REL_PATH));
31
+ }
32
+ /**
33
+ * Migration: remove the stack plugin keys Lisa once shipped and later renamed
34
+ * (see {@link RETIRED_STACK_PLUGIN_KEYS} for the exact keys and the commits
35
+ * that prove them).
36
+ *
37
+ * `reconcile-claude-stack-plugins` manages only `lisa-<type>@lisa` keys, and
38
+ * the merge strategy only adds keys, so nothing ever removed the old names.
39
+ * Every apply and every new worktree then tried to install a plugin that does
40
+ * not exist, warned, and the worktree bootstrap never settled
41
+ * (CodySwannGT/lisa#4645).
42
+ *
43
+ * Registered after `reconcile-claude-stack-plugins`, so a successor that
44
+ * migration adds retires its predecessor in the same apply. Host-added keys,
45
+ * including any other `<name>@lisa` key, are never touched.
46
+ */
47
+ export class PruneRetiredClaudeStackPluginKeysMigration {
48
+ name = "prune-retired-claude-stack-plugin-keys";
49
+ description = "Remove renamed Lisa stack plugin keys (e.g. typescript@lisa) from .claude/settings.json";
50
+ /**
51
+ * Whether any retired key can be removed.
52
+ * @param ctx - Migration context
53
+ * @returns True when at least one retired key is removable
54
+ */
55
+ async applies(ctx) {
56
+ const settings = await readClaudeSettings(ctx.projectDir);
57
+ if (!settings?.enabledPlugins) {
58
+ return false;
59
+ }
60
+ return (findRemovableRetiredKeys(settings.enabledPlugins, ctx.detectedTypes)
61
+ .length > 0);
62
+ }
63
+ /**
64
+ * Remove the removable retired keys and name each one.
65
+ * @param ctx - Migration context
66
+ * @returns Result naming the keys removed
67
+ */
68
+ async apply(ctx) {
69
+ const settings = await readClaudeSettings(ctx.projectDir);
70
+ const enabledPlugins = settings?.enabledPlugins;
71
+ if (!settings || !enabledPlugins) {
72
+ return { name: this.name, action: "noop" };
73
+ }
74
+ const removed = findRemovableRetiredKeys(enabledPlugins, ctx.detectedTypes);
75
+ if (removed.length === 0) {
76
+ return { name: this.name, action: "noop" };
77
+ }
78
+ const message = `Removed retired plugin ${removed.length === 1 ? "key" : "keys"}: ${removed.join(", ")}`;
79
+ const result = {
80
+ name: this.name,
81
+ action: "applied",
82
+ changedFiles: [SETTINGS_REL_PATH],
83
+ message,
84
+ };
85
+ if (ctx.dryRun) {
86
+ ctx.logger.dry(`Would update ${SETTINGS_REL_PATH}: ${message}`);
87
+ return result;
88
+ }
89
+ const removedSet = new Set(removed);
90
+ await writeJson(path.join(ctx.projectDir, SETTINGS_REL_PATH), {
91
+ ...settings,
92
+ enabledPlugins: Object.fromEntries(Object.entries(enabledPlugins).filter(([key]) => !removedSet.has(key))),
93
+ });
94
+ ctx.logger.success(message);
95
+ return result;
96
+ }
97
+ }
98
+ //# sourceMappingURL=prune-retired-claude-stack-plugin-keys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prune-retired-claude-stack-plugin-keys.js","sourceRoot":"","sources":["../../src/migrations/prune-retired-claude-stack-plugin-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnE,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AAQhE;;;;;;;;GAQG;AACH,SAAS,wBAAwB,CAC/B,cAAiD,EACjD,aAAqC;IAErC,OAAO,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;QAC9C,MAAM,OAAO,GAAG,yBAAyB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;QACD,OAAO,CACL,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,SAAS,CAAC;YAChD,CAAC,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CACtC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED;;;;GAIG;AACH,KAAK,UAAU,kBAAkB,CAC/B,UAAkB;IAElB,OAAO,cAAc,CACnB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,iBAAiB,CAAC,CACzC,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,0CAA0C;IAC5C,IAAI,GAAG,wCAAwC,CAAC;IAChD,WAAW,GAClB,yFAAyF,CAAC;IAE5F;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAC,GAAqB;QACjC,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,CAAC,gBAAgB,iBAAiB,KAAK,OAAO,EAAE,CAAC,CAAC;YAChE,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;QACpC,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAAE;YAC5D,GAAG,QAAQ;YACX,cAAc,EAAE,MAAM,CAAC,WAAW,CAChC,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CACvE;SACF,CAAC,CAAC;QACH,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /** One plugin entry from a marketplace catalog. */
2
+ export interface MarketplaceCatalogPlugin {
3
+ readonly name: string;
4
+ readonly description: string;
5
+ }
6
+ /** The parts of a marketplace manifest Lisa reads. */
7
+ export interface MarketplaceCatalog {
8
+ /** The manifest's own `name`, or null when it omits one. */
9
+ readonly name: string | null;
10
+ readonly plugins: readonly MarketplaceCatalogPlugin[];
11
+ }
12
+ /**
13
+ * Read a marketplace manifest.
14
+ * @param manifestPath - Absolute path to marketplace.json
15
+ * @returns The catalog, or null when the file is missing, unparseable, or has
16
+ * no `plugins` array
17
+ */
18
+ export declare function readMarketplaceCatalog(manifestPath: string): Promise<MarketplaceCatalog | null>;
19
+ //# sourceMappingURL=marketplace-manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketplace-manifest.d.ts","sourceRoot":"","sources":["../../src/utils/marketplace-manifest.ts"],"names":[],"mappings":"AAYA,mDAAmD;AACnD,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,sDAAsD;AACtD,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,wBAAwB,EAAE,CAAC;CACvD;AAwBD;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAmBpC"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Reader for a Claude plugin marketplace manifest
3
+ * (`<marketplace>/.claude-plugin/marketplace.json`).
4
+ *
5
+ * Shared by the console's enabled-plugins probe and by `lisa apply`, which
6
+ * skips enabled `<name>@lisa` keys the Lisa manifest does not list
7
+ * (CodySwannGT/lisa#4645). Callers need to tell "unreadable" apart from
8
+ * "lists nothing", so an unreadable or malformed file is `null`.
9
+ * @module utils/marketplace-manifest
10
+ */
11
+ import { readFile } from "node:fs/promises";
12
+ /**
13
+ * Normalise one `plugins[]` entry, dropping anything without a usable name.
14
+ * @param entry - Raw manifest entry
15
+ * @returns The entry as a one-element list, or an empty list
16
+ */
17
+ function toCatalogPlugin(entry) {
18
+ if (typeof entry !== "object" || entry === null) {
19
+ return [];
20
+ }
21
+ const name = Reflect.get(entry, "name");
22
+ if (typeof name !== "string" || name.trim().length === 0) {
23
+ return [];
24
+ }
25
+ const description = Reflect.get(entry, "description");
26
+ return [
27
+ {
28
+ name: name.trim(),
29
+ description: typeof description === "string" ? description : "",
30
+ },
31
+ ];
32
+ }
33
+ /**
34
+ * Read a marketplace manifest.
35
+ * @param manifestPath - Absolute path to marketplace.json
36
+ * @returns The catalog, or null when the file is missing, unparseable, or has
37
+ * no `plugins` array
38
+ */
39
+ export async function readMarketplaceCatalog(manifestPath) {
40
+ try {
41
+ const parsed = JSON.parse(await readFile(manifestPath, "utf8"));
42
+ if (typeof parsed !== "object" || parsed === null) {
43
+ return null;
44
+ }
45
+ const plugins = Reflect.get(parsed, "plugins");
46
+ if (!Array.isArray(plugins)) {
47
+ return null;
48
+ }
49
+ const name = Reflect.get(parsed, "name");
50
+ return {
51
+ name: typeof name === "string" && name.trim().length > 0 ? name.trim() : null,
52
+ plugins: plugins.flatMap(toCatalogPlugin),
53
+ };
54
+ }
55
+ catch {
56
+ return null;
57
+ }
58
+ }
59
+ //# sourceMappingURL=marketplace-manifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marketplace-manifest.js","sourceRoot":"","sources":["../../src/utils/marketplace-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAe5C;;;;GAIG;AACH,SAAS,eAAe,CAAC,KAAc;IACrC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAChD,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACxC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzD,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IACtD,OAAO;QACL;YACE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YACjB,WAAW,EAAE,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE;SAChE;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,YAAoB;IAEpB,IAAI,CAAC;QACH,MAAM,MAAM,GAAY,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAClD,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAC/C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACzC,OAAO;YACL,IAAI,EACF,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI;YACzE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC;SAC1C,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -196,7 +196,7 @@
196
196
  "qs": "^6.16.0"
197
197
  },
198
198
  "name": "@codyswann/lisa",
199
- "version": "4.99.10",
199
+ "version": "4.100.0",
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": "968e6fd2e432786e279471fb05523490dc97bbbb",
363
- "gitHead": "968e6fd2e432786e279471fb05523490dc97bbbb",
364
- "lisaReleaseTag": "v4.99.10"
362
+ "lisaReleaseCommit": "fe6c63bdd7e1a4cfa909c1cc273fdfbe2c41380c",
363
+ "gitHead": "fe6c63bdd7e1a4cfa909c1cc273fdfbe2c41380c",
364
+ "lisaReleaseTag": "v4.100.0"
365
365
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -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; a work unit that needs it and does
120
- not say so is not ready.
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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.99.10",
3
+ "version": "4.100.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"