Skip to content

add the repo skeleton: license, contributing, agents rules, plugin list, ci - #1

Merged
adssib merged 2 commits into
mainfrom
skeleton
Nov 18, 2026
Merged

adssib merged 2 commits into
mainfrom
skeleton

Conversation

@adssib

@adssib adssib commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The repo skeleton: license, contributor rules, the rules for AI coding agents, the list of supported plugins, and CI. No Go code yet: the plugins move here in the next PR (a fresh import), and CI_go passes with a notice until then.

What's in it

File What
LICENSE Apache-2.0, the same text as patch-it
README.md What the repo is, how a plugin works, how to run the tests, links to docs.patch-it.dev and patch-it
CONTRIBUTING.md DCO sign-off (git commit -s); fetch only via env.Get / kit; golden test + dated source quote; precision over recall; one pinned drop test; providers/<api>.md; add your plugin to docs/plugins.md
AGENTS.md + CLAUDE.md (@AGENTS.md) Rules for AI coding agents. Rule 1: every new or changed plugin must be added to / updated in docs/plugins.md; the docs site's list is generated from it. Rule 2: this repo is public, nothing internal. Then plugin rules, commands, layout, commit style
docs/plugins.md The 12 plugins that run today (table below), between <!-- plugins:start/end --> markers so the docs site can copy the table
docs/writing-a-plugin.md, docs/README.md, providers/README.md Short how-to and indexes; the full guide comes with the code
.github/CODEOWNERS * @adssib
.github/pull_request_template.md Checklist, first item "added to / updated in docs/plugins.md", then DCO, golden test, testdata README, drop test, provider page, fetch rule, tests, nothing private
.github/workflows/CI_go.yml tidy, build, gofmt, vet, go test -race; an import allowlist (this module, stdlib, gopkg.in/yaml.v3); net/http only in fetch/, kit/, adapter/. Skips everything with a notice while there's no go.mod
.github/workflows/CI_dco.yml Every non-merge commit has a Signed-off-by with its author's email
.github/workflows/CI_leak_guard.yml gitleaks v8.30.1 (download checksum-verified) over the PR's commits, and scripts/leak_guard.py over the PR's added lines, file paths and commit messages; weekly (Mon 04:41 UTC) over the whole repo / history
scripts/leak_guard.py, scripts/banned-terms.sha256 The internal-names check. Only SHA-256 hashes of the lowercase terms are committed (8 terms). Each token of the text, and every run of its dot- and hyphen-separated parts, is hashed and compared; a hit prints file:line, never the term. --hash TERM prints the hash to add a new one

All workflows: pull_request, merge_group, workflow_dispatch (+ schedule for the leak guard only). No push-to-main CI. No repo settings changed, no branch protection touched.

docs/plugins.md

Plugin (--api) Provider What it watches Format plugin Status
stripe Stripe REST API changes between OpenAPI spec releases, with changelog hints openapi live
datadog Datadog API v2 changes between OpenAPI spec releases openapi live
github GitHub REST API changes between dated API versions openapi live
gitlab GitLab REST API changes between releases, request side only openapi live
openai-models OpenAI Model deprecations and shutdown dates retirements live
anthropic-models Anthropic Model deprecations and retirement dates retirements live
anthropic Anthropic Parameters removed in the Python SDK 1.0 migrationguide live
numpy NumPy Main-namespace members removed in 2.0 removedmembers live
textual Textual Removals and breaking changes in 0.86.0 changelog live
urllib3 urllib3 Removals and deprecations in 2.0.0 changelog live
github-actions GitHub Actions retirements (runner images) feed live
vertex-ai-models Google Vertex AI generative model deprecations feed live

(Source links are in the file.) The list is what patch-it's hosted ingestion service registers today; the plugins move here during the migration.

Tests run

  • python3 scripts/leak_guard.py --diff origin/main HEAD and --all: clean. Against a scratch repo with planted terms (mixed case, inside URLs, host:port, dot and hyphen suffixes, trailing punctuation, in a commit message): every planted line and the commit message flagged, the clean lines not.
  • gitleaks v8.30.1 locally over this branch's commit: no leaks.
  • The DCO loop locally over this branch: signed off.
  • Workflow YAML parses. The workflows themselves run for the first time on this PR.

Calls I made (please check)

  • No CI check for the plugin list, on purpose: the rule lives in AGENTS.md (top rule), CONTRIBUTING.md and the PR template checkbox.
  • CODEOWNERS is * @adssib for now. An org team (e.g. @patch-it-dev/plugin-maintainers) is better once there's more than one reviewer, so ownership doesn't hang on one person.
  • Commits use the GitHub noreply email, so no personal address goes into a public repo's history or sign-off lines.
  • Status = live for all 12, including the four that read one pinned release (anthropic 1.0.0, numpy 2.0.0, textual 0.86.0, urllib3 2.0.0); the file says so under the table.
  • Hyphen runs are matched too (foo-bar-baz also tests foo-bar): catches a banned name with a suffix appended; no false positive on today's files.
  • Import allowlist and net/http guard are in CI_go now, so they're live the moment code lands.
  • The leak guard doesn't see PR titles/descriptions (only the repo's files and commits). Reviewers still own those.

Related PRs

🤖 Generated with Claude Code

…st, ci

LICENSE (Apache-2.0), README, CONTRIBUTING (DCO), AGENTS.md + CLAUDE.md,
docs/plugins.md (the supported plugins), CODEOWNERS, PR template, and
CI_go, CI_dco and CI_leak_guard (gitleaks + hashed internal names).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: adssib <75389300+adssib@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: adssib <75389300+adssib@users.noreply.github.com>
@adssib
adssib merged commit 68ffbf7 into main Nov 18, 2026
3 checks passed
@adssib
adssib deleted the skeleton branch November 18, 2026 07:42
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