chore: privacy audit — remove personal paths & translate Chinese to E… - #5
Open
agentii-ai wants to merge 2 commits into
Open
chore: privacy audit — remove personal paths & translate Chinese to E…#5agentii-ai wants to merge 2 commits into
agentii-ai wants to merge 2 commits into
Conversation
…nglish
Privacy fixes:
- .env.local: removed undocumented PYPI_API token (OIDC supersedes it)
- .gitignore: added .env pattern (was only .env.local)
- 7 scripts: replaced /Users/frank docstring paths with relative paths
- summarize_bschool.py + run_loop_prompts.py: fixed hardcoded ENV_PATH
to resolve relative to script location (was absolute /Users/frank/...)
- run_loop_prompts.py: TARGET_FOLDER now accepts CLI arg (was hardcoded)
- batch_bronze_silver.py: removed hardcoded default dirs; exits with
usage message if no CLI args provided
- references/00-core/use-cases.md: anonymized 2 test input paths
- specs/008-optimization-launch/{spec,plan}.md: fixed personal paths
Chinese-to-English translations:
- specs/008-optimization-launch/spec.md L6: translated user request quote
- scripts/summarize.py: 30-line research paper prompt (Chinese → English)
- scripts/summarize_bschool.py: 63-line b-school case prompt (Chinese → English)
- scripts/summarize_rl.py: 21-line RL paper prompt (Chinese → English)
- All translations preserve prompt semantics and structure precisely
Verification: 0 Chinese characters remain in repo; 0 personal paths in
source code (only CLAUDE.md/AGENTS.md project config + historical specs);
317 tests pass; mypy clean.
Co-Authored-By: Claude <noreply@anthropic.com>
- docling_backend.py: SIM113 (enumerate), B007 (unused br), ARG004 (unused arg) - soffice_backend.py: RUF012 (mutable class default → frozenset), PLW1510 x2 (subprocess.check), B904 x2 (raise from) - aggregator.py: PLW2901 x2 (loop variable overwrite) - categorizer.py: B904 (raise from None) - parser.py: ARG002 (unused output_dir → _output_dir) Co-Authored-By: Claude <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.
…nglish
Privacy fixes:
Chinese-to-English translations:
Verification: 0 Chinese characters remain in repo; 0 personal paths in source code (only CLAUDE.md/AGENTS.md project config + historical specs); 317 tests pass; mypy clean.
Summary
Related issues
Type of change
Testing
pytest tests/ -vpassesmypy docmeldis cleanruff check docmeld/docmeldandblack --check docmeld/docmeldpassChecklist
[Unreleased](if user-facing)