Diagnosis and assistants

Diagnosis sessions, assistant plans, assistants and voice tasks.

A diagnosis session lists likely causes with their sources and the tests that confirm or rule them out. It must reach the confidence bar before it is marked ready to quote.

An assistant drafts a plan (an agent proposal). Each step is previewed, the records it read are checked again before the step runs, and nothing runs until a person confirms it. Assistants lists each assistant, what it may do, the AI provider, and a pause. Voice tasks queue calls an assistant should make, such as calling a supplier, and the result is logged with logVoiceCall.

Pages

PageRouteWhat it shows
Diagnosis/dashboard/platform/diagnosisLikely causes with their sources, tests, and the confidence bar before a quote.
Assistant plans/dashboard/platform/proposalsPlans assistants made, previewed and waiting for a person to confirm each step.
Assistants/dashboard/platform/agentsAssistants, what each may do, the AI provider and pausing.

Lifecycles

ListStatuses
DiagnosisSessionopen, testing, quote_ready, inconclusive, closed
DiagnosisHypothesisactive, confirmed, ruled_out
AgentProposaldrafted, previewed, confirmed, executing, executed, rejected, stale, failed
AgentIdentityactive, paused, retired
AgentToolGrantactive, revoked
VoiceTaskqueued, calling, completed, failed, cancelled

Commands

Named mutations for this area. Each checks permissions on the server, takes an idempotency key and writes an audit event.

createAssistant, grantAssistantScope, revokeAssistantScope, pauseAssistant, retireAssistant, saveAiProvider, removeAiProvider, askAssistant, draftAgentProposal, suggestEstimate, confirmAgentProposal, rejectAgentProposal, startDiagnosisSession, addDiagnosisHypothesis, recordDiagnosisTest, markDiagnosisQuoteReady, markDiagnosisInconclusive, closeDiagnosisSession, queueVoiceTask, logVoiceCall.

On this page