Skip to content

Create agent files when patching and change license to Apache-2.0#1

Merged
zywkloo merged 1 commit into
mainfrom
codex/clarify-npm-license-requirements
May 27, 2026
Merged

Create agent files when patching and change license to Apache-2.0#1
zywkloo merged 1 commit into
mainfrom
codex/clarify-npm-license-requirements

Conversation

@zywkloo

@zywkloo zywkloo commented May 27, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the --patch-agent-files flow can create missing agent docs instead of silently skipping them so users get a usable stub when running wtcraft init --patch-agent-files.
  • Switch project licensing metadata from MIT to Apache-2.0 to reflect the intended license change across packaging manifests.

Description

  • Update append_managed_block_if_missing in scripts/wtcraft and src/wtcraft/_shell.sh to create parent directories, write the managed block to the target file when it does not exist, and log Created and patched: <file> instead of skipping the file.
  • Update README.md to document that --patch-agent-files will create CLAUDE.md or AGENTS.md with a managed stub if they do not exist.
  • Change license fields from MIT to Apache-2.0 in package.json and pyproject.toml, and update the PyPI classifier to Apache Software License in pyproject.toml.

Testing

  • No automated tests were added or executed as part of this change.

Codex Task

@zywkloo zywkloo merged commit 17c907e into main May 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant