@workspacejson/rules
v0.3.0
Published
Rule engine for auditing AGENTS.md hygiene using .agents/agents.workspace.json
Downloads
638
Maintainers
Readme
@workspacejson/rules
Deterministic parser, scanner, validator, and rule engine for agents-audit
and other consumers of .agents/agents.workspace.json.
This package is published from the agents-audit workspace and depends on
the published @workspacejson/spec package.
Install
pnpm add @workspacejson/rulesAPI
import {
AgentsMdParser,
RepoScanner,
RuleEngine,
WorkspaceJsonValidator,
computeHygieneScore,
} from '@workspacejson/rules';Contents
src/parserparsesAGENTS.mdsrc/scannerwalks repository structuresrc/validatorvalidates.agents/agents.workspace.jsonsrc/engineevaluates deterministic rulessrc/testingprovides the published test helper surface
Notes
- This package is the implementation layer for the audit engine
- Public exports are kept stable through
src/index.ts
