Skip to content

[prophet-report] repent: Running 'commandments repent' with no scope flag rewrote 67 files repo-wide o… #196

Description

@jessegall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions