Prompt file imported from oliversl1vka/Kingdom (
.github/prompts/kingdom-status.prompt.md). Copyright stays with the author.
Workflow
Generate a clean status report for the current KingdomOS state.
Step 1: Gather Core Health
- Read
kingdom.config.json. - Run
node packages/cli/dist/index.js doctor --jsonfirst. - Use direct DB queries against
kingdom/kingdom.dbto fill any missing detail.
Step 2: Report The Current State
Include all of the following when available:
- objective title and status
- task breakdown by status
- job breakdown by status
- active file locks with owning job IDs
- running or streaming jobs with tier, title, and timing
- stuck tasks in
awaiting-healer,awaiting-redesign, orstalled - total token usage and tier breakdown if available
- recent failures with failure type and task title
- diff success rate, with a flag when failure rate is high
- file contention risk, especially the same files appearing in multiple active jobs
Step 3: Operational Interpretation
End with a one-line verdict:
HEALTHYNEEDS ATTENTIONCRITICAL
State the primary reason.
Step 4: Patience Rule
If Squire jobs are merely slow but still progressing or heartbeating, do not classify the run as critical just because completion is taking time.