Repository navigation
Conversation
The owner relaxed the outright ban. Python may again be used for SDKs, tooling and small scripts, as in DeepSeek's dsh harness, but never in the product (Server, Web, Desktop, Node and their shared packages, ADR-0050). Every .py file must still be run by CI, package.json, scripts or other code, so dead Python cannot pile up again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The owner relaxed #227's outright Python ban: a small amount of Python is fine where it helps. Rule 8 of the hygiene guards now allows Python at the edges and keeps two protections.
requirements*.txtorpyproject.toml. DeepSeek's dsh harness, which is 96% TypeScript, uses Python only in these places..pyfile under the product, meaningapps/server,apps/web,apps/desktop,apps/node, orpackages/protocol,domain,dbandwork. ADR-0050 made the product one language; splitting it again is what made the repository incoherent..pyfile that nothing runs. Its name, or for atest_*.pyits folder, must appear in CI, apackage.json, a script or other code. Evidence JSON that only records hashes does not count. This is what let 25,600 lines of dead Python linger after P5.The research record's rule 8 is updated.
Checks
node --test scripts/check-hygiene.test.ts: 11 pass. The new test accepts a run script with its tests and requirements file, refuses an unrun script, and refuses Python underapps/servereven when something runs it.npm run docs:check: passed (298 Markdown files; hygiene guards passed).tsc -p scripts: passed.🤖 Generated with Claude Code