Skip to content

[#92 Class C] comms-mcp: missing GmailResource + CalendarResource enums in Zig FFI #151

@hyperpolymath

Description

@hyperpolymath

Problem

cartridges/comms-mcp/abi/CommsMcp/SafeComms.idr declares two enums that cartridges/comms-mcp/ffi/comms_ffi.zig does not implement:

[enum-missing-in-zig] manifest declares enum \`GmailResource\` but the Zig FFI has no \`pub const GmailResource = enum(c_int)\` declaration
[enum-missing-in-zig] manifest declares enum \`CalendarResource\` but the Zig FFI has no \`pub const CalendarResource = enum(c_int)\` declaration

Same shape as boj-server#102 (007-mcp ToolRisk).

Fix shape (in boj-server)

Add the two enum declarations to comms_ffi.zig, mirroring SafeComms.idr. Wire transition switches if declared.

Acceptance criteria

iseriser abi-verify returns exit 0 on comms-mcp. Add to boj-server#110 allowlist.

Parent #92.
Refs #89.

🤖 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