Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/core / / ProactiveReviewOutcome

Interface: ProactiveReviewOutcome

Defined in: packages/core/src/types/proactive.ts:124

The task proposes an action and parks until the user approves or rejects it - same resolve plumbing as question, different intent: nothing has happened yet.

Stable

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
firedAtreadonlystringISO-8601 instant of the fire that produced this outcome.ProactiveOutcomeBase.firedAtpackages/core/src/types/proactive.ts:85
kindreadonly"review"--packages/core/src/types/proactive.ts:125
options?readonlyreadonly ProactiveOutcomeOption[]--packages/core/src/types/proactive.ts:127
refreadonlystring--packages/core/src/types/proactive.ts:126
runId?readonlystringAgent run id behind the outcome, when a run happened.ProactiveOutcomeBase.runIdpackages/core/src/types/proactive.ts:93
sessionId?readonlystringSession the run executed in, when a run happened.ProactiveOutcomeBase.sessionIdpackages/core/src/types/proactive.ts:95
taskIdreadonlystringId of the proactive task (heartbeat id, cron task id) that fired.ProactiveOutcomeBase.taskIdpackages/core/src/types/proactive.ts:83
textreadonlystringThe outbound text: the notification body, the question / review context, or the act report. Outbound sanitization happens at the delivery boundary, not here.ProactiveOutcomeBase.textpackages/core/src/types/proactive.ts:91