Skip to main content

Suggestion

One Suggestion. chip is the shared record in the exact JSON shape of one chat chip (api/internal/chat/CHIPS_CONTRACT.md): label, prompt, reason, evidenceRefs, operation, riskClass, sendMode, requiresApproval, allowed and deniedReason, evaluated for the caller. The console parses it with the same function as a chat chip.

type Suggestion {
id: String!
kind: String!
kindLabel: Map!
trigger: SuggestionTrigger!
journeyStep: String
cost: SuggestionCost!
plan: PlanRequirement
openedAt: Time
chip: Map!
}

Fields​

Suggestion.id ● String! non-null scalar​

Stable per rule and subject ("<rule>:<subject kind>:<subject id>"); what Dismiss keys on. A String, not an ID: it is not a UUID.

Suggestion.kind ● String! non-null scalar​

The rule id; what "Don't suggest this again" keys on.

Suggestion.kindLabel ● Map! non-null scalar​

How the console names the kind (chips namespace), as {key, params}.

Suggestion.trigger ● SuggestionTrigger! non-null enum​

Suggestion.journeyStep ● String scalar​

The Journey step it advances, or null.

Suggestion.cost ● SuggestionCost! non-null object​

Suggestion.plan ● PlanRequirement object​

What the subject workspace's plan lacks for the Suggestion's operation, or null when it includes it. The page hint then shows the requirement and the upgrade before the click (decision #3900 §5).

Suggestion.openedAt ● Time scalar​

When the anomaly episode an alert is about opened, as the dashboard's "While you were away" alerts show it (T-P6-FU-ALERT-OPENED-AT). Only alerts (ANOMALY trigger) carry it; null on every other Suggestion.

Suggestion.chip ● Map! non-null scalar​

Member Of​

AwayResult object ● PageSuggestions object