internal/web/templates/convoy.html
🎩The Mayor {{if .Mayor}} {{if .Mayor.IsAttached}} Attached {{else}} Detached {{end}} {{else}} Unknown {{end}} {{if .Mayor}}{{if .Mayor.IsAttached}}
Activity {{.Mayor.LastActivity}}
Runtime{{.Mayor.Runtime}}
{{end}}{{end}} {{if .Summary}}
{{if .Health}} {{if .Health.HeartbeatFresh}}✓{{else}}⚠{{end}}💓 {{.Health.DeaconHeartbeat}} {{end}} {{.Summary.PolecatCount}}🦨 Polecats
{{.Summary.HookCount}}🪝 Hooks
{{.Summary.IssueCount}}📋 Work
{{.Summary.ConvoyCount}}🚚 Convoys
{{.Summary.EscalationCount}}⚠️ Escalations
{{if .Summary.HasAlerts}} {{if .Summary.StuckPolecats}} 💀 {{.Summary.StuckPolecats}} stuck {{end}} {{if .Summary.StaleHooks}} ⏰ {{.Summary.StaleHooks}} stale hooks {{end}} {{if .Summary.UnackedEscalations}} 🔔 {{.Summary.UnackedEscalations}} unacked {{end}} {{if .Summary.HighPriorityIssues}} 🔥 {{.Summary.HighPriorityIssues}} P1/P2 {{end}} {{if .Summary.DeadSessions}} ☠️ {{.Summary.DeadSessions}} dead {{end}} {{else}} ✓ All clear {{end}} {{end}}
{{len .Convoys}}+ New Convoy▼Expand
{{if .Convoys}}
| Status | Convoy | Progress | Work | Activity |
|---|---|---|---|---|
| {{range .Convoys}} | ▶ {{if eq .WorkStatus "complete"}} ✓ Done {{else if eq .WorkStatus "active"}} Active {{else if eq .WorkStatus "stale"}} Stale {{else if eq .WorkStatus "stuck"}} Stuck {{else}} Waiting {{end}} | {{.ID}} {{if .Title}} | ||
| {{.Title}} | ||||
| {{end}} {{if .Assignees}} | ||||
| {{range .Assignees}}{{.}}{{end}} | ||||
| {{end}} | ||||
| {{.Progress}} {{if .Total}}{{.ProgressPct}}%{{end}} | ||||
| {{if .Total}} |
{{end}} | {{if .Total}} {{if .ReadyBeads}}{{.ReadyBeads}} ready{{end}} {{if .InProgress}}{{.InProgress}} active{{end}} {{if eq .WorkStatus "complete"}}all done{{end}} {{end}} | {{.LastActivity.FormattedAge}} | {{end}} {{else}}
No active convoys
{{end}}
← Back
AddCancel
Loading issues...
| Status | ID | Title | Assignee | Progress |
|---|
No issues in this convoy
← BackNew Convoy
Name
Issue IDs (space-separated)
CancelCreate Convoy
0▼Expand
Loading crew...
| Name | Rig | State | Hook | Activity | Session | Actions |
|---|
No crew configured
{{len .Workers}}▼Expand
{{if .Workers}}
| Worker | Type | Rig | Working On | Status | Activity |
|---|---|---|---|---|---|
| {{range .Workers}} | {{.Name}} | {{if eq .AgentType "refinery"}}refinery{{else}}polecat{{end}} | {{.Rig}} | {{if .IssueID}} {{.IssueID}}{{.IssueTitle}} {{else}} — {{end}} | {{if eq .WorkStatus "working"}} Working {{else if eq .WorkStatus "stale"}} Stale {{else if eq .WorkStatus "stuck"}} Stuck {{else}} Idle {{end}} |
| {{end}} | |||||
| {{else}} |
No polecats
{{end}}
{{len .Sessions}}▼Expand
{{if .Sessions}}
| Role | Rig | Worker | Activity |
|---|---|---|---|
| {{range .Sessions}} | {{.Role}} | {{.Rig}} | {{.Worker}} |
| {{end}} | |||
| {{else}} |
No active sessions
{{end}}
← Back
Loading...
{{len .Activity}}▼Expand {{if .Activity}}
Category:AllAgentWorkCommsSystem
Rig:All rigs
Agent:All agents
{{end}} {{if .Activity}} {{range .Activity}}
{{.Time}}
{{.Icon}}{{.Summary}}
{{if .Actor}}{{.Actor}}{{end}} {{if .Rig}}{{.Rig}}{{end}} {{.Type}}
{{end}}
No events match current filters
{{else}}
No recent activity
{{end}}
{{len .Mail}} InboxAll Traffic ✎▼Expand
Loading inbox...
No mail in inbox
{{if .Mail}}
| From | To | Subject | Time |
|---|---|---|---|
| {{range .Mail}} | {{.From}} | {{.To}} | {{if eq .Priority "urgent"}}⚡{{end}} {{if eq .Priority "high"}}!{{end}} {{.Subject}} |
| {{end}} | |||
| {{else}} |
No mail traffic
{{end}}
← Back
From:
↩ Reply
← BackNew Message
To:
Subject:
Message:
SendCancel
{{len .MergeQueue}}▼Expand
{{if .MergeQueue}}
| PR | Repo | Title | CI | Merge |
|---|---|---|---|---|
| {{range .MergeQueue}} | #{{.Number}} | {{.Repo}} | {{.Title}} | {{if eq .CIStatus "pass"}}CI Pass {{else if eq .CIStatus "fail"}}CI Fail {{else}}CI Running{{end}} |
| {{end}} | ||||
| {{else}} |
No PRs in queue
{{end}}
← BackOpen in GitHub ↗
{{len .Escalations}}▼Expand
{{if .Escalations}}
| Severity | Issue | From | Age | Actions |
|---|---|---|---|---|
| {{range .Escalations}} | {{if eq .Severity "critical"}}CRIT {{else if eq .Severity "high"}}HIGH {{else if eq .Severity "medium"}}MED {{else}}LOW{{end}} | {{.Title}} {{if .Acked}}ACK{{end}} | {{.EscalatedBy}} | {{.Age}} |
| {{end}} | ||||
| {{else}} |
No escalations
{{end}}
{{len .Rigs}}▼Expand
{{if .Rigs}}
| Name | Polecats | Crew | Agents |
|---|---|---|---|
| {{range .Rigs}} | {{.Name}} | {{.PolecatCount}} | {{.CrewCount}} |
| {{end}} | |||
| {{else}} |
No rigs configured
{{end}}
{{len .Dogs}}▼Expand
{{if .Dogs}}
| Name | State | Work | Activity |
|---|---|---|---|
| {{range .Dogs}} | {{.Name}} | {{if eq .State "idle"}}Idle {{else}}Working{{end}} | {{.Work}} |
| {{end}} | |||
| {{else}} |
No dogs in kennel
{{end}}
{{if .Queues}}
{{len .Queues}}▼Expand
| Queue | Status | Avail | Proc | Done | Fail |
|---|---|---|---|---|---|
| {{range .Queues}} | {{.Name}} | {{if eq .Status "active"}}Active {{else if eq .Status "paused"}}Paused {{else}}Closed{{end}} | {{.Available}} | {{.Processing}} | {{.Completed}} |
| {{end}} |
{{end}}
{{len .Issues}}+ New▼Expand
ReadyIn ProgressAll
{{if .Issues}}
| Pri | ID | Title | Status | Age | Actions |
|---|---|---|---|---|---|
| {{range .Issues}} | {{if eq .Priority 1}}P1 {{else if eq .Priority 2}}P2 {{else if eq .Priority 3}}P3 {{else}}P4{{end}} | {{.ID}} | {{.Title}} | {{if .Assignee}}{{.Assignee}}{{else}}Ready{{end}} | {{.Age}} |
| {{end}} | |||||
| {{else}} |
No work items
{{end}}
← Back
{{len .Hooks}}+ Attach {{if .Hooks}}Clear All{{end}} ▼Expand
AttachCancel
{{if .Hooks}}
| Bead | Title | Agent | Hooked | |
|---|---|---|---|---|
| {{range .Hooks}} | {{.ID}} | {{.Title}} | {{.Agent}} | {{if .IsStale}} {{.Age}} {{else}} {{.Age}} {{end}} |
| {{end}} | ||||
| {{else}} |
No hooked work
{{end}}
↑↓ navigate↵ executeesc close
✕
Title *
Priority🔴 P1 - Critical🟠 P2 - High (default)🟡 P3 - Medium⚪ P4 - Low
Description (optional)
CancelCreate Issue
📋 Command Output CopyClose