Skip to content

[#92 Class E] vordr-mcp: malformed Idris2 ABI source (data declaration has no =) #111

@hyperpolymath

Description

@hyperpolymath

Problem

cartridges/vordr-mcp/abi/.../Safe*.idr does not parse via iseriser abi-emit-manifest:

Error: data declaration has no \`=\`

The Idris2 source has a data declaration without an = in a position the emitter expects (most likely a data Foo : Type decl missing the variant list, or similar shape mismatch).

This is the only cartridge in the boj-server full-tree survey (standards#92 comment 4496082335) whose Idris2 source itself doesn't parse — distinct from drift (Zig FFI mismatch) or verifier-parser limits.

Fix shape

Open cartridges/vordr-mcp/abi/.../Safe*.idr, inspect the offending data decl, and fix it to either:

  1. Add the missing variant list (data Foo = Bar | Baz | …), if the intent was a state machine
  2. Convert to a type alias / record / etc. if data was the wrong keyword

Cross-check against a sibling cartridge's Safe*.idr for the canonical shape.

Acceptance criteria

iseriser abi-emit-manifest --idris cartridges/vordr-mcp/abi/.../Safe*.idr --cartridge vordr-mcp …
# exit 0
iseriser abi-verify …
# exit 0 (clean), exit 2 (real drift), or one of the known classes (A/B/C)

Then vordr-mcp is unblocked for the standards#92 allowlist work.

Refs hyperpolymath/standards#92 (Phase 2 allowlist expansion).
Refs hyperpolymath/standards#89 (epic — sub-issue 3).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions