ClaimGate starter kit - set up a publish gate

io.github.caseone115由 GitHub 帳號 caseone115 發布v0.1.0更新於 Oct 27, 2026

Set up a publish gate for AI-assisted marketing copy: policy, evidence folder and CI job.

發布方自己的服務:Publish.fun

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

ClaimGate 入門套件:在本機建立發佈前審核關卡,用自有證據、政策規則與 AI 揭露要求檢查 AI 輔助撰寫的行銷文案。

可以做什麼
  • 建立入門專案:在指定目錄寫入政策檔、證據資料夾、草稿範本、發佈前檢查清單與 GitHub Actions 工作
  • 離線執行審核關卡,不需 API 金鑰與網路,只做確定性檢查
  • 回報無法舉證的聲明、證據中不存在的數字,以及違反政策規則的內容
  • 將缺少的 AI 揭露要求視為草稿屬性加以標記
適用情境
適用於以 AI 協助撰寫行銷或面向客戶的文案、並希望在發佈前做可重複檢查的情境,尤其是 CI 工作或提交前掛鉤。適合已持有舉證資料、希望直接攔下草稿而非事後記錄的團隊。
執行需求
以本機程序在使用者電腦上執行(僅桌面版),以 MCP 套件形式提供。入門套件的離線關卡不需 API 金鑰與網路;README 指出完整引擎使用 DEEPSEEK_API_KEY 進行模型判定。證據以文字、Markdown 或 HTML 檔案目錄或 JSON 陣列提供。
安裝前請注意
它不做事實查核也不上網搜尋,只判斷你提供的證據是否支持某項聲明,並執行你撰寫的政策,不構成法律意見。入門套件免費,但 README 稱完整引擎為一次性付費下載(發佈期 39 美元,之後 149 美元)。PyPI 上的同名裸套件屬於無關專案,應依說明從指定來源安裝。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ClaimGate starter kit - set up a publish gate,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ClaimGate

A publish gate for AI-assisted marketing content.

Point it at the copy you are about to publish and the evidence your organisation actually holds. It tells you which claims you cannot substantiate, which of your own policy rules you are breaking, and whether the asset is missing a disclosure the law now requires.

Exit code 1 means blocked. That makes it usable in CI, a pre-commit hook, or a publishing pipeline — which is where a gate stops mistakes instead of documenting them afterwards.

console
$ claimgate check campaign.md --evidence substantiation/ --policy policy.json
Claims requiring substantiation (14)  ✗ [attribution] According to research at a leading university, 94% of finance teams waste more      unsupported: the figure(s) 94% in this claim do not appear in any supplied evidence  ✗ [statistic] thousands of businesses, and we are fully ISO 27001 certified.      contradicted: evidence states "Acme Invoicing is not certified under ISO 27001"  ~ [statistic] Meridian Freight cut their reconciliation time from 22 hours to 9 hours a week      partially_supported: the case study confirms 22 hours and 9 hours, but not "always"      try: Meridian Freight's finance team reduced reconciliation from 22 hours a week to 9
Policy findings (3)  ✗ [prohibited] guaranteed      absolute guarantees are unenforceable and are treated as misleading advertising  ✗ [disclosure] AI disclosure missing      required under EU AI Act Article 50 (in force 2 Aug 2026) and platform labelling rules
BLOCKED — 14 unsupported claim(s), 3 blocking policy finding(s).

Why this exists

Generative AI is now how a large share of marketing copy gets written, and the controls did not scale with it. The recurring finding across 2025–2026 is not that models are bad at writing. It is that a reviewer cannot tell a hallucinated statistic from a real one — there is no grammatical signal that separates them — so hallucinated content passes a casual read. Organisations that scaled AI content without a review gate did not reduce their content risk, they accelerated it.

The existing tools do not close this. Detectors tell you a text was AI-written, which is not the question. Generators produce more copy. Governance platforms tell you at the end of the quarter that you had incidents.

ClaimGate answers the question that actually decides whether an asset can ship: can this specific claim be traced to something we can point at?

The three checks

1. Substantiation. Every checkable claim in the draft is extracted, then adjudicated against your evidence. The important part is how:

  • A number in a claim must appear in the evidence. That is a string search, not a judgement call, and no model gets to overrule it. A fabricated statistic cannot be talked into a pass.
  • Semantic support is decided by a model given only the claim and the evidence, required to name the evidence it relied on, and allowed to answer unsupported or unverified.
  • If the model is unavailable, the key is missing, or the reply is malformed, the verdict is unverified — which blocks. It never fails towards "supported".

2. Policy. Your prohibited and restricted claims, written down once and enforced on every draft: guarantees, medical and financial claims, unsourced superlatives, named competitors, personal data.

3. Disclosure. From 2 August 2026 the EU AI Act (Article 50) requires disclosure of AI-generated content in specified circumstances, and Meta, TikTok and Google each require an AI label on realistic synthetic media in ads. A customer-facing AI-assisted asset with no disclosure is non-compliant however good the copy is — so it is checked as a property of the draft, not left to whoever uploads it.

Install

No dependencies. Python 3.9+.

bash
pip install "claimgate @ git+https://github.com/caseone115/claimgate"

Not a bare pip install claimgate. That name on PyPI belongs to a different, unrelated project (an AI-agent test harness), so the bare name installs that tool, in which claimgate check does not exist. This product installs from its own source repository, which is also where its licence and its tests live. From a checkout, pip install -e . is equivalent.

Start here: the free starter kit

bash
claimgate init my-project && cd my-projectclaimgate check DRAFT-template.md --evidence evidence/ --policy policy.json --no-model

That writes a policy file you can edit, an evidence folder, a blank draft template, a six-question pre-publish checklist (including the AI-disclosure section) and a GitHub Actions job that gates every pull request. --no-model needs no API key and no network: it runs the deterministic checks, and it does catch inventing — a figure that appears in the draft and not in your evidence blocks, whatever wrote it.

The kit is free and stays free: https://github.com/caseone115/claimgate.

The full engine — model adjudication of every claim, JSON output for pipelines, the whole test suite — is a one-off download at https://teeterbot.gumroad.com/l/claimgate/LAUNCH39: US$39 while the launch is running, US$149 after it. It is the same code as this repository, MIT licensed; nothing is held back from the source.

Use

bash
claimgate init my-project                  # the free starter kitclaimgate init-policy policy.json          # a starter policy to editclaimgate claims draft.md                  # just list the claimsclaimgate check draft.md --evidence ./evidence/claimgate check draft.md --evidence evidence.json --policy policy.json --jsonclaimgate check draft.md --no-model        # facts and policy only, no API calls

Evidence is any directory of .txt/.md/.html files, or a JSON array:

json
[{"id": "spec", "title": "Product spec", "text": "..."}, {"id": "case-1", "title": "Meridian case study", "url": "..."}]

Set DEEPSEEK_API_KEY for adjudication. Without it, --no-model still runs the deterministic checks — which is where the fabricated-figure guarantee lives.

What this is not

  • Not a fact-checker. It does not search the web or decide what is true. It decides whether you can substantiate what you wrote, against evidence you supply. That is the question a compliance review actually asks, and it is the only one answerable without pretending to authority the tool does not have.
  • Not a detector. It does not guess whether a text was AI-written.
  • Not a lawyer. It enforces the policy you write. It flags where AI disclosure obligations appear to apply; it does not give legal advice.

Use it from an MCP client

The same checks run as an MCP server, so an agent can gate a draft before it publishes instead of a human remembering to. mcp/server.py needs no install — uv fetches its one dependency. Add this to your client's config:

json
{  "mcpServers": {    "claimgate": {      "command": "uv",      "args": ["run", "--directory", "<repo>/mcp", "<repo>/mcp/server.py"]    }  }}

It exposes check_draft, check_draft_json, list_claims, check_policy_only and about. See mcp/README.md, including what it deliberately refuses to do.

The free starter kit is a second registry entry, io.github.caseone115/claimgate-kit. init_kit writes the policy file, the evidence folder, the checklist and the GitHub Actions job into a directory you name; check_kit then runs that gate offline with no API key. See mcp-kit/.

Tests

bash
python tests/test_claimgate.py     # 55 checks — the enginepython tests/test_outreach.py      # 21 checks — the outreach guardrailspython tests/test_kit.py           # 44 checks — the starter kitpython scripts/test_mcp_server.py  # 19 checks — the MCP server, over real stdio

The suite is written against the product's promises, not its implementation: that no claim is invented, that a number absent from the evidence is never reported as supported, that anything uncheckable blocks, and that the same input always gives the same answer. tests/test_kit.py also runs the shipped README through the shipped policy, because a claim-checking product whose own front page carries a prohibited claim is the worst demonstration there is.

Licence

MIT.

來源:README.md,提交 7b759fb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Oct 1, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Publish 整合