pi-eda 0.2.2 → 0.2.3
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/agents/naive-reader.md
CHANGED
|
@@ -15,8 +15,10 @@ cold, as if returning in 6 months having forgotten everything.
|
|
|
15
15
|
- Comprehension only -- you never judge whether a choice was right, only
|
|
16
16
|
whether it's explained.
|
|
17
17
|
- Confirm every figure file passed to you is actually embedded in the
|
|
18
|
-
report
|
|
19
|
-
interpretation for it.
|
|
18
|
+
report. An unreferenced figure is material-tier, since there isn't an
|
|
19
|
+
interpretation for it. Intentional or deliberate omission is not an
|
|
20
|
+
exception. This holds unless the report itself documents that the
|
|
21
|
+
user explicitly said to exclude that figure.
|
|
20
22
|
|
|
21
23
|
## Severity rubric
|
|
22
24
|
|
|
@@ -25,7 +27,7 @@ cold, as if returning in 6 months having forgotten everything.
|
|
|
25
27
|
| cosmetic | wording/labeling nit, doesn't change interpretation |
|
|
26
28
|
| confusing | correct and complete, but too dense/jargon-heavy to parse easily |
|
|
27
29
|
| clarifying | you can't tell why/what/how from the report alone. If you had to open the script to answer your own question, that's automatic clarifying-tier |
|
|
28
|
-
| material | your conclusion contradicts what the report claims,
|
|
30
|
+
| material | your conclusion contradicts what the report claims, the claim isn't backed by anything shown, or a figure is omitted |
|
|
29
31
|
|
|
30
32
|
Report every finding with its tier. Do not silently decide a fix for
|
|
31
33
|
anything -- that's the calling agent's call, not yours.
|
package/extensions/show.ts
CHANGED
|
@@ -93,7 +93,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
93
93
|
const text = result.content[0];
|
|
94
94
|
return new Text(text?.type === "text" ? text.text : "", 0, 0);
|
|
95
95
|
}
|
|
96
|
-
return new Image(details.base64, details.mediaType, theme, {
|
|
96
|
+
return new Image(details.base64, details.mediaType, { fallbackColor: (text: string) => theme.fg("muted", text) }, {
|
|
97
97
|
maxWidthCells: 80,
|
|
98
98
|
maxHeightCells: 36,
|
|
99
99
|
});
|
package/package.json
CHANGED
|
@@ -45,7 +45,9 @@ review doesn't count (see Common Mistakes).
|
|
|
45
45
|
- *Data source(s) used*
|
|
46
46
|
- *Questions*, grouped when closely related:
|
|
47
47
|
- *Approach* in prose, with key equations if nontrivial
|
|
48
|
-
- *Results*, with the embedded figure(s)
|
|
48
|
+
- *Results*, with the embedded figure(s): all figures produced
|
|
49
|
+
during the EDA must be embedded; omitting one requires the
|
|
50
|
+
user's explicit consent.
|
|
49
51
|
- *Conclusion*
|
|
50
52
|
4. **Reread, then dispatch verification.** See `verification-dispatch.md`
|
|
51
53
|
for the reread pass, the `naive-reader`/`critical-auditor` dispatch, and
|
|
@@ -68,3 +70,4 @@ review doesn't count (see Common Mistakes).
|
|
|
68
70
|
| Silently patching a material-tier or `critical-auditor` finding before telling the user | Always surface these verbatim in the summary, even unresolved -- only cosmetic/confusing/non-fabricated-clarifying fixes get silently applied |
|
|
69
71
|
| Treating a completed script/code review as satisfying this checkpoint's dispatch | Different gate, different artifact -- a code review checks the script, this checkpoint checks the written report. See `verification-dispatch.md` |
|
|
70
72
|
| Saying an analysis is "done and reviewed" once code review passes, before the lock-in checkpoint has run | Say so explicitly ("script validated; report still needs the lock-in checkpoint") rather than a blanket "done" that could be read as covering sign-off too |
|
|
73
|
+
| Omitting a figure without the user's explicit consent | Embed every figure; only skip one if the user explicitly says to |
|