discord_response: embed schema delta - timestamp, typed MeshIntentResult, IntentType enum color map, 6000-char total enforcement #271
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #234 (Response Delivery) - delta for the embed-schema acceptance that did not land in commit
5a1d111(feat(#234): add Discord response delivery formatter).Source: kanban card t_b56a0fae (decomposed from #234 Phase 4, "Design rich embed schema for mesh intent responses").
Acceptance not met by landed code (runtime/discord_response.py):
Verification evidence (commit
5a1d111, local-only unpushed; origin/master stille8c24a0; #234 still open):Acceptance criteria for this issue:
Authoritative spec (kanban card t_842f0b3f) for this delta — implement exactly:
Data model:
Color table (module-level dict keyed by enum members, never string literals):
Discord limits (clamp with trailing ellipsis '…', i.e. s[:limit-1]+'…'; field-count overflow raises):
Output (canonical dict, always framework-agnostic):
Tests (new file tests/unit/test_embed_builder.py preferred): one test per IntentType member for COLORS + build_embed color int (5), unknown default gray, truncation for title/desc/field-value/footer/author each clamps with '…', 28 fields -> ValueError and 25 fields ok, total-budget overshoot drops trailing fields, timestamp set/None, footer/author set/None, existing 13 tests in tests/unit/test_discord_response.py keep passing.
Full spec: workspace file MeshIntentResult-embed-schema.md (kanban card t_842f0b3f attachments).