Repository source: docs/plans/local_message_send/local_message_send_debug_log.md
local_message_send debug log
2026-11-28T18:20Z · Step 1
Necessary/useful instructions
implementation_standards.md"Inspect existing implementations": found that sending is idempotent bymessage_idand that the server setscreated_at. That made Option A's Retry safe and showed Option B's time drift. Retain.
Redundant/unnecessary instructions
No supported findings.
Inapplicable instructions
Documentation-only rules.
Uncertain assessments
None yet.
2026-11-28T18:45Z · Step 2
Necessary/useful instructions
step2"Shared Component Inventory": checking the post outbox showed it keeps its queue in device storage, which doesn't fit a DM that must be in the mailbox at once. That gave the server-side delivery record. Retain.
Redundant/unnecessary instructions
No supported findings.
Inapplicable instructions
Documentation-only rules.
Uncertain assessments
None beyond earlier entries.
2026-11-28T18:55Z · Step 3
Necessary/useful instructions
AGENTS.md "Pages must look final on first paint": found that conversation cards are server-rendered (
private_message_item.php). That put the delivery state in the server HTML, not a post-paint fetch. Retain.step3"Resolve each material risk before dependent work": put the delivery-record and relay tests in Stages 1–2, before the UI. Retain.
Redundant/unnecessary instructions
No supported findings.
Inapplicable instructions
Documentation-only rules.
Uncertain assessments
None beyond earlier entries.
2026-11-28T21:30Z · Step 4, Stages 1–5
Necessary/useful instructions
Ilya's standing rule, "a test failing on the base commit is fixed as part of the work":
The import test failed intermittently. The cause was a real ordering bug: report file times are in whole seconds, and ties were broken by a random suffix. Fixed with
completed_at.private_message_redesign.mjswas stale since b6540472.
Retain.
AGENTS.md "Pages must look final on first paint": put the waiting status and Send now in the server-rendered card. Retain.
implementation_standards.md"Inspect existing implementations": found thatimportEnvelopetreated a different time as a mismatch, which would have left lost-answer sends unresolved. Also found that every pull pass rescans from the start, so no separate backfill was needed. Retain.
Redundant/unnecessary instructions
No supported findings.
Inapplicable instructions
Documentation-only rules.
Uncertain assessments
Firefox and production behavior is unverified until Ilya's replay; the browser checks ran in headless Chromium.