RAG & Agents Engineering

M27 lab, human approval

An approval covers one exact preview.

The dry-run harness from lesson 27.1, run in the page: propose, dry run, pause for review, then publish or cancel. The decision rule and the SHA-256 fingerprint are the notebook’s own code, ported to JavaScript. Type the reviewer’s answer, or change the post after the reviewer saw it, and watch what reaches the Larkspur Cloud status feed.

Request the agent drafted a post for
Change made to the post after the preview
Decision after normalising
Final status
Fingerprint the reviewer saw
Fingerprint at publish

The run, node by node

propose, dry_run, review, publish or cancel

NodeWhat happened

Audit log and feed

DecisionReviewerFingerprintReason

The three drafts are written for this lab; in the notebook an LLM writes them. Everything after the draft is computed here: the fingerprint is the first 12 hex digits of SHA-256 over the rendered post, as in fingerprint().