Operations Audit (new feature): - Add Operation domain model with status tracking (pending, running, completed, failed, cancelled) - Add OperationRepository with PostgreSQL implementation - Add OperationService for CRUD and lifecycle management - Add operations handlers (list, get, cancel endpoints) - Add migration 015_operations.sql for operations table - Add operation cleanup worker for stale operation handling - Add ErrOperationNotFound to domain errors Template Improvements: - Add CLAUDE.md configuration files to astro-landing, default, and go-api templates - Fix PORT template variable usage in nginx configs for app templates - Add replace directives for local pkg module in Go templates - Simplify Go service/worker Dockerfiles for workspace builds - Fix TypeScript error in logger template Other: - Refactor landing-test.sh cookbook script - Update CLAUDE.md version reference Note: Some files exceed 500-line limit (pre-existing debt + new feature) - component.go: 550 lines (unchanged, pre-existing) - main.go: 522 lines (added operations wiring) - operation_repo.go: 569 lines (new, needs splitting) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
816 B
816 B
{{PROJECT_NAME}}
Astro landing page deployed to {{DOMAIN}}.
Development
npm install
npm run dev
Visit http://localhost:4321 to see the site.
Build
npm run build
Output in dist/ - static HTML/CSS/JS.
Deployment
Pushes to main auto-deploy via Woodpecker CI:
- Install dependencies
- Build static site
- Build Docker image (nginx serving dist/)
- Push to registry
- Update K8s deployment
Live at: https://{{DOMAIN}}
Constraints
- Use Astro components, minimize client JS
- Optimize images (use Astro Image)
- Keep Lighthouse score > 90
- Tailwind for styling
File Structure
src/
pages/
index.astro # Main landing page
components/ # Reusable Astro components
layouts/ # Page layouts
public/ # Static assets