fleetlint Policy for a fleet of repositories
v0.3
Getting started

public/no-agent-files

Public repositories track no agent instruction files

Severityerror
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-minimal@0.1.0

Requirement

CLAUDE.md, AGENTS.md, .claude/ and .agent/ stay untracked in public repositories (listed in .git/info/exclude).

Why

The owner’s policy is that public repositories carry no AI tooling artefacts.

Applies when

repo.public

Check

For each item in:

tracked().filter(f, f.matches('(^|/)(CLAUDE|CLAUDE\\.local|AGENTS)\\.md$')
                 || f.startsWith('.claude/') || f.startsWith('.agent/'))
false

Fix

git rm –cached the files and list them in .git/info/exclude so they stay local.

Agent instruction: Untrack the listed files with git rm –cached, add them to .git/info/exclude (not .gitignore), and commit.

See: https://fleetlint.org/baseline/#public-repositories


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.