06-reference/concepts

rdco pipeline rlhf shaped

2026-05-12·concept·status: canonical-pattern·source: Founder pattern-recognition (iMessage 2026-05-12 20:39 ET)·by Ben Wilson (founder framing) + Ray (mechanism mapping)
rlhfpipeline-architecturemulti-agentskill-build-outconstitutional-aiiterative-critiquemacsanity-check

RDCO multi-agent pipeline = RLHF-shaped (the academic lineage)

Why this is in the vault

Founder spotted on 2026-05-12 20:39 ET that the multi-agent skill build-out pipeline he just greenlit is structurally the RLHF loop. Naming this lineage gives us a reference vocabulary for every future pipeline-design choice. When we have to make a call later (threshold for "critic graduates to autonomous," shape of label aggregation, how to detect critic drift), we can ask "what does the RLHF literature say" instead of inventing from scratch. That's the load-bearing reason to file the concept doc rather than leaving the framing in iMessage history.

The mapping (structural, not mechanistic)

RDCO multi-agent pipeline mapped to RLHF topology:

RLHF role RDCO pipeline role
Human labeler Founder (during bootstrap and ongoing spot-checks)
Preference dataset Per-run scratch dir labels (PASS/FAIL with rationale, better-than-X pairs when founder overrides the critic)
Reward model pipeline-critic skill (the seat that returns axis-by-axis verdicts)
Policy The three artifact-producing seats together: pipeline-spec-author + pipeline-test-author + pipeline-code-author
RL training loop The convergence loop — critic returns verdicts, policy iterates, critic re-evaluates
Reward-model training step The /improve consolidation hook that translates accumulated labels into critic-prompt refinements, new axis fragments, and reference-artifact additions

Loop topology: identical. Founder critique → reward model update → policy iteration → critique → ... until convergence.

The mechanism difference

Textbook RLHF (the InstructGPT / Llama-2 paper / Anthropic Constitutional AI initial-pass shape) trains a parametric reward model via gradient descent on (prompt, chosen, rejected) preference triples. That reward model is then used to optimize a policy via PPO or DPO. The whole thing is differentiable end-to-end.

RDCO pipeline does NOT do gradient descent. The critic is an LLM agent, not a trained neural net. Founder feedback is codified into:

So the reward signal is encoded in PROMPT SPACE, not weight space. Same loop, different machinery.

Closest academic lineage

The technique is closer to:

The most accurate single label: Constitutional-AI-shaped multi-agent pipeline with human bootstrap labeling. Less catchy than "RLHF" but more precise.

What this implies for our build

Because the topology is RLHF-shaped, several design choices have known-good answers from the literature:

  1. Label capture format. RLHF literature converges on (prompt, output, rating, optional-rationale) tuples. RDCO equivalent: per-run scratch dir captures (spec, generated-artifact, critic-verdict, founder-override-rating-if-any, founder-rationale). The structured format makes the /improve consolidation step mechanical instead of judgment-driven.
  2. Critic-graduation threshold. When does the founder-as-critic phase end? RLHF literature suggests ~1k-10k preference labels for a trained reward model, but RDCO's per-axis prompt-space encoding works with far fewer examples (Anthropic CAI bootstrapped on ~16 principles). For RDCO, suggest a per-axis threshold of ~10 founder-override labels before that axis graduates to autonomous-critic status. TBD as part of schema work.
  3. Drift detection. RLHF systems suffer reward hacking — the policy learns to exploit the reward model's blind spots. RDCO equivalent: the critic can develop blind spots that the policy learns to satisfy without actually meeting ground truth. Mitigation: periodic founder spot-checks of artifacts the critic marked PASS (the auditing layer Tan's ratchet wants). Set spot-check rate at ~5-10% of autonomous runs.
  4. Label disagreement handling. When two human labelers disagree, RLHF tools usually average or vote. RDCO has only one labeler (founder), so this is moot — but if a future co-founder or contractor enters the loop, the disagreement handling needs to be designed in. Defer until that surfaces.
  5. Pipeline-critic prompt evolution. RLHF literature treats the reward model as a continuously-updated artifact. RDCO equivalent: pipeline-critic's SKILL.md gets continuously updated by /improve from accumulated labels. The skill file IS the reward model state. Versioning + changelog discipline becomes load-bearing.

What this does NOT mean

A few things RDCO's pipeline is NOT, despite the RLHF-shape similarity:

Mapping against Ray Data Co

Why this matters now vs later

Naming this lineage now (during the architecture-doc phase, before any seats are built) lets us:

Related