TECH-DEBT-CONTROLLER

TECH-DEBT-CONTROLLER is an agent for coding agents from camilooscargbaptista/architect. It costs 0 tokens per session (1,333 once invoked), scanned A, original, MIT.

A tool for tracking technical debt, meaning code problems that make future changes harder or slower.

In plain words
What is it for?
Use it to review anti-patterns, rank tightly connected files for refactoring, and track pending improvements to test coverage.
Why use it?
It shows where refactoring is still needed, including files with many dependencies and modules with missing test coverage.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/camilooscargbaptista/architect/tech-debt-controller
Clone the repo
git clone --depth 1 https://github.com/camilooscargbaptista/architect

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for TECH-DEBT-CONTROLLER

README.md
[![agentmods](https://agentmods.dev/badge/agents/camilooscargbaptista/architect/tech-debt-controller.svg)](https://agentmods.dev/agents/camilooscargbaptista/architect/tech-debt-controller)
Your own site
<a href="https://agentmods.dev/agents/camilooscargbaptista/architect/tech-debt-controller"><img src="https://agentmods.dev/badge/agents/camilooscargbaptista/architect/tech-debt-controller.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01333
Opus 5 $0.00000 $0.00666
Sonnet 5 $0.00000 $0.00267
Haiku 4.5 $0.00000 $0.00133

Measured 3d ago against content hash f8813ecc522a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

TECH-DEBT-CONTROLLER scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/agents/TECH-DEBT-CONTROLLER.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

📊 TECH DEBT CONTROLLER

🟡 Projeto Médio (50-200 arquivos)

Controle de débito técnico para @girardelli/architect

Estado Atual

Métrica Valor
Score 94/100
Meta 100/100
Anti-patterns 0
Refatorações pendentes 14
Estimativa de Melhora +0 pontos

Anti-Patterns Detectados (Agrupados por Severidade)

✅ Nenhum anti-pattern detectado.

Hotspots de Acoplamento (Tech Debt)

Arquivos com alta complexidade de acoplamento — priorizar refatoração:

  • src/core/types.js — Alto acoplamento detectado
  • src/core/agent-generator/types.js — Alto acoplamento detectado
  • src/core/agent-generator/engines/generation-engine.ts — Alto acoplamento detectado
  • tests/template-generation.test.ts — Alto acoplamento detectado
  • scripts/decompose-detectors.ts — Alto acoplamento detectado
  • src/adapters/html-reporter.ts — Alto acoplamento detectado
  • src/core/architect.ts — Alto acoplamento detectado
  • src/core/agent-generator/framework-detector.ts — Alto acoplamento detectado
  • scripts/decompose-enrichers.ts — Alto acoplamento detectado
  • src/types.js — Alto acoplamento detectado

Débito em Cobertura de Teste

9 módulos sem testes adequados detectados.

📋 Lista canônica e gates de cobertura: ver QUALITY-GATES.md

Plano de ação:

  1. Priorizar módulos com mais dependências
  2. Seguir workflow TDD para cada módulo
  3. Meta: reduzir lista a zero em 3 sprints

Roadmap de Refatoração

Prioridade por impacto:

  1. Split hub file: types.jssrc/core/types.js has 47 incoming connections. Split into 11 focused modules to reduce coupling.

    • Tier: Crítico
    • Prioridade: CRITICAL
  2. Split hub file: types.jssrc/core/agent-generator/types.js has 46 incoming connections. Split into 8 focused modules to reduce coupling.

    • Tier: Crítico
    • Prioridade: CRITICAL
  3. Split hub file: utils.jssrc/adapters/html-reporter/utils.js has 9 incoming connections. Split into 2 focused modules to reduce coupling.

    • Tier: Crítico
    • Prioridade: CRITICAL

Read the full file on GitHub · 155 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 155 lines · 0 tokens per session scan A f8813ecc522a

Subscribe to this mod's changes

TECH-DEBT-CONTROLLER is an agent published in the GitHub repository camilooscargbaptista/architect (55 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,333 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.