test: restore Astro verification contracts
Reinstate all 42 legacy facts as output or authoritative-source contracts, retain output snapshots, and set the 84-assertion floor. Extend the audit count without changing site content or components.
This commit is contained in:
@@ -164,3 +164,54 @@ review-desk interaction modes.
|
||||
|
||||
Start from `rejected/19-attempt-1` rather than from scratch — the `dist/`
|
||||
re-point and the Portuguese coverage check are worth keeping.
|
||||
|
||||
## Attempt 2 contract mapping
|
||||
|
||||
Baseline: 42 original assertions. `scripts/verify.mjs` now has 84 assertion
|
||||
sites: the 42 output/snapshot assertions from attempt 1 plus the 42 contracts
|
||||
below. No assertion was removed. `gate.sh` enforces 84 as the new floor.
|
||||
|
||||
| Original assertion message | Current assertion that pins the same fact | Removal reason |
|
||||
| --------------------------------------------------------------- | ------------------------------------------------------------ | -------------- |
|
||||
| `missing reference` | `missing reference contract` | — |
|
||||
| `missing content` | `missing full-guide content contract` | — |
|
||||
| `missing interaction` | `missing full-guide interaction contract` | — |
|
||||
| `missing starter content` | `missing starter content contract` | — |
|
||||
| `missing starter behavior` | `missing starter behavior contract` | — |
|
||||
| `missing additional source` | `missing additional-reading source contract` | — |
|
||||
| `fewer than five additional readings` | `additional-reading coverage fell below five entries` | — |
|
||||
| `missing pinned skill source` | `missing pinned skill-source contract` | — |
|
||||
| `missing model source` | `missing model-source contract` | — |
|
||||
| `external runtime dependency found` | `full-guide has an external runtime dependency` | — |
|
||||
| `missing rules content` | `missing rules content contract` | — |
|
||||
| `missing rules interaction` | `missing rules interaction contract` | — |
|
||||
| `missing rules control` | `missing rules-control contract` | — |
|
||||
| `main presentation does not link to rules page` | `full-guide no longer links to rules` | — |
|
||||
| `main presentation does not link to skills review page` | `full-guide no longer links to skills review` | — |
|
||||
| `main presentation missing chapter route` | `full-guide is missing a chapter route` | — |
|
||||
| `rules page has an external runtime dependency` | `rules page has an external runtime dependency` | — |
|
||||
| `missing rules responsive contract` | `missing rules responsive contract` | — |
|
||||
| `missing review page content` | `missing review page-content contract` | — |
|
||||
| `missing review interaction` | `missing review interaction contract` | — |
|
||||
| `missing review file manifest` | `missing review file-manifest contract` | — |
|
||||
| `review catalog does not cover all submissions` | `review catalog no longer covers all submissions` | — |
|
||||
| `review catalog does not record secret safety handling` | `review catalog lost its secret-safety contract` | — |
|
||||
| `chapter page missing shared navigation` | `chapter page missing shared navigation` | — |
|
||||
| `missing chapter responsive contract` | `missing chapter responsive contract` | — |
|
||||
| `landing page missing` | `landing page missing a route-map destination` | — |
|
||||
| `landing page should remain a fast, static route map` | `landing page is no longer a static route map` | — |
|
||||
| `skills anatomy missing` | `skills anatomy missing package contract` | — |
|
||||
| `skills anatomy interaction missing` | `skills anatomy lost its interaction module` | — |
|
||||
| `skills anatomy responsive contract missing` | `skills anatomy lost responsive contract` | — |
|
||||
| `operational submission privacy leak` | `operational submission privacy leak` | — |
|
||||
| `operational submission identity remains in review desk source` | `operational submission identity remains in review output` | — |
|
||||
| `operational submission redaction contract missing` | `operational submission redaction contract missing` | — |
|
||||
| `review file-mode contract missing` | `review file-mode contract missing` | — |
|
||||
| `file selection still resets improved mode` | `review file selection no longer preserves preview mode` | — |
|
||||
| `review change-lens contract missing` | `review change-lens contract missing` | — |
|
||||
| `review change-lens CSS missing` | `review change-lens CSS contract missing` | — |
|
||||
| `review markdown preview contract missing` | `review markdown-preview contract missing` | — |
|
||||
| `review vote widget wiring missing` | `review vote-widget island is not wired to a hashed asset` | — |
|
||||
| `review vote widget contract missing` | `review vote-widget contract missing` | — |
|
||||
| `review vote widget CSS missing` | `review vote-widget CSS contract missing` | — |
|
||||
| `vote-service missing IP-based one-vote-per-source contract` | `vote-service missing IP-based one-vote-per-source contract` | — |
|
||||
|
||||
Reference in New Issue
Block a user