Reported automatically by a code-commandments agent.
|
|
| Prophet |
repent |
| Location |
(no file given) |
What's wrong
Running 'commandments repent' with no scope flag rewrote 67 files repo-wide on a focused refactor branch — including config files commandments.php and composer.json, and ~60 unrelated MCP tool files. A bare 'repent' should default to git/working-tree scope (like judge --git), never touch commandments.php/composer.json, and never sweep files outside the current changes. Had to stash the whole sweep to recover.
For the fixer
Decide whether this is a false positive (tighten/guard the prophet), a wrong rule (adjust the rule or its config), or correct-but-unclear (improve the message/scripture). Add a fixture from the flagged code above.
Reported automatically by a code-commandments agent.
repent(no file given)What's wrong
Running 'commandments repent' with no scope flag rewrote 67 files repo-wide on a focused refactor branch — including config files commandments.php and composer.json, and ~60 unrelated MCP tool files. A bare 'repent' should default to git/working-tree scope (like judge --git), never touch commandments.php/composer.json, and never sweep files outside the current changes. Had to stash the whole sweep to recover.
For the fixer
Decide whether this is a false positive (tighten/guard the prophet), a wrong rule (adjust the rule or its config), or correct-but-unclear (improve the message/scripture). Add a fixture from the flagged code above.