@ixo/decision-oracle 0.2.12 → 0.2.14
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/README.md +2 -1
- package/dist/cli/commands/reviewer-note.d.ts +11 -0
- package/dist/cli/commands/reviewer-note.d.ts.map +1 -0
- package/dist/cli/commands/reviewer-note.js +36 -0
- package/dist/cli/commands/reviewer-note.js.map +1 -0
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/lib/usage.d.ts +1 -1
- package/dist/cli/lib/usage.d.ts.map +1 -1
- package/dist/cli/lib/usage.js +1 -0
- package/dist/cli/lib/usage.js.map +1 -1
- package/dist/db/schema.d.ts +20 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +7 -0
- package/dist/db/schema.js.map +1 -1
- package/dist/lib/api-lane/retention.d.ts.map +1 -1
- package/dist/lib/api-lane/retention.js +5 -1
- package/dist/lib/api-lane/retention.js.map +1 -1
- package/dist/lib/claim-erase.d.ts.map +1 -1
- package/dist/lib/claim-erase.js +5 -1
- package/dist/lib/claim-erase.js.map +1 -1
- package/dist/lib/openhands/store.d.ts.map +1 -1
- package/dist/lib/openhands/store.js +5 -2
- package/dist/lib/openhands/store.js.map +1 -1
- package/dist/lib/redact.d.ts.map +1 -1
- package/dist/lib/redact.js +1 -0
- package/dist/lib/redact.js.map +1 -1
- package/dist/lib/review/reviewer-note-prompt.d.ts +43 -0
- package/dist/lib/review/reviewer-note-prompt.d.ts.map +1 -0
- package/dist/lib/review/reviewer-note-prompt.js +106 -0
- package/dist/lib/review/reviewer-note-prompt.js.map +1 -0
- package/dist/lib/review/reviewer-note.d.ts +67 -0
- package/dist/lib/review/reviewer-note.d.ts.map +1 -0
- package/dist/lib/review/reviewer-note.js +138 -0
- package/dist/lib/review/reviewer-note.js.map +1 -0
- package/dist/middleware/capability.d.ts +1 -1
- package/dist/middleware/capability.d.ts.map +1 -1
- package/dist/middleware/capability.js +4 -0
- package/dist/middleware/capability.js.map +1 -1
- package/dist/oracle.d.ts +1 -0
- package/dist/oracle.d.ts.map +1 -1
- package/dist/oracle.js +7 -0
- package/dist/oracle.js.map +1 -1
- package/dist/routes/v1/admin.d.ts.map +1 -1
- package/dist/routes/v1/admin.js +59 -0
- package/dist/routes/v1/admin.js.map +1 -1
- package/dist/routes/v1/claims.js +3 -0
- package/dist/routes/v1/claims.js.map +1 -1
- package/dist/routes/v1/reviews.js +2 -0
- package/dist/routes/v1/reviews.js.map +1 -1
- package/dist/workflows/claim-ingest.d.ts.map +1 -1
- package/dist/workflows/claim-ingest.js +23 -0
- package/dist/workflows/claim-ingest.js.map +1 -1
- package/docs/api.md +5 -3
- package/docs/guide.md +9 -0
- package/migrations/0026_reviewer_note.sql +1 -0
- package/migrations/meta/0026_snapshot.json +2983 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/skills/create-rubric/SKILL.md +7 -0
package/package.json
CHANGED
|
@@ -110,6 +110,13 @@ default here is the author's call — ask.
|
|
|
110
110
|
approvals only.
|
|
111
111
|
- Everything a rubric declares under `sources` / `aiChecks` becomes work for whatever oracle is
|
|
112
112
|
hired: a name declared here is a fact someone has to produce. Don't declare one nobody can answer.
|
|
113
|
+
- **A person reads what an AI check says.** When a claim is held for review, the reviewer sees each
|
|
114
|
+
check's reason beside the answer. Write `aiChecks` instructions so the model reports what it SAW
|
|
115
|
+
in plain words ("the photo shows a cleared pavement on Main St"), not that a rule held ("the
|
|
116
|
+
answer is specific and not placeholder text"). Oracles that turn on `policies.reviewerNote` (on
|
|
117
|
+
by default for Openhands checkers) also give the reviewer a plain-words note of what the answer
|
|
118
|
+
claims and what no check could verify, so a ReviewTask's `prompt` should ask the one question the
|
|
119
|
+
person must decide, in plain words.
|
|
113
120
|
|
|
114
121
|
## Output contract
|
|
115
122
|
|