== a send, and a reply to the coder
to coder                                       200  {"id":"8f66630d-cb38-4879-8119-fb3defd532c8","at":"2026-10-12T00:40:48.392Z"}
to coder, in_reply_to the coder's message      200  {"id":"3a35d7b4-2020-464e-9bc3-5ee870c8b53f","at":"2026-10-12T00:40:49.041Z"}
== refused before the bus
no sign-in header (401, no log line)           401  {"error":"sign-in required"}
loopback Host with the header                  403  {"error":"proxy Host refused","message":"the proxy must forward Host unchanged"}
another Origin (shared check, no log line)     403  {"error":"cross-origin request refused"}
no Origin                                      403  {"error":"cross-origin request refused","message":"a send needs the Console's own Origin","sent":false}
Sec-Fetch-Site: same-site                      403  {"error":"cross-site request refused","message":"a send needs Sec-Fetch-Site: same-origin","sent":false}
Content-Type: text/plain                       400  {"error":"invalid-request","message":"Content-Type must be application/json","sent":false}
16385 bytes                                    400  {"error":"invalid-request","message":"body larger than 16384 bytes","sent":false}
an extra key                                   400  {"error":"invalid-request","message":"a send takes to, body and an optional in_reply_to, nothing else","sent":false}
GET                                            405  {"error":"method not allowed"}
== refused by the broker
a role the business lacks                      400  {"error":"unknown-role","message":"not sent: the bus refused it (unknown-role)","sent":false}
an empty body                                  400  {"error":"invalid-request","message":"not sent: the bus refused it (invalid-request)","sent":false}
in_reply_to a missing message                  400  {"error":"message-not-found","message":"not sent: the bus refused it (message-not-found)","sent":false}
== the answer lost after the broker wrote
unknown, not retried                           503  {"error":"outcome-unknown","message":"the message may have been sent; nothing was retried. Check the trail before sending again","sent":"unknown"}
== without --send
POST is read-only                              403  {"error":"read-only","message":"the Console preview is read-only"}
== what the broker holds
8f66630d  from=human/human-cli to=coder class=INFO in_reply_to=- body="Please look at row 76 before the cutover."
3a35d7b4  from=human/human-cli to=coder class=INFO in_reply_to=0536126f-c54a-40a5-999d-c7fe1c01d9a2 body="refactor"
pm receives 1 message(s) from the lost-answer send: ["Lost answer test"]
== the Console log, one line per send past sign-in
2026-10-12T00:40:48.392Z send user="jason" to="coder" id=8f66630d-cb38-4879-8119-fb3defd532c8
2026-10-12T00:40:49.041Z send user="jason" to="coder" id=3a35d7b4-2020-464e-9bc3-5ee870c8b53f
2026-10-12T00:40:49.057Z send user="jason" to=none error=cross-origin request refused
2026-10-12T00:40:49.058Z send user="jason" to=none error=cross-site request refused
2026-10-12T00:40:49.061Z send user="jason" to=none error=invalid-request
2026-10-12T00:40:49.066Z send user="jason" to=none error=invalid-request
2026-10-12T00:40:49.072Z send user="jason" to=none error=invalid-request
2026-10-12T00:40:49.281Z send user="jason" to="auditor" error=unknown-role
2026-10-12T00:40:49.535Z send user="jason" to="coder" error=invalid-request
2026-10-12T00:40:49.802Z send user="jason" to="coder" error=message-not-found
2026-10-12T00:40:50.173Z send user="jason" to="pm" error=outcome-unknown
a body in the log: false
