repowisecompozy/compozy

Architecture of compozy/compozy

compozy/compozy is 2,465 source files holding 12,259 symbols across 15 modules, written mainly in Go, TypeScript, JavaScript. The largest module is .compozy, with 873 files, and 37 files are entry points into the dependency graph.

How compozy fits together

The file cmd/compozy/main.go is the entry point for the compozy command. Workflow artifacts such as PRDs, TechSpecs, ADRs, tasks, reviews and memory files are stored as markdown under .compozy/tasks/, where they can be read and edited between steps. A daemon owns runtime state under ~/.compozy/ and allocates run directories there for task runs, review-fix runs and exec sessions. The command compozy tasks run is the canonical workflow runner, and it sends work to an ACP-capable runtime selected with the --ide flag. internal/api/httpapi/server.go is an entry point for the HTTP API that attach and watch clients use to reconnect through daemon snapshots and streams. Extensions such as extensions/cy-qa-workflow/main.go can intercept pipeline phases through subprocess hooks.

Largest modules

  • .compozy: 873 files
  • internal: 517 files
  • .agents: 398 files
  • .codex: 211 files
  • web: 180 files
  • sdk: 69 files
  • pkg: 44 files
  • packages: 33 files

Languages

By file count: Go 594 files, TypeScript 234 files, JavaScript 17 files, Shell 11 files, Python 8 files, Makefile 1 file.

More on compozy: summary and FAQ, codebase overview, code health.