@codyswann/lisa 2.315.0 → 2.316.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/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +13 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/hooks/enforce-verification-gate.sh +52 -2
- package/plugins/lisa/rules/eager/automation-runbook-contract.md +25 -0
- package/plugins/lisa/rules/eager/settled-decisions.md +55 -0
- package/plugins/lisa/rules/reference/settled-decisions.md +29 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- 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-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/enforce-verification-gate.sh +52 -2
- package/plugins/lisa-copilot/rules/eager/automation-runbook-contract.md +25 -0
- package/plugins/lisa-copilot/rules/eager/settled-decisions.md +55 -0
- package/plugins/lisa-copilot/rules/reference/settled-decisions.md +29 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/enforce-verification-gate.sh +52 -2
- package/plugins/lisa-cursor/rules/automation-runbook-contract.mdc +25 -0
- package/plugins/lisa-cursor/rules/settled-decisions-reference.mdc +34 -0
- package/plugins/lisa-cursor/rules/settled-decisions.mdc +60 -0
- 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-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-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-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-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-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-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-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/src/base/hooks/enforce-verification-gate.sh +52 -2
- package/plugins/src/base/rules/eager/automation-runbook-contract.md +25 -0
- package/plugins/src/base/rules/eager/settled-decisions.md +55 -0
- package/plugins/src/base/rules/reference/settled-decisions.md +29 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Settled Decisions (load-bearing)
|
|
2
|
+
|
|
3
|
+
**Never ask the operator a question that a standing preference or your own gathered evidence has
|
|
4
|
+
already answered.** Re-asking a settled decision is not caution — it hands back a choice the
|
|
5
|
+
operator already made and makes them make it twice.
|
|
6
|
+
|
|
7
|
+
## The test
|
|
8
|
+
|
|
9
|
+
Before asking anything, check the three sources that may already hold the answer:
|
|
10
|
+
|
|
11
|
+
1. **A standing preference** — something the operator has told you once and expects to hold:
|
|
12
|
+
recorded in project memory, `.lisa.config.json`, a project rule, `CLAUDE.md`/`AGENTS.md`, or
|
|
13
|
+
stated earlier in this conversation. "Every PR gets auto-merge and gets watched to merge" is a
|
|
14
|
+
standing preference; asking "want me to watch this PR?" violates it.
|
|
15
|
+
2. **Evidence you already gathered** — if the research, measurement or code read you just performed
|
|
16
|
+
resolves the question, the question is answered. Report the decision and the evidence for it.
|
|
17
|
+
3. **A convention with an obvious default** — where one option is clearly conventional and the other
|
|
18
|
+
needs a reason, take the conventional one and say so in one line.
|
|
19
|
+
|
|
20
|
+
If any source answers it: **act, and state the decision in a clause.** Do not convert it into a
|
|
21
|
+
question.
|
|
22
|
+
|
|
23
|
+
## When asking IS right
|
|
24
|
+
|
|
25
|
+
Ask when the answer would change the work *and* you genuinely cannot derive it:
|
|
26
|
+
|
|
27
|
+
- The options lead to materially different deliverables and nothing in scope decides between them.
|
|
28
|
+
- Proceeding on a wrong assumption would be unsafe, destructive, or waste substantial work.
|
|
29
|
+
- The answer is a human judgement the artifacts do not contain — a product decision, a design
|
|
30
|
+
vocabulary that does not exist yet, a risk the operator owns.
|
|
31
|
+
|
|
32
|
+
That kind of question is load-bearing and should be asked plainly, once, with a recommendation.
|
|
33
|
+
|
|
34
|
+
## The failure mode this rule exists to stop
|
|
35
|
+
|
|
36
|
+
Asking feels collaborative, so it gets over-applied — especially at the end of a report, where a
|
|
37
|
+
trailing question reads as deference. It is not deference when the answer was already given; it is
|
|
38
|
+
work handed back. Two specific tells:
|
|
39
|
+
|
|
40
|
+
- **Half-applying an instruction.** Doing the first half of a standing preference automatically and
|
|
41
|
+
asking permission for the second half of the same preference.
|
|
42
|
+
- **Asking after the research answered it.** Completing an investigation that points one direction
|
|
43
|
+
unambiguously, then presenting the conclusion as an open question.
|
|
44
|
+
|
|
45
|
+
## Partial application is worse than either extreme
|
|
46
|
+
|
|
47
|
+
If a standing preference covers a multi-step behavior, apply **all** of it. Applying part and asking
|
|
48
|
+
about the rest produces the worst outcome: the operator is interrupted *and* the instruction was not
|
|
49
|
+
honored.
|
|
50
|
+
|
|
51
|
+
## Recording, not asking
|
|
52
|
+
|
|
53
|
+
When you take a settled decision, make it auditable in one clause — "auto-merge on, per your standing
|
|
54
|
+
preference", "scoped app-wide, because the Android finding decides it". That gives the operator the
|
|
55
|
+
chance to correct it without requiring them to answer first.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Settled Decisions
|
|
2
|
+
|
|
3
|
+
Do not ask the operator to decide something that is already settled by standing preference, evidence you just gathered, or a conventional default. A question is appropriate only when the answer materially changes the work and the answer cannot be derived from available artifacts.
|
|
4
|
+
|
|
5
|
+
## Decision Sources
|
|
6
|
+
|
|
7
|
+
Check these sources before asking:
|
|
8
|
+
|
|
9
|
+
1. Standing preferences recorded in memory, project config, project rules, instruction files, or earlier in the same conversation.
|
|
10
|
+
2. Evidence already gathered during the current run. If research or code inspection resolves the choice, report the decision and cite the evidence.
|
|
11
|
+
3. Conventional defaults where one option is clearly standard and the alternative needs a reason.
|
|
12
|
+
|
|
13
|
+
If one of those sources answers the question, act on it and state the basis briefly.
|
|
14
|
+
|
|
15
|
+
## When To Ask
|
|
16
|
+
|
|
17
|
+
Ask only when the answer changes the deliverable and cannot be inferred. That includes product decisions, design vocabulary that does not exist yet, destructive or unsafe assumptions, or choices that would waste substantial work if guessed wrong.
|
|
18
|
+
|
|
19
|
+
When asking, ask once, plainly, with a recommended option.
|
|
20
|
+
|
|
21
|
+
## Common Violations
|
|
22
|
+
|
|
23
|
+
Half-applying a standing instruction is a violation. If a preference covers a multi-step behavior, apply the whole behavior instead of doing one part and asking about the rest.
|
|
24
|
+
|
|
25
|
+
Asking after the research answered the question is also a violation. When gathered evidence points one way unambiguously, treat it as a decision and make the reasoning auditable in the report.
|
|
26
|
+
|
|
27
|
+
## Reporting
|
|
28
|
+
|
|
29
|
+
Record settled decisions in a short clause, such as "auto-merge on, per standing preference" or "scoped app-wide, because the Android finding decides it." This gives the operator a chance to correct the decision without requiring an avoidable question first.
|