Canon 0.6.0 freeze: ITC-CAP draft, AVT catalog, joinable review
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Finish ITC-WP-0013 (AttributeValueType under ITC-DATA) and ITC-WP-0014
T02/T03/T05/T06/T07. Capability contract schemas, live-catalog review
CLI, landscape/kernel-map pointers. Sit on this version.
This commit is contained in:
tegwick 2026-08-15 19:42:30 +02:00
parent 7805560a60
commit d453e17952
44 changed files with 1485 additions and 137 deletions

View file

@ -20,6 +20,7 @@ from .service import (
profile_inspect,
profile_validate,
read_view,
review_capability_record,
review_kit,
validate_canon,
)
@ -108,6 +109,18 @@ def _route(
profile = path.removeprefix("/profiles/").removesuffix("/validate").strip("/")
payload = profile_validate(profile, root)
return (HTTPStatus.OK if payload["ok"] else HTTPStatus.BAD_REQUEST), payload
if path == "/capability-review":
record = _first(query, "path")
if not record:
return HTTPStatus.BAD_REQUEST, {
"ok": False,
"error": {
"code": "missing_path",
"message": "Query parameter path= is required",
"details": {},
},
}
return HTTPStatus.OK, review_capability_record(record, root)
if path.startswith("/profiles/") and path.endswith("/graph"):
profile = path.removeprefix("/profiles/").removesuffix("/graph").strip("/")
graph_format = _first(query, "format") or "json"