Logs show derived keys, making it easiest to create a dangerous kind of “green state”: it looks like the account has already been synced, so the balance, nonce, and notes should all be usable. The factual boundaries of the AccountSyncer are exactly the opposite. It can sync public account balances without holding the private key, and reading on-chain state should not force the application to obtain the signing key first; but a derived key is only key material, not the result of syncing.

You can change the failure tree from “whether a key exists” to three questions. First question: is there a distinct sync status that can prove the current Profile has completed reading? Second question: have you truly obtained evidence for the balance, nonce, or available note that corresponds to that account? Third question: does the current action require signing? If it does, does signing permission come from some other clearly defined source? If any question lacks evidence, you can only stop at “the account has not been confirmed usable”; you cannot treat the appearance of a key as proof.

This is also the meaning of separating read-only from signing. Reading public balances doesn’t require handing the private key to the application. Signing takes on the responsibility for changing state; syncing is a separate third pathway. A new Profile might have a derived key but no usable sync snapshot. During troubleshooting, if you jump directly to “re-sign” or “account is ready,” you hide missing state. More accurate records should separate key material, sync snapshots, and signable permissions; only when each of the three satisfies its condition can you know what the next step is.

Therefore, “sync completed” should be an evidence-based state, not a field claimed in logs. When there are no corresponding evidence for a balance snapshot, nonce, or note, the most honest outcome is to wait for syncing or report the gap; it is safer than letting the erroneous state continue into the signing flow.

Be explicit about state gaps.

@Dusk $DUSK #dusk