record exists; evidence still missing
_bugs/unproven/bug_high_...md
Fixed is the most trusted word in software. It is also the least checked. Bug keeps the test that failed before the fix, and passed after, right in Git.
Bug saves the one change that matters: the named test failed before the repair and passed after it. Review starts from proof, not a pep talk.
bug start --scaffoldMakes a BUG record in _bugs/unproven, and refuses to write over your files.
Give the bug one home before everyone's memory starts to wander.bug red BUG-019f4569Runs the named test before the fix and records the failure, who ran it, when, the commit and a hash.
Catch the bug in the act before anyone takes credit for the fix.bug green BUG-019f4569The same test must pass after the repair. The record moves only once the Fix section says something real.
Turn the passing fix into proof the next person can check.certified proof
report excerpt
One case file holds the bug, the test, the repair, the commits and the signed proof.
The next reviewer gets the answer before they have to ask.
Markdown for people. JSON for agents. Signed writer claims let a fresh clone on any of your licensed machines check the same facts, and your source never leaves the repo.
One record. Three readers. Change who is asking and the evidence does not move.
_bugs/unproven/bug_high_...md
_bugs/park/bug_low_...md
_bugs/closed/bug_high_...md
Git gets dirty. Bug keeps the evidence clean.
Repository closure proof ready for review.
all states · fixed · half fixed · stale · malformed · unproven
100%failing proof · regression must fail before the fix
100%passing proof · fix must pass the named test
100%source + tests · bug IDs, files, symbols, and commits agree
86%Ed25519 · each device signs its own immutable proof
72%no backslide · proof quality moves upward package by package
64%Software engineering is programming integrated over time.
Launch wins attention. Then customers expect the promise to keep working:
This is where the work pays you back: fewer repeat bugs, calmer reviews and software your customers keep trusting.
Forengineerswho thinkin time& space.
Code ages. Truth travels. Customers renew when they can see the fix stayed fixed.
A bug that comes back is a sequel nobody asked for. This time you pay for the bug, the failed fix, the second hunt and the trust you lost.
Less archaeology. Less second review. Fewer fixes that return wearing a new name.
A bug marked fixed can come back as a second incident. This time it brings friends: the original bug, a failed repair, a second hunt, a slower response and customers who trust the next answer less.
Bug captures the red to green change while the context is fresh, so review, handoff, production and audit inherit proof instead of another promise.
close
A passing command looks reassuring, but nobody saved proof that the named test caught the original bug.
The ticket closes. The doubt stays in the code.
again
When it comes back, nobody can trust the old close, so the team rebuilds the same story from code, chat, CI and memory.
The second fix starts behind: more people, less context, less confidence.
prod
A repeat bug reaches a bigger audience: on call, support, managers, customers, and maybe auditors or lawyers.
Now the company pays for the bug, and for having believed the first fix.
after
One false close makes every later close harder to believe.
Reviews slow down, handoffs get defensive, and the next incident starts with less trust than the last.
Most of what software is worth gets protected after launch: changed, fixed, explained, handed on and trusted again.
Invisible habits become very visible risk the moment someone asks how the work is actually kept healthy.
SWEBOK, software maintenance (opens in a new tab)Most bugs stay boring. A few become security, trust, legal or customer events.
Proof is cheapest before anyone knows which fix will matter later.
IBM Cost of a Data Breach Report 2025, global average (opens in a new tab)When a fixed bug comes back, the expensive part isn't only downtime. The team also has to disprove the old close before it can trust the new one.
That doubt burns the exact things outages already make scarce: time, trust and attention.
Splunk downtime study, reported by ITPro (opens in a new tab)Audits don't ask whether people meant well. They ask whether controls kept working over time.
A team without that memory rebuilds the story from scraps when the auditor finally asks.
AICPA SOC trust services context (opens in a new tab)Start the record. Catch the bug. Prove the fix. Bug ties the result to Git and to a writer the server has certified.
bug initCreates the private proof tree and its indexes. No source leaves the repo.
Creates the private _bugs tree, its indexes and a Markdown template. Your source, paths, titles and records stay in the repo.
Gives the bug a home before the fix story starts: ID, severity, file, symbol, test command, who, when and what happened.
Won't write over an existing source or test file just to make setup easy. Your work is not collateral damage.
Records the failing proof before the repair, and turns away a generic test name that isn't tied to the bug id.
Makes the change visible: first the test fails, then the same test passes after the real fix.
Won't close a record without the source anchor, the test, red proof, green proof and a real Fix story.
Shows the same typed state through show, verify and audit, so people and agents never get two answers.
Sorts work into provably closed, open, half fixed, stale, malformed, parked, duplicate and unproven, so a weak fix can't hide behind nice words.
Each licensed device signs its claims with a writer key the server certified. Editing the repo can't fake that identity.
The whole point is fit: Bug adds proof to Git, reviews, issues, agents and CI without asking any of them to become something else.
git native
What it does
Bug adds one rule to the tools you already use: no proof, no fixed.
The bug, the test, the repair, the commits, the author and the proof stay together. Review stops being a crime scene.
Keep your tracker, CI, branches and pull requests. Bug just gives them a better ending.
Confident prose can't close the record. The named test, current Git history and signed proof all have to agree.
A teammate on one of your licensed machines can clone the repo and check the proof without your private key. The proof doesn't live on the author's laptop.
Audit names what is proven, open, half fixed, stale, malformed, parked, duplicate or unproven. Nothing hides behind a green badge.
The real proof lives in your repo. Routine check ins never carry your source, paths, bug stories, command output or proof records. When access ends, your results and history stay put.
These numbers are for a developer laptop, not a server farm. On an Apple M1 Max, reporting a bug in a 10,000 bug inventory took 17.3 ms, loading the workflow record took 2.5 to 2.6 ms, and finding a bug by reference took 1.7 to 1.8 ms. In a separate test on a real filesystem, 10,000 concurrent writers each streamed their own 10 MiB create only file through Primitive Filestore: 97.656 GiB written, every destination SHA-256 matched the source, and the profiled one shot run measured 448.78 MB/s. That is what one machine measured, not a ceiling.
Each licensed device writes its own signed records under its own certified identity. Parallel work adds files instead of fighting over one shared ledger, and a fresh clone on a licensed machine checks every writer without a private key. The 10,000 concurrent writers test runs with no Bug lock, queue, worker pool or gate; Go and the filesystem handle the crowd. Audits stay fast on a laptop: 17.1 to 17.5 ms for 200 open bugs and 120 to 122 ms for 300 closed bugs.
Hostile tables, CLI smoke tests, fuzzing, fault injection and race tests attack the same edges your work depends on.
How to use it properly
It is short because nobody wants a ceremony. It is strict because pressure is exactly when fake proof gets expensive.
Name the bug before the fix story starts. The repro, the owner, the files, the tests and the review get one home.
Write the test before the repair and tie it to the bug id. Bug turns away generic proof, because generic proof protects nobody.
Fix the code once the failure is pinned down. Review sees the change happen instead of trusting timing, memory or a good feeling.
Close only when the same test passes and the fix story is clear enough for a stranger to maintain later.
Use show, verify and audit to check the facts fast. Weak fixes get caught while they are still cheap to improve.
Use Witness for fixes that face customers, regulators, security or lawyers. Bug proves the close. Witness seals the run behind it.
Proof doctrine
Bug doesn't replace judgment. It closes the loopholes that make judgment expensive during deadlines, outages, handoffs and agent work.
Good teams trust each other. Great teams let the repo remember the parts nobody should have to.
Software spends most of its life being changed, fixed, explained and handed on. Bug treats that as engineering, not cleanup.
Engineers should feel safer at work: describe the bug, prove it, fix it, explain it, and leave proof that future you will thank you for.
Truth stays beside the code. Tickets, dashboards and chats can point at Bug. They don't have to become it.
A proof tool shouldn't need your source, repo names, bug titles or private paths. The record belongs to your team.
Agents move fast. Bug gives them typed rails, and a loud no when they try to close work with confident prose.
A standard that lives in a policy doc gets skipped on a busy day. Bug makes the standard something the repo can fail.
A nice explanation helps only after the evidence holds up. Bug keeps facts structured, so pretty words can't cover missing proof.
Where it fits
Jira, Linear, GitHub Issues, Sentry, BugSnag, CI and pull requests have nothing to fear from Bug. It finishes the story they start.
Alternatives
Bug doesn't compete with planning, QA, CI or review. Those tools still matter. Bug fills the gap at the end that none of them was built to own.
Jira, Linear, GitHub Issues and friends are great for planning and memory. The fix still needs proof in the repo: test, commit, code anchor and state all agreeing.
Templates ask politely. Bug checks. A checkbox becomes a promise the repo can actually keep.
CI proves a command passed. Bug keeps the story: the right test failed first, the repair passed later, and the author stayed certified.
Conventions work until Friday afternoon. Bug checks the record against tests, anchors, commits and signed proof, so discipline doesn't depend on memory.
Homemade scripts quietly become process debt. Bug gives you a typed workflow, signed evidence and audit output without inventing a private standard.
Human judgment still matters. Bug makes it calmer, because reviewers start from evidence instead of a scavenger hunt.
Bug proves the fix closed before Witness seals the run. When the proof has to leave Git, Witness seals it, and on a custody plan Off Grid can hold an outside copy while the plan runs.
Use Bug as the daily habit. Add Witness when customers, auditors, buyers, regulators or lawyers need sealed evidence they can check later.
The repo shows the bug, red proof, green repair, commits, anchors, author, time, path and reason before anyone asks Witness to seal the run.
The quality run becomes reports, manifests, ledgers, hashes, timestamps, failures and files an outsider can inspect later.
On a custody plan, Off Grid holds a copy of the sealed Witness bundle under a retention lock, so the story doesn't rest on CI logs, screenshots, dashboards or memory.
Use Bug every day. Add Witness for release gates, audits, procurement, regulated customers, incident reviews, legal exposure or a fix someone challenges.
You're not buying another workflow. You're buying fewer arguments after a fix, smoother handoffs, safer agent work and proof that lives in Git.
The repo still shows what broke, what proved it, what changed, and why the close can be trusted.
Red proof, green proof, commits, author, time, path and reason arrive before the debate starts.
A Friday red test and a Monday repair stay in one thread, no Slack archaeology required.
Agents can contribute without turning confidence into claims nobody can verify.
Closed bugs stop hiding as debt, so new work starts from known truth instead of old doubt.
Proof rides along with branches, pull requests and CI. No tracker migration.
If customers, auditors, lawyers or future maintainers ask later, the answer is already sitting beside the code.
Review faster, because red, green, Git and the author already agree.
Hand off without losing what failed, what changed or why it worked.
Stop paying for the same bug twice: second review, second release, second incident.
Let agents move fast without letting confidence pass for evidence.
Keep proof private, portable and readable, in your own repo.
Make PROVABLY CLOSED a checked state, not a status someone typed.
Spend less time reopening old doubts and more time building what's next.
No. Trackers are where teams talk about, assign, sort and remember work. Bug lives beside Git, because a fix has to be checked where the code, the test and the commit live. Keep the tracker. Add Bug when trust needs proof.
That the close was earned. PROVABLY CLOSED means the issue was described, a red test showed the bug, the green fix changed the result, the commits back it up, and the explanation is clear enough for the next maintainer. It is backed by evidence in the repo, not a status someone typed.
Red is when the team proves the bug is real. Green is when the team proves the fix changed the result. The point isn't ceremony. It's keeping the moment things went from broken to fixed, so anyone can check the story later.
It keeps the thread in the repo. A record can show who filed the issue, when red proof was captured and by whom, which commit held it, the hash of the failing output, who later turned it green, and which commit closed it. So the Monday maintainer starts from facts, not chat archaeology. And handoffs get honest without turning into blame, because the record shows the path, not just the happy ending.
Start in the repo you already have. Bug sets up beside your code, respects your existing files, and can run audit only before you enforce anything. No migration first. It earns your trust by showing where your closes are already weak.
Without the failing before, a passing test can be theater. Red proof answers the first question any maintainer asks: did we ever prove the bug we said we fixed? It guards against polished fixes, agent guesses and tests written after the fact that never caught the real bug.
Outages are when standards are easiest to drop and hardest to pick back up. People are tired, customers are upset, and a quick patch can quietly become tomorrow's bigger incident. Bug gives the team one narrow path: describe the bug, capture red, land the fix, prove green and leave a record, so the postmortem starts from facts instead of panic.
No. Real companies don't keep one tidy language forever. Bug is built for mixed repos, and the language count on this page comes straight from the supported list, so the page can't drift from the product. Go gets the deepest support today. The value is one habit across every stack you actually run.
No. Bug works hand in glove with Git, because Git is already where engineering time is recorded. Branches, commits, pull requests and reviews stay put. Bug adds the missing proof, so history isn't split between code truth and ticket folklore.
CI proves a command passed. It usually can't prove the issue was described well, that the right test failed first, that the same bug got fixed, or that the next maintainer has enough context. CI runs things. Bug proves the close.
It checks records, tests, current Git history, certified writer proofs, signatures and revocations. Then it names what is proven, half fixed, stale, malformed, open, parked or unproven. Plain audit only reads. It changes nothing in your repo.
There is smoke, but not enough proof. Maybe there's a green run but no red failure, a test that doesn't match the bug, stale file anchors, or a fix story that wouldn't help the next maintainer. Bug makes that awkward middle easy to see.
The proof record itself can't be trusted yet. That's different from an unfixed bug. The evidence is broken: missing fields, bad paths, invalid IDs, broken links, or a shape that would make a person or agent guess.
Because maintenance happens in the repo. Tickets drift, teams reorganize, vendors change and context vanishes. A record in the repo moves with the branch, pull request, commit, review and agent work that actually changed the system.
Because teams are mixed now. People need Markdown they can read in a pull request, hand to a maintainer or show in an incident review. Agents need JSON so they can check state without scraping prose. Both point at the same proof, so there is only ever one story.
It holds agents to the same hard line as people. Each licensed device writes its own signed claims instead of fighting over one shared file. Audit checks every writer on its own and refuses closes made of prose alone.
Agents can't satisfy Bug by editing a sentence, sounding sure, or calling a passing command a fix. They have to describe the issue, attach the right files and tests, prove red, prove green, and leave an explanation a maintainer can follow.
They tie each change to a device key the license server certified. Red, green and reattest claims also tie in the bug, operation, commit and proof hash. A teammate on one of your licensed machines can clone the repo and check the chain without your private key.
Bug proves the close: the bug, red, green, the explanation, the commits and a certified writer. Witness keeps the wider quality run for outside review. Together they answer two questions: was the bug fixed, and did the checks really run?
Yes, as engineering evidence. Audits ask whether real processes exist and keep running over time. Bug helps show how you keep software healthy: bugs described, assigned, red tested, green fixed, explained, dated, committed and held to one standard, whether a person or an agent did the work. Handoff records show the work moved between people without living in one person's head. What Bug doesn't do is certify you. That depends on scope, controls and your assessor, and nothing we make changes it.
It stays in sight instead of getting buried. Maintenance isn't pretending everything is done. It's knowing what is open, parked, unproven or unsafe to close. Bug lets the repo tell that truth without dressing doubt up as done.
No. It gives reviewers better facts. People still decide whether the fix is good. Bug just makes the basic evidence structured, repeatable and checkable before the judgment call.
Not on a laptop, which is where we measured it. The numbers come from the Bug benchmark suite, go test ./internal/run -run '^$' -bench . -benchmem -count 3, on an Apple M1 Max. Starting a bug in a 10,000 bug inventory took 17.3 ms. Red and green find and load the record in 1.7 to 1.8 ms and 2.5 to 2.6 ms, then the bookkeeping took 15.0 to 15.9 ms for the ledger and 26.1 to 26.3 ms for the index on a 5,000 bug inventory. Audits took 17.1 to 17.5 ms for 200 open bugs and 120 to 122 ms for 300 closed bugs. The 10,000 concurrent writers test wrote 97.656 GiB through Primitive Filestore at 448.78 MB/s, and every destination SHA-256 matched the source. The exact commands, raw results and CPU and memory profiles are kept in test_results.
Not by editing the repo or copying the binary. Each device makes its writer key on the device, and the private key never leaves it. Our account service signs off on the public key when you register the device, so we are one of the parties a reviewer trusts for who wrote what. The substance does not depend on us. Anyone with the repo can check the red test, the green test and the commits again, and audit checks the certificate, device signature, Git history, proof hash and revocation state.
A bug that comes back costs more than the first one. Give every fix the proof the next reviewer, maintainer and on call engineer will need.