Skip to content

[Bug]: Gateway header comments show stale operation counts #35

@kryptobaseddev

Description

@kryptobaseddev

What happened?

The JSDoc header comments in query.ts and mutate.ts show outdated operation counts after the providers domain was added:

  • query.ts line 8: says 'Total operations: 63' but actual EXPECTED_QUERY_COUNT is 66 (providers added 3 query ops: list, detect, inject_status)
  • mutate.ts line 8: says 'Total operations: 60' but actual EXPECTED_MUTATE_COUNT is 61 (providers added 1 mutate op: inject)

The runtime EXPECTED_*_COUNT constants are correct (66/61) and match the actual counts, so this is purely a cosmetic documentation issue in the JSDoc headers. No functional impact.

Files: mcp-server/src/gateways/query.ts:8, mcp-server/src/gateways/mutate.ts:8

Are you using an AI agent?

Yes - AI agent filed this issue


Environment

Component Version
CLEO 0.95.4
Bash 5.3.0(1)-release
jq jq-1.8.1
OS Linux 6.18.8-200.fc43.x86_64 x86_64
Shell bash
gh CLI gh version 2.86.0 (2026-01-21)
Install /home/keatonhoskins/.local/bin/cleo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage and prioritization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions