Markdown source of truth for the Praetorian Guard help center. Changes merged to main are automatically synced to Featurebase.
docs/
├── attack-surfaces/ # Attack surface documentation
├── capabilities/ # Security capability descriptions
├── enterprise-security/ # Compliance, data security, tenancy
├── integrations/ # Third-party integration guides
│ ├── cloud/
│ ├── firewalls/
│ └── ...
└── platform-documentation/ # Getting started, notifications, etc.
├── getting-started/
├── notifications/
└── ...
Each markdown file has YAML frontmatter:
---
title: "Article Title"
description: "Short description"
featurebaseId: "12345" # Added automatically after first sync — don't set manually
draft: true # Optional — marks article as draft in Featurebase
---
Your markdown content here.Articles with draft: true in frontmatter are synced to Featurebase but kept unpublished. To publish a draft:
- Remove the
draft: trueline (or set tofalse) - Open a PR
- After merge, the sync Action publishes the article in Featurebase
- Create a
.mdfile in the appropriatedocs/subdirectory - Add
titleanddescriptionfrontmatter (do not addfeaturebaseId) - Open a PR
- After merge, the sync Action creates the article in Featurebase and opens a writeback PR with the new
featurebaseId
- Edit the
.mdfile - Open a PR
- After merge, the sync Action updates the article in Featurebase
- Delete the
.mdfile - Open a PR
- After merge, the sync Action archives the article in Featurebase (does not hard-delete)
The top-level folder under docs/ determines the Featurebase help center category:
| Folder | Featurebase Category |
|---|---|
attack-surfaces/ |
Attack Surfaces |
capabilities/ |
Capabilities |
enterprise-security/ |
Enterprise Security |
integrations/ |
Integrations |
platform-documentation/ |
Platform Documentation |
Images are referenced in markdown and stored in the images/ directory (mirrors docs/ structure). The image upload pipeline is coming soon — for now, use Featurebase-hosted URLs.
npm install # Install dependencies
npm run sync -- --files docs/path/to.md # Sync specific file
npm run sync:full # Sync all docsRequires FEATUREBASE_API_KEY environment variable.
| Secret | Purpose |
|---|---|
FEATUREBASE_API_KEY |
Sync docs to Featurebase help center |
ANTHROPIC_API_KEY |
Claude Code CLI for proactive doc generation from Chariot PRs |
GITHUB_TOKEN |
Auto-provided; needs chariot read access |
- On merge to main: Changed docs are automatically synced to Featurebase
- Manual full sync: Trigger via GitHub Actions → "Sync Docs to Featurebase" → Run workflow → check "full-sync"