Directories
¶
| Path | Synopsis |
|---|---|
|
Command benchsync pulls the published summary of the agent leak benchmark (benchmark/ in this repository) into docs/benchmark/results.json and regenerates the README block between <!-- benchmark:start --> and <!-- benchmark:end --> from it, so every benchmark number in the README comes from that one data file.
|
Command benchsync pulls the published summary of the agent leak benchmark (benchmark/ in this repository) into docs/benchmark/results.json and regenerates the README block between <!-- benchmark:start --> and <!-- benchmark:end --> from it, so every benchmark number in the README comes from that one data file. |
|
Command changelogrelease keeps the hand-written CHANGELOG.md in step with releases.
|
Command changelogrelease keeps the hand-written CHANGELOG.md in step with releases. |
|
Command channelcheck checks the Homebrew cask and the Scoop manifest of a GoReleaser bin/release/ directory against its checksums.txt (Story 4.4).
|
Command channelcheck checks the Homebrew cask and the Scoop manifest of a GoReleaser bin/release/ directory against its checksums.txt (Story 4.4). |
|
Command checklistcheck keeps docs/release/v1-checklist.md honest (Story 4.19, NFR11): every adoption blocker of the PRD and every non-functional requirement NFR1 to NFR10 has a row, and every row has evidence that exists.
|
Command checklistcheck keeps docs/release/v1-checklist.md honest (Story 4.19, NFR11): every adoption blocker of the PRD and every non-functional requirement NFR1 to NFR10 has a row, and every row has evidence that exists. |
|
Command communitycheck validates the community and governance files of Story 4.14, reporting each problem as "file:line: message":
|
Command communitycheck validates the community and governance files of Story 4.14, reporting each problem as "file:line: message": |
|
Command covercore runs `go test -cover` on the core packages, prints a per-package coverage table and exits 1 when any package is below the minimum, naming it.
|
Command covercore runs `go test -cover` on the core packages, prints a per-package coverage table and exits 1 when any package is below the minimum, naming it. |
|
Command dashlint fails on em dash, en dash and ellipsis characters in tracked text files.
|
Command dashlint fails on em dash, en dash and ellipsis characters in tracked text files. |
|
Command errtextlint enforces the AD-3 text hygiene rule that forbidigo cannot see: outside internal/warnx and _test.go files, an error value must not be passed to a fmt print function (Sprint*, Print*, Fprint*, Append*) or to any log or log/slog function, method or attribute constructor.
|
Command errtextlint enforces the AD-3 text hygiene rule that forbidigo cannot see: outside internal/warnx and _test.go files, an error value must not be passed to a fmt print function (Sprint*, Print*, Fprint*, Append*) or to any log or log/slog function, method or attribute constructor. |
|
Command gates holds the threshold logic of the v1.0 release gates and the post-publish install check (Story 4.18, NFR11).
|
Command gates holds the threshold logic of the v1.0 release gates and the post-publish install check (Story 4.18, NFR11). |
|
Command genremembers generates the launch post "What your coding agent remembers" (docs/launch/what-your-coding-agent-remembers.md) from the embedded surface registry (registry/surfaces/): for each agent or tool, every surface with its files per OS, its file format, the fields that can hold a key, the registry note (for example that Claude Code's "don't ask again" allowlist in settings.local.json stores whole commands) and the vendor documentation (Story 4.17).
|
Command genremembers generates the launch post "What your coding agent remembers" (docs/launch/what-your-coding-agent-remembers.md) from the embedded surface registry (registry/surfaces/): for each agent or tool, every surface with its files per OS, its file format, the fields that can hold a key, the registry note (for example that Claude Code's "don't ask again" allowlist in settings.local.json stores whole commands) and the vendor documentation (Story 4.17). |
|
internal
|
|
|
channel
Package channel holds what the Homebrew and Scoop channel tools share (Story 4.4): release version rules, archive names and download URLs, checksums.txt parsing and the Scoop manifest renderer.
|
Package channel holds what the Homebrew and Scoop channel tools share (Story 4.4): release version rules, archive names and download URLs, checksums.txt parsing and the Scoop manifest renderer. |
|
evidence
Package evidence resolves the evidence references that documents in this repository cite, so a checker can fail when a cited test, CI job or file no longer exists.
|
Package evidence resolves the evidence references that documents in this repository cite, so a checker can fail when a cited test, CI job or file no longer exists. |
|
labels
Package labels reads and validates .github/labels.yml, the repository labels that tools/labelsync syncs to GitHub and tools/communitycheck checks in CI (Story 4.14).
|
Package labels reads and validates .github/labels.yml, the repository labels that tools/labelsync syncs to GitHub and tools/communitycheck checks in CI (Story 4.14). |
|
Command issueguard decides whether a new or edited issue, or issue comment, holds what looks like a key (Story 4.14).
|
Command issueguard decides whether a new or edited issue, or issue comment, holds what looks like a key (Story 4.14). |
|
Command labelsync creates or updates every label of .github/labels.yml on GitHub with `gh label create --color <c> --description <d> --force -- <name>` (Story 4.14).
|
Command labelsync creates or updates every label of .github/labels.yml on GitHub with `gh label create --color <c> --description <d> --force -- <name>` (Story 4.14). |
|
Command launchrender renders the launch artefacts under docs/launch/ from the templates in docs/launch/templates/ and checks every launch file (Story 4.17).
|
Command launchrender renders the launch artefacts under docs/launch/ from the templates in docs/launch/templates/ and checks every launch file (Story 4.17). |
|
Command linkcheck checks the relative links and #anchors of Markdown files offline: every relative link must name a file or directory that exists, and every anchor into a Markdown file must match one of its headings (GitHub's slug rules, including the -1, -2 suffixes of repeated headings) or an explicit <a name> or id.
|
Command linkcheck checks the relative links and #anchors of Markdown files offline: every relative link must name a file or directory that exists, and every anchor into a Markdown file must match one of its headings (GitHub's slug rules, including the -1, -2 suffixes of repeated headings) or an explicit <a name> or id. |
|
Package mdcheck holds the Markdown checks that tools/readmegen (the README) and tools/launchrender (the launch files under docs/launch/) share: line and fence splitting, the hook-claims check against docs/hooks/policy.md wording, and the AD-3 leak check.
|
Package mdcheck holds the Markdown checks that tools/readmegen (the README) and tools/launchrender (the launch files under docs/launch/) share: line and fence splitting, the hook-claims check against docs/hooks/policy.md wording, and the AD-3 leak check. |
|
Command readmegen generates the README blocks between <!-- name:start --> and <!-- name:end --> markers from the registry and the data files, and checks the README (Story 4.16):
|
Command readmegen generates the README blocks between <!-- name:start --> and <!-- name:end --> markers from the registry and the data files, and checks the README (Story 4.16): |
|
Command registryids is the registry id stability check (AD-4).
|
Command registryids is the registry id stability check (AD-4). |
|
Command releasecredits prints the "Registry contributors" block of the release notes from GitHub pull request JSON.
|
Command releasecredits prints the "Registry contributors" block of the release notes from GitHub pull request JSON. |
|
Command scoopmanifest renders the Scoop manifest tokenhound.json from the template in dist/scoop and a release's signed checksums.txt (Story 4.4).
|
Command scoopmanifest renders the Scoop manifest tokenhound.json from the template in dist/scoop and a release's signed checksums.txt (Story 4.4). |
|
Command selfscan checks a TokenHound JSON Report for unsuppressed findings, so the CI self-scan needs no jq (AD-16).
|
Command selfscan checks a TokenHound JSON Report for unsuppressed findings, so the CI self-scan needs no jq (AD-16). |
|
Command serverjson renders the MCP registry manifest for a release and checks what the registry lists after publishing (Story 4.7).
|
Command serverjson renders the MCP registry manifest for a release and checks what the registry lists after publishing (Story 4.7). |
|
Command socialpreview renders the repository social preview, a 1280x640 PNG in the DESIGN.md identity (ink background, Hound amber wordmark, the headline sentence, no key material), with the share card's fonts and renderer, reached through internal/report/social (pkg/report registers it; it is not library API).
|
Command socialpreview renders the repository social preview, a 1280x640 PNG in the DESIGN.md identity (ink background, Hound amber wordmark, the headline sentence, no key material), with the share card's fonts and renderer, reached through internal/report/social (pkg/report registers it; it is not library API). |
|
Command testkeys prints synthetic test keys generated from the embedded registry.
|
Command testkeys prints synthetic test keys generated from the embedded registry. |
|
keygen
Package keygen generates synthetic test keys from registry patterns (AD-16).
|
Package keygen generates synthetic test keys from registry patterns (AD-16). |
|
leakcheck
Package leakcheck is the one AD-3 leak checker of the test suites: it looks for more of a generated key than its redacted form in a captured output, raw and in its JSON-escaped, URL-encoded and base64-encoded views, and reports each hit by format, file, byte offset, encoding and finding id, never by the matched text.
|
Package leakcheck is the one AD-3 leak checker of the test suites: it looks for more of a generated key than its redacted form in a captured output, raw and in its JSON-escaped, URL-encoded and base64-encoded views, and reports each hit by format, file, byte offset, encoding and finding id, never by the matched text. |
|
Command threatmodelcheck keeps docs/threat-model.md honest: every evidence reference it cites must exist in the repository, and every threat row must name a mitigating AD rule and at least one piece of evidence.
|
Command threatmodelcheck keeps docs/threat-model.md honest: every evidence reference it cites must exist in the repository, and every threat row must name a mitigating AD rule and at least one piece of evidence. |
|
Command workflowcheck enforces the workflow hygiene rules of AD-27 on every GitHub Actions workflow:
|
Command workflowcheck enforces the workflow hygiene rules of AD-27 on every GitHub Actions workflow: |
Click to show internal directories.
Click to hide internal directories.