Skip to content

refactor(agents): remove GitHub Markdown line-break rule - #636

Merged
p-chan merged 1 commit into
mainfrom
remove-markdown-line-break-rule
Sep 22, 2026
Merged

p-chan merged 1 commit into
mainfrom
remove-markdown-line-break-rule

Conversation

@p-chan

@p-chan p-chan commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Why

The GitHub Markdown line-break rule was added in #550 after an agent hard-wrapped Japanese issue bodies mid-sentence, which GitHub renders as <br> in issues, PRs and comments. Current models no longer seem to do this, so the rule no longer needs to be loaded in every session.

What

  • Remove the "Markdown 本文の改行" section from home/.agents/AGENTS.md

Notes

  • Asked Codex and Claude, without the rule, to write the same issue body as the original failure; both wrote each paragraph on a single line. This was one sample each, printed to stdout rather than written via gh
  • If mid-sentence line breaks reappear, restore the rule from feat(agents): add GitHub markdown line-break rule #550 (possibly as a personal-github reference)

The rule was added in #550 after an agent hard-wrapped Japanese issue bodies mid-sentence, which GitHub renders as `<br>`. Current Codex and Claude models no longer hard-wrap paragraphs when writing issue bodies without the rule, so it no longer needs to be loaded in every session. It can be restored if the problem reappears.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@p-chan p-chan self-assigned this Sep 22, 2026
@p-chan
p-chan merged commit 16e9567 into main Sep 22, 2026
8 of 9 checks passed
@p-chan
p-chan deleted the remove-markdown-line-break-rule branch September 22, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant