Skip to content

Docs: Add no-emdash / ASCII-only rule to AGENTS.md#16653

Open
wombatu-kun wants to merge 1 commit into
apache:mainfrom
wombatu-kun:docs/agents-no-emdash-ascii
Open

Docs: Add no-emdash / ASCII-only rule to AGENTS.md#16653
wombatu-kun wants to merge 1 commit into
apache:mainfrom
wombatu-kun:docs/agents-no-emdash-ascii

Conversation

@wombatu-kun

@wombatu-kun wombatu-kun commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

What

Adds a Boundaries rule to AGENTS.md: never use em-dashes (U+2014) or other non-ASCII Unicode characters in source code, except in tests or sample data that specifically exercise Unicode or UTF handling.

Why

This came up in review of #16500, where em-dashes introduced as AI artifacts had to be removed from the diff by hand. Capturing the convention in AGENTS.md gives agents and contributors one place to learn it, so the cleanup does not recur per PR. See the review thread: #16500 (comment)


AI Disclosure

  • Model: Claude Opus 4.8
  • Platform/Tool: Claude Code
  • Human Oversight: fully reviewed
  • Prompt Summary: Add a Boundaries rule to AGENTS.md forbidding em-dashes and other non-ASCII characters in source code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Jul 3, 2026
@wombatu-kun

Copy link
Copy Markdown
Contributor Author

no satle

@github-actions github-actions Bot removed the stale label Jul 4, 2026
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