Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

project.no-claim-without-test@1

No claim without a test

What it is

URI
majordomus://rule/project.no-claim-without-test@1
Kind
rule
Identity
project.no-claim-without-test@1
Path
.ai/repo/rules/project/no-claim-without-test.v1.md
Provenance
declared
Media type
text/markdown
As a capability
rule.project.no-claim-without-test@1

Front matter

{
  "id": "project.no-claim-without-test",
  "version": 1,
  "kind": "rule",
  "title": "No claim without a test",
  "description": "A capability sentence in README.md or docs/ is backed by a case in test/cases/ or is phrased as a target.",
  "statement": "A capability sentence in README.md or docs/ is backed by a case in test/cases/ or is phrased as a target.",
  "status": "active",
  "class": "blocking",
  "depends_on": [],
  "tags": [
    "documentation",
    "evidence"
  ],
  "x-majordomus": {
    "tests": [
      "scripts/generate-site-data",
      "test/cases/28_no_hardcoded_values.sh"
    ]
  }
}

Content

---
id: project.no-claim-without-test
version: 1
kind: rule
title: No claim without a test
description: A capability sentence in README.md or docs/ is backed by a case in test/cases/ or is phrased as a target.
statement: A capability sentence in README.md or docs/ is backed by a case in test/cases/ or is phrased as a target.
status: active
class: blocking
depends_on: []
tags: [documentation, evidence]

x-majordomus:
  tests: [scripts/generate-site-data, test/cases/28_no_hardcoded_values.sh]
---

# Rationale

A claim nobody can run is a promise; docs/CLAIMS.yaml exists so that every guaranteed claim names the test that proves it and the site refuses to render one that does not.

# Required behaviour

A capability sentence in README.md or docs/ is backed by a case in test/cases/ or is phrased as a target.

# Failure behaviour

No command decides this rule; a reviewer does, and a change that violates it is not merged. Where a behavioural case covers part of it, that case is named below.

# Verification

Review. scripts/generate-site-data refuses a guaranteed claim with no test, and test/cases/28_no_hardcoded_values.sh checks every claim's detail page and test path.