Lighten the comment load
Deploy / deploy (push) Successful in 1m1s

Drops porting-history narratives (dodrenett), superseded-behavior
explanations, and restatements of what the next line does. Constraint
notes (fail-closed policies, CAS semantics, cascade behavior, id
uniqueness) stay, just shorter. No code changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-12 22:55:36 +02:00
co-authored by Claude Sonnet 5
parent 20b24f08c2
commit 6932816c42
8 changed files with 105 additions and 222 deletions
+3 -6
View File
@@ -1,9 +1,6 @@
//! Plain NATS event publishing - ported from dodrenett's lib/nats.ts
//! (AnswerSubmitted). Deliberately just a publish, no stream/consumer
//! bookkeeping here: whoever reads `portal.answers.submitted` today is a
//! person watching the subject; a future LLM-driven follow-up poster
//! reads the exact same subject and shape, so this doesn't need to
//! change shape when that shows up, only gain a second subscriber.
//! Plain NATS publish of every submission/decision - fire and forget,
//! no stream bookkeeping. The n8n automations subscribe to
//! `portal.answers.submitted` and gate on `question_id`/`alternative`.
#![cfg(feature = "ssr")]
pub mod store;