From d05ba26ed95fdb995e23e8d91980228485211b7c Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Sun, 15 Nov 2026 23:33:56 -0700 Subject: [PATCH 1/2] docs: add AGENTS.md --- AGENTS.md | 22 ++++++++++++++++++++++ CLAUDE.md | 1 + 2 files changed, 23 insertions(+) create mode 100644 AGENTS.md create mode 120000 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..d0169c3 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,22 @@ +# AGENTS.md + +Org defaults for Totative, a software security research group: the public profile, the community health files, and the reusable source-release workflow other Totative repos call. `profile/README.md` is the org page at github.com/Totative; there is no root README. + +## Layout + +- `profile/README.md` and `profile/assets/`: the profile, wordmark and mark (light and dark), the avatar, and social cards for each repo. +- `SECURITY.md`: how to report to Totative. `DISCLOSURE.md`: how Totative reports bugs in software it does not own (private report, 14 days to hear back or hand to CERT/CC, publish at 90 days or 30 days after a fix). `CONTRIBUTING.md`: default for repos without their own. +- `.github/workflows/release-source.yml`: reusable (`workflow_call`) release build for SLSA v1 Build Level 3. It runs `git archive`, makes an SBOM, attests, and publishes; callers pin it by commit SHA. `codeql.yml`, `dependency-review.yml`, `scorecard.yml`, `.github/dependabot.yml`, `ISSUE_TEMPLATE/`. +- `lefthook.yml` and `.gitleaks.toml`: the canonical copies every Totative repo commits as they are. + +## Gate + +`gate` runs gitleaks (skipped in CI) from `.gate.toml`. Lint Markdown with `bunx --bun markdownlint-cli2 '**/*.md'`; `.markdownlint-cli2.jsonc` allows the few HTML elements the profile needs. + +## Invariants + +- Changing `release-source.yml` changes the signer of every release's provenance. Callers pin a SHA, so update `repo-template` and each caller's pin in follow-up commits. +- Do not edit `lefthook.yml` or `.gitleaks.toml` here without propagating to every Totative repo. +- The profile tagline and the "What we do" cards are duplicated in `totative.github.io`; `scripts/check-copy.py` there fails CI if they differ. Change both together. +- Public repo: no unreleased research, no names of targets under embargo. +- Actions are pinned to a full commit SHA. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file From 811e39c09cab88b29f28ddb076e31ea1d0b698df Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Sun, 15 Nov 2026 23:33:57 -0700 Subject: [PATCH 2/2] docs: add README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d006bd7 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# .github + +Organization defaults for [Totative](https://github.com/Totative). The org profile is [`profile/README.md`](profile/README.md); this file describes the repo. + +- [`SECURITY.md`](SECURITY.md): how to report a vulnerability to us. +- [`DISCLOSURE.md`](DISCLOSURE.md): how we report vulnerabilities in software we don't maintain. +- [`CONTRIBUTING.md`](CONTRIBUTING.md): the default for repos without their own. +- `.github/workflows/release-source.yml`: a reusable workflow that builds, attests and publishes a source release, so other Totative repos get SLSA Build L3 provenance. Verify a release with `gh attestation verify ARCHIVE --owner Totative --signer-workflow Totative/.github/.github/workflows/release-source.yml`. +- `lefthook.yml` and `.gitleaks.toml`: the secret-scanning hook every Totative repo copies as it is. + +Apache-2.0, see [LICENSE](LICENSE).