@codyswann/lisa 4.105.0 → 4.106.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/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 +3 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- 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-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-agy/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- 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-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-copilot/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-cursor/skills/lisa-root-cause-analysis/SKILL.md +27 -0
- 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-reproduce-bug/SKILL.md +5 -0
- package/plugins/lisa-devin/skills/lisa-root-cause-analysis/SKILL.md +27 -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-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-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-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-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-reproduce-bug/SKILL.md +5 -0
- package/plugins/src/base/skills/lisa-root-cause-analysis/SKILL.md +27 -0
package/package.json
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"qs": "^6.16.0"
|
|
195
195
|
},
|
|
196
196
|
"name": "@codyswann/lisa",
|
|
197
|
-
"version": "4.
|
|
197
|
+
"version": "4.106.0",
|
|
198
198
|
"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",
|
|
199
199
|
"main": "dist/index.js",
|
|
200
200
|
"exports": {
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"test": "tests"
|
|
358
358
|
},
|
|
359
359
|
"types": "./dist/index.d.ts",
|
|
360
|
-
"lisaReleaseCommit": "
|
|
361
|
-
"gitHead": "
|
|
362
|
-
"lisaReleaseTag": "v4.
|
|
360
|
+
"lisaReleaseCommit": "647f89a290cf8d76630f249a99dfa1001b434439",
|
|
361
|
+
"gitHead": "647f89a290cf8d76630f249a99dfa1001b434439",
|
|
362
|
+
"lisaReleaseTag": "v4.106.0"
|
|
363
363
|
}
|
|
@@ -24,6 +24,11 @@ So the reproduction states, explicitly:
|
|
|
24
24
|
- **Prerequisites**, listed as setup.
|
|
25
25
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
26
26
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
27
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
28
|
+
that mounts or calls the cited component or function directly, not through
|
|
29
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
30
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
31
|
+
as the fix target.
|
|
27
32
|
|
|
28
33
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
29
34
|
|
|
@@ -13,6 +13,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
13
13
|
|
|
14
14
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
15
15
|
|
|
16
|
+
## A cited line is a hypothesis, not a location
|
|
17
|
+
|
|
18
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
19
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
20
|
+
Check that before editing anything.
|
|
21
|
+
|
|
22
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
23
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
24
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
25
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
26
|
+
file-based route, or a handler, job or plugin registered through
|
|
27
|
+
configuration. Check that before reading zero importers as dead code.
|
|
28
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
29
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
30
|
+
changes nothing the user sees.
|
|
31
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
32
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
33
|
+
in the cited block while driving the real entry point,
|
|
34
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
35
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
36
|
+
reachability. It goes red-to-green on dead code too.
|
|
37
|
+
|
|
38
|
+
Record the result in the evidence trail:
|
|
39
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
40
|
+
|
|
16
41
|
## Surviving a disproof is not proof
|
|
17
42
|
|
|
18
43
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -123,6 +148,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
123
148
|
|---|---|---|---|
|
|
124
149
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
125
150
|
|
|
151
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
152
|
+
|
|
126
153
|
### Cause — confirmed verdicts only
|
|
127
154
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
128
155
|
**Root:** file:line — why that line behaves that way.
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|
|
@@ -22,6 +22,11 @@ So the reproduction states, explicitly:
|
|
|
22
22
|
- **Prerequisites**, listed as setup.
|
|
23
23
|
- **Replacement scaffolding**, each item with the real behaviour it substitutes.
|
|
24
24
|
- **Whether the failure survives with prerequisites in place and replacement scaffolding removed.** If it does not, this is a lead rather than a reproduction. Say so and keep going.
|
|
25
|
+
- **That the entry point reaches the code the fix will change.** A reproduction
|
|
26
|
+
that mounts or calls the cited component or function directly, not through
|
|
27
|
+
the entry point, is replacement scaffolding. Show the path (importer trace, a
|
|
28
|
+
temporary `[DEBUG:<issue>]`-tagged `throw`, or route-scoped coverage) before treating the cited code
|
|
29
|
+
as the fix target.
|
|
25
30
|
|
|
26
31
|
If the real path is unreachable — no credentials, no environment, no data — that is a blocked reproduction. Report the missing access instead of substituting scaffolding and calling the bug reproduced.
|
|
27
32
|
|
|
@@ -11,6 +11,31 @@ Produce a proof, not an explanation. Every link in the chain rests on something
|
|
|
11
11
|
|
|
12
12
|
The characteristic failure of this work is a fluent wrong answer: a plausible story assembled from reading code and delivered with confidence. Reading is how a hypothesis is formed. Running something is how it is confirmed. **Do not report a cause you have not executed against.**
|
|
13
13
|
|
|
14
|
+
## A cited line is a hypothesis, not a location
|
|
15
|
+
|
|
16
|
+
When the work item names a file, symbol or line as the cause, treat that as
|
|
17
|
+
hypothesis zero. Its kill condition is: **no production entry point reaches it.**
|
|
18
|
+
Check that before editing anything.
|
|
19
|
+
|
|
20
|
+
- Trace importers of the module, including barrel re-exports and default exports,
|
|
21
|
+
up to a route, screen, endpoint or command the user actually hits.
|
|
22
|
+
- A module with no importers can still be an entry point itself: a script or
|
|
23
|
+
command launched directly, a `bin`/`main` in the package manifest, a
|
|
24
|
+
file-based route, or a handler, job or plugin registered through
|
|
25
|
+
configuration. Check that before reading zero importers as dead code.
|
|
26
|
+
Zero production importers kills the hypothesis only when the module is not
|
|
27
|
+
itself an entry point: then the code is dead or superseded, and fixing it
|
|
28
|
+
changes nothing the user sees.
|
|
29
|
+
- When the trace is ambiguous, prove it by execution: a temporary
|
|
30
|
+
`throw new Error("[DEBUG:<issue>] reached")` (or a `[DEBUG:<issue>]` log line)
|
|
31
|
+
in the cited block while driving the real entry point,
|
|
32
|
+
or coverage scoped to that route. If it never fires, the line is not on the path.
|
|
33
|
+
- A test that renders or calls the cited symbol directly does not establish
|
|
34
|
+
reachability. It goes red-to-green on dead code too.
|
|
35
|
+
|
|
36
|
+
Record the result in the evidence trail:
|
|
37
|
+
`Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)`.
|
|
38
|
+
|
|
14
39
|
## Surviving a disproof is not proof
|
|
15
40
|
|
|
16
41
|
A candidate that no observation has killed is **still standing**, not confirmed. Elimination narrows the field; it does not establish a cause. Closing requires a **positive confirmation**: an execution whose output is what the cause predicts and would not be what it produces if the cause were something else.
|
|
@@ -121,6 +146,8 @@ Stopping is a legitimate outcome and not a silent one. Record the verdict as **u
|
|
|
121
146
|
|---|---|---|---|
|
|
122
147
|
| 1 | file:line | log output, value, exit code | what this establishes |
|
|
123
148
|
|
|
149
|
+
Reachability: <entry point> → … → <cited symbol> (static | throw | scoped coverage)
|
|
150
|
+
|
|
124
151
|
### Cause — confirmed verdicts only
|
|
125
152
|
**Proximate:** file:line — the line that directly produces the symptom.
|
|
126
153
|
**Root:** file:line — why that line behaves that way.
|