opentrain feedbackmanages employer-private reviewer reports and reviewer grants.opentrain checklistsprovides a file-first workflow for adaptive checklist authoring, visual review, publishing, and submission inspection.
Output and idempotency
Both families print exactly one machine envelope by default:--json restates the default and is a compatibility no-op. Pass --pretty alone for a human summary plus indented JSON; combining the two modes is a usage error.
Every Reviewer Feedback mutation requires an explicit --key with 8–128 safe characters. Checklist push and publish can derive revision-bound keys; reversible settings, reorder, archive, and restore commands require an explicit key.
Review feedback across a job
Begin with the feature state, summary, and first report page:hasMore flag. Continue with --page 2, --page 3, and so on until hasMore is false. Status counts are authoritative for the subject-filtered set; use feedback summary for job-wide totals, unresolved counts, per-person aggregates, and unlinked legacy rows.
Read one report before triaging it:
updatedAtIso returned by the latest get. Terminal transitions and reopening require --note; a stale value returns 409 and requires another read and decision.
Discover subjects and submit employer feedback
The roster removes the need for a browser or database lookup:--subject-contract-id is optional; when omitted, OpenTrain stores a deterministic contract reference. Use feedback link-subject only to reconcile a legacy unlinked row:
Manage reviewer access and the job switch
Reviewer grants are available only for people with active contracts on the job:Author a checklist from files
Create a local bundle directory and editchecklist.json:
schemaVersion: 2 definition with title, required, and tree. Node IDs and option IDs are stable, caller-minted tokens. Use the API reference example for branching and repeat-group shapes.
Validate before writing, then push the new definition atomically:
push creates a complete definition when no base snapshot exists. For an existing definition, check it out first:
Resolve answers and visually review
Test branching, numeric constraints, required paths, and repeated blocks without storing answers:--open, the response returns the short-lived previewUrl. The command refuses to preview a dirty local bundle—run push first so the rendered server snapshot is exactly the content you reviewed locally.
Publish, order, and enable
Publish after validation and browser review:--confirm; definitions, versions, and submissions remain stored: