Write Signal
write_signalRecord a condition needing review or action beyond this session. Current work belongs in topology; platform feedback uses write_feedback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | Optional 1:many rich pointers, e.g. [{kind:'knowledge_record', id:'…'}, {kind:'file', path:'…'}]. | |
| title | No | Scannable one-liner (max 80 chars) — the handle boot renders by; the AI triages on title + severity and reads content only when it works the signal. Omit and it's derived from content (fine for machine-generated signals). Reject-over-cap, never truncated. | |
| action | No | Default 'write'. 'validate': pre-send check — runs the write path's enum + char-cap validation on the candidate WITHOUT writing; returns { valid, missing_required[], over_cap: [{field, len, cap}], not_checked? }. State checks (rate cap, dedup, handle resolution) still run at write time. | |
| handle | Yes | Your active deck handle — the agent surfacing the finding | |
| content | Yes | The full finding (max 1000 chars) — fetched via get_signals when the signal is picked up, not shown at boot. Put structured detail in refs, not here. | |
| outcome | No | Required for check signals — pass or fail. | |
| contract | No | Help mode — return the complete contract with no operation performed. | |
| severity | Yes | Your honest estimate — drives how signals are ranked when surfaced at boot. | |
| dedup_key | No | Optional writer-composed key (e.g. 'drift:knowledge:slug-X'). A repeat on an open signal bumps occurrence_count instead of inserting. | |
| assigned_to | No | Optional deck-handle routing label — which deck should pick this signal up (e.g. a specialist raises a finding the container deck fixes, then routes back with assigned_to). Advisory: soft-validated against the container's deck handles, mismatch warns in the envelope, never rejects. Omit for unrouted (container-context surface). | |
| signal_type | Yes | finding: something noticed (default). check: structural assertion (requires outcome). proposition: a suggested action. event: an external thing happened. |