Guides
Fail stale documentation context in pull requests with Doc Bridge gates and the Marketplace Action.
View raw Markdown · llms.txt · For agents
Gate and CI
Gates keep incomplete or stale documentation context from reaching coding agents.
Local gate
ak-docs index
ak-docs gate run
ak-docs doctor --text
ak-docs doctor --badgeTypical failures:
| Symptom | Fix |
|---|---|
| Stale index | ak-docs index, review + commit generated files |
| Missing ownership | Add config ownership, frontmatter, or monorepo plugin |
| Documentation Standard gaps | Follow doctor remediations / evidence paths |
Pull request workflow
name: Documentation gate
on: [pull_request]
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: AgentsKit-io/doc-bridge@v1.2.1
with:
config-path: doc-bridge.config.jsonThe composite Action verifies the committed index and configured gates — it does not silently rebuild and hide drift.
If the Action fails:
- Run
ak-docs indexlocally - Review the diff under
.doc-bridge//llms.txt - Commit intentional updates
- Re-run the PR check
What to commit
Commit generated index artifacts your repo treats as source-of-truth (common: .doc-bridge/index.json, root llms.txt). Keep CI fail-closed when those drift from the docs corpus.
Related
The AgentsKit ecosystem