squad-registry-discovery
How Hydra discovers, resolves, and routes to squad packs. Read this before adding/removing/modifying a squad.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
How Hydra discovers, resolves, and routes to squad packs. Read this before adding/removing/modifying a squad.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Memory fabric usage — ephemeral / episodic / semantic. Read this before reading from or writing to Hydra memory.
Per-workflow budget enforcement: tripwire at 80% (downgrade model tier), HITL at 100%. Telemetry pattern for cost-per-task tracking.
How to construct, validate, and route Hydra's typed cross-squad message envelopes. Use whenever an agent emits or consumes a CSuiteDecisionPacket, PRD, ArchRFC, DevTask, CreativeBrief, ShotList, AssetJob, HITLRequest, DecisionRecord, or Handoff.
When and how Hydra pauses for human input. Defines HITL gate placement, render format, resume contracts, expiry behavior, and override semantics.
| name | squad-registry-discovery |
| description | How Hydra discovers, resolves, and routes to squad packs. Read this before adding/removing/modifying a squad. |
Hydra's modularity hinges on one rule: a squad is any directory under squads/ (project-local) or ~/.hydra/squads/ (user-global) that contains a squad.yaml. Discovery runs at supervisor construction time via hydra_core.squad_loader.discover_squads.
<project-root>/squads/<slug>/squad.yaml (project wins — used for project-specific overrides)~/.hydra/squads/<slug>/squad.yaml (user global)A project-level slug shadows a user-level slug of the same name.
squad.yaml Keysname: <human readable>
description: <multi-line>
source_pack: <abs path or null> # references the underlying repo if any
entrypoint: mcp|subprocess|agent-impersonation|claude-skill|stub
industries: [tag1, tag2] # router signal
agents: [{slug, role, authority, model_hint?}]
tools: [{name, mcp_server?, privilege}]
accepts: [<envelope_type>, ...] # or ["*"]
emits: [<envelope_type>, ...]
gates: [{rubric_id, hitl_required?, when?}]
invoke: {entrypoint-specific config}
mkdir squads/<slug> and write squad.yaml.hydra_core/router.py::_KEYWORDS[<slug>]./hydra:squads to verify discovery./hydra:run "<test goal>" --squad <slug> to smoke-test.entrypoint from stub to the real adapter once tools/MCP are wired.See CONTRIBUTING-SQUADS.md for the full activation checklist.