mas explain shows how v0.2 stand-ins were read

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:28:46 +02:00
parent 51bf87c731
commit 0bb3669f01

View file

@ -101,6 +101,9 @@ def cmd_explain(args):
else:
lines += [" no valid MAS statute found", f" failure: {disc.kind.value} — {disc.detail}"]
lines += ["", "Semantics:", f" kind: {sem.kind}" + (f" (from {sem.kind_source})" if sem.kind_source != "none" else "")]
if sem.stand_ins:
lines.append(f" read as: {sem.to_dict()['canonical_local_part']} "
f"(v0.2 stand-in: {', '.join(sem.stand_ins)})")
if sem.registry_key:
lines.append(f" registry entry: {sem.registry_key}")
if sem.intake_for: