Publish library brief
publish_library_briefSaves a validated client-written daily brief as an immutable local artifact, binding citations to evidence and rejecting stale or mismatched submissions.
Instructions
Save a client-written daily brief as an immutable local artifact. Use only for the user's requested brief job after get_library_brief_input; use read_library_resource to read a published brief. Validates the exact packet against current data and binds quotes to supplied evidence. An identical submission_key retry returns the saved result; stale_brief requires fresh input. Writes under reach/briefs without applying labels or changing the assignment queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | Actual client-reported usage object, or null if unavailable; never invent zero measurements. | |
| job_key | Yes | Brief job_key returned by get_library_brief_input; copy unchanged. | |
| document | Yes | Client-written brief Markdown within the 8192-byte UTF-8 limit, with evidence-bound citations. | |
| citations | Yes | Evidence citations carrying item_id, source_revision, card_hash, excerpt_id, quote, evidence_kind, start and end; copy identifiers from the input packet. | |
| input_hash | Yes | Brief input_hash returned by get_library_brief_input; copy unchanged. | |
| input_packet | Yes | Exact unmodified packet returned by get_library_brief_input. | |
| submission_key | Yes | Client-generated retry key; reuse only for an identical submission. |