Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions CLAUDE.md
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Loading