status
Where the project stands: strict and weighted percent per group, the next workstream, what it needs.
project
io.github.ArtJack由 GitHub 账号 ArtJack 发布v0.3.0更新于 Nov 3, 2026
Read-only project status: strict and weighted completion, each claim held to git.
面向 gitdone 跟踪项目的只读状态工具:严格与加权完成度、下一个工作流,以及每条声明与 git 证据的核对。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
[PyPI] [Python] [CI] [License: MIT] [its own status] [Sponsor]
Your agent says it shipped. Git decides.
One markdown table of what must exist for a project to be done, with every row held to git, and a percent you can defend. A row is Live only when a commit on the default branch or a merged pull request says so. A commit that would make the numbers lie is refused, and a claim stops holding the day its commit is reverted.
No account, no server, no model calls, no dependencies. The files live in your repository and stay readable without the tool.
The scale · Install · Instruction · The gate · Focus · Commands · FAQ · Sponsor
Every project answers that question with two numbers, side by side.
The gap between them is work that exists and has not shipped. Strict 25% with weighted 46% is a lot in progress and little out the door, and it is a different project from strict 40% with weighted 46%.
[A scale for a fictional project: all rows at 25 percent strict and 46 percent weighted, and one bar for each of its five domains.]That is gitdone chart --scale --out scale.svg, for Bramble Kiosk, a fictional library kiosk partway through its work, whose history docs/demo/make_history.py generates. Here is the same state everywhere you would meet it.
When you open the project. Plain gitdone, with what comes next and where the recent commits went:
In STATUS.md. Generated and committed, so anyone who opens the repository can read it, and the gate refuses a view that no longer matches the table:
Bramble Kiosk: 16 rows
- Strict: 4 of 16 live ·
█████░░░░░░░░░░░░░░░25%- Weighted:
█████████░░░░░░░░░░░46%- Built on branches, not released: 2 · demo only: 1 · partial: 3 · not built: 6
Workstreams, in the plan's order
Next, in order: S1 → S2 → S3.
On every pull request that moves a row. The Action keeps one comment, and puts each finding on its row's line in the diff:
gitdone · gate: PASS
Against
main: Since 54a3bd4 (2026-03-02): All strict 3→4 of 16 (19%→25%), weighted 39%→46%. Moved: 7 Partial→Built, not live; 9 Partial→Live. Workstreams moved: S1, S3; not moved: S2.Next: S1 Reading lists and renewals. Needs the head librarian's word at release.
On your README. gitdone badge --keep writes the badge with the view, and the gate holds it to the table: [done: 25% strict, 46% weighted]
Over time. gitdone chart --out burnup.svg draws the table's own git history, with the scope line visible when it grows:
Across every project you keep. gitdone portfolio ~/code, read offline, and a failing gate is hard to miss:
For someone who will never open the repository. gitdone report --out report.md gives the evidence behind the numbers, row by row, as Markdown for a client or a manager.
You need Python 3.9 or newer and git. GitDone has no dependencies of its own. gh is used only for a row that names a pull request, and glab for a merge request.
gitdone --version says it worked. pipx upgrade gitdone moves to a new version, and pipx uninstall gitdone removes it. Your table and view stay, and they read fine without the tool.
A hook lives in .git/hooks, in this clone only: delete pre-commit, pre-merge-commit and post-commit there to take it out.
One project from nothing to a number you can defend. Run these in your repository, on your own rows. Every block is real output, trimmed where it runs long, and a test keeps it so.
Rows are capabilities a stranger could check, like Sign-in, not tasks like refactor auth.
--hook guards the commits after this one, in this clone. --ci adds the Action, --agents the agents' rules, and --badge a badge.
Instead of --rows, start from a file's checklist or spec with --from-checklist TODO.md, or from GitHub issues with --from-issues. A checked item is Live only if what it names holds, and otherwise starts as Partial with the reason beside it, and an unchecked one starts as Not built, so the first number you see is already true.
gitdoneIt says where things stand and what comes next. gitdone next lists the rows to work on now, and gitdone rows --open lists everything left.
The second commit is on a branch, for the next step. Naming the row is how gitdone focus knows where the work went, and nothing else depends on it.
Only these move the numbers, and each one is held to its rule. Git is asked, and shipped refuses a commit that is not on the default branch, or one that only reverts another.
The weights are yours to change in .gitdone.json, and so are the kinds. With a remote, shipped wants the commit pushed, and mark --branch wants the branch pushed.
Adding a row lowers the percent, and that is the point: the cost of a feature is on the table when someone decides to take it. Rows and domains can also be edited by hand in status-table.md, followed by gitdone render --write.
The gate runs here, and it stays out of any commit that does not touch the tracker. Each command's to commit: line names the files, including a badge if you keep one.
gitdone focus says where the commits went. gitdone chart, gitdone report and gitdone portfolio are above. gitdone doctor checks the whole setup on one screen.
It names the row and what to do. A reverted commit fails until someone says what is true now, with gitdone mark, or with gitdone shipped on the new commit. The rules.
Going further: the status table, the plan file, and groups, workstreams and asks in a full example.
Every line above is real output, with the longer commands trimmed: docs/demo/record.py runs it, and a test keeps this copy true.
git revert or GitHub's button, turns its row into a failure until someone says what is true now, and the headline says so.shipped to accept its commit has told you something true, before the review instead of after the release.STATUS.md after the session in the gate's demo, in a project with no groups or workstreams:
kiosk: 4 rows
- Strict: 1 of 4 live ·
█████░░░░░░░░░░░░░░░25%- Weighted:
█████░░░░░░░░░░░░░░░25%- Built, not live: 0 · partial: 0 · not built: 3
What is left: 3 of 4 rows
Live: 1 of 4 rows
Tracked with gitdone: every Live row names its evidence, and git holds it to that.
A percent does not say why a month became three. These do, from the same two files, and none of them can stop a commit.
focus sorts recent commits into on plan, unclear, upkeep and off plan, with the reason for each. Off plan is not wrong, only unplanned: the numbers are named while there is still time to ask why. A hook says one line when a commit was off plan, and --no-focus leaves it out.next lists the rows to work on now, in the plan's order.matrix ties each requirement in your spec to its row, evidence and tests, read from git each time, and names the two gaps: a requirement no row names, and a row nobody asked for.How each is worked out, and what it cannot tell.
Measured from the code, and SECURITY.md has the rest.
--json works on gitdone, status, check, next, eta, focus, matrix, week, where, rows, report, doctor, chart and portfolio: the shapes.
The table is the one place a status changes, and only on a release or a reviewed branch, never because work started. The view is generated from it, and nobody edits it by hand. Rows are capabilities a stranger could check, not tasks, so the table is also your definition of done, reviewed like code. The whole method is a page, and it works without the tool. For more depth: the status table, the plan file, evidence and the gate, focus, traceability and the date.
These tools are good at other jobs, and most pair well with this one.
What gets past the gate? The hook is a courtesy and CI is the gate: --no-verify, a rebase or a cherry-pick skip the hook, and the Action judges what arrived.
A real commit cited for the wrong row passes, and a reviewer sees that on one line of the diff. A pull request can edit the gate's own rules, and the Action says so out
loud. The rules, and what the gate cannot tell.
A commit was reverted and the number did not drop? The number is what the table says, and only a person moves a row. The gate fails, and the headline says so, until someone says what is true now. Then the number moves, in a commit with their name on it. The view and the badge change the same way.
Can a row just be deleted? Yes: scope is a person's decision, in a diff with their name on it. week and the Action's comment say which rows left, the chart's
top line moves, and rows_total in the plan makes it a deliberate edit.
Two branches moved rows, and the table conflicts? Resolve status-table.md as you would any file, then gitdone render --write. The gate names a conflict marker
it finds. The view is generated, so either side will do.
Does it read my code? No. A status is a person's claim, and the engine holds the claim to its evidence. It proves a commit is on the default branch, not that the commit holds the feature. The claim and its commit sit on one line of the table's diff, where a reviewer sees them.
Will it say when the project will be done? Not unless you ask. No percentage is a date. gitdone eta draws a line through the table's own history and says what it is: a line, with a range, not a promise. It is experimental, so until 1.0.0 it shows only when asked for. "dates": true in a project's plan puts it beside the percent there. What it cannot tell.
Can focus stop a commit? No. Off plan is not wrong, only unplanned. The hook says one line after the commit, and --no-focus takes it out. The numbers exist so that someone can ask, while it still matters.
We squash-merge. Cite the squash commit, or the pull request. A branch's old tip is not on the default branch.
A monorepo? One tracker per package: the nearest .gitdone.json wins. repo can also point elsewhere, so a tracker may live apart from
the code it measures.
GitLab? MR !12 is verified through glab. So far that path is tested against a stub of glab, not a real GitLab; a report from one is welcome.
Windows? The suite passes there in CI, on the oldest and the newest Python. The tests that need a POSIX shell are left out, so the hooks, which are sh and which Git for Windows runs, are the less proven part.
No git at all? It still renders and counts, and every claim stays unproven until there is a repository.
Do I need the plugin? No. The engine stands alone. Everything else is a thin layer over the same commands.
STATUS.md is this project's own view, under its own gate, with this roadmap as its scope. The rows that are Live name the commits that
made them so. Its scale and its burn-up, published by the Action on every push:
CONTRIBUTING.md. The reports that matter most: a claim the gate accepted and should not have, or refused and should not have.
GitDone is free and MIT-licensed. If it keeps a false "done" out of your project, you can sponsor its development on GitHub.
MIT.
GitDone is an independent project, not affiliated with or endorsed by the Git Project. Git is a trademark of Software Freedom Conservancy.
来源:README.md,提交 0d76e35
Where the project stands: strict and weighted percent per group, the next workstream, what it needs.
projectThe rows of the status table, optionally only the ones not yet at the strict kind.
openprojectEvery row with what it claims as evidence, and what git and gh say about each claim.
offlineprojectRun the gate: is the view true, do the counts sum, does each status have its evidence. Writes nothing.
offlineprojectWhat moved since a date, a span like '2 weeks', or a commit, from the table's git history. Default: 7 days.
sinceprojectWhen it will be done if the work goes on as it has: a line through the table's git history, with a range, the scope's effect and the deadline. Experimental: give a date only when asked when it will be done, quote its words, and say it is a line.
projectWhere the recent commits went: on plan, upkeep or off plan, with the reason for each. A signal, never a gate.
daysprojectWhat to work on now: the next workstream's open rows. Anything else is a change of scope, so say so before starting it.
projectA traceability matrix: each requirement, the row that holds it, its evidence and the tests on record. A test listed exists; passing is CI's word.
offlineprojectEvery tracked project under a folder: strict, weighted, next, and the gate read offline.
folder已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
$ gitdoneAll: strict 25% (4/16), weighted 46% · next: S1 (Reading lists and renewals), needs the head librarian's word at release All strict ████░░░░░░░░░░░░ 25% weighted ███████░░░░░░░░░ 46%Focus, last 14 days: 8 of 13 commits on plan, 3 off plan (printer, theme).$ gitdone init --rows "Sign-in, Search, Export, Reports" --hookwrote .gitdone.json, status-table.md (4 rows) and STATUS.mdAll: strict 0% (0/4), weighted 0% · next: row 1 (Sign-in)
$ git add .gitdone.json status-table.md STATUS.md && git commit -q -m 'Track the scope'result: PASS$ gitdoneAll: strict 0% (0/4), weighted 0% · next: row 1 (Sign-in) All strict ░░░░░░░░░░░░░░░░ 0% weighted ░░░░░░░░░░░░░░░░ 0%$ git add signin.py && git commit -q -m 'row 1: sign-in'
$ git switch -q -c search && git add search.py && git commit -q -m 'row 2: search by title'
$ git switch -q main$ gitdone shipped 1 b942cf2row 1: Not built → Live (verified: commit b942cf2 is on main)All: strict 25% (1/4), weighted 25% · next: row 2 (Search)to commit: git add status-table.md STATUS.md
$ gitdone mark 2 built --branch searchrow 2: Not built → Built, not liveAll: strict 25% (1/4), weighted 45% · next: row 2 (Search)to commit: git add status-table.md STATUS.md
$ gitdone mark 3 partial "CSV works, PDF does not yet"row 3: Not built → PartialAll: strict 25% (1/4), weighted 55% · next: row 2 (Search)to commit: git add status-table.md STATUS.md$ gitdone add "Password reset"added row 5All: strict 20% (1/5), weighted 44% · next: row 2 (Search)to commit: git add status-table.md STATUS.md
$ gitdone remove 4row 4 (Reports) is out of the scope; `week` will say soAll: strict 25% (1/4), weighted 55% · next: row 2 (Search)to commit: git add status-table.md STATUS.md$ git add status-table.md STATUS.md && git commit -q -m 'Sign-in is live'result: PASS$ gitdoneAll: strict 25% (1/4), weighted 55% · next: row 2 (Search) All strict ████░░░░░░░░░░░░ 25% weighted █████████░░░░░░░ 55%
$ gitdone week "1 month"No commit of the table before 1 month ago; since its first commit (d72f82a, 2026-03-02): All strict 0→1 of 4 (0%→25%), weighted 0%→55%. Moved: 1 Not built→Live; 2 Not built→Built, not live; 3 Not built→Partial. 1 rows are new since then. Removed: 4 (was Not built). Focus: 1 of 1 commits on plan, 0 unclear, 0 upkeep, 0 off plan.# Four things must exist for this to be done.$ gitdone init --rows "Sign-in, Search, Export, Reports" --hookwrote .gitdone.json, status-table.md (4 rows) and STATUS.mdAll: strict 0% (0/4), weighted 0% · next: row 1 (Sign-in)
# The agent says sign-in shipped, and names a commit from its spike branch.$ gitdone shipped 1 705af2arefused, nothing changed: commit 705af2a is not on mainStill on a branch? Record it with: gitdone mark 1 built --branch NAME
# The commit that really landed:$ gitdone shipped 1 660d81arow 1: Not built → Live (verified: commit 660d81a is on main)All: strict 25% (1/4), weighted 25% · next: row 2 (Search)to commit: git add status-table.md STATUS.md
# Someone types Live into the table by hand, with nothing behind it.$ git add -A && git commit -m 'Search is live'FAIL row 2 names no commit, pull request or tag; run `gitdone shipped 2 <commit>`result: FAIL in --strict, evidence is missing or partly disproved
# Later, sign-in is reverted on main. The claim stops holding.$ gitdone checkFAIL row 1 (Live): commit 660d81a was reverted on main by 3f6610b what is true now? gitdone mark 1 <kind> <words>, or shipped 1 <the new commit>result: FAIL, 1 contradicted or inconsistent
# Your agent says it shipped. Git decides.$ gitdone focusLast 14 days: 13 commits, 1,437 lines changed. On plan 8 62% 373 lines 26% rows 7 (2), 10 (2), 3 (1), 6 (1), 9 (1), 15 (1) Upkeep 2 15% 34 lines 2% Off plan 3 23% 1,030 lines 72% in printer (620 lines), theme (410 lines)
Off plan or unclear, newest first: 2fb7709 Rewrite the receipt printer driver again (280 lines, printer) f8ebf86 Try a new theme engine for the kiosk (410 lines, theme) 1fbaa7d Rewrite the receipt printer driver (340 lines, printer)
Next on the plan: S1 (Reading lists and renewals). It needs the head librarian's word at release.Off plan is not wrong, only unplanned. If it belongs, `gitdone add "<what it is>"` puts it in the scope, and the percent moves.To tie a commit to a row, name the row in its message: `row <number>`.