Run with Browser AI · Chapter 13

Run Chapter 13: Validation Pipeline Laboratory

Separate Prompt API completion from JSON structure, protected semantic invariants, human review, feature policy and an authorized in-memory commit.

← Read A Resolved Promise Is Not a Correct Answer
Execution Not inspected
Secure contextUnknown
Top-level pageUnknown
Prompt APIUnknown
AvailabilityNot inspected

Chapter experiment

A Resolved Promise Is Not a Correct Answer

Metrics-only trace

Loading the chapter experiment…

No model output yet.
Inspect the context supplied by this chapter

What this experience knows

This experience is grounded in Chapter 13 and separates runtime completion from feature acceptance.

Operational boundary

A resolved Prompt API promise establishes only that generation completed. Runtime failure, validation rejection, policy abstention and acceptance remain different outcomes.

Structural boundary

The candidate must parse as one JSON object with the required fields and types. Fluent text around JSON is not treated as a structurally valid result.

Semantic boundary

The fixture protects two explicit facts: permission is required before monitoring begins, and local processing does not automatically guarantee privacy. Deterministic Boolean fields make those invariants testable, but they do not establish that every sentence in the summary is correct.

Human-review boundary

The reviewer answers one visible question about the summary. Unclear remains uncertainty; it is never converted into a pass.

Decision boundary

Structural or semantic failure produces rejected. Passing automatic checks with no conclusive human judgment produces abstained. Only passing checks plus Yes produces accepted.

Authority boundary

Acceptance does not itself cause an external effect. The final button performs a separate, local in-memory commit and emits its own event. No message is sent and no page data is changed.

Evidence boundary

Saved specimens exercise the evaluator without claiming a browser-model run. Live prompts emit operational events; specimens emit specimen events. Both retain their source label.

This laboratory makes success layered and visible. Run one live Prompt API candidate or load a clearly labelled deterministic specimen, then inspect parsing, schema checks, protected semantic invariants, human review, the feature decision and the final authority boundary.

Generated text and later judgments remain separate records. A completed prompt can therefore be rejected, abstained from or accepted without rewriting the original evidence.