Move loop-claude's help out of loop/main.py and wrap it at 100 columns #431

Merged
lilleman merged 6 commits from item-155 into main 2026-11-08 20:24:11 +01:00
Owner

Ships items 155 and 184.

  • loop/main.py drops from 218 to 96 lines. Its 124-line --help docstring moves, word for word, to loop/usage.py as HELP. loop-claude --help prints the same text.
  • The help now wraps at 100 columns. A test checks the width (item 184).
  • The reading-cost trend is reset (docs/reading-cost.md).

Review: security 1 round, clean. Stability 1 round: 0 🔴, 1 🟡. Prose 1 round: 0 🔴, 1 🟡, fixed by rewording a commit title. Overrides: none. Product-owner skipped: the help's words don't change. No comprehension check due.

Stability's 🟡, the help as a place seats found hard, is settled here and not fixed. The help is loop-claude's contract, and neither item asks for a rewrite. HelpLimits already tests the numbers the help states against the code's constants. A reader who opens main.py for code no longer reads the help.

Gate: no CI is configured, and the full local suite passed (998 tests). No auto-reviewer.

Ships items 155 and 184. - `loop/main.py` drops from 218 to 96 lines. Its 124-line `--help` docstring moves, word for word, to `loop/usage.py` as `HELP`. `loop-claude --help` prints the same text. - The help now wraps at 100 columns. A test checks the width (item 184). - The reading-cost trend is reset (`docs/reading-cost.md`). Review: security 1 round, clean. Stability 1 round: 0 🔴, 1 🟡. Prose 1 round: 0 🔴, 1 🟡, fixed by rewording a commit title. Overrides: none. Product-owner skipped: the help's words don't change. No comprehension check due. Stability's 🟡, the help as a place seats found hard, is settled here and not fixed. The help is loop-claude's contract, and neither item asks for a rewrite. `HelpLimits` already tests the numbers the help states against the code's constants. A reader who opens `main.py` for code no longer reads the help. Gate: no CI is configured, and the full local suite passed (998 tests). No auto-reviewer.
lilleman added 2 commits 2026-11-08 20:18:53 +01:00
lilleman added 2 commits 2026-11-08 20:21:58 +01:00
lilleman force-pushed item-155 from d146bf4db6 to e66df83a3a 2026-11-08 20:21:58 +01:00 Compare
lilleman added 2 commits 2026-11-08 20:23:55 +01:00
lilleman marked the pull request as ready for review 2026-11-08 20:24:10 +01:00
lilleman merged commit df8c20d4e6 into main 2026-11-08 20:24:11 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#431