prdddDocsOpen viewer ↗

Trace response

The viewer receives this response from /api/trace. Run prd status --json to print it locally.

FieldTypeRequiredDefaultDescription
baseBranchstringyes——
featurestringyes——
judgmentsarray of objectyes——
judgments[].historyobjectno——
judgments[].history.candidatesarray of objectyes——
judgments[].history.candidates[].modelstringyes——
judgments[].history.candidates[].reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
judgments[].history.candidates[].harnessstringyes——
judgments[].history.candidates[].tasksintegeryes——
judgments[].history.candidates[].costPerVerifiednumber or nullyes——
judgments[].history.candidates[].firstPassnumberyes——
judgments[].history.candidates[].leftOutintegeryes——
judgments[].history.constraintsarray of stringyes——
judgments[].history.selectedHarnessstringno——
judgments[].history.exploredbooleanyes——
judgments[].explanationstringno——
judgments[].recommendationobjectno——
judgments[].recommendation.modelstringyes——
judgments[].recommendation.modelIdstringyes——
judgments[].recommendation.reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
judgments[].recommendation.source"judge" or "history" or "planner"yes——
judgments[].recommendation.appliedbooleanyes——
judgments[].recommendation.evidencearray of stringyes——
judgments[].recommendation.policystringyes——
judgments[].recommendation.uncertaintiesarray of stringyes——
judgments[].recommendation.alternativeobject or nullyes——
judgments[].recommendation.alternative (variant 1).modelstringyes——
judgments[].recommendation.alternative (variant 1).reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
judgments[].action"none" or "split" or "routed"yes——
judgments[].answerobjectyes——
judgments[].answer (variant 1).confidencenumberno——
judgments[].answer (variant 1).labelstringyes——
judgments[].answer (variant 1).probabilitiesmap of numberyes——
judgments[].answer (variant 2).probabilitynumberyes——
judgments[].answer (variant 3).descriptionstringyes——
judgments[].answer (variant 3).unanswered"Refused" or "Missing" or "Invalid"yes——
judgments[].atstringyes——
judgments[].inputHashstringyes——
judgments[].messagestringyes——
judgments[].question"size" or "faithful" or "inScope" or "buildable" or "matches" or "category" or "model" or "reasoning" or "built" or "complete" or "ordered" or "oneFeature" or "separable" or "risk" or "complexity" or "history"yes——
judgments[].roundintegeryes——
judgments[].targetobjectyes——
judgments[].target (variant 1).idstringyes——
judgments[].target (variant 1).kind"section"yes——
judgments[].target (variant 2).idstringyes——
judgments[].target (variant 2).kind"task"yes——
judgments[].target (variant 3).kind"draft"yes——
judgments[].target (variant 3).titlestringyes——
judgments[].target (variant 4).idstringyes——
judgments[].target (variant 4).kind"prd"yes——
judgments[].target (variant 5).kind"stack"yes——
judgments[].target (variant 6).kind"file"yes——
judgments[].target (variant 6).pathstringyes——
judgments[].verdict"pass" or "flag" or "unsure"yes——
judgments[].stalebooleanyes——
notesarray of objectno[]—
notes[].anchorstringyes——
notes[].atstringyes——
notes[].authorstringyes——
notes[].bodystringyes——
notes[].idstringyes——
notes[].kind"note" or "review"yes——
notes[].labelobject or nullyes——
notes[].label (variant 1).label"question" or "blocker" or "bug" or "breaks_spec" or "nit"yes——
notes[].label (variant 1).probabilitynumberyes——
notes[].resolvedAtstring or nullyes——
notes[].sessionstring or nullyes——
notes[].status"open" or "resolved"yes——
notes[].taskstring or nullyes——
prdobjectyes——
prd.itemsarray of objectno[]—
prd.items[].humanbooleanyes——
prd.items[].idstringyes——
prd.items[].lineintegeryes——
prd.items[].parentstringyes——
prd.items[].sectionstringyes——
prd.items[].textstringyes——
prd.markdownstringyes——
prd.pathstringyes——
prd.sectionsarray of objectyes——
prd.sections[].humanbooleanyes——
prd.sections[].idstringyes——
prd.sections[].keysobjectyes——
prd.sections[].keys.contextarray of stringyes——
prd.sections[].keys.defersarray of stringyes——
prd.sections[].keys.dependsOnarray of stringyes——
prd.sections[].keys.filesarray of stringyes——
prd.sections[].keys.implementsarray of stringyes——
prd.sections[].levelintegeryes——
prd.sections[].lineintegeryes——
prd.sections[].parentstring or nullyes——
prd.sections[].summarystring or nullnonull—
prd.sections[].titlestringyes——
prd.statementsarray of objectno[]—
prd.statements[].draftbooleanyes——
prd.statements[].humanbooleanyes——
prd.statements[].idstringyes——
prd.statements[].lineintegeryes——
prd.statements[].ownerstringyes——
prd.statements[].provedByarray of stringyes——
prd.statements[].textstringyes——
sectionsarray of objectyes——
sections[].idstringyes——
sections[].status"deferred" or "context" or "unmapped" or "blocked_on_human" or "failed" or "running" or "landed" or "done" or "pending" or "in_progress"yes——
specobjectyes——
spec.itemsarray of objectno[]—
spec.items[].humanbooleanyes——
spec.items[].idstringyes——
spec.items[].lineintegeryes——
spec.items[].parentstringyes——
spec.items[].sectionstringyes——
spec.items[].textstringyes——
spec.markdownstringyes——
spec.pathstringyes——
spec.sectionsarray of objectyes——
spec.sections[].humanbooleanyes——
spec.sections[].idstringyes——
spec.sections[].keysobjectyes——
spec.sections[].keys.contextarray of stringyes——
spec.sections[].keys.defersarray of stringyes——
spec.sections[].keys.dependsOnarray of stringyes——
spec.sections[].keys.filesarray of stringyes——
spec.sections[].keys.implementsarray of stringyes——
spec.sections[].levelintegeryes——
spec.sections[].lineintegeryes——
spec.sections[].parentstring or nullyes——
spec.sections[].summarystring or nullnonull—
spec.sections[].titlestringyes——
spec.statementsarray of objectno[]—
spec.statements[].draftbooleanyes——
spec.statements[].humanbooleanyes——
spec.statements[].idstringyes——
spec.statements[].lineintegeryes——
spec.statements[].ownerstringyes——
spec.statements[].provedByarray of stringyes——
spec.statements[].textstringyes——
tasksarray of objectyes——
tasks[].branchstringyes——
tasks[].categorystringno——
tasks[].commitsarray of objectyes——
tasks[].commits[].filesarray of stringyes——
tasks[].commits[].parentsarray of stringyes——
tasks[].commits[].sectionsarray of stringyes——
tasks[].commits[].sessionstring or nullyes——
tasks[].commits[].shastringyes——
tasks[].commits[].subjectstringyes——
tasks[].dependsOnarray of stringyes——
tasks[].filesarray of stringyes—The files the task creates or changes.
tasks[].humanGateobjectyes——
tasks[].humanGate.reasonsarray of "tag:human" or stringyes——
tasks[].humanGate.requiredbooleanyes——
tasks[].idstringyes——
tasks[].modelstringyes——
tasks[].orderedAfterarray of objectno[]—
tasks[].orderedAfter[].reasonstringyes——
tasks[].orderedAfter[].taskstringyes——
tasks[].parentstring or nullyes——
tasks[].prdSectionsarray of stringyes——
tasks[].reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
tasks[].sessionsarray of stringyes——
tasks[].specSectionsarray of stringyes——
tasks[].status"pending" or "running" or "blocked_on_human" or "failed" or "done" or "landed"yes——
tasks[].titlestringyes—A short imperative title, unique among the tasks in this plan.
tasks[].worktreestring or nullyes——
tasks[].attemptsarray of objectno——
tasks[].attempts[].taskstringyes——
tasks[].attempts[].nintegeryes——
tasks[].attempts[].sessionstring or nullyes——
tasks[].attempts[].kind"first" or "retry" or "escalation" or "repair"yes——
tasks[].attempts[].modelstringyes——
tasks[].attempts[].modelIdstring or nullyes——
tasks[].attempts[].reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
tasks[].attempts[].harnessobject or nullyes——
tasks[].attempts[].harness (variant 1).namestringyes——
tasks[].attempts[].harness (variant 1).versionstringyes——
tasks[].attempts[].startedAtstringyes——
tasks[].attempts[].endedAtstring or nullyes——
tasks[].attempts[].usageobjectyes——
tasks[].attempts[].usage.inputinteger or nullyes——
tasks[].attempts[].usage.cachedInputinteger or nullyes——
tasks[].attempts[].usage.cacheWriteinteger or nullyes——
tasks[].attempts[].usage.outputinteger or nullyes——
tasks[].attempts[].usage.reasoninginteger or nullyes——
tasks[].attempts[].costnumber or nullyes——
tasks[].attempts[].costSource"reported" or "priced" or "unknown"yes——
tasks[].attempts[].route"subscription" or "api" or "gateway" or "unified" or nullyes——
tasks[].attempts[].outcome"verified" or "failed" or "open"yes——
tasks[].attempts[].failure"checks" or "agent" or "infra" or "upstream" or nullyes——
tasks[].usageEventsarray of objectno——
tasks[].usageEvents[].kind"usage"yes——
tasks[].usageEvents[].tsstringyes——
tasks[].usageEvents[].taskIdstringyes——
tasks[].usageEvents[].v1no1—
tasks[].usageEvents[].sessionstringyes——
tasks[].usageEvents[].purpose"review" or "conflict"yes——
tasks[].usageEvents[].modelstringyes——
tasks[].usageEvents[].reasoning"low" or "medium" or "high" or "xhigh" or "max"yes——
tasks[].usageEvents[].harnessobjectyes——
tasks[].usageEvents[].harness.namestringyes——
tasks[].usageEvents[].harness.versionstringyes——
tasks[].usageEvents[].usageobjectyes——
tasks[].usageEvents[].usage.inputinteger or nullyes——
tasks[].usageEvents[].usage.cachedInputinteger or nullyes——
tasks[].usageEvents[].usage.cacheWriteinteger or nullyes——
tasks[].usageEvents[].usage.outputinteger or nullyes——
tasks[].usageEvents[].usage.reasoninginteger or nullyes——
tasks[].usageEvents[].costnumber or nullyes——
tasks[].usageEvents[].route"subscription" or "api" or "gateway" or "unified"yes——
tasks[].terminalbooleanno——
tasks[].eventsarray of objectyes——
tasks[].events[].kind"status"no——
tasks[].events[].sessionstringno——
tasks[].events[].harnessobjectno——
tasks[].events[].harness.namestringyes——
tasks[].events[].harness.versionstringyes——
tasks[].events[].attempt"first" or "retry" or "escalation" or "repair"no——
tasks[].events[].usageobjectno——
tasks[].events[].usage.inputinteger or nullyes——
tasks[].events[].usage.cachedInputinteger or nullyes——
tasks[].events[].usage.cacheWriteinteger or nullyes——
tasks[].events[].usage.outputinteger or nullyes——
tasks[].events[].usage.reasoninginteger or nullyes——
tasks[].events[].costnumber or nullno——
tasks[].events[].route"subscription" or "api" or "gateway" or "unified"no——
tasks[].events[].failure"checks" or "agent" or "infra" or "upstream"no——
tasks[].events[].actor"orchestrator" or stringno"orchestrator"—
tasks[].events[].detailstringno——
tasks[].events[].modelstringno——
tasks[].events[].modelIdstringno——
tasks[].events[].reasoning"low" or "medium" or "high" or "xhigh" or "max"no——
tasks[].events[].status"pending" or "running" or "blocked_on_human" or "failed" or "done" or "landed"yes——
tasks[].events[].taskIdstringyes——
tasks[].events[].tsstringyes——
tasks[].events[].v1no1—
tasks[].gateobjectyes——
tasks[].gate.reasonsarray of "tag:human" or stringyes——
tasks[].gate.requiredbooleanyes——
tasks[].statementsarray of stringno[]—
tasks[].waitingbooleanyes——
tasks[].canStartbooleannofalse—
tasks[].waitsOnarray of stringno[]—
tasks[].waitedOnByarray of stringno[]—
version1yes——
warningsarray of objectyes——
warnings[].kind"past-limit" or "illegal-transition" or "interrupted-operation" or "non-human-approval" or "unknown-task" or "missing-trailers" or "landed-without-approval" or "missing-session"yes——
warnings[].messagestringyes——
warnings[].shastring or nullyes——
warnings[].taskIdstring or nullyes——