Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
2 folders · 5 files
README.md
Repository Git policies #
Repository-owned cli-git policies live in this private package rather than cli-git core.
Consumers choose the effective namespace when registering repositoryPolicyPlugin in trusted configuration.
Forbidden root context #
forbiddenRootContext rejects a non-deleted root CONTEXT.md candidate during pre-forward add/commit checks and direct
checks.
A nested path such as doc/CONTEXT.md does not match.
The policy defaults to error and is warning-safe.
// cli-git.config.ts
import { defineConfig, } from '@monochromatic-dev/git-policy-cli/ts';
import { repositoryPolicyPlugin, } from '@monochromatic-dev/git-policy-repository/ts';
export default defineConfig({
plugins: {
mono: repositoryPolicyPlugin,
},
policies: {
'mono/forbidden-root-context': 'error',
},
});
The package is private and is not published independently.