Canonical Agent Contract

Deploy To Mullmania

Use this page when a human says “deploy to Mullmania” and you need the deployment contract without back-and-forth. The goal is a static site at <site>.mullmania.com using the existing Mullmania publishing pipeline, not a custom one-off.

Hosted Bucket s3://mullmania.com/<site>/
Data Bucket s3://mullmania.com-data/<site>/data/
Catalog s3://mullmania.com-data/_catalog/
Workspace /Users/mist83/Code/mullmania

Default Meaning

If a user says “deploy to Mullmania,” interpret that as:

Canonical Scripts

The workspace that owns this flow is /Users/mist83/Code/mullmania.

Cold-Agent Behavior

  1. If the repo already has mullmania.site.json, use it as the deploy source of truth.
  2. Deploy with:
node /Users/mist83/Code/mullmania/scripts/publish-site.js apply --config /path/to/repo/mullmania.site.json
  1. If the repo does not have mullmania.site.json, look for one obvious publish directory such as dist, build, out, public, or wwwroot.
  2. If the publish directory is obvious, bootstrap with:
cd /Users/mist83/Code/mullmania
npm run bootstrap-site -- --repo /path/to/repo --site my-site --publish-dir dist
  1. Then deploy with publish-site.

Naming And Guardrails

Ask Only If It Matters

Ask a human only if one of these is true:

Framework Sites

If the site is core to the framework or regression-sensitive, update the framework registry and sync it.

cd /Users/mist83/Code/mullmania
npm run sync-framework-catalog