Repository navigation
docs: complete the GitHub community profile - #1376
Merged
Merged
Conversation
Rename CONTRIBUTE.md and its template chain to CONTRIBUTING.md so GitHub recognises the contributing guide, and add a Contributor Covenant 2.1 CODE_OF_CONDUCT.md routed to the SECURITY.md reporting channel. Refs: #1372
c-vigo
force-pushed
the
feature/1372-community-files
branch
from
August 7, 2026 15:06
c97a28e to
d7ba54f
Compare
This was referenced Aug 7, 2026
Closed
c-vigo
added a commit
that referenced
this pull request
Aug 7, 2026
…rror PR #1376 renamed CONTRIBUTE.md to CONTRIBUTING.md and updated the root .pre-commit-config.yaml, but missed the flake-side mirror in nix/hooks.nix (runner yaml, check, and consumer profiles) and the scaffold template assets/workspace/.pre-commit-config.yaml. The drift gate test_runner_render_matches_committed_config failed on dev; both mirrors now exclude the renamed guide again. Refs: #1380
c-vigo
added a commit
that referenced
this pull request
Aug 7, 2026
…rror (#1383) ## Summary PR #1376 (#1372) renamed `CONTRIBUTE.md` to `CONTRIBUTING.md` and updated the pymarkdown exclude in the root `.pre-commit-config.yaml`, but missed the flake-side mirror. This PR completes the rename: - `nix/hooks.nix`: the three pymarkdown exclude patterns (runner `yaml`, `check`, and `consumer` profiles) and the line-436 comment now say `CONTRIBUTING`. - `assets/workspace/.pre-commit-config.yaml`: the scaffold template's pymarkdown exclude — same rename fallout, and required for the scaffold half of the drift gate (`test_scaffold_render_matches_scaffold_config`) to stay green once the shared render in `nix/hooks.nix` is fixed. - `CHANGELOG.md` `## Unreleased` → Fixed entry (plus its managed `assets/workspace/.devcontainer/CHANGELOG.md` mirror, updated by the `sync-manifest` hook). ## Testing No new test: the existing drift gate `tests/test_flake_hooks.py::TestPortableRenderFidelity::test_runner_render_matches_committed_config` already fails on `origin/dev` and pins this fix (TDD RED pre-satisfied). - Before: `uv run pytest tests/test_flake_hooks.py -k test_runner_render_matches_committed_config` → **FAILED** with `pymarkdown.exclude: rendered='^(README\\.md|CONTRIBUTE\\.md|TESTING\\.md)' committed='^(README\\.md|CONTRIBUTING\\.md|TESTING\\.md)'`. - After: `uv run pytest tests/test_flake_hooks.py` → **36 passed**. - `just precommit` (full suite, all files) green. Closes #1380
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.
Description
Two rows of
repos/vig-os/devkit/community/profilewere unchecked(
health_percentage: 62): the contributing guide was namedCONTRIBUTE.md,which GitHub does not recognise, and there was no code of conduct at all.
Type of Change
docs-- Documentation onlyChanges Made
(a)
CONTRIBUTE.md->CONTRIBUTING.md(git mv, history preserved). Thefile is generated, so the rename covers the whole chain:
docs/templates/CONTRIBUTE.md.j2->docs/templates/CONTRIBUTING.md.j2(
git mv), including its own "auto-generated / do not edit" bannerdocs/generate.py— thetemplates_to_generateentry.pre-commit-config.yaml— the pymarkdownexcludefor generated docs.github/workflows/release.yml— theexpected_docguard in "Collectfinalization files"
docs/templates/README.md.j2+ the regeneratedREADME.md— the contributinglink
docs/NIX.md— three cross-references.github/ISSUE_TEMPLATE/docs.yml— the "generated docs must not be editeddirectly" note and the source-template URL; the manifest-synced
assets/workspace/.github/ISSUE_TEMPLATE/docs.ymlfollows automatically viathe
sync-manifesthook(b)
CODE_OF_CONDUCT.md— Contributor Covenant 2.1 standard text at therepository root. The enforcement contact is the
GitHub Private Vulnerability Reporting
channel
SECURITY.mdalready designates, so there is a single private route tothe maintainers rather than a second one to keep in sync.
Deliberately untouched
CHANGELOG.mdentries,docs/issues/*.md,docs/pull-requests/*.md.assets/workspace/.pre-commit-config.yamlstill excludesCONTRIBUTE.mdfrompymarkdown. That is the consumer scaffold's own exclude list, not devkit's
community profile; devkit never generates a contributing guide for consumers,
so editing it would drift every consumer for no benefit here.
Changelog Entry
Testing
Manual Testing Details
prek run --all-files— green; thegenerate-docshook is a no-op on asecond run, confirming
docs/generate.pyresolves the renamed template andCONTRIBUTING.mdregenerates byte-identically.uv run pytest tests/ <CI ignore set> packages/vig-utils/tests— 904 passed.CONTRIBUTE.mdleaves only historical archives and theconsumer scaffold exclude noted above.
behaviour to drive from a test. The
generate-docsandsync-manifesthooksare the executable guard.
gh api repos/vig-os/devkit/community/profilewill only reflect this afterthe merge lands on the default branch, and GitHub caches that endpoint —
verified post-merge, noted rather than asserted here.
Checklist
CHANGELOG.mdin the[Unreleased]sectionRefs: #1372