rdev/internal/handlers
jordan c280a92012 feat: add operations audit system and template improvements
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>
2026-02-01 19:08:57 -07:00
..
agents_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
agents.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
audit_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
audit.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
builds_test.go fix: Sync build audit with work queue when stale tasks are requeued 2026-01-31 02:07:52 -07:00
builds_ws.go chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
builds.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
claude_config_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
claude_config.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
components_test.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
components.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
create_and_build.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
credentials_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
credentials.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
domain_service_adapter.go feat: Add multi-domain support with auto-generated slugs for landing page cookbook 2026-01-28 12:55:59 -07:00
health_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
health.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
infrastructure_deploy.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
infrastructure_domain_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
infrastructure_domains_test.go feat: Add multi-domain support with auto-generated slugs for landing page cookbook 2026-01-28 12:55:59 -07:00
infrastructure_domains.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
infrastructure_mocks_test.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
infrastructure_pipelines_test.go release: v0.10.27 - fix: woodpecker step YAML multi-line command syntax 2026-02-01 12:42:18 -07:00
infrastructure_pipelines.go release: v0.10.27 - fix: woodpecker step YAML multi-line command syntax 2026-02-01 12:42:18 -07:00
infrastructure_test.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
infrastructure.go release: v0.10.27 - fix: woodpecker step YAML multi-line command syntax 2026-02-01 12:42:18 -07:00
keys_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
keys.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
operations.go feat: add operations audit system and template improvements 2026-02-01 19:08:57 -07:00
project_management_test.go feat: add per-component deploy steps and component templates endpoint 2026-01-31 22:31:41 -07:00
project_management.go feat: add per-component deploy steps and component templates endpoint 2026-01-31 22:31:41 -07:00
projects_bench_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
projects_commands_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
projects_commands.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
projects_stream_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
projects_stream.go feat: Add multi-provider code agent interface with Claude Code and OpenCode adapters 2026-01-27 09:25:51 -07:00
projects_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
projects.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
queue_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
queue.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
timeouts.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
webhooks_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
webhooks.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
woodpecker_webhook_test.go feat: Add infrastructure adapters for threesix.ai 2026-01-25 22:49:58 -07:00
woodpecker_webhook.go feat: add operations audit system and template improvements 2026-02-01 19:08:57 -07:00
work_lifecycle_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
work_test.go fix: Sync build audit with work queue when stale tasks are requeued 2026-01-31 02:07:52 -07:00
work.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
workers_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
workers.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00