Repository navigation
Releases
Polier v0.4.7
Polier v4.3.0
Features
- design: Magic UI as the component source for web front ends (554ad84)
Polier v4.2.0
Features
- roles: specialist roles for builders, reviewers and planners (0f06599)
Polier v4.1.0
What REA does well, applied to Polier. Studied how morluto/rea runs its repository — not its code — and took over what fits a DeepSeek Harness plugin.
Automatic versions. Commits follow Conventional Commits. On every push to main, scripts/release.py reads the commits since the last tag (feat → minor, fix/perf → patch, ! or BREAKING CHANGE → major), writes VERSION, package.json and a CHANGELOG.md section, and the release workflow tags and publishes. A hand-written section still wins when VERSION is bumped by hand.
Plan, then approval, for the start too. pl_factory init shows the owner the planned line — platforms, traits and the item count per station — in an approval prompt and writes factory.json only on yes. The last command-line step of a new project is gone. tools/factory.py init --dry-run gives the same plan headless.
Results with the next step. pl_factory writes return the station, the remaining open items and what to do next; pl_gate says how to use a passing record and what a failure or a busy resource means.
A generated tool reference. docs/tools.md is generated from the plugin's tool definitions and the guide (npm run docs), so it cannot drift from what the model sees.
Checks beyond the tests. npm run check (scripts/check.py) fails on stale generated pages, pyflakes findings, unused exports in plugin/lib and modules that do not parse; CI and the release run it. Internal helpers that were exported without a user are module-private now.
Repository files. CONTRIBUTING.md, SECURITY.md, docs/architecture.md; AGENTS.md gains the commit rules, the check command and the reporting rule (observed, inferred, not checked).
Compatibility. No project file changes. Update the plugin and restart DSH.
Polier v4.0.0
Built for DeepSeek Harness, without commands. 3.0 made Polier a software factory; 4.0 makes it live inside the DSH agent loop. Nobody types /pl or a Python line any more: the model sees the state on every step, the human talks plainly, and every human decision is a real DSH approval prompt.
Live context. A <polier> block in the runtime context of every model step (ctx.systemPrompt.context): project, role, the factory station with its open items, the running task with scope and gates, ready tasks, policy limits, pending approvals and the next sensible move. A short guide joins the system prompt of sessions inside a Polier project. Both are empty elsewhere. Config context: false switches them off.
Decisions are approval prompts. Built on the harness approval service (ctx.approval), answered in the DSH UI and logged in the session:
pl_mode— worker and reviewer switch at once; lead and off ask the owner first.pl_factoryadvance— closing a station asks the owner; the station recordsapproved_by: <owner> (approved in DSH).pl_approval— writes the Polier approval request, asks the owner and records granted or denied.
Without an answerer (headless) every prompt fails closed.
Tools instead of the /pl command. New pl_mode, pl_task (bind and claim, or release) and pl_approval; pl_factory gains reopen and advance and works before a board exists; pl_status adds the factory line and the policy summary. pl_state and pl_factory regenerate STATUS.md and docs/factory.md after every recorded change. Planning writes to factory.json need no lead mode while no task runs. Guard messages point to pl_approval and pl_mode instead of shell commands. The /pl command is gone.
Goals, subagents, Ralph. The guide and prompt/dsh.md show how a DSH goal can carry a whole station, how a fresh subagent reviews in pl_mode reviewer, and why Ralph and subagent reports are claims, not evidence.
DSH only. Removed: the Claude Code adapter (adapters/claude-code/), the MCP server (tools/mcp.py), install.sh, update.sh, drift detection (tools/drift.py, tools/manifest.py, tools/manifest.json) and core/gates.py. The plugin moved from adapters/dsh/ to plugin/ and is split into lib/context, lib/guard, lib/session, lib/tools and lib/factory. Dev dependencies follow DSH 0.2.2 (@deepseek-ai/cordis 4.1.0, dsh-* 0.2.2-rc.1, the native tool executor for tests).
No examples, no dead code. examples/ is gone; the two reference projects the tests and CI need live in tests/fixtures/. Removed functions only tests still used (write_denial, stop_message, is_tracked, exhausted, task_id_pattern, snapshot_changed, …), unused constants and helpers, and fixed a broken error message in the board's resources.services check. CI runs pyflakes.
For contributors. A root AGENTS.md describes the layout, the commands and the rules for changing Polier.
Compatibility. Project files are unchanged: board, policy, runs, reviews, approvals, gates, claims, slots, worktrees and factory.json. Update with dsh plugin --profile <name> add github:atshv/polier and restart. Claude Code and MCP users stay on 3.0.0 (#v3.0.0).
Polier v3.0.0
Polier becomes an AI software factory — and loses the dashboard. 2.x grew a local web app with twenty views; 3.0 goes back to files and the command line and adds what was missing: the whole way from idea to operation, for every kind of software.
The factory line. Nine stations — idea, concept, design, architecture, plan, build, verify, release, operate — each with a role, a goal, outputs and checklist items. factory/catalog.json holds 175 items for web, iOS, Android, desktop, CLI and backend services (readable as factory/CATALOG.md): from personas and user stories over design tokens, auth, payments, offline mode, privacy manifest and Android target SDK to store listings, signing, notarisation, legal texts, monitoring and store upkeep. An item applies when one of its platforms and one of its traits match the project; platforms imply traits (every app has ui, web and services deploys, accounts imply personal_data).
factory.json and tools/factory.py. init --platforms … --traits … writes the project's line with the items that apply; status, next, list, show read it; done --evidence <path>[#heading], na/defer --reason, link --task, scope and advance --by <owner> change it, and nothing else may. Evidence is checked: the path must exist (with the heading, when an anchor is given), build and verify items are done only through linked board tasks that are done, must items are never deferred. A station closes only with every item resolved, every earlier station closed and an owner name; the plan station refuses while an open build or verify item has no task. Stations without an applicable item close on their own. Every change is appended to the file's history. render writes docs/factory.md; catalog prints the catalog for a scope.
Process. prompt/generator.md is rewritten around the line: the input block gains PLATFORMS and TRAITS, the interview asks for them, phase A ends by starting the line (A4), new sections cover the concept, design, build, verify, release and operate stations, and phase D maps every build and verify item to a task. Three new rules (21–23): the line is the progress, evidence instead of ticks, no skipped stations. The rubric gains criterion 16 (factory line; pass now ≥ 15/16).
Templates. New: project-input.md, concept.md, ux-flows.md, legal.md, runbook.md, store/ios.md, store/android.md, store/desktop.md; gate catalogues swift-ios.md, kotlin-android.md, expo-react-native.md, flutter.md. design-rules.md gains light/dark, platform conventions, brand and copy sections (its accessibility heading is now ## Accessibility). AGENTS.template.md names the factory rule.
Integrations. check.py validates factory.json and warns about a stale docs/factory.md; render_status.py adds one Factory line to STATUS.md. The MCP server is rewritten slim with polier_factory, polier_factory_next, polier_factory_item, polier_factory_set, polier_factory_link next to the task tools. The DeepSeek Harness plugin gets pl_factory (status, next; lead-only done, na, defer, link, render) and /pl factory, /pl advance <owner>.
Removed. The dashboard (server/, tools/serve.py, the handbook, screenshots and GIFs) and everything only it used: headless sessions and the assistant (tools/session.py, tools/assistant.py), agent profiles, skills and MCP connector management, automations, GitHub panel, intake, task templates, pages, saved views, settings and the plan editor (tools/plan.py, tools/settings.py, tools/views.py, tools/intake.py, tools/templates.py, tools/pages.py, tools/automations.py, tools/github.py) with their core/ modules and tests. The removed MCP tools are gone with them.
New example. examples/factory-app/ — an offline fault-code app for iOS and Android, stopped in the design station.
Compatibility. Board, policy, runs, reviews, approvals, gates, claims, slots and worktrees are unchanged; a 2.x project keeps working and has no factory line until tools/factory.py init. Project files that only the dashboard read (dashboard.json, views/, intake/, templates/tasks/, automations.json, agents.json) are ignored and can be deleted. Plugin users: git pull, dsh plugin --profile <name> add ./polier again, restart. Claude Code users: replace the package copy and re-add the MCP server if you used it. Skill-only users: ./update.sh.
Polier v0.4.6
pl_preflight. One call checks whether everything is in place before work starts or after a break: Python (3.9+), git, the Polier package, the DSH services Polier uses (approval prompts, shell), a probe of the write guard and, inside a project, git state, factory.json, board.json, policy.json, STATUS.md and claims. Nothing is changed; every problem comes with its fix and next names the first one. Headless: tools/preflight.py [folder] [--json]. The idea comes from comparing Polier with other agent harnesses.
Polier v0.4.5
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_tasktakes a snapshot when a builder binds the task; files changed before are listed asbaselineand skipped while unchanged. - Review. The last
verdict:inreviews/<ID>.mdcounts, so an appended round 2 pass is seen (one reader incore/evidence.py). Newpl_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 withpl_taskwithout taking the builder's claim. - Done.
pl_statetakeshandofflines withdone; nobody editsboard.jsonfor it. A done or failed task releases its claim.pl_checkaccepts the passingpl_gaterecords as evidence; before, every done task failed for a board field no tool writes. - pl_factory.
batchrecords 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_approvalinstead ofpython3 tools/…commands. The error outside a project says how to start one. The deny message no longer repeats itself.STATUS.mdexplains its factory line. - pl_check. Regenerates
STATUS.mdanddocs/factory.mdfirst.docs/module-map.mdneeds a## Layersor## Package mapsection, not the words UI/logic/data. Board acceptance may holdA1: …text; the brief's**Scope:**error says where the line belongs.pl_stateinAGENTS.mdsatisfies the state-tool hint. - Templates. New
templates/quality.md.AGENTS.template.mduses thepl_*tools.policy.jsondeniesgit tag*.OPS-01(error tracking) no longer applies to a CLI. The generator states that boardacceptanceholds IDs anddecisionsholds 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.
Polier v0.4.4
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.
Polier v0.4.3
Version numbers reset: Polier is not released yet. Everything up to here is pre-release work; 1.0 will be the first release. This version equals the former 4.3.0 and changes nothing in the code. The sections below keep their old numbers: 4.3.0 → 0.4.3, 4.2.0 → 0.4.2, 4.1.0 → 0.4.1, 4.0.0 → 0.4.0, 3.0.0 → 0.3.0; earlier ones are history.
How versions move from now on. Before 1.0, feat, fix and perf commits bump the third number (0.4.3 → 0.4.4) and a breaking change the second (0.4.x → 0.5.0); every GitHub release is marked as a pre-release. From 1.0 on the usual rules apply. scripts/release.py now takes VERSION as the source of truth, so a version can also be set back by hand.