Add route manifest contract validation

This commit is contained in:
jwinterm
2026-07-06 04:07:10 -04:00
parent c1d8337365
commit 407d4d106a
13 changed files with 619 additions and 42 deletions
+7
View File
@@ -55,6 +55,13 @@ Apps may provide `ampg.route-manifest.v1` JSON. AMPG imports it from
`site.interactions.route_manifest`, merges its denylist with inline TOML, and appends any
inline TOML route entries after the imported route entries.
The schema is generated at `schemas/ampg.route-manifest.v1.schema.json`, and app repos can
validate generated manifests with:
```sh
python3 -m ampg route-manifest validate routes.json
```
Required top-level fields:
- `schema`: must be `ampg.route-manifest.v1`.