@forwardimpact/libcoaligned
v0.1.6
Published
Co-Aligned architecture checks — enforce instruction-layer length caps and JTBD invariants across the repo.
Downloads
938
Maintainers
Readme
libcoaligned
Co-Aligned architecture checks — enforce instruction-layer length caps and JTBD invariants across the repo.
Getting Started
npx coaligned # run every check (instructions + jtbd)
npx coaligned instructions # enforce L1–L7 length and checklist caps
npx coaligned jtbd # validate JTBD entries against package.json
npx coaligned jtbd --fix # regenerate catalog and job blocks in placeThe two subcommands implement the contract described in COALIGNED.md:
instructions— every layer (L1 CLAUDE.md, L2 CONTRIBUTING.md / JTBD.md, L3 agent profile, L4 agent reference, L5 SKILL.md, L6 skill reference, L7 checklist block) is gated by a line cap and a word cap. Either breach fails.jtbd— eachpackage.json .jobsentry is validated against the JTBD schema; with--fix, marker-delimited blocks in<dir>/README.md,<dir>/<pkg>/README.md, and rootJTBD.mdare regenerated.
