MAS-WP-0005-T07: v0.2 draft bundle; mas_core accepts v0.1 and v0.2 statutes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 252470@bnt-lap001
Assistant-Session: ad628c8f-4be2-4979-94c9-76c7ed6f8241
This commit is contained in:
tegwick 2026-10-18 22:19:34 +02:00
parent 3709fbb54b
commit a12e1c4370
17 changed files with 1814 additions and 20 deletions

View file

@ -59,7 +59,7 @@ def test_no_parent_walk():
({U: OSError("connection refused")}, FailureKind.TransportFailure),
({U: ok(GS, "text/html")}, FailureKind.InvalidContentType),
({U: Response(200, JSON, b"{not json")}, FailureKind.NotJson),
({U: ok({**GS, "mas_version": "0.2"})}, FailureKind.UnsupportedVersion),
({U: ok({**GS, "mas_version": "0.3"})}, FailureKind.UnsupportedVersion),
({U: ok({**GS, "profiles": {"p1": True}})}, FailureKind.SchemaInvalid),
({U: ok(statute_document("semantic-p2-disabled-modes.json"))}, FailureKind.SemanticInvalid),
({U: ok({**GS, "namespace": "other.example"})}, FailureKind.NamespaceMismatch),