Status. Proposed design only. Nothing in this vault is DG client approval. No application, service or test has been executed; every scenario is Not executed. Fees and dates are open.
T08 · Validation and unsaved drafts remain private
| Field | Value |
|---|---|
| Status | Not executed |
| Type | Balanced software |
| Layer / kind | Unit · API · E2E |
| Priority | P1 |
| Gates | A01, A05, A09 |
| Build step | Step-04-Opportunities-Versions-Approvals |
| Decisions | none numbered in the source |
Given
A draft lacks a required essential and contains script-like test text; optional commercial terms are unknown.
When
Save and preview; attempt invalid publication; render the same content through search and detail after a valid approval.
Then / oracle
Drafts never auto-publish. Required fields produce actionable safe validation; optional unknowns remain explicit, not invented. Displayed text is escaped/sanitised and does not execute. Safe approved content alone reaches discovery.
Evidence required
Validation response; no publication/outbox side effects on rejection; browser script sentinel unchanged.
Decision dependency (verbatim)
DG confirms required field list; no invented prices, rights or commercial terms in fixtures.
Source: TDD rev 1.3 (PDF); machine-readable in 10-Sources/tdd-bundle/. Back to Scenario-Index · Traceability-Matrix · integration dependencies in Dependency-and-Regression-Table.