How it is built
An Agent and Skill subsystem running on opencode: contract review, legal search and statutory citation. Changing the model or adding a tool never means rewriting the business layer.
One source for law text: only the official flk.npc.gov.cn, fetched directly with no caching anywhere in the chain, so repealed provisions cannot be cited. A list of repealed entries and an offline statute library are maintained alongside, and results are ranked by legal force and currency.
Contracts are split by clause, and each clause is annotated with its risk and its basis — exportable straight into a review opinion.
Five delivered versions from 7.0 to 7.4. The licence is fixed in the repository header; the skill has not been published yet.