MAS-WP-0006: mas compose (canonical + forwarder-safe address)
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
d766d61e7f
commit
499ddce015
4 changed files with 187 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ reference experiment (see `INTENT.md` and `workplans/MAS-WP-0002-*`).
|
|||
|------|------|
|
||||
| `mas_core/` | `parser`, `model`, `generator`, `statute` (schema + semantic lint + inheritance), `discovery`, `policy` |
|
||||
| `mas_conformance/` | Shared corpus: spec fixtures (vendored, drift-tested), property cases, statute cases |
|
||||
| `mas_cli/` | `mas parse / explain / discover / lint-statute / test` |
|
||||
| `mas_cli/` | `mas parse / explain / discover / compose / lint-statute / test` |
|
||||
| `mas_gateway/` | Generic inbound mail → MAS event → HTTP (`pipe` for MTAs, `webhook` for providers) |
|
||||
| `examples/statute/` | Static `/.well-known/mas` for `great-service.example` + tiny server |
|
||||
| `examples/ticket_service/` | Reference app proving create / correlate / closed / unknown |
|
||||
|
|
@ -23,11 +23,13 @@ reference experiment (see `INTENT.md` and `workplans/MAS-WP-0002-*`).
|
|||
|
||||
```bash
|
||||
uv venv && uv pip install -e '.[test]'
|
||||
.venv/bin/pytest # full suite, offline
|
||||
.venv/bin/pytest # full suite, offline (Postfix probe needs Docker)
|
||||
.venv/bin/mas test # conformance corpus
|
||||
.venv/bin/mas explain 'ticket!callback@great-service.example' \
|
||||
--statute examples/statute/great-service.example/.well-known/mas
|
||||
.venv/bin/mas lint-statute examples/statute/great-service.example/.well-known/mas
|
||||
.venv/bin/mas compose mas.coulomb.social ticket=GS-1 --facet comments --for google-groups \
|
||||
--statute examples/statute/mas.coulomb.social/.well-known/mas # canonical + forwarder-safe
|
||||
```
|
||||
|
||||
Local end-to-end run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue