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

# Projects

> Projects are the unit of source, configuration, composition, and deployment in P2HS.

A P2HS project groups the source and operational state needed to build an application: workspace ownership, source/import state, composition, environment configuration, codegen runs, revisions, previews, deployments, and domains.

## Project boundaries

Project reads and mutations are workspace-scoped. A project ID alone is not a substitute for an ownership check. Integrations, secrets, and environment values are likewise scoped to the project and its allowed targets.

## Project lifecycle

```text theme={null}
intake → discovery/adoption → configured → build → revision → preview → deployment
```

Not every project takes every path. For example, an imported project may begin with discovery, while a new AI project may begin with a prompt session.


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