Output boundary: Read-only command — NEVER write any files. Display output to console only.
Step 1: Load Glossary
Read .workflow/domain/glossary.yaml. If not exists, report "No domain glossary — run maestro domain init".
Step 2: Filter and Display
Apply optional --tier filter. Display terms grouped by tier (core → extended → peripheral):
=== DOMAIN TERMS ({N} total) ===
[core]
auth-token — Short-lived credential for API authentication
aliases: 令牌, access-token | keywords: auth, credential, jwt
event-bus — Central pub-sub message broker
aliases: 事件总线 | keywords: pubsub, messaging
[extended]
...
[deprecated]
wikiindexer → search-engine (successor)
<error_codes>
| Code | Severity | Condition | Recovery |
|---|---|---|---|
| E001 | error | .workflow/domain/glossary.yaml not found |
Run maestro domain init first |
| E002 | error | glossary.yaml parse error (invalid YAML) | Check file syntax |
| W001 | warning | No terms match --tier filter | Show "No terms in tier: {tier}" |
| </error_codes> |
<success_criteria>
- Glossary loaded and parsed successfully
- Terms grouped by tier (core → extended → peripheral → deprecated)
- Optional --tier filter applied correctly
- Each term displayed with canonical name, definition, aliases, keywords
- Total count shown </success_criteria>