> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spineworkspace.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sales Architecture: Domain Projection and Contracts

> How the Sales domain is architected as a Spine projection, including its domain contract and references to context, agent, and integration architectures.

The Sales domain is not a separate application. It is a projection of Spine Fabric, assembled on demand from unified entities, events, and evidence. Its architecture follows the Spine domain projection model: a contract defines the schema, views, agents, capabilities, and workflows; Spine assembles the runtime state from source connectors.

## Domain Contract

```yaml theme={null}
domain: sales
purpose: pipeline management and customer acquisition
personas:
  - ae
  - sdr
  - sales_manager
  - revops
entities:
  - Lead
  - Account
  - Opportunity
  - Contact
  - Activity
  - Deal
  - Quote
  - Forecast
views:
  - My Pipeline
  - Forecast
  - Deal Reviews
  - Active Prospects
  - Won/Lost Analysis
agents:
  - Twin
  - Quote Agent
  - Forecast Agent
  - Competitive Agent
  - Prospecting Agent
  - Handoff Agent
capabilities:
  - crm.opportunity.read
  - crm.opportunity.stage_update
  - crm.quote.create
  - workflow.forecast_submit
  - workflow.handoff_to_cs
integrations:
  - salesforce
  - hubspot
  - outreach
  - gong
  - linkedin
  - gmail
  - slack
events:
  - lead.created
  - opportunity.created
  - stage.changed
  - quote.sent
  - deal.closed_won
  - deal.closed_lost
```

## Projection Architecture

Spine Fabric ingests from connected sources, normalizes to the domain contract, and projects views scoped to the requesting user. The projection layer is stateless. It queries the unified graph at request time, so views are always current.

## Context, Agent, and Capability Architectures

* **Context Architecture:** Defines how deal graphs are assembled from entities, events, and evidence.
* **Agent Architecture:** Defines how Twin and domain agents observe, reason, delegate, and act.
* **Capability Architecture:** Defines how governed actions are authorized, executed, and receipted.
* **Workflow Architecture:** Defines how multi-step processes orchestrate capabilities across users and agents.
* **Integration Architecture:** Defines how connectors map source-system schemas to Spine entities.
* **Event Architecture:** Defines how domain events are emitted, routed, and consumed.

## Related

* [Sales Overview](/internal-docs/domains/sales/index)
* [Spine Fabric](/platform/spine-fabric)
* [Spine Agent Network](/agents/spine-agent-network)
* [Platform Capabilities](/platform/capabilities)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.