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:
@@ -0,0 +1,53 @@
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# GCP provider outputs
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
output "application_url" {
|
||||
description = "Public URL of the Claude Code Agent Monitor dashboard"
|
||||
value = var.domain_name != "" ? "https://${var.domain_name}" : "http://${google_compute_global_forwarding_rule.http.ip_address}"
|
||||
}
|
||||
|
||||
output "load_balancer_ip" {
|
||||
description = "External IP address of the load balancer"
|
||||
value = google_compute_global_forwarding_rule.http.ip_address
|
||||
}
|
||||
|
||||
output "blue_service_url" {
|
||||
description = "URL of the blue Cloud Run service"
|
||||
value = google_cloud_run_v2_service.blue.uri
|
||||
}
|
||||
|
||||
output "green_service_url" {
|
||||
description = "URL of the green Cloud Run service"
|
||||
value = google_cloud_run_v2_service.green.uri
|
||||
}
|
||||
|
||||
output "vpc_id" {
|
||||
description = "Self-link of the VPC network"
|
||||
value = google_compute_network.main.self_link
|
||||
}
|
||||
|
||||
output "filestore_ip" {
|
||||
description = "IP address of the Filestore instance"
|
||||
value = google_filestore_instance.main.networks[0].ip_addresses[0]
|
||||
}
|
||||
|
||||
output "filestore_share" {
|
||||
description = "Filestore share name"
|
||||
value = google_filestore_instance.main.file_shares[0].name
|
||||
}
|
||||
|
||||
output "monitoring_dashboard_url" {
|
||||
description = "Cloud Monitoring dashboard URL"
|
||||
value = var.enable_monitoring ? "https://console.cloud.google.com/monitoring/dashboards?project=${var.gcp_project_id}" : "monitoring disabled"
|
||||
}
|
||||
|
||||
output "project_id" {
|
||||
description = "GCP project ID"
|
||||
value = var.gcp_project_id
|
||||
}
|
||||
|
||||
output "region" {
|
||||
description = "GCP region"
|
||||
value = var.region
|
||||
}
|
||||
Reference in New Issue
Block a user