Aurora homepage preview, May 2026. Click through for the current site.
I’m Kris Krüg, a photographer in Vancouver. This is my personal site, where photographs, writing, and talks from a few decades on the web share a WordPress install. Two good places to poke around:
- Aurora, the WordPress theme. Start here for the templates and styles behind the site.
- The Notion to WordPress publisher. Follow a draft from Notion blocks to Gutenberg. The README walks through previewing a post before publishing it.
The live install runs on Pagely. For work in this repo, start with the contributor instructions, the current site notes, and the two-track operating model. The November 11 maintenance report records an earlier verification and branch recovery pass.
This repository is used for:
- Site audits + state snapshots of the live kriskrug.co WordPress install (see
docs/current-state/) - Content pipeline — Notion → kriskrug.co publisher with safety guards (see
scripts/notion-to-wp/) - Custom WordPress code — schema markup, theme tweaks, helper plugins (see
fixes/,inc/, andplugins/) - Aurora theme work — canonical theme source is tracked on
main, with lane-scoped feature branches for bounded changes; verify any historical evidence branch still exists before relying on it - Issue tracking + project management for fixes, content, and theme work
content/drafts/ # Notion-derived post drafts before publication
└── YYYY-MM-DD-<slug>/ # post.md, post.html, images/, seo-meta.md, etc.
content/source-packs/ # Curated source packs for page/content overhauls
└── keynotes-2026/ # Speaking/Work/About payloads and source notes for issue #76
backup/ # Manifests and page-level rollback snapshots; archives are ignored
└── YYYYMMDD-HHMMSS/ # Small REST/HTML snapshots used for targeted rollback
scripts/ # Repository automation and validation
├── batch_create_issues.py # Validated JSON/CSV issue creation with dry-run
├── validate_wordpress.sh # PHP CodeSniffer + WordPress standards gate
└── notion-to-wp/ # Notion → kriskrug.co publisher
├── kk_notion_to_wp.py # Single-file CLI: fetch, convert, upload, publish
├── block_rules.py # Notion block → Gutenberg block mapping
└── README.md # Setup + safety notes
fixes/ # Production-ready code snippets / migrations
├── schema-snippets.php # JSON-LD (Person + WebSite + Article + Breadcrumb + Service)
├── schema-snippets-deployed.php # The version actually running on prod
├── llms.txt # Deployment-ready curated llms.txt for AI search
├── llms-txt-template.md # Deployment and rollback guide for llms.txt
├── robots-txt-update.txt # Two AI-crawler stance options
└── issue-*.{css,php,md} # Older queued fixes from earlier batches
plugins/
└── kk-sidebar-promos/ # Packaged helper plugin for auto-expiring sidebar promos
docs/current-state/ # Dated truth snapshots plus recovery/redesign handoffs
├── README.md # Index of the snapshot
├── CURRENT-STATE-*.md # Dated snapshots; Makefile names the drift baseline
├── ROADMAP-2026-11-12.md # Current priorities and acceptance gates
├── WORK-PLAN-*.md # Dated runbooks; read their status before acting
├── MASTER-PLAN-2026-07-30.md # Historical hygiene plan
├── TWO-TRACK-MODEL.md # The active operating model
├── ACCESS_CHANNELS.md # MCP / REST / browser / SFTP — verified vs unverified channels
├── BACKUP_PLAN.md # The four pieces of a real WP backup + paths to get them
├── ROLLBACK_PLAYBOOK.md # If a change breaks prod, here's the order of operations
├── INCIDENT-2026-05-15-overwritten-post.md # Postmortem for the connector overwrite
├── reports/ # Timestamped morning-truth reports
├── archive/ # Superseded May–June audits (SITE_INVENTORY, REPO_STATE, SEO_AUDIT, CONTENT_AUDIT, FIX_QUEUE, ROADMAP, FULL-AUDIT-ROADMAP-2026-05-18)
└── raw/ # Underlying API/HTML evidence behind the audit
issues-to-create/ # Historical issue payloads and a few contingent stubs (new issues go straight to GitHub)
inc/ # Custom WordPress modules (e.g., digital-composting CPT)
.github/ # PR validation plus parked historical agent-swarm definitions
- Reading the site state:
docs/current-state/README.md - Planning next work:
docs/current-state/README.mdand the November 12 roadmap. DatedWORK-PLAN-*.mdfiles are retained procedures or history; read their status banner first - Current startup truth:
make status-readonlyprints current repo/site signals without writing a file - Local generated report:
make morning-truthwrites to the gitignored.generated/current-state/directory - Durable checkpoint:
make morning-truth-checkpointwrites todocs/current-state/reports/only for an explicit release, incident, durable decision, or handoff - Backlog: the open GitHub issue list.
docs/current-state/archive/ROADMAP.mdandarchive/FIX_QUEUE.mdare archived evidence, not guidance - Publishing a Notion post:
scripts/notion-to-wp/README.md - Reviewing staged drafts:
content/drafts/README.md - Filing an issue:
issues-to-create/is historical (write new issues directly on GitHub); existing ones at WalksWithASwagger/kriskrug-wp/issues
Two parallel lanes. Keep one lane per commit — don't mix unrelated theme/content changes in the same commit.
Notion → kriskrug.co publishing, post-publish enrichment, schema maintenance, alt-text batches, category sweeps, GSC + sitemap health.
- Publish a post:
scripts/notion-to-wp/README.md - Enrichment + link-graph helper:
scripts/notion-to-wp/text_polish.py - Active backlog: open GitHub issues
- Historical audit evidence:
FIX_QUEUE.mdandSITE-AUDIT-2026-05-16.md; neither is an execution queue - Deployed schema:
fixes/schema-snippets-deployed.php
FSE theme rebuild and polish. Touches theme/kk-aurora/, FSE templates, theme.json. Avoid bundling theme edits with content publishing changes in the same commit.
- Current branch model: start Track B work from
mainon a lane-scopedcodex/...branch. The oldaurora/v2andaurora/v3-reconcileremotes are gone (REPO-HYGIENE-AUDIT-2026-07-12.md). Do not fetch or treat them as pullable evidence unless a dated handoff names a commit that is still reachable another way. - Worktree safety: run
git worktree listbefore editing. Treat every listed side worktree as owned until its branch, PR, and filesystem state are verified; do not rely on hard-coded paths from historical handoffs. - Archived migration plan (historical, retired Cloudways and
aurora/v2steps; do not follow):docs/current-state/archive/AURORA-MIGRATION-PLAN.md
If you're editing a post, page, schema, redirect, or category → Track A. If you're editing theme files or FSE templates → Track B. Use the two-track model for the decision rule and the current-state index plus a fresh make status-readonly run for current branch/layout truth.
There is no local app server. The live WordPress site runs on Pagely and is not file-synced with this repo. "Running" this repo means the CLI and validation surfaces:
make helplists the supported commands and their options.make doctorchecks the runtime.make status-readonlychecks the site and queue; usemake morning-truthonly when a local generated copy is usefulmake testfor the local test suite (Python, JavaScript syntax, plugin and theme smoke). CI runs these as separate jobs with their own triggers; see What CI runsmake ruff-changed BASE_REF=origin/mainfor the E4/E7/E9/F Ruff baseline on Python files changed by the current branch; the existing repo-wide backlog is not part of this ratchetmake validatefor the WordPress PHP security ruleset (runcomposer installfirst)make verifyfor the standard local gate (test + docs-truth-check + validate)- The Notion publisher CLI in
scripts/notion-to-wp/
The full Python gate needs the packages in requirements-test.txt at the repo root:
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements-test.txt
make python-test PYTHON=pythonStart at AGENTS.md, then read docs/current-state/README.md.
- Browse open issues
- Read
CONTRIBUTING.md - Use issue templates when filing new issues
- Run
composer installonce, thenmake verifybefore submitting code changes
An older issue-to-PR pipeline (orchestrator → analyzer → test-writer → implementer → QA → reviewer → PR creator) produced PRs #71 and #72 in May 2026 and is not used by current sessions. agent-pr-generator.yml was deleted 2026-08-23. On 2026-11-12 (#1220, KK's ruling) the swarm's agent definitions (.github/agents/), state records (.github/agent-state/), config (.github/agent-config/) and the two manually disabled workflows, Auto-Triage Issues and Marquee Weekly Scan, were deleted; git history keeps them. test-pr.yml and backlog-reconcile.yml remain the active repo workflows. See docs/current-state/AGENT-RUNTIME-REFERENCE.md. Historical swarm write-ups live in docs/architecture.md and docs/automation-guide.md.
- Platform: WordPress on Pagely with the Aurora
kk-auroratheme; runmake status-readonlyfor current production versions - Content pipeline: Python (Notion API → WordPress REST API)
- Custom code: PHP snippets (Code Snippets plugin on prod),
inc/digital-composting.php, and packaged helper plugins such asplugins/kk-sidebar-promos/ - CLI Tools: GitHub CLI (
gh), Claude Code / Cursor agents - Languages: PHP, JavaScript, Python, Bash
- CI runtimes: PHP 8.2, Python 3.12 and Node 24. See the contributor guide for the browser-test requirements and the Aurora stylesheet for the theme’s minimum PHP version.
bug- Something isn't workingenhancement- New feature or improvementaccessibility- WCAG compliance and a11y improvementsperformance- Speed and optimizationseo- Search engine optimizationcontent- Content updates and UXdocumentation- Documentation improvementsauto-implement- Historical automation-intent label; does not currently start the parked Agent PR Generatorneeds-human-review- Requires manual review
- Live Site: kriskrug.co
- Events: Luma Calendar
- GitHub: WalksWithASwagger/kriskrug-wp
- Issues: github.com/WalksWithASwagger/kriskrug-wp/issues
For questions about this repository or Kris Krug:
- Create an issue in this repository
- Visit kriskrug.co for general inquiries
Licensing is mixed on purpose:
- The repo's own tooling, scripts, and docs are declared
proprietaryincomposer.json. This is Kris's personal operations tooling, not a redistributable package. - The Aurora theme (
theme/kk-aurora/) is GPL-2.0-or-later, as declared in itsstyle.css. WordPress themes are GPL derivatives, so the theme carries the GPL even though the surrounding repo does not. - WordPress core and third-party plugins/themes keep their own licenses.
