Skip to content

Hydra tutorial series: describe the pipeline the flows actually run - #238

Merged
WilcoLouwerse merged 2 commits into
developmentfrom
docs/hydra-tutorial-matches-flows
Sep 29, 2026
Merged

WilcoLouwerse merged 2 commits into
developmentfrom
docs/hydra-tutorial-matches-flows

Conversation

@WilcoLouwerse

Copy link
Copy Markdown
Contributor

Summary

The seven-part Hydra tutorial still largely described the retired shell pipeline: supervisor, orchestrate.sh, automatic hand-offs, a yolo auto-merge. Hydra now runs as OpenRegister flows. These two commits rewrite the pipeline mechanics in all seven parts, in English and Dutch (part 7 is English only), against what ConductionNL/hydra actually does.

The source is flows/*.flow.json together with the scripts, images and agent configs. On those paths main and development are identical (they differ only in .claude/skills/), so the text holds for both branches.

What the tutorial now says, which it did not before

  • Trigger. A run starts from build:queued plus the change named in the issue body (openspec/changes/<name>). The trigger is not ready-to-build, and it is hydra-sequencer that polls, not hydra-dispatch.
  • Build lane. The build lane runs build → hydra-gates → one fix pass. It has four outcomes (build:pass, build:fail, build:no-change, build:blocked) and opens a PR on both pass and fail.
  • Review lane. Nothing queues code review after build:pass; the reader adds code-review:queued. Code review, security and applier then run in sequence, routed on hydra-verdict.json. The applier has no skip rule.
  • What does not exist. There are no *:running or done labels, no auto-merge, no yolo, no post-review re-gate, no dependency or sibling checks, and no handling of retry:queued or rebuild:queued.
  • Recovery (part 6). Recovery uses the re-queue levers that work. A review stage that ends blocked keeps its :queued label and runs again every tick until that label is removed.
  • Counts. Gate, skill and persona counts follow the repo (about 96 gates, 9 personas) or are phrased so they do not go stale.

Claims that could not be verified in the hydra repo are removed rather than kept. Examples: lead-time estimates, the owner:<uid> issue marker, and a retry/rebuild operations guide that does not exist.

The hydra-side counterpart (CLAUDE.md, secrets/.env.example, the credentials cleanup) is ConductionNL/hydra#719.

Test plan

  • Front matter of all 13 touched MDX files parses as YAML
  • Anchors that part 4 links into part 3 exist in both languages
  • CI build (MDX compile and broken links, both locales) is green

🤖 Generated with Claude Code

WilcoLouwerse and others added 2 commits September 29, 2026 15:45
The parts on concept, pipelines and gates still described the retired
shell pipeline:
- a ready-to-build trigger
- automatic hand-off from build to review to applier
- an applier skip rule
- a post-review quality recheck
- reviews/<round>.json
- *:running labels
- yolo auto-merge
- "22 gates"

Checked against ConductionNL/hydra flows/ (identical on main and
development):
- Part 1: build:queued plus the change named in the issue body is the
  trigger. It gives the end-to-end path (build, gates, one fix pass, a
  PR on pass and fail, review only on code-review:queued, a human
  merges) and no longer promises lead times or model env vars.
- Part 2: the build lane with its four outcomes, the review lane routed
  on hydra-verdict.json, and nothing queuing code review after a build.
  Also one unit of work per tick, the slot pool and lock, the labels no
  flow acts on, and a blocked review re-running every tick.
- Part 3: about 96 declared gates and the COVERAGE line. The runner is
  a delegator to conduction/hydra-gates. The only re-gate is after the
  build's fix pass, and the false-positive example is real gate history.

English and Dutch; the Dutch pages had drifted further and now say the
same as the English ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ill tree

- Part 4: skill, gate and persona counts follow the repo, or are
  phrased so they do not go stale (about 96 gates, 9 personas). It says
  what the factory actually runs. The image table now says: builder
  copies .claude/skills/ only; reviewer and security carry hydra-gates
  plus 16 hydra-gate-* skills. Wrong skill descriptions are rewritten.
- Part 5: a real run starts with build:queued and the change named in
  the issue body. Code review is queued by hand after build:pass. The
  label sequence has no :running, done or merge. Image defaults are
  localhost/hydra:test. The base image is COPY --from, not FROM.
- Part 6: the recovery ladder uses the re-queue levers that work, and
  says a blocked review stage must lose its :queued label first. It
  states that retry:queued and rebuild:queued are not handled. The
  supervisor-log commands and the double-prefix example are gone. The
  hydra.json example shows what the record flow writes.
- Part 7: hydra-sequencer polls; hydra-dispatch does not. There are no
  dependency or sibling checks. The owner comes from the hermiq workload
  step; the owner:<uid> marker is dropped because nothing in hydra
  parses it. The quiz drops "22 gates".

English and Dutch (part 7 has no Dutch page).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@WilcoLouwerse
WilcoLouwerse merged commit 9a2d0aa into development Sep 29, 2026
5 checks passed
@WilcoLouwerse
WilcoLouwerse deleted the docs/hydra-tutorial-matches-flows branch September 29, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant