@codyswann/lisa 4.60.7 → 4.60.9

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 (80) hide show
  1. package/all/copy-overwrite/scripts/check-orphaned-branches.mjs +31 -18
  2. package/all/copy-overwrite/scripts/lisa-gates.mjs +17 -5
  3. package/all/copy-overwrite/scripts/lisa-hooks/block-instruction-file-edits.sh +26 -35
  4. package/all/copy-overwrite/scripts/lisa-reconcile-policy.mjs +31 -8
  5. package/all/copy-overwrite/scripts/lisa-run-gates.mjs +8 -1
  6. package/all/create-only/.agents/rules/README.md +13 -6
  7. package/dist/core/host-rules-pointer.js +2 -2
  8. package/dist/core/host-rules-pointer.js.map +1 -1
  9. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  10. package/dist/core/lisa-owned-hash-ledger.js +10 -0
  11. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  12. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  13. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  14. package/dist/core/upstream-evidence-manifest.js +11 -9
  15. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  16. package/dist/opencode/plugin-templates/lisa-block-instruction-file-edits.ts +25 -22
  17. package/package.json +4 -4
  18. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  20. package/plugins/lisa/hooks/block-instruction-file-edits.sh +26 -35
  21. package/plugins/lisa/rules/reference/config-resolution.md +1 -1
  22. package/plugins/lisa/rules/reference/project-learnings.md +28 -3
  23. package/plugins/lisa-agy/hooks/block-instruction-file-edits.sh +26 -35
  24. package/plugins/lisa-agy/plugin.json +1 -1
  25. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  27. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  28. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-copilot/hooks/block-instruction-file-edits.sh +26 -35
  32. package/plugins/lisa-copilot/rules/reference/config-resolution.md +1 -1
  33. package/plugins/lisa-copilot/rules/reference/project-learnings.md +28 -3
  34. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-cursor/hooks/block-instruction-file-edits.sh +26 -35
  36. package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +1 -1
  37. package/plugins/lisa-cursor/rules/project-learnings-reference.mdc +28 -3
  38. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-expo-agy/plugin.json +1 -1
  41. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  45. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  46. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  51. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  55. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  56. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  61. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-rails-agy/plugin.json +1 -1
  66. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  71. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  75. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  76. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  78. package/plugins/src/base/hooks/block-instruction-file-edits.sh +26 -35
  79. package/plugins/src/base/rules/reference/config-resolution.md +1 -1
  80. package/plugins/src/base/rules/reference/project-learnings.md +28 -3
@@ -81,10 +81,35 @@ collide.
81
81
  - The **build-intake flows** advance `last_confirmed` at claim time
82
82
  (`confirmLearningEntry`, below).
83
83
 
84
- Promotion to a higher rung (skill, eager rule, executable control, upstream
85
- ticket) is never a writer here — it is the gardener's job, gated by a human
84
+ Automated promotion of a captured learning to a higher rung (skill, eager rule,
85
+ executable control, upstream ticket) is the gardener's job, gated by a human
86
86
  flipping a tracker ticket to `status:ready`.
87
87
 
88
+ ## Operator-directed standing rules
89
+
90
+ An operator's instruction to add, revise, or remove a standing rule is already
91
+ authorization for that specific edit. It is not a new machine-captured learning.
92
+ Make the requested change directly, preserving unrelated content; do not require
93
+ learning capture, a promotion ticket, or repeated approval for the same decision.
94
+ "Human-authored" describes who controls the rule, not who types the approved edit.
95
+
96
+ Use the existing topic file under `.agents/rules/`, or create a short one there,
97
+ when the operator has not specified another destination. The `AGENTS.md` host-rules
98
+ pointer reaches Claude Code, Codex, Cursor, OpenCode, Antigravity, and Copilot.
99
+ These shared rules are not a Claude-only surface, and they do not need to be
100
+ copied into every agent's startup file.
101
+
102
+ If the operator explicitly named a guarded startup file, do not substitute a
103
+ different destination or switch tools to evade a refusal. Use the runtime's
104
+ authorized edit path, or report the specific remaining runtime restriction.
105
+ The existing instruction-file override is an operator-configured escape hatch,
106
+ not proof of human approval; agents must not set it to work around a refusal.
107
+ No new approval token is needed for ordinary authorized edits to shared host rules.
108
+
109
+ This does not authorize agents to promote their own incidental findings. Decline
110
+ one-off notes and unnecessary rules; use the existing learning flow only for
111
+ durable knowledge worth maintaining.
112
+
88
113
  ## Claim-time confirmation (`last_confirmed`)
89
114
 
90
115
  `last_confirmed` is advanced at claim time by the build-intake flows (step
@@ -111,7 +136,7 @@ warning, apply no entry, and do not block unrelated work.
111
136
  Precedence:
112
137
 
113
138
  1. System, developer, user, and repo instructions still outrank learnings.
114
- 2. Committed host rules (`.agents/rules/`) remain durable human-authored
139
+ 2. Committed host rules (`.agents/rules/`) remain durable, operator-controlled
115
140
  guidance.
116
141
  3. Project learnings add recent operational knowledge, but never rewrite or
117
142
  append to host rules.