Skip to content

akurganow/lawman

v0.15.0MIT

Scheduled agent roles that patrol a repository, build a case, rule on it and carry the verdict to a pull request.

assembly

Interactive assembly that installs, amends or extends a Lawman installation with the developer, one question at a time.

clerk

Runs one tick of a Lawman clerk, which takes one order, does the one job the journal names on that issue and its pull request (precedent, open, adopt, settle, reopen, reopen-issue, close-pull or kept), then exits.

court

Runs one tick of a Lawman court, which takes one order on a defended case, reads the case, the charge and the defence, and rules conviction or acquittal, then exits.

defender

Runs one tick of a Lawman defender, which takes one order on a charged case, re-reads the exhibits, and leaves a defence, a return or a refute, then exits.

duty-desk

Runs one tick of a Lawman duty desk, which writes at most one order per role for the response unit, investigation, prosecutor, defender, court, clerk, spec writer, executor and patrol, then exits without filing, commenting or editing anything.

executor

Runs one tick of a Lawman executor, which takes one order on a pull request whose newest Spec has a decider's approval, writes the code and the documentation in the branch of that pull request, passes the CI gate, marks the pull request ready, writes one Executor comment, then exits.

investigation

Takes one order on one issue, tests the lead against the tree at one commit, leaves a case as a comment, then exits.

lawman-law

The shared files of Lawman. They hold the law, the tick steps, the marker grammar, the contracts, the shared department pages and the harness pages. Other Lawman skills read these files by path. Nothing starts this skill on its own.

patrol

Sweeps one department on one precinct at one commit, files at most the cap of draft leads as tracker issues, then exits.

prosecutor

Reads the case on one issue at the commit it was built on, decides to charge, return or decline it, writes one Decision comment, then exits.

response-unit

Runs one tick of a Lawman response unit, which takes one order on an issue a human wrote, turns it into a lead comment, asks the reporter one question, or sends it out of the funnel, then exits.

spec-writer

Runs one tick of a Lawman spec writer, which takes one order on a pull request, reads the pull request and its source issues, writes one Spec comment, then exits.