Skip to content

Engineering

How Signal publishes: a research-to-article pipeline with a human in the loop

Signal turns a keyword brief into a sourced, reviewed article. This is the actual pipeline, the gates it keeps, and the parts it refuses to do on its own.

By Jaime Villanueva

29 Nov 2026 ·

Key points

Signal turns a keyword brief into a sourced, reviewed article. This is the actual pipeline, the gates it keeps, and the parts it refuses to do on its own.

Most AI publishing tools promise one thing: type a topic, get a post. Signal does the opposite. It is slower on purpose, and it has a small number of hard stops where a machine is not allowed to continue.

The shape of the pipeline

A run is a small directed acyclic graph of allowlisted steps. The graph is validated before it runs: every dependency has to point backwards, there are at most twenty-four steps, and every tool name has to be on the list.

  • •source.read: fetch a page, check robots, store the bytes with a hash
  • •archive.search: find what has already been published on the same source
  • •llm.generate: write a draft against a fixed context and a claim budget
  • •document.compose: assemble the draft into the block format the reader sees
  • •human.review: stop and wait for a person
  • •draft.save: write an unapproved draft, never a publication

The important detail is the order. A draft can be saved before it is approved, and it can never be published by the same run. Publishing is a separate, explicit action that a person performs.

What a machine may do

A machine may fetch, quote, structure, draft and save. It may not approve an article, publish one, send a newsletter, submit an indexing ping, or spend money on a paid provider without a budget that a human has approved.

What only a person may do

  • •Approve or reject a draft, with a note that is stored with the revision
  • •Publish, schedule, or cancel a publication
  • •Mark an image as rights-verified before it can be served publicly
  • •Turn the publishing switches on for the workspace
  • •Create the provider credentials that let the system talk to Google at all

Sourcing and citations

Every claim in a generated draft has to be anchored to a stored snapshot of the page it came from. The quote in the article is compared byte for byte with what the fetcher saved; a paraphrase that drifts from the snapshot is not a citation, it is a guess, and it is rejected. Fetched text is treated as untrusted evidence, never as an instruction.

The infrastructure underneath

The backend is a set of small Go services on PostgreSQL with row-level security. The editor is a SvelteKit app, the public site is another one, and they talk to the services over an internal token rather than sharing a database session.

yaml

steps:
  - tool: source.read
    args: { url: "https://example.com/post" }
  - tool: llm.generate
    args: { brief: "brief-v2", max_claims: 12 }
  - tool: human.review
  - tool: draft.save
    args: { idempotency_key: "run-42-draft" }

Reruns are safe. The draft step carries an idempotency key, the steps are durable, a crashed run is resumed with its leases recovered, and a run that exceeds its attempts ends in a dead-letter state that an operator has to look at instead of retrying forever.

Where it runs

Signal runs on a single Kubernetes node with a dedicated PostgreSQL and Redis, isolated from everything else on the host. The model runs next to the pipeline as a local server inside the same pod: no article is written by a model that the system cannot account for, and no data leaves the machine by accident.

What is not live yet

This is the honest list. The newsletter mailer does not exist yet, so the subscribe button collects nothing. Trend detection and semantic clustering are not built; the keyword grouping is an explicitly labelled first-term heuristic, not a claim of originality. Image discovery is not wired to a live provider. And the whole pipeline is still moving from a QA namespace to a production one, which is why this article is also the first thing published on the real domain.

When a part is missing, the API says so with a specific error instead of pretending. A scheduled publish that is switched off returns scheduler_disabled. A newsletter subscribe that is switched off returns a 503 and stores no address. We would rather have a visible refusal than a silent no-op.

Filed under Self-hosted

Add a comment

Comments are moderated: yours appears after a person reads it. Published comments are not shown on this page yet.