# iamjcabalejo/daedalus architecture

> Architecture diagram of the GitHub repository iamjcabalejo/daedalus, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iamjcabalejo/daedalus
- Repository: https://github.com/iamjcabalejo/daedalus

## Overview

Daedalus is a Claude Code workflow pack, not a conventional application: its commands, agents, skills, and hooks guide a developer from project discovery through planning, implementation, testing, review, and optional browser QA. The README documents the main handoffs; the source excerpts chiefly establish project-profile detection and validation. Other internal command-to-role connections below are limited to those explicitly described in the README, so unsampled implementation details are not inferred.

Main entry points: [`plugins/daedalus/commands/project-manager.md`](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/project-manager.md) (Project Manager), [`plugins/daedalus/scripts/detect-stack.py`](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/detect-stack.py) (Stack Detector), [`.claude/skills/project-profile/profile.schema.json`](https://github.com/iamjcabalejo/daedalus/blob/main/.claude/skills/project-profile/profile.schema.json) (Workflow Profile), [`plugins/daedalus/scripts/session-init.sh`](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/session-init.sh) (Session Start)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Project Discovery"]
  node_session_hook["Session Start<br/>[session-init.sh]"]
  node_detector["Stack Detector<br/>[detect-stack.py]"]
  node_profile["Workflow Profile"]
  node_validator["Profile Validator"]
  node_setup["Setup Command<br/>[setup.md]"]
end

subgraph group_planning["Planning and Handoff"]
  node_refine["Brief Refinement<br/>[refine-spec.md]"]
  node_feature_plan["Feature Planning<br/>[feature-plan.md]"]
  node_ticket_adapter["Ticket Adapter<br/>[SKILL.md]"]
  node_plan_artifact["Plan Artifact"]
end

subgraph group_delivery["Build and Verify"]
  node_manager["Project Manager<br/>[project-manager.md]"]
  node_implementer["Implementer<br/>[implementer.md]"]
  node_test_runner["Test Runner<br/>[test-runner.md]"]
  node_argus["Argus Review<br/>[argus.md]"]
  node_qa["Browser QA<br/>[qa-tester.md]"]
end

subgraph group_adaptation["Workflow Adaptation"]
  node_overlay["Private Overlay<br/>[overlay.yml]"]
  node_workflow_contract["Workflow Contract<br/>[SKILL.md]"]
end

node_developer(("Developer"))
node_claude{{"Claude Code"}}
node_project["Target Project"]

node_developer -->|"starts session"| node_claude
node_claude -->|"runs hook"| node_session_hook
node_session_hook -->|"detects project"| node_detector
node_detector -->|"reads files"| node_project
node_detector -->|"writes profile"| node_profile
node_setup -->|"confirms facts"| node_profile
node_developer -->|"confirms setup"| node_setup
node_developer -->|"clarifies request"| node_refine
node_developer -->|"requests plan"| node_feature_plan
node_developer -->|"applies ticket"| node_ticket_adapter
node_feature_plan -->|"writes plan"| node_plan_artifact
node_ticket_adapter -->|"creates task plan"| node_plan_artifact
node_developer -->|"hands off plan"| node_manager
node_manager -->|"runs implementation"| node_implementer
node_manager -->|"runs tests"| node_test_runner
node_manager -->|"runs review"| node_argus
node_manager -.->|"runs browser QA"| node_qa
node_workflow_contract -->|"guides workflow"| node_claude
node_overlay -.->|"adds team rules"| node_claude
node_validator -->|"validates against"| node_profile

click node_session_hook "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/session-init.sh"
click node_detector "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/detect-stack.py"
click node_profile "https://github.com/iamjcabalejo/daedalus/blob/main/.claude/skills/project-profile/profile.schema.json"
click node_validator "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/validate-profile.py"
click node_setup "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/setup.md"
click node_refine "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/refine-spec.md"
click node_feature_plan "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/feature-plan.md"
click node_ticket_adapter "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/skills/ticket-adapters/SKILL.md"
click node_manager "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/project-manager.md"
click node_implementer "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/implementer.md"
click node_test_runner "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/test-runner.md"
click node_argus "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/argus.md"
click node_qa "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus-qa/agents/qa-tester.md"
click node_overlay "https://github.com/iamjcabalejo/daedalus/blob/main/overlays/_template/overlay.yml"
click node_workflow_contract "https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/skills/workflow-contract/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_session_hook,node_detector,node_profile,node_validator,node_setup toneBlue
class node_refine,node_feature_plan,node_ticket_adapter,node_plan_artifact toneAmber
class node_manager,node_implementer,node_test_runner,node_argus,node_qa toneMint
class node_overlay,node_workflow_contract toneRose
class node_developer,node_claude,node_project toneIndigo
```

## Components

### Project Discovery

- [Session Start](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/session-init.sh): `plugins/daedalus/scripts/session-init.sh`
- [Stack Detector](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/detect-stack.py): `plugins/daedalus/scripts/detect-stack.py`
- [Workflow Profile](https://github.com/iamjcabalejo/daedalus/blob/main/.claude/skills/project-profile/profile.schema.json): `.claude/skills/project-profile/profile.schema.json`
- [Profile Validator](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/scripts/validate-profile.py): `plugins/daedalus/scripts/validate-profile.py`
- [Setup Command](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/setup.md): `plugins/daedalus/commands/setup.md`

### Planning and Handoff

- [Brief Refinement](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/refine-spec.md): `plugins/daedalus/commands/refine-spec.md`
- [Feature Planning](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/feature-plan.md): `plugins/daedalus/commands/feature-plan.md`
- [Ticket Adapter](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/skills/ticket-adapters/SKILL.md): `plugins/daedalus/skills/ticket-adapters/SKILL.md`
- **Plan Artifact**

### Build and Verify

- [Project Manager](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/commands/project-manager.md): `plugins/daedalus/commands/project-manager.md`
- [Implementer](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/implementer.md): `plugins/daedalus/agents/implementer.md`
- [Test Runner](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/test-runner.md): `plugins/daedalus/agents/test-runner.md`
- [Argus Review](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/agents/argus.md): `plugins/daedalus/agents/argus.md`
- [Browser QA](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus-qa/agents/qa-tester.md): `plugins/daedalus-qa/agents/qa-tester.md`

### Workflow Adaptation

- [Private Overlay](https://github.com/iamjcabalejo/daedalus/blob/main/overlays/_template/overlay.yml): `overlays/_template/overlay.yml`
- [Workflow Contract](https://github.com/iamjcabalejo/daedalus/blob/main/plugins/daedalus/skills/workflow-contract/SKILL.md): `plugins/daedalus/skills/workflow-contract/SKILL.md`

### Other components

- **Developer**
- **Claude Code**
- **Target Project**

## Connections

- Developer → Claude Code: starts session (evidence: `README.md`)
- Claude Code → Session Start: runs hook (evidence: `README.md`)
- Session Start → Stack Detector: detects project (evidence: `README.md`)
- Stack Detector → Target Project: reads files (evidence: `plugins/daedalus/scripts/detect-stack.py`)
- Stack Detector → Workflow Profile: writes profile (evidence: `README.md`)
- Setup Command → Workflow Profile: confirms facts (evidence: `README.md`)
- Developer → Setup Command: confirms setup (evidence: `README.md`)
- Developer → Brief Refinement: clarifies request (evidence: `README.md`)
- Developer → Feature Planning: requests plan (evidence: `README.md`)
- Developer → Ticket Adapter: applies ticket (evidence: `README.md`)
- Feature Planning → Plan Artifact: writes plan (evidence: `README.md`)
- Ticket Adapter → Plan Artifact: creates task plan (evidence: `README.md`)
- Developer → Project Manager: hands off plan (evidence: `README.md`)
- Project Manager → Implementer: runs implementation (evidence: `README.md`)
- Project Manager → Test Runner: runs tests (evidence: `README.md`)
- Project Manager → Argus Review: runs review (evidence: `README.md`)
- Project Manager → Browser QA: runs browser QA (evidence: `README.md`)
- Workflow Contract → Claude Code: guides workflow (evidence: `README.md`)
- Private Overlay → Claude Code: adds team rules (evidence: `README.md`)
- Profile Validator → Workflow Profile: validates against (evidence: `plugins/daedalus/scripts/validate-profile.py`)
