7b109d90de
Eleven-task TDD plan tracking the spec at docs/superpowers/specs/2026-05-13-rest-api-authz-fix-design.md (commit 8f285c75). Adds _ensure_admin helper, six admin-gated routes, inside-route guard on GET /memories, server/ pytest scaffold (SQLite + MagicMock), server-ci.yml workflow, and surgical docs edits. Each task follows red/green/commit TDD; every gate covers the four supported deployment modes (admin JWT, admin per-user key, ADMIN_API_KEY env, AUTH_DISABLED).
Mintlify Starter Kit
Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including
- Guide pages
- Navigation
- Customizations
- API Reference pages
- Use of popular components
Development
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of your documentation (where mint.json is)
mintlify dev
Publishing Changes
Install our Github App to auto propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
Troubleshooting
- Mintlify dev isn't running - Run
mintlify installit'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
mint.json