Skip to content

Implement TODO.md template hardening and automation#21

Merged
buddingengineers12345 merged 3 commits into
mainfrom
feat/todo-md-implementation
Apr 7, 2026
Merged

Implement TODO.md template hardening and automation#21
buddingengineers12345 merged 3 commits into
mainfrom
feat/todo-md-implementation

Conversation

@buddingengineers12345
Copy link
Copy Markdown
Owner

Summary

This pull request implements the items from TODO.md (sections 3.x, 4.x) across the Copier template and the meta-repository.

Copier / template

  • _skip_if_exists: Explicit paths (no broad *.md); added CONTRIBUTING.md, SECURITY.md, issue templates, PR template; removed codecov_token prompt (document Codecov via docs/ci.md + README patterns).
  • Validation: package_name rejects digit-leading identifiers.
  • Bootstrap: Existing uv-first _tasks block retained (pip or install.sh fallback).
  • New flags: include_cli (Typer + console script + just run), include_logging_setup, include_git_cliff (dependency group + cliff.toml + just changelog), with post-gen rm tasks for disabled options.
  • MkDocs: docs-serve / docs-build / docs-deploy; mkdocs.yml and docs/* only when include_docs=true; added mkdocs-gen-files pin; docs/ci.md for Codecov secrets.
  • Pyproject: BasedPyright standard + reportMissingImports; coverage source = ["src"] and omit updates; __version__ via importlib.metadata.
  • CONTRIBUTING moved to repo root; SECURITY.md added; .gitignore no longer ignores generated docs/; template/docs un-ignored in root .gitignore so Copier/VCS includes ci.md.
  • Pre-commit: detect-secrets + baseline; Renovate: pre-commit enabled in template and meta-repo.

Meta-repo

  • scripts/sync_skip_if_exists.py + weekly workflow to refresh _skip_if_exists (opens PR when drift).
  • Root justfile: sync: _set_env, @just in install, docs-help stub.
  • .github/renovate.json, pyproject (detect-secrets, basedpyright/coverage tweaks), .secrets.baseline.

Tests

  • New coverage for validator, optional features, docs CI page, renovate, detect-secrets, basedpyright block; copy_with_data helper prunes empty optional files and MkDocs when --skip-tasks mirrors post-gen cleanup.

Note

Local just test may require a Python/arch matching the pydantic_core wheel (e.g. arch -arm64 on Apple Silicon). CI should run the full matrix as usual.

TODO.md remains untracked locally for you to keep or drop.


Ready to merge when CI is green.

Made with Cursor

claude added 3 commits April 7, 2026 13:26
- Tighten copier _skip_if_exists, fix package_name validator, remove codecov_token prompt
- Add include_cli, include_logging_setup, include_git_cliff with optional artifacts + task cleanup
- Weekly workflow + scripts/sync_skip_if_exists.py to refresh skip list from git activity
- Template: Typer CLI, logging_config, git-cliff, CONTRIBUTING/SECURITY, docs/ci.md, MkDocs recipes
- Conditional MkDocs files when include_docs=false; fix gitignore ignoring template/docs
- detect-secrets baseline, Renovate (pre-commit), basedpyright/coverage config, justfile fixes
- Expand template integration tests (validator, optional features, docs/renovate hooks)

Made-with: Cursor
- Add .github/labeler.yml for actions/labeler@v4 (minimatch globs)
- Enable dot: true so .github/workflows matches the ci label
- End-of-file-fixer: single trailing newline on template/docs/*.md.jinja

Made-with: Cursor
- Add TODO.md with completion table + original audit text for later trimming
- README: document CODECOV_TOKEN secret (with link to docs/ci.md when docs enabled)
- tests: opt-in uv lock+sync smoke when RUN_TEMPLATE_INTEGRATION=1 (4.11)

Made-with: Cursor
@buddingengineers12345 buddingengineers12345 merged commit e680105 into main Apr 7, 2026
8 of 9 checks passed
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.

2 participants