feat: Claude Code Monitor — lanes, pipelines and a merged workspace

Internal SmartGift build of a Claude Code monitoring dashboard.

Lanes: a durable unit of parallel agent work, one per working directory,
tracked across session restarts. Managed lanes are git worktrees the
dashboard provisions and can reset or remove behind a three-check destroy
guard and a counted preflight; adopted lanes are directories you already
own and are never destroyable.

Pipelines: a lane moves through pipeline stages. A stage the agent declares
with evidence renders green; a stage inferred from the tool-event stream
renders dashed amber and never counts as done. Detection is forward-only
within a 30-minute window, and never writes the declared stage.

Workspace: one page at /run with a lane grid, the selected lane's pipeline,
and a full Claude console behind a disclosure.
This commit is contained in:
2026-07-29 17:07:45 +07:00
commit 794b240156
781 changed files with 220598 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
# ─────────────────────────────────────────────────────────────────────────────
# Root module outputs Claude Code Agent Monitor
# ─────────────────────────────────────────────────────────────────────────────
output "application_url" {
description = "Public URL of the Claude Code Agent Monitor dashboard"
value = module.loadbalancer.application_url
}
output "loadbalancer_dns" {
description = "DNS name of the application load balancer"
value = module.loadbalancer.dns_name
}
output "vpc_id" {
description = "ID of the provisioned VPC / VNet / VCN"
value = module.networking.vpc_id
}
output "private_subnet_ids" {
description = "IDs of the private subnets hosting compute workloads"
value = module.networking.private_subnet_ids
}
output "public_subnet_ids" {
description = "IDs of the public subnets hosting the load balancer"
value = module.networking.public_subnet_ids
}
output "filesystem_id" {
description = "ID of the persistent file system for SQLite storage"
value = module.database.filesystem_id
}
output "blue_service_name" {
description = "Name of the blue deployment compute service"
value = module.compute_blue.service_name
}
output "green_service_name" {
description = "Name of the green deployment compute service"
value = module.compute_green.service_name
}
output "active_slot" {
description = "Currently active deployment slot"
value = var.active_deployment_slot
}
output "monitoring_dashboard_url" {
description = "URL of the monitoring dashboard (if enabled)"
value = var.enable_monitoring ? module.monitoring[0].dashboard_url : "monitoring disabled"
}