@openpond/evals 0.7.0 → 0.7.1

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/LEARNING.md CHANGED
@@ -12,6 +12,20 @@ with `{ "scope": "<profile-or-team>", "command": { ... } }` and a Bearer token.
12
12
  Reads use `POST /v1/learning/read`. Scope is a requested ownership boundary; the
13
13
  host must authorize it from the credential and assign the actor itself.
14
14
 
15
+ Task-schema authoring uses a precompiled JSON Schema 2020-12 meta-validator plus
16
+ the bounded keyword/reference checks. Parsing definitions in a browser requires
17
+ no runtime code generation and works under a Content Security Policy without
18
+ `unsafe-eval`. The execution owner separately compiles schemas when validating
19
+ submitted values; schema publication alone is not evidence that an example passes.
20
+
21
+ Browser review uses `client.inspectEvidence({ id, revision, contentHash })`, or
22
+ the read payload `{ "action": "inspect_evidence", "scope": "<profile-or-team>",
23
+ "evidence": { "id": "...", "revision": 1, "contentHash": "..." } }`. The
24
+ execution owner checks the exact stored evidence and task definition and returns
25
+ their references with task readiness, observed-output validity and schema issues.
26
+ Source-only credentials cannot inspect evidence. Inspection is read-only; grade
27
+ and approval operations still validate their authoritative inputs independently.
28
+
15
29
  ## Data flow
16
30
 
17
31
  1. Publish a Reward, then a binding, task definition and source. Use