Skip to content

Commit ae67a30

Browse files
Write architecture's fallback envelope as schema 2
The service's architecture warnings moved to schema 2 (questions, cited lines, related warnings). The envelope the Action writes when the request cannot complete says the same version, so a reader never sees two schemas for one feature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d65d789 commit ae67a30

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/remote_features.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def _no_architecture(ctx: dict, status: str, reason: str) -> dict:
688688
"""Preserve the architecture envelope even when the request cannot complete."""
689689
return {
690690
"feature": "architecture",
691-
"schema": 1,
691+
"schema": 2,
692692
"status": status,
693693
"repo": ctx["repo"],
694694
"pr": ctx["pr"],

‎tests/test_remote_features.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
GUIDE = {"version": 1, "changes": [{"id": "u1"}]}
2828
ENVELOPE = {
2929
"feature": "architecture",
30-
"schema": 1,
30+
"schema": 2,
3131
"status": "partial",
3232
"repo": "o/r",
3333
"pr": 7,

0 commit comments

Comments
 (0)