r/Python • • 21d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

28 Upvotes

156 comments sorted by

View all comments

1

u/Lopsided-Ad-6298 8d ago

Workorder 0.18.0: the task record for coding agents, as Markdown files in your repo (stdlib-only CLI)

What My Project Does

Workorder (formerly NotQuite) is the task record for coding agents: every task recorded, a clear history, agents always go back to it.

Each task is a Markdown file in tasks/ with its mission, scope, acceptance criteria, dependencies, test command and progress. workorder init adds a short block to AGENTS.md and CLAUDE.md, so Claude Code and Codex start every session with workorder show --task TASK-1 and leave progress with workorder note. workorder ready lists what can be picked up next. workorder done --task TASK-1 --note "..." runs the task's declared test and writes DONE only when the evidence supports it. Otherwise it prints NOT DONE, what's missing and the next step. Receipts go in .workorder/, so the history stays with the code.

New in 0.18.0: done refuses locally what the pull-request check would refuse. There is one review rule, with a one-screen table in the README. Output is short, and the full text is saved to a file. An acceptance item can name a pytest test ((test: path::name)) that done checks. workorder retire handles finished tasks, and the README and agent block are shorter.

How Python is involved: it's pure Python, standard library only, with no runtime dependencies besides Git. It understands pytest. When setup finds pytest, the project's whole test suite runs by default, and workorder init --no-project-test turns that off. Per-test findings need pytest, and the stubbed-out-change check covers Python functions. Tested in CI on Linux and Windows (Python 3.10, 3.12, 3.13). MIT.

Install: pipx install workorder

Target Audience

Developers who hand tasks to coding agents and want each task, its test and its history in the repo instead of in a chat that the next session never sees. It's an early release from a solo maintainer, and it works alongside your existing issue tracker.

Comparison

  • Backlog.md and other Markdown-in-Git task tools: they also keep tasks as files in the repo. Workorder adds a declared test per task and receipts, so DONE is written only when that test passes now and fails on the code before the change.
  • GitHub Issues, Jira and other issue trackers: they hold the discussion and planning. Workorder holds the per-task record the agent reads at the start of a session and updates at the end. Use both.
  • A TODO.md or plan file the agent keeps: it's quick, but it has no history, and "done" is whatever the agent writes. Workorder keeps a dated timeline per task, and a hand-written DONE is only a claim: workorder check shows what the receipts support.
  • Limits: receipts are hash-chained, so they catch missing or stale evidence, not forgery. A test is only as good as its assertions. Acceptance items that don't name a test are checked by people or the agent.

The most useful feedback is on the task format: https://github.com/Argento17/workorder