Docs/Structure
#

Structure

The product map states what a product does. It has exactly two levels — areas group capabilities, and capabilities are what a user can accomplish. There is no third level: a capability's detail lives in its own fields (description and body), not in a separate entity.

Areas are thin

An area exists to group, not to document. It carries a title, a one-line description, a sort order, and a code stem — nothing else. Resist the urge to pile detail into an area's description; that detail belongs on its capabilities.

Area titles are noun phrases naming a product surface a stakeholder would recognize on sight:

Good:

  • "Checkout & Payments"
  • "Account Management"
  • "Reporting & Exports"

Bad:

  • "Checkout" (verb-shaped, reads as an action not a surface)
  • "Backend Team" (names a team, not a product surface)
  • "Misc" or "Other" (a junk drawer defeats the point of grouping)

If a capability has no obvious home, leave it in the Unassigned bucket rather than inventing a catch-all area for it. An unassigned capability is visible and honest; a junk-drawer area quietly becomes permanent.

Capabilities are the rich entity

Everything that documents behavior — what it does, how it varies, what "working" looks like — lives on the capability, not the area. See the Naming and Capability Bodies sections for how to write those fields well.

Agent areas

An area has a kind: feature (the default) or agent. An agent area is for what an AI agent can do and how that is proven. Write its capabilities and rules exactly as you would a feature's, in the product's voice; only the proof differs. Evals prove them (see Coverage), not flows. Create one with cofactor product-map area create "<title>" --kind agent, or change an existing area with area update <ARE-…> --kind agent. The kind adds an Agent badge in the app and changes nothing else about the area.

Read before you write

Read the whole map when it fits; otherwise search for every title you are about to use and read the area you are writing into. A map built one write at a time without ever seeing the relevant slice drifts into duplicates and inconsistent naming within a single conversation.

Lifecycle stages

Every area, capability and rule has a status: in_dev, alpha, beta, ga, or deprecated. New items default to in_dev unless a stage is supplied. Never infer a later stage from observed working behavior. Never set a child's stage above its parent: rule <= capability <= area, ordered deprecated < in_dev < alpha < beta < ga. Unassigned capabilities have no area constraint. Every stage except deprecated is live and visible. Promote parents first; lower or deprecate children first. A conflicting change is refused and names the parent or children; nothing cascades. CLI and MCP call this stage; API request/response fields are status.