Skip to content

Blueprint MCP: daisyui_quality_inspector returns schema-invalid output when rerun with renderedReview (finalization path broken) #4736

Closed

Description

@mingfang

Environment

  • daisyUI Blueprint MCP server v1.6.1 (per _meta.serverVersion)
  • Client: opencode CLI
  • Flow: daisyui_setup_expert → daisyui_rules_enforcer → daisyui_component_syntax_expert → edit → daisyui_quality_inspector

Repro (deterministic, 2/2)

  1. Call daisyui_quality_inspector with auditIntent: "fix_changes". First call succeeds: returns status: "manual_review" with manualChecks[] and _meta.finalizationAllowed: false.
  2. Perform the rendered checks, then rerun the tool with the same workflowId/files and renderedReview: { status: "completed", observations: [...] } — one observation per manualChecks[].sourceId, exactly as instructed.
  3. The response fails the tool's own output schema:
MCP error -32602: Structured content does not match the tool's output schema:
data must have required property 'action', data must have required property 'auditIntent',
data must have required property 'editPolicy', data must have required property 'files',
data must have required property 'summary', data must have required property '_meta',
data must have required property 'nextStep', data must NOT have additional properties,
data/status must be equal to one of the allowed values

Expected

A valid finalized result (e.g. action: "finalize", _meta.finalizationAllowed: true) or a valid manual_review result. The first call's response validates fine; only the completed-rendered-review path returns a payload that violates the tool's declared output schema.

Impact

The documented workflow rule says not to finish until _meta.finalizationAllowed is true — but the finalization response itself is schema-invalid, so the gate can never be satisfied. The agent is stuck between "must finalize via Inspector" and "Inspector errors out".

Workaround

Treat the audit as complete after the successful automated pass plus documented manual checks. Retrying does not help (identical error both times).

Activity

  1. github-actions commented on Sep 7, 2026

    @github-actions

    Thank you @mingfang for reporting issues. It helps daisyUI a lot 💚
    I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
    In the meantime providing more details and reproduction links would be helpful.

  2. saadeghi commented on Sep 7, 2026

    @saadeghi
    Owner

    @mingfang Thanks for reporting. Fixed in daisyui-blueprint@1.6.3.
    Version 1.6.3 is published to NPM but apparently NPM is having server issues right now, there might be a delay for the new version to be available.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions