bernstein_update
Post a signed incremental progress update to a task, chaining it to the audit trail for offline verification.
Instructions
Post an incremental progress update as a signed journal entry.
Wraps the worker mailbox: the update is DLP-redacted, HMAC-chained
onto the mailbox journal, Ed25519-signed, and mirrored to the audit
chain (task.mailbox_message) before returning. The result IS the
signed journal entry - a worker holds a progress record it can verify
offline against the same chain bernstein audit verify walks, not a
bare status string.
Args:
task_id: The task the update is addressed to.
body: The progress message body (<= 4096 bytes).
sender: The posting worker's identity.
kind: Typed message kind - one of finding / artefact_ref
/ question.
sender_card_fingerprint: sha256: fingerprint of the sender's
agent card key.
Returns:
JSON of the signed mailbox journal entry (seq,
prev_entry_hash, entry_hash, signature,
signer_public_key_pem, body_hash, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| kind | No | finding | |
| sender | Yes | ||
| task_id | Yes | ||
| sender_card_fingerprint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |