Skip to content

docs: add feedback budgets and the code comment ban - #1

Merged
avidianity merged 1 commit into
mainfrom
feedback-budget-and-no-comments
Nov 16, 2026
Merged

avidianity merged 1 commit into
mainfrom
feedback-budget-and-no-comments

Conversation

@avidianity

Copy link
Copy Markdown
Owner

Why

In a bootstrapped Project, hooks, tests, and CI get slower as the code grows, until agents and humans wait minutes for each answer or skip the checks.
Code comments repeat facts that already have a home, and no check keeps them true.

What changes

  • New glossary terms: Feedback loop and Feedback budget.
  • testing.md: a Mandatory Feedback budget (Git hook 30 s, Relevant tier 2 min, CI gate 10 min), measured in CI. At 80% a budget issue opens; over 100% the loop fails. Six Default techniques to stay inside the budget.
  • engineering.md: a Mandatory ban on code comments, with a home for each kind of fact and a narrow allow-list of lines that tools read.
  • New check specs: feedback-budget, no-comments, no-dead-code, no-duplicate-code.
  • Budget numbers, the comment allow-list, and duplicate thresholds are Tier 3.
  • Bootstrap opens one cleanup issue per module for old comments, dead code, and duplicates, and treats a loop that is already over budget as an Owner conflict.

Release

Tag v0.2.0 goes on the merge commit after this merges.

Feedback loops get time budgets that CI measures, so checks stay fast as code grows.
New check specs stop comments, dead code, and duplicate code from piling up.
@avidianity
avidianity merged commit 3286ac5 into main Nov 16, 2026
1 check passed
@avidianity
avidianity deleted the feedback-budget-and-no-comments branch November 16, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant