Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

docs(claude): migrate Hydra pipeline info from hydra/CLAUDE.md into .github docs #56

Description

@WilcoLouwerse

Background

hydra/CLAUDE.md currently mixes two audiences:

  1. Hydra operators — script internals, orchestrator contracts, secrets/.env, slot system, crontab, image builds, watch-list / mechanical-fix retrospectives.
  2. All Conduction developers — what the agent personas do, what code-review:fail means on their issue, how labels map to board columns, how retry:queued / rebuild:queued work, the list of org-wide ADRs.

The second audience's info will be removed from hydra/CLAUDE.md (cleanup by a co-worker), so it needs a home in this repo first.

Scope (migrate)

Create docs/claude/hydra-pipeline.md covering:

  • Hydra + Specter loop overview
  • Four container personas (Al Gorithm, Juan Claude van Damme, Clyde Barcode, Axel Pliér) — role, model, fallback, turn budget (verified against agents/<persona>/config.yaml, not the stale CLAUDE.md table)
  • Pipeline flow (build → quality → reviews → applier → merge), no-loop policy (ADR-013)
  • Label state machine (stage:state convention, transitions, metadata labels, deprecated labels)
  • Canonical label color scheme
  • Yolo auto-merge semantics
  • Open Specs board stages (the six canonical columns)
  • Issue recovery decision order (merge dev→PR / reset review labels / retry:queued / rebuild:queued)
  • Hourly auto-update via cron-update-prs.sh
  • Pointer to the hydra repo for operator-level docs

Expand docs/claude/writing-adrs.md:

  • Ownership split: hydra/openspec/architecture/ = org-wide; <app>/openspec/architecture/ = app-specific
  • List of 29 org-wide ADRs (001–025 + 029–032; 026–028 reserved/in-flight) — verified against /home/wilco/hydra/openspec/architecture/

Update docs/claude/README.md:

  • Replace stale 3-agent table in Related: Hydra CI/CD Pipeline with a 1-line link to the new doc
  • Add hydra-pipeline.md to the Guides list

Update CONTRIBUTING.md:

  • Short PR size subsection: prefer one PR per logically-coherent finding/feature; consider splitting past ~10 commits / ~30 files; release-promotion PRs are the exception.

Out of scope (stays in hydra/CLAUDE.md)

Operator-only material: HYDRA_* env var overrides, label-helper / stage-guard contracts, hydra.json schema + record-or-die rule, slot system internals, secrets/.env contract, crontab, image-build flow, watch-list and decidesk retrospective entries.

Verifications

  • ADRs on disk in hydra/openspec/architecture/ cross-checked with the CLAUDE.md table — CLAUDE.md claims "024-028 reserved" but ADRs 024 and 025 do exist; reality is 026-028 are reserved.
  • Persona configs read directly from hydra/agents/<persona>/config.yaml — Al Gorithm is sonnet (default), not haiku as CLAUDE.md still says; Juan Claude budget is 200 turns, not 150 as CLAUDE.md says.

Branch

docs/migrate-hydra-pipeline-info (off main).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions