giip
SES Proposal
5 min read

Scheduler Agent Management Guide

Monitor the automation runners (gissue schedulers and similar background agents) registered per project (CSN): online/offline status, run status and history, and live logs โ€” all from one admin screen.

๐Ÿ• Go to Scheduler Agent Management โ†’

๐Ÿ“‹ Overview

Scheduler Agent Management shows every automation agent registered against the currently selected project (CSN) โ€” for example gissue's hourly scheduler and interactive Claude Code sessions. Unlike /admin/catquest (which visualizes giip issues as cats), this screen is an operations dashboard for the agents that run automation jobs: is each agent alive, is its current run healthy, and where can I read its logs.

๐ŸŽจ Status colors

Two independent status signals are shown per agent โ€” don't confuse them.

Identity status (small dot next to the agent name)

Reflects whether the agent process itself is reachable (tSchedulerAgent.status), independent of any single run.

ColorStatusMeaning
๐ŸŸข GreenonlineAgent is reachable and reporting in
๐Ÿ”ด RederrorAgent reported an error state
โšช Gray (slate-400)offlineAgent is not currently reachable
โšช Light gray (slate-300)unknownNo status reported yet

Run status (badge in the Status column)

Reflects the most recent scheduler run (currentStatus), plus a stale detector.

ColorLabel shownConditionMeaning
๐ŸŸข GreenRUNNINGcurrentStatus = RUNNING and not staleCurrently executing normally
๐Ÿ”ด RedSTALEcurrentStatus = RUNNING and isStale = trueMarked running but heartbeat has gone quiet too long โ€” looks like a hung/zombie run
๐ŸŸ  OrangeSTALEcurrentStatus = STALE (explicit)Backend flagged the run itself as stale
โšช GrayENDEDcurrentStatus = ENDEDFinished (success or a controlled stop)
โšช Gray(raw value)anything else / no run yetUnknown / no data

In the Run History modal (see below), a completed run can also show FAILED in red โ€” a run that ended with an error, distinct from an ENDED (clean finish) or a stale/timed-out run.

๐Ÿ” Screen layout

1. Header

  • Back arrow (โ†) to /admin/catquest.
  • Refresh: reloads the agent list for the current CSN.

2. Open Interactive Sessions

A separate card (only shown when at least one exists) listing active claude_interactive_session agents โ€” i.e. interactive Claude Code sessions currently registered as running on a host. Each row shows the session name, host, last-communication time, and an "Open session" link when a session URL was registered in the agent's capabilities.

3. Agent list (table)

One row per scheduler agent, with:

  • Name โ€” identity-status dot, agent name, OS/agent-type/version badges, lssn (linked server), a truncated capabilities summary, and the last recorded error (if any).
  • Host โ€” hostIdentifier.
  • Windows Task โ€” the Windows Task Scheduler task name that runs this agent, if applicable.
  • Project โ€” project name.
  • Active โ€” ON/OFF badge (isActive).
  • Last Comm โ€” last heartbeat/communication timestamp.
  • Status โ€” the run-status badge described above, plus the current phase text if one is reported.

A stats footer totals Processed / Skipped / Failed counts across all listed agents.

4. Run History

Below the table, a "View History" card lists every agent again; clicking History on a row opens a modal listing that agent's recent runs โ€” execution mode, status (including FAILED), start/end time, duration, processed/skipped/failed counts, phase, and a summary.

5. Live Log Viewer

A two-pane live tailing view:

  • Left (agent โ†’ stream tree): agents are grouped, each expandable to its known log streams (a stream is identified by streamKey, has a streamType, and a rotation generation number). An agent shows online/offline based on how recently it last communicated.
  • Right (log stream card): once you pick a stream, its recent log lines are shown and refreshed for live tailing.

๐Ÿ’ก Notes

  • This is an admin screen. Access requires AdminGuard clearance (uLevel โ‰ฅ 70).
  • The agent list, run history, and log catalog are all scoped to the session's current CSN โ€” switch project from the top navigation to inspect a different project's agents.
  • Loading data requires an authenticated session (AK token); if requests start failing with an auth error, log in again and press Refresh.
  • This page is a distinct tool from /admin/catquest โ€” reaching it via the CatQuest screen's navigation does not mean it shares CatQuest's cat-visualization data or audience.

Troubleshooting

SymptomCauseResolution
"Authentication required" errorNo AK/session token foundLog in again, then reload the page.
Agent list is emptyNo scheduler agents registered for this CSN, or wrong project selectedConfirm the correct project (CSN) is selected in the top navigation.
A row shows STALE in red while you know the job is idleThe agent stopped sending heartbeats mid-run (isStale = true) without transitioning to ENDED โ€” likely a crashed/killed processCheck the agent host directly; once it restarts and reports again, the badge updates.
Live Log Viewer shows "No streams yet."The agent hasn't registered any log streams yet, or hasn't produced output since the catalog last refreshedWait for the agent's next run, or confirm the agent process is actually writing logs.
"Open session" link missing under Open Interactive SessionsNo sessionUrl was included in that agent's registered capabilitiesNothing to open โ€” the interactive session didn't register a reachable URL.

Version: 1.0 Last updated: 2026-08-29 Source file: giipv3/public/help/catquest-schedulers.en.md