feat: OSS-readiness — license, de-personalization, CI, community files#2
Merged
Conversation
…s (PRD #1) - MIT LICENSE; PEP 639 metadata + urls/classifiers/keywords in pyproject - user_name config field (default "the user"): zero hardcoded personal names in src/; threaded into Mode 1 prompts via the pure prompt builders; new `bach config set-name`; ADR-014 - hardening from taste review: shared is_valid_user_name bounds (single line, <=200 chars) on read+write paths; load_config now degrades to defaults on malformed YAML instead of aborting launches; prompt_built/config_write logs carry the values - CI: .github/workflows/gate.yml runs exactly `make gate`; issue forms, PR template, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY - README rewritten for newcomers (macOS/iTerm requirement up front); CHANGELOG.md (Keep-a-Changelog) - internal planning docs moved to docs/internal/ with index; CLAUDE.md/ AGENTS.md references updated; tracked .claude/ files untracked - gitleaks full-history scan: clean (21 commits) Closes #1 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…it imports Co-Authored-By: Claude Fable 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.
Implements the full OSS-readiness PRD. Closes #1.
What's in here
Legal/identity (blockers)
LICENSE; PEP 639 SPDX license +license-files, keywords, classifiers,[project.urls]in pyprojectuser_nameconfig field (default"the user") — zero hardcoded personal names left insrc/; threaded into the Mode 1 prompt builders (kept pure — name enters as a kwarg from the launch flow's existing config load); newbach config set-name; ADR-014.claude/files untracked; gitleaks full-history scan clean (21 commits, no rewrite needed)Contribution infrastructure
.github/workflows/gate.yml) runs exactlymake gate— no drift between local and CICONTRIBUTING.md(Bach-specific conventions),CODE_OF_CONDUCT.md,SECURITY.md, bug/feature issue forms, PR templateDocs
DISCOVERY,PRD,progress.txt,lessons.md,memory/, …) moved todocs/internal/with an index;CLAUDE.md/AGENTS.mdreferences updatedCHANGELOG.mdin Keep-a-Changelog formatHardening from the taste review (all findings fixed)
is_valid_user_namebounds (single-line, ≤200 chars) enforced leniently at read, strictly at write — an embedded newline would have silently rewritten the Mode 1 safety rule; verified no injection path throughshell_quote/AppleScript/YAMLload_confignow degrades to defaults on malformed YAML instead of aborting launchesevent=prompt_builtlogs the injected name;event=config_writelogs the valueChecklist
make gatepasses locally (537 passed, ruff + mypy clean)docs/adr/014-oss-depersonalization.md)Out of scope (per PRD)
PyPI publishing, demo GIF, cross-platform support, the repo visibility flip (manual maintainer action).
Implementation notes:
.claude/runs/oss-readiness/implementation-notes.html(local).🤖 Generated with Claude Code