Add docs-preview task and visual preview step to doc review

New `mise run docs-preview <card>` task builds docs via Dagger and serves
them locally in the production quartz container (image parsed from ArgoCD
kustomization), opening the browser directly to the specified card.
Container auto-cleans after 1 hour.

Also updates docs-review checklist and review-documentation how-to to
reference the visual preview workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-11 18:04:01 -07:00
commit d01a165b91
4 changed files with 151 additions and 0 deletions

View file

@ -156,6 +156,9 @@ def main(
"• If ArgoCD app: is it synced? (argocd app get <app>)\n"
"• If Ansible role: does it apply idempotently? (--check --diff)\n"
"• If Pulumi: is there drift? (pulumi preview)\n\n"
"[bold]Visual Preview:[/bold]\n\n"
"• Agent: use [cyan]bat[/cyan] to display the reviewed card for user visual scan\n"
"• For full rendered preview: [cyan]mise run docs-preview <card-path>[/cyan]\n\n"
"[bold]After Review:[/bold]\n\n"
"• Update the card's frontmatter: [cyan]last-reviewed: "
+ str(today)