@phamvuhoang/otto-core 0.16.0 → 0.18.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/cli-help.d.ts +5 -0
- package/dist/cli-help.d.ts.map +1 -1
- package/dist/cli-help.js +7 -1
- package/dist/cli-help.js.map +1 -1
- package/dist/console-ui.d.ts +32 -0
- package/dist/console-ui.d.ts.map +1 -0
- package/dist/console-ui.js +154 -0
- package/dist/console-ui.js.map +1 -0
- package/dist/eval.d.ts +9 -0
- package/dist/eval.d.ts.map +1 -1
- package/dist/eval.js +8 -0
- package/dist/eval.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/inspect.d.ts.map +1 -1
- package/dist/inspect.js +13 -4
- package/dist/inspect.js.map +1 -1
- package/dist/loop.d.ts +6 -1
- package/dist/loop.d.ts.map +1 -1
- package/dist/loop.js +77 -27
- package/dist/loop.js.map +1 -1
- package/dist/next-action.d.ts +2 -0
- package/dist/next-action.d.ts.map +1 -0
- package/dist/next-action.js +23 -0
- package/dist/next-action.js.map +1 -0
- package/dist/plan-progress.d.ts +36 -0
- package/dist/plan-progress.d.ts.map +1 -0
- package/dist/plan-progress.js +43 -0
- package/dist/plan-progress.js.map +1 -0
- package/dist/report-explain.d.ts +33 -0
- package/dist/report-explain.d.ts.map +1 -0
- package/dist/report-explain.js +85 -0
- package/dist/report-explain.js.map +1 -0
- package/dist/report-rubric.d.ts +68 -0
- package/dist/report-rubric.d.ts.map +1 -0
- package/dist/report-rubric.js +107 -0
- package/dist/report-rubric.js.map +1 -0
- package/dist/run-bin.d.ts.map +1 -1
- package/dist/run-bin.js +2 -0
- package/dist/run-bin.js.map +1 -1
- package/dist/run-report.d.ts +20 -0
- package/dist/run-report.d.ts.map +1 -1
- package/dist/run-report.js +41 -0
- package/dist/run-report.js.map +1 -1
- package/dist/run-view.d.ts +71 -0
- package/dist/run-view.d.ts.map +1 -0
- package/dist/run-view.js +190 -0
- package/dist/run-view.js.map +1 -0
- package/dist/runner.d.ts +4 -0
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +6 -3
- package/dist/runner.js.map +1 -1
- package/dist/stage-exec.d.ts +3 -0
- package/dist/stage-exec.d.ts.map +1 -1
- package/dist/stage-exec.js +1 -1
- package/dist/stage-exec.js.map +1 -1
- package/dist/stream-render.d.ts +1 -0
- package/dist/stream-render.d.ts.map +1 -1
- package/dist/stream-render.js +1 -1
- package/dist/stream-render.js.map +1 -1
- package/dist/tail.d.ts +25 -0
- package/dist/tail.d.ts.map +1 -0
- package/dist/tail.js +75 -0
- package/dist/tail.js.map +1 -0
- package/package.json +1 -1
- package/templates/prompt.md +6 -0
- package/templates/quality-report.md +43 -7
|
@@ -7,10 +7,18 @@
|
|
|
7
7
|
|
|
8
8
|
Produce an **Otto quality report** with the exact section headings below. Rules:
|
|
9
9
|
|
|
10
|
+
- **Layperson-first.** Lead with plain language a non-engineer can act on — the
|
|
11
|
+
prose sections (What Changed · Why · How To Verify · What To Watch · What I Was
|
|
12
|
+
Unsure About) come first; keep code-cited engineer detail below the divider.
|
|
13
|
+
Write the top sections with no jargon, file paths, or SHAs.
|
|
10
14
|
- **Readable first.** Keep it short enough to review in a couple of minutes — a
|
|
11
15
|
maintainer should not have to replay the run log. Specific beats exhaustive.
|
|
16
|
+
- **Verification a non-engineer can run.** _How To Verify_ is numbered,
|
|
17
|
+
non-technical steps — what to do and what they should see — not a command dump.
|
|
18
|
+
Include a sample command + expected result only when a layperson could run it.
|
|
12
19
|
- **Cite evidence for every claim.** A `file:line`, a commit SHA, a command +
|
|
13
20
|
its result, a report section, or an issue/PR link — never a vague assertion.
|
|
21
|
+
Evidence lives below the divider, not in the prose sections.
|
|
14
22
|
- **Tests are evidence, not the verdict.** Green checks go in the Evidence
|
|
15
23
|
section; they do not by themselves make the verdict Accepted.
|
|
16
24
|
- **Pick one honest verdict. When evidence is thin, scope is uncertain, or you
|
|
@@ -25,21 +33,49 @@ Produce an **Otto quality report** with the exact section headings below. Rules:
|
|
|
25
33
|
One of — **Accepted** · **Accepted with follow-ups** · **Needs human review** · **Rejected**
|
|
26
34
|
(when uncertain, choose **Needs human review**)
|
|
27
35
|
|
|
36
|
+
## What Changed
|
|
37
|
+
|
|
38
|
+
<Plain language, no jargon — what is different now for a person using this, in
|
|
39
|
+
one or two sentences. No file paths or SHAs here; those go under Evidence.>
|
|
40
|
+
|
|
41
|
+
## Why
|
|
42
|
+
|
|
43
|
+
<The goal in human terms — what problem this solves or what it now makes
|
|
44
|
+
possible. One or two sentences a non-engineer understands.>
|
|
45
|
+
|
|
46
|
+
## How To Verify
|
|
47
|
+
|
|
48
|
+
<Numbered, NON-technical steps a layperson can follow to confirm it works — what
|
|
49
|
+
to do and what they should see. A sample command + its expected result only when
|
|
50
|
+
a non-engineer could run it; otherwise describe what to look at.>
|
|
51
|
+
|
|
52
|
+
1. <step — and what you should see>
|
|
53
|
+
2. <step — and what you should see>
|
|
54
|
+
|
|
55
|
+
## What To Watch
|
|
56
|
+
|
|
57
|
+
<Risks, limits, or things to keep an eye on, in plain language — or "nothing
|
|
58
|
+
notable".>
|
|
59
|
+
|
|
60
|
+
## What I Was Unsure About
|
|
61
|
+
|
|
62
|
+
<What Otto was uncertain about, in human terms — the judgement calls a reviewer
|
|
63
|
+
should double-check — or "nothing — this was straightforward".>
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
_Engineer detail below — a non-engineer can stop reading here._
|
|
68
|
+
|
|
28
69
|
## Task Source
|
|
29
70
|
|
|
30
71
|
- Mode: <afk | ghafk | linear-afk | apply-review | verify>
|
|
31
72
|
- Source: <plan/PRD path, GitHub issue #, or Linear ref>
|
|
32
73
|
- Issue or plan: <link or path>
|
|
33
74
|
|
|
34
|
-
## What Changed
|
|
35
|
-
|
|
36
|
-
- Summary: <one or two sentences — what was actually done>
|
|
37
|
-
- Commits: <SHAs on this branch>
|
|
38
|
-
- Files: <paths touched>
|
|
39
|
-
|
|
40
75
|
## Evidence
|
|
41
76
|
|
|
42
|
-
- Implementation evidence: <file:line or commit proving each claim
|
|
77
|
+
- Implementation evidence: <file:line or commit SHA proving each claim; the
|
|
78
|
+
commits on this branch + the files touched>
|
|
43
79
|
- Test/typecheck evidence: <commands run + pass/fail counts>
|
|
44
80
|
- Manual or acceptance evidence: <what was observed, or "none">
|
|
45
81
|
|