Skip to content

Inbound response returns pre-execution decision fields #12

Description

@royalpinto007

Problem

The API replies status: decision.status / actionTaken: decision.actionTaken, but execution may flip status to escalated and actionTaken is always null: tickets stored as escalated are reported resolved with actionTaken: null.

Where

app/api/inbound/route.ts (response built from pre-execution decision) + lib/policy.ts.

Acceptance

Add a failing test first posting a resolvable ticket whose execution fails, asserting response status === "escalated". Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions