MAS-WP-0010 finished: email slave role, stub outside master, contract flows, SCP-8
- EmailMode slave role: master-issued case ids, events to the master, sends only on instruction or autonomous policy, transfers blocked or to a primed webhook, timeouts left to the master; principle 10 refusals reported back. - conformance/flows.json (13 flows) + mas_modes.runner; mas test runs the mode corpus (172/172). - SCP-8 / v0.2 section 7.1: !MODE requests a handoff defined by the mode contract. docs/reuse-surface.md. - Deploy image copies mas_modes (ticket service imports its mailer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 5787@bnt-lap001 Assistant-Session: 5db26b82-138b-40cc-9856-4d5eb0f752fd
This commit is contained in:
parent
e91cd01a02
commit
87be0d1da3
16 changed files with 1396 additions and 17 deletions
|
|
@ -242,7 +242,12 @@ def cmd_test(args):
|
|||
print(f"v0.2 statute-aware corpus: {aware.passed}/{aware.passed + len(aware.failures)} passed")
|
||||
for fid, subject, why in aware.failures:
|
||||
print(f" FAIL {fid} {subject!r}: {why}")
|
||||
return 0 if rep.ok and not st_fail and aware.ok else 1
|
||||
from mas_modes.runner import run_mode_corpus
|
||||
modes = run_mode_corpus()
|
||||
print(f"mode contract v0.1 corpus: {modes.passed}/{modes.passed + len(modes.failures)} passed")
|
||||
for fid, why in modes.failures:
|
||||
print(f" FAIL {fid}: {why}")
|
||||
return 0 if rep.ok and not st_fail and aware.ok and modes.ok else 1
|
||||
|
||||
|
||||
def build_parser():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue