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.

275 B
Raw Blame
'use strict';

const THRESHOLD_CENTS = 10000;

function discount(totalCents) {
  return totalCents > THRESHOLD_CENTS ? Math.round(totalCents * 0.15) : 0;
}

function payable(totalCents) {
  return totalCents - discount(totalCents);
}

module.exports = { discount, payable };