CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

Automated crawl hook + staging/production + all critical fixes #4005

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/fix-all-blockersmainopened Mar 26, 2026
ccantynzcommented Mar 26, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/48co.v1/pull/32


Summary

Fixes all critical blockers from the full audit + sets up automated error prevention.

Automated Error Crawl (the "smoking gun agent")

  • Stop hook: Automatically crawls after every Claude session — checks broken imports, missing files, manifest errors
  • SessionStart hook: Reminds Claude to scan before building
  • These run automatically via .claude/settings.json — no more manual audits

Staging/Production Split (blue-green deployment)

  • deploy-api.yml: Staging auto-deploys, production requires manual approval
  • deploy-website.yml: Website auto-deploys on push
  • Customers NEVER see broken code

Critical Fixes

  • API server exits with FATAL error if CLAUDE_API_KEY not set (was failing silently)
  • Dockerfile for containerized API deployment
  • CLAUDE.md updated with deployment protocol and crawl rules

https://claude.ai/code/session_01PBeNmPHrD2W6A2YKZRC7V3

ccantynzcommented Mar 26, 2026

Originally written by @vercel[bot] on GitHub.


The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
48co-ai-pa Ready Ready Preview, Comment Mar 26, 2026 7:12pm

Request Review

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts