From b8c8f1045039fdf1b71126b63fff8f268fb08bc3 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Tue, 20 Oct 2026 16:54:11 +0000 Subject: [PATCH 1/2] docs: lead the homepage with the GitHub App The App installs today from github.com/apps/commit-check, and installs are what the paid plans wait on, so make it the first thing a visitor can act on: - The hero's primary button installs the App; it used to open the Action guide. - In "Where it runs" the App takes the highlighted middle card, flagged "Fastest to set up". The Action keeps its card, without the flag. - The Team plan card linked the App repository, which is private, so visitors got a 404. It now links the App guide's Plans section, and says what that section already says: until the plan launches, the App checks an organization's private repositories at no charge. - The AI attribution article and Getting started point GitHub users at the App before the CLI setup. --- .../posts/ai-commit-attribution-policy.md | 10 +++++++- docs/getting-started.md | 7 ++++++ docs/index.md | 24 +++++++++---------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/docs/blog/posts/ai-commit-attribution-policy.md b/docs/blog/posts/ai-commit-attribution-policy.md index 4ba1a58..80d66b0 100644 --- a/docs/blog/posts/ai-commit-attribution-policy.md +++ b/docs/blog/posts/ai-commit-attribution-policy.md @@ -141,7 +141,15 @@ branch's ruleset or branch protection, and a commit that fails it cannot be merged. [Where to run it](../../guides/integrations.md) walks through each setup. -To try the disclosure policy without writing a config file: +On GitHub, the quickest way to get there is the +[Commit Check App](https://github.com/apps/commit-check): install it on a +repository or an organization, commit a `cchk.toml` that sets +`ai_attribution`, and every push and pull request gets a **Commit Check** +result, with no workflow file to maintain. The App is free for public +repositories and personal accounts. + +To try the disclosure policy on your machine first, without writing a config +file: ```bash pip install commit-check diff --git a/docs/getting-started.md b/docs/getting-started.md index d21b8e2..8518dae 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -5,6 +5,13 @@ commit message on your machine, and wired into the two places it belongs. It takes about five minutes and needs nothing but a Git repository. +!!! tip "On GitHub and want nothing to install?" + + [Install the GitHub App](https://github.com/apps/commit-check): every push + and pull request gets a **Commit Check** result, with no workflow file. The + [App guide](guides/github-app.md) covers what it checks. This page sets up + the CLI and the hook, which work with any Git host. + ## 1. Install === "pip" diff --git a/docs/index.md b/docs/index.md index 11a6810..54d9e7a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,7 +34,7 @@ description: Commit policy as code for teams and AI agents. Messages, branches,
Commit policy as code for teams and AI agents. Commit Check validates commit messages, branch names, authors and sign-offs against one cchk.toml — in your commit hook, in CI, on every pull request and inside your AI agent. When the fix is obvious, it hands you the line.
- id: check-message
Hook guide →
-commit-check-action@v2
-Action guide →
-apps/commit-check
App guide →
commit-check-action@v2
+Action guide →
+Open Source
Free
Public repositories, on any account.
Install the App →Personal
Free
Private repositories on a personal account.
Install the App →Team
Coming soon
Private repositories in an organization. Until then, the Action covers private repositories for free.
Watch for the launch →Team
Coming soon
Private repositories in an organization. Until it launches, the App checks them at no charge.
How the plan will work →Nothing is blocked while you try it: without a config file the App reports its findings but leaves the check run neutral. GitHub's own commit-metadata rules sit behind its Enterprise plan — the arithmetic, and the caveats →
From 8ecf5ba3f70f230dfad938ed79eb6f34e5642017 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Tue, 20 Oct 2026 16:54:11 +0000 Subject: [PATCH 2/2] docs: say what inert output blocks without overstating it Newline and tab still move the cursor, so the note now says a commit message cannot send control sequences to the terminal, or workflow commands to a GitHub Actions runner. --- docs/example.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/example.md b/docs/example.md index ecfb0e8..cd1eafe 100644 --- a/docs/example.md +++ b/docs/example.md @@ -239,8 +239,9 @@ To override the detection: Whatever the destination, the commit text in a failure is printed inert. Control characters other than newline and tab appear as `\xNN`, and a line -that starts with `::` is printed as `\::`, so a commit message cannot move the -terminal's cursor or send a GitHub Actions runner a workflow command. +that starts with `::` is printed as `\::`, so a commit message cannot send +control sequences to the terminal, or workflow commands to a GitHub Actions +runner. `--format json` is not affected; JSON escapes those characters already. ### Checking a range of commits