TroubleshootingMIT · agent-agnostic
Support
Troubleshooting
Verify the product works, diagnose common CLI and deploy issues, and mirror CI locally before you open a GitHub issue.
Verify the product works
Run these from a clone of the DZINE repository before reporting issues:
Full local CI mirror
./scripts/ci-local.shCorpus validation only
python3 skills/dzine/scripts/validate_dzine.py --root .CLI health check
npx dzine-skill doctorQuick smoke test (your project)
cdinto your app directory (not necessarily the DZINE repo).- Run
npx dzine-skill run "<brief>" --write-build-pack - Confirm
./build-pack/contract/design-contract.jsonexists in that directory - Run
npx dzine-skill lint build-pack/contract/design-contract.json
Common issues
| Symptom | Likely cause | Fix |
|---|---|---|
| doctor shows old Python | System Python below 3.10 | Install Python 3.10+ and ensure python3 points to it |
| No build-pack in cwd | Ran from wrong directory | cd to your project root; pack writes to cwd/build-pack/ |
| lint fails on weak contract | Brief too vague | Add audience, proof, primary action, and product type |
| score cannot reach URL | Dev server not running | Start your app (site uses port 3003 by default) |
| validate_dzine.py fails on site | Docs copy drifted from markers | Restore required strings listed in validate_dzine.py |
| MCP tools return hints only | By design for file workflow | Use CLI for render/score; MCP returns command hints |
| npx dzine-skill not found | Package not on npm yet | Use npx dzine-skill from a repo clone — see /docs/install |
Default ports
| Service | Port | Command |
|---|---|---|
| DZINE marketing site | 3003 | cd site && npm run dev |
| Preview gallery | 3002 | python3 -m http.server 3002 --directory preview-gallery |
CI failures
GitHub Actions runs the same checks as ci-local.sh:
- 20 golden brief compile regressions
- 2 intentional weak-contract lint failures
- DesignContract E2E smoke (CLI paths + API)
- Site lint, typecheck, and static build
See Deploy for shipping the docs site. For agent-specific issues, see Agent handoff.