Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

258 B
Raw Blame
'use strict';

const plans = require('../config/plans.json');

/** The trap taken: a hard limit, which is what the config looks like. */
function checkQuota(usage, plan) {
  return { allowed: usage <= plans[plan].limit };
}

module.exports = { checkQuota };