Skip to content

language lens: README.<code-ext> that opens as prose is a prose note, not code (Part of #5466) - #5514

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5466-20261018T1755Z
Oct 18, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5466-20261018T1755Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5457

What

language_lens.inspect's "Executable Shield" kept a prose-named file with a code extension on its extension's language, so linuxdoom-1.10/README.asm was assembly with 14 functions. New _is_prose_note: a file whose stem is a conventional doc name (README, READ.ME, NOTES, CHANGES, TODO, INSTALL, CHANGELOG, HISTORY) and whose first 6 non-blank lines each start at the margin with a word and read as prose (a space every 12 chars or less; no shebang) is classified markdown (README) or plaintext at tier 1. A README.py that is code is untouched.

Class table

member status
README/READ.ME/NOTES/CHANGES/TODO/INSTALL/CHANGELOG/HISTORY + code ext, prose opening fixed here (tests per ext)
README. that is code unchanged (test)
prose-stem files not in the stem list (FAQ, HACKING, ...) sibling gap, same helper, add to _PROSE_NOTE_STEMS
prose in a non-doc-named file (*.txt-like content in .c) sibling gap, needs a content classifier

Evidence

Real scan of linuxdoom README.asm + r_draw.c: README.asm -> markdown, coding_loc 0, no functions; r_draw.c still c, 11 functions. zandronum and sdl-doom copies are the same 283-line file.
Gates: pr_gates --fast 6/6, --ratchets 8/8, crucible_check.py both legs PASS (golden unchanged); test_language_lens.py 25 pass.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 18, 2026 13:57
…rose is a prose note (Part of #5466)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 18:20
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 18, 2026
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 18:25
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 9c5e527 into main Oct 18, 2026
73 checks passed
@squid-protocol
squid-protocol deleted the churn/5466-20261018T1755Z branch October 18, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant