> For the complete documentation index, see [llms.txt](https://faction-os.gitbook.io/faction-os-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faction-os.gitbook.io/faction-os-docs/public-website/docs/archive-docs_public-website/readme_public-website.md).

# Public Website

`public-website/` is the static Astro website for `https://faction-os.com/`. It is the commercial and product front door for FactionOS, separate from:

* the synthetic demo at `https://demo.faction-os.com/`
* the public GitBook docs at `https://faction-os.gitbook.io/faction-os-docs`
* the runtime web cockpit in `apps/web`

The standalone documentation set lives in [`docs_public-website/README_docs_public-website.md`](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/README_docs_public-website.md). Those docs are written so public-website maintenance does not depend on `.spec_system`.

## Current Status

* Package: `@factionos/public-website`
* Version: `0.0.28`
* Runtime baseline: Node.js `26.2.0` or newer
* Site mode: static Astro output
* Deploy target: Cloudflare Pages from `public-website/dist`
* Build evidence: 31 static routes and 26 optimized images in the 2026-06-02 launch handoff
* Live deploy status: no-claim until an authorized Cloudflare deploy and HTTPS homepage smoke pass
* Legal/privacy status: pre-review until owner/legal approval is recorded

## Commands

Run from the repository root:

```bash
npm --workspace @factionos/public-website run dev
npm --workspace @factionos/public-website run typecheck
npm --workspace @factionos/public-website run build
npm --workspace @factionos/public-website run check:links
```

`check:links` expects a fresh `public-website/dist`, so run `build` first.

## Docs

Start here:

* [Architecture](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/architecture.md)
* [Development](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/development.md)
* [Routes And IA](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/routes-and-information-architecture.md)
* [Content Authoring](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/content-authoring.md)
* [SEO And Metadata](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/seo-and-metadata.md)
* [Media Assets](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/media-assets.md)
* [Security And Privacy](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/security-privacy-and-claim-boundaries.md)
* [Deployment](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/deployment.md)
* [Launch Readiness](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/launch-readiness.md)
* [Documentation Audit](https://github.com/AI-with-Apex-VIP/factionos/tree/main/public-website/docs/archive-docs_public-website/docs_public-website/documentation-audit.md)

## Source Of Truth

* `src/data/site.ts`: route contract, external destinations, metadata defaults, contact targets, and copy guardrails.
* `src/data/navigation.ts`: header, footer, mobile, and external navigation.
* `src/data/*.ts`: page content data.
* `src/content.config.ts`: blog/news schemas.
* `src/lib/content.ts`: draft filtering, sorting, related posts, RSS mapping.
* `src/lib/media.ts`: media registry, provenance, alt text, status, and performance defaults.
* `scripts/check-public-website-links.mjs`: built-site checker.
* `.github/workflows/public-website-deploy.yml`: Cloudflare Pages workflow.

Keep this README concise; put durable operating details in `docs_public-website/`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://faction-os.gitbook.io/faction-os-docs/public-website/docs/archive-docs_public-website/readme_public-website.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
