Skip to content

chore: privacy audit — remove personal paths & translate Chinese to E… - #5

Open
agentii-ai wants to merge 2 commits into
mainfrom
009-privacy-audit-v2
Open

chore: privacy audit — remove personal paths & translate Chinese to E…#5
agentii-ai wants to merge 2 commits into
mainfrom
009-privacy-audit-v2

Conversation

@agentii-ai

Copy link
Copy Markdown
Owner

…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.

Summary

Related issues

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Documentation / tooling only

Testing

  • pytest tests/ -v passes
  • mypy docmeld is clean
  • ruff check docmeld/docmeld and black --check docmeld/docmeld pass
  • Added/updated tests for the change

Checklist

  • I read CONTRIBUTING.md
  • Coverage did not regress
  • CHANGELOG.md updated under [Unreleased] (if user-facing)

agentii-ai and others added 2 commits July 29, 2026 15:15
…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>
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