Skip to main content

Stack Guide

Documentation Index | Related: Glossary | Unified Stack Architecture

Purpose

This guide is the fast path for navigating the unified stack. Use it when you need to know where to start reading, which package owns a concern, and which docs are normative versus supporting context.

Start Here

If you are new to the stack, read these in order:

  1. System Overview
  2. Glossary
  3. Unified Stack Architecture
  4. V6 Architecture Specification
  5. Package Specifications

Then branch into the area you are actually changing.

Before proposing a new seam, run the active validation cue for the first executable V6 slice:

  • npm run verify:v6:seams

If You Need To Change Orchestration

Read:

Work mainly in:

  • packages/sdk
  • packages/babysitter
  • packages/babysitter-agent
  • library/
  • project-local .a5c/processes/

If You Need To Change Harness Dispatch

Read:

Work mainly in:

  • packages/agent-mux/core
  • packages/agent-mux/adapters
  • packages/agent-mux/cli
  • packages/agent-mux/sdk
  • packages/agent-mux/gateway

If You Need To Change Hook Behavior

Read:

Work mainly in:

  • packages/hooks-mux/core
  • packages/hooks-mux/cli
  • packages/hooks-mux/adapter-*
  • plugins/babysitter-unified/hooks/

If You Need To Change Plugin Packaging

Read:

  • packages/agent-plugins-mux/unified_plugin_system_spec.md
  • plugins/babysitter-unified/README.template.md
  • per-harness plugin README files under plugins/babysitter-unified/per-harness/

Work mainly in:

  • packages/agent-plugins-mux
  • plugins/babysitter-unified
  • concrete bundles under plugins/babysitter-*

If You Need To Change Human Approval Or Breakpoint Routing

Read:

Work mainly in:

  • packages/breakpoints-mux
  • packages/sdk breakpoint integration
  • related hook and plugin surfaces if the transport changes

If You Need To Change UI Surfaces

Read:

  • packages/agent-mux/README.md
  • package README files under packages/agent-mux/*

Work mainly in:

  • packages/agent-mux/ui
  • packages/agent-mux/webui
  • packages/agent-mux/tui
  • packages/agent-mux/mobile-*
  • packages/agent-mux/tv-*
  • packages/agent-mux/watch-*
  • docs-site/ or packages/atlas/webui where relevant

Source-Of-Truth Map

Use this rule of thumb:

ConcernPrimary source of truthSupporting references
V6 architecture scopedocs/v6-spec-and-roadmap/package READMEs, adversarial analyses
Orchestration runtime behaviorpackages/sdk, packages/babysitter, packages/babysitter-agentV6 docs, CLI docs
Harness dispatch behaviorpackages/agent-mux/* and docs/agent-mux/V6 integration docs
Hook normalizationpackages/hooks-mux/*per-harness plugin docs
Unified plugin packagingpackages/agent-plugins-mux, plugins/babysitter-unified/install READMEs for concrete bundles
Breakpoint routingpackages/breakpoints-muxSDK integration docs

Practical Rules

  • Start from the package that already owns the behavior before proposing a new layer.
  • If a document describes a future package or layer, check whether V6 marks it as deferred.
  • Treat installable plugin bundles as real compatibility surfaces even when the unified plugin source exists.
  • Use package names and paths when discussing ownership; use architecture terms only when they map to a real current seam.
  • Treat validation commands as part of the architecture surface. If a seam has no repo path and no active validation cue, it is still design exploration.

Related Documents: Current State | Glossary | Unified Stack Architecture