@codyswann/lisa 5.2.0 → 5.2.2
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/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +31 -60
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -5
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-learnings-audit/SKILL.md +53 -10
- package/scripts/check-phrase-manifest-parity.mjs +6 -3
- package/scripts/classify-phrase-tests.mjs +109 -20
- package/scripts/fix-namespace-test-assertions.mjs +3 -20
- package/scripts/lib/phrase-tests/doc-taint.mjs +708 -0
- package/scripts/lib/phrase-tests/inventory.mjs +381 -0
- package/scripts/lib/phrase-tests/manifest.mjs +14 -2
- package/scripts/lib/phrase-tests/marker-classes.mjs +323 -0
- package/scripts/lib/phrase-tests/redact.mjs +88 -0
|
@@ -96,11 +96,49 @@ results stays green whatever the code does. For every RETIRE whose proof is
|
|
|
96
96
|
"owned by a test" (or any other mechanical owner that runs as a check), run
|
|
97
97
|
the mutation proof before filing the row: break the rule the named test
|
|
98
98
|
supposedly guards, run that named test and observe it **fail**, then revert
|
|
99
|
-
the mutation
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
the mutation. Record the result in the row — the mutation applied, the
|
|
100
|
+
failing test name and its failure line, and the revert. A named owner that
|
|
101
|
+
stays green under the mutation is not the owner: find the test that does
|
|
102
|
+
fail, or drop the RETIRE. No failing observation ⇒ no valid retire proof.
|
|
103
|
+
|
|
104
|
+
Run that break on a scratch copy,
|
|
105
|
+
never in a worktree another agent is editing — not in the working folder
|
|
106
|
+
this run is using either. The `falsifiable-checks` rule's section
|
|
107
|
+
"Break on a scratch copy, never in a shared worktree" is the full recipe.
|
|
108
|
+
This skill carries the minimum itself, because some agents (Codex,
|
|
109
|
+
Antigravity) receive this skill without the rules tree:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
tmp=$(mktemp -d) # record this path first (step 1)
|
|
113
|
+
git worktree add --detach "$tmp" HEAD
|
|
114
|
+
git diff --binary HEAD | git -C "$tmp" apply --allow-empty
|
|
115
|
+
# copy untracked new files; install dependencies in "$tmp" (a linked
|
|
116
|
+
# node_modules in a workspace monorepo resolves back to the shared tree)
|
|
117
|
+
# baseline: run the named test in "$tmp" BEFORE breaking anything; it must be green
|
|
118
|
+
# break the rule in "$tmp", run the named test there, read the failure
|
|
119
|
+
git worktree remove --force "$tmp" # discarding the copy is the revert
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Address the copy by absolute path; never switch the session into it with a
|
|
123
|
+
harness tool such as `EnterWorktree`. A red baseline means the copy is
|
|
124
|
+
incomplete, not that the test bites. Discarding the copy is the revert, and
|
|
125
|
+
the green baseline taken in the copy before the break is the pass-again
|
|
126
|
+
evidence, so the shared tree is never written to.
|
|
127
|
+
|
|
128
|
+
1. **Record where before you break.** Before applying the mutation, write
|
|
129
|
+
the row's `mutation_location` — the mutated file, the line or section,
|
|
130
|
+
and the absolute path of the scratch copy — into the run's working notes
|
|
131
|
+
for that candidate. It goes in the RETIRE row with the rest of the proof,
|
|
132
|
+
and it exists before the mutation does, so an interrupted run still says
|
|
133
|
+
what was changed and where.
|
|
134
|
+
2. **A failed restore blocks the row.** If discarding the copy fails (the
|
|
135
|
+
`git worktree remove` errors, or the copy path still exists afterwards),
|
|
136
|
+
or anything suggests the mutation reached a tree other than the copy,
|
|
137
|
+
file **no** RETIRE row for that candidate and run no further mutation
|
|
138
|
+
proofs. Report `mutation-restore-failed` with the recorded
|
|
139
|
+
`mutation_location`, escalated per Escalation, so a person can find and
|
|
140
|
+
repair the change. The run outcome is `recovery-required` (see Run
|
|
141
|
+
outcomes).
|
|
104
142
|
|
|
105
143
|
**Learned planning checks.** A ledger entry whose rule begins
|
|
106
144
|
`Planning (prd|decomposition|ready-gate|filing):` is a `planning-miss` learning:
|
|
@@ -351,8 +389,8 @@ rejected by rule (see the `promotion-contract` rule):
|
|
|
351
389
|
**One batch ticket per run — CONFIRM + RETIRE** (`issue_type: Task`): a single
|
|
352
390
|
ticket listing every CONFIRM row (`last_confirmed` bump, with the evidence the
|
|
353
391
|
entry demonstrably applied) and every **provably-redundant** RETIRE row (with
|
|
354
|
-
the mechanical owner / staleness proof per row, and the mutation proof
|
|
355
|
-
owner is a test). Every RETIRE row also carries the entry's full
|
|
392
|
+
the mechanical owner / staleness proof per row, and the mutation proof with its
|
|
393
|
+
`mutation_location` when the owner is a test). Every RETIRE row also carries the entry's full
|
|
356
394
|
`expectedFingerprint`: the live `entry.fingerprint` read from the parsed ledger
|
|
357
395
|
at audit time (`learning-` plus 20 hex digits, or a legacy token). It is not the
|
|
358
396
|
12-hex `<invariant-hash>` in the row's `[lisa-gardener]` marker — the two are
|
|
@@ -496,7 +534,10 @@ non-technical operator standing at the gate can act on.
|
|
|
496
534
|
## Recovery
|
|
497
535
|
|
|
498
536
|
Every external write is marker-deduped, so a crashed or interrupted run
|
|
499
|
-
leaves no cleanup debt: re-running is the recovery procedure.
|
|
537
|
+
leaves no cleanup debt: re-running is the recovery procedure. The one
|
|
538
|
+
exception is a RETIRE mutation proof's scratch copy: a run interrupted
|
|
539
|
+
mid-proof can leave it on disk, and its recorded `mutation_location` names
|
|
540
|
+
the path to remove before re-running. A partial run's
|
|
500
541
|
already-filed tickets are found by their markers and not duplicated; a batch
|
|
501
542
|
ticket from an interrupted run is reused (append missing rows as a comment)
|
|
502
543
|
rather than reissued. **Filing order**: file the per-item PROMOTE/DEMOTE
|
|
@@ -525,8 +566,10 @@ exact so nothing regresses:
|
|
|
525
566
|
recommendation threshold. Report one line: surfaces scanned, entries seen,
|
|
526
567
|
"nothing to propose".
|
|
527
568
|
- `blocked` → **`recovery-required`** when the loop itself could not complete
|
|
528
|
-
(tracker unreachable, contradictory config, a ledger-contract parse error
|
|
529
|
-
|
|
569
|
+
(tracker unreachable, contradictory config, a ledger-contract parse error,
|
|
570
|
+
or a RETIRE mutation proof whose scratch copy could not be discarded, so a
|
|
571
|
+
mutation may survive outside the run's control) — escalated per Escalation
|
|
572
|
+
with the operator-readable reason; **or**
|
|
530
573
|
**`approval-requested`** when the run finished and is waiting on a human gate
|
|
531
574
|
rather than being broken.
|
|
532
575
|
A run that filed nothing because destination-validation (Ticket emission)
|