Repository navigation
docs: add feedback budgets and the code comment ban - #1
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
testing.md: a Mandatory Feedback budget (Git hook 30 s, Relevant tier 2 min, CI gate 10 min), measured in CI. At 80% abudgetissue 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.feedback-budget,no-comments,no-dead-code,no-duplicate-code.cleanupissue 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.0goes on the merge commit after this merges.