Skip to content

Statuses say what happened and hand a person only what only a person can do - #918

Merged
coderhelm[bot] merged 7 commits into
mainfrom
texts-say-what-happened
Nov 30, 2026
Merged

coderhelm[bot] merged 7 commits into
mainfrom
texts-say-what-happened

Conversation

@nambok

@nambok nambok commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Statuses a person reads now say what happened and what CoderHelm does next, and hand a person only what only a person can do. Text cut to fit is cut at a word, an API error's JSON body never reaches a reader, and progress notes write their plurals out.

Changes

  • common::rendered gains person_text (the guard tests hold person-facing statuses to: no empty slot, no hand-off of work CoderHelm does itself, no template plural, no bracketed internal key, no clauses run together with colons), clip and clip_bytes (cut at a word, ending in "…"), and without_json (drops a raw JSON body from an error).
  • Pull request ready check: when CoderHelm's own checks still find items, the hold says CoderHelm marks it ready once CI is green and its review approves, instead of "mark it ready yourself". When GitHub refuses every try to take a pull request out of draft, the description, the hold and the waiting line all say CoderHelm tries again within the hour; the waiting line no longer says it waits on a person.
  • A wait on a pull request no longer pastes GitHub's raw error body or asks a person to mark it ready; the stuck-run sweep writes the same words.
  • Reminder and "waiting with nothing asked" notes are full sentences (WaitingOn::sentences), not clauses joined by colons. The sweep still recognises both notes.
  • The plan check note lists each open point on its own line without the planner's internal key (PlanFinding::shown).
  • Every progress note writes "(s)" plurals out at the one place notes are written; tool call traces are left as they are. The log evidence note counts "1 lookup".
  • Pull request titles CoderHelm opens, review activity headings, overview file notes, superseded review lines, run activity lines, Chat's work lines and draft hold reasons are cut at a word with "…".
  • New incident case wx_texts_say_what_happened with its page.

Verification

  • cargo fmt --all --check, rustfmt --check --edition 2021 worker/src/passes/incidents/*.rs
  • cargo clippy -p common -p worker -p gateway --all-targets -- -D warnings
  • cargo test -p common -p worker -p gateway
  • python3 -m pytest lambda/tests/test_stuck_run_cleanup.py (new case for the pull request wait); the rest of lambda/tests matches main
  • .github/scripts/brand_spelling.py, .github/scripts/domain_examples.py

…can do

A pull request CoderHelm marks ready itself no longer tells a person to
mark it ready; a draft GitHub keeps refusing says CoderHelm tries again,
and its waiting line no longer waits on a person. A wait on a pull
request drops an API error's JSON body. Reminders are sentences, the plan
check note drops the planner's key, notes write plurals out, and text cut
to fit is cut at a word. common::rendered::person_text holds these texts
in tests; incident case wx_texts_say_what_happened.
@nambok nambok added the ch-review CoderHelm reviews this pull request label Nov 30, 2026
coderhelm[bot]

This comment was marked as outdated.

@coderhelm

coderhelm Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

💚 Post-merge health check passed: the deploy of dd8cbd9 completed and stayed green for the full 15-minute watch window (no new failures vs. the pre-merge baseline).
Auto-merge

  • ✅ CoderHelm approved
  • ✅ CI green
    The rest is in the pull request description.

coderhelm[bot]

This comment was marked as outdated.

coderhelm[bot]

This comment was marked as outdated.

coderhelm[bot]

This comment was marked as outdated.

coderhelm[bot]

This comment was marked as outdated.

coderhelm[bot]

This comment was marked as outdated.

@coderhelm coderhelm Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved with notes 97227bf (merged)

@coderhelm
coderhelm Bot merged commit dd8cbd9 into main Nov 30, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ch-review CoderHelm reviews this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant