Skip to content

Polier v0.4.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 16:52
· 7 commits to main since this release
8f97d55

First end-to-end run. A small CLI (habit tracker, profile S) went through all nine stations with the real plugin and DSH packages: three tasks, independent reviewer agents, two rework rounds, a tagged release. 28 findings; these are fixed:

  • Stop check. It no longer blames a worker for the lead's records (board.json, STATUS.md, factory.json, runs/) and no longer tells it to undo them. pl_task takes a snapshot when a builder binds the task; files changed before are listed as baseline and skipped while unchanged.
  • Review. The last verdict: in reviews/<ID>.md counts, so an appended round 2 pass is seen (one reader in core/evidence.py). New pl_review (tools/review.py) gives the reviewer the brief, earlier verdicts, the latest record per gate, the changed files and the diff. A reviewer binds with pl_task without taking the builder's claim.
  • Done. pl_state takes handoff lines with done; nobody edits board.json for it. A done or failed task releases its claim. pl_check accepts the passing pl_gate records as evidence; before, every done task failed for a board field no tool writes.
  • pl_factory. batch records several items in one call. The close prompt shows done, n/a, deferred and open counts. After the plan station closes it says to commit the plan first.
  • Wording. Tool results name pl_state, pl_next, pl_approval instead of python3 tools/… commands. The error outside a project says how to start one. The deny message no longer repeats itself. STATUS.md explains its factory line.
  • pl_check. Regenerates STATUS.md and docs/factory.md first. docs/module-map.md needs a ## Layers or ## Package map section, not the words UI/logic/data. Board acceptance may hold A1: … text; the brief's **Scope:** error says where the line belongs. pl_state in AGENTS.md satisfies the state-tool hint.
  • Templates. New templates/quality.md. AGENTS.template.md uses the pl_* tools. policy.json denies git tag*. OPS-01 (error tracking) no longer applies to a CLI. The generator states that board acceptance holds IDs and decisions holds ADR references.

Still open: gate records carry no hash of the working tree, and minor review findings are not collected as follow-ups.

One guard, written once. The write and command rules now exist only in Python (core/guard.py). Before every write and every bash command inside a Polier project the plugin asks tools/guard.py and shows its answer. The JavaScript copies of the scope, policy and kill rules and their mirror tests are gone. A write the guard cannot decide is blocked with the reason; a command goes through and the stop check still sees what it wrote.

One board schema. The versions 0.9, 1.0, 1.1 and 1.2 are one schema. schema_version is optional and, if set, "1.0". The unused task fields labels, estimate_hours, planned_start and target are gone. Without a worktrees setting, M and L default to required.

One set of words. The phases A to I are gone; prompt/generator.md is organised by the nine stations, and the cheatsheet, rubric, skill and catalog follow. prompt/generator.md shrank from about 7,900 to 3,500 words and prompt/dsh.md from about 3,900 to 1,900, without dropping a rule. Notes about older versions and references to an old design document are removed from code and docs.

Adopting it. A board with schema_version 1.1 or 1.2 sets it to "1.0" or removes it, and drops the four removed fields.