Skip to main content
Off Grid Software

Bug fixes, with receipts.

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.

  • Learning curve Three commands to learn
  • Red proof Test fails before the fix
  • Green proof Same test passes after
  • Audit Weak fixes show up in audit
  • Review Proof arrives with the fix
  • Handoff The why outlives the author
  • Agents Same rules as people
  • Trust Every writer is signed
  • Verify Your licensed machines check it again
  • Ownership Evidence stays in your repo
  • Adoption Keep Git, CI and your tracker
  • Coverage 50 languages recognized

Git remembers what changed. Bug remembers why you can trust it.

ready

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.

  1. Start the record bug start --scaffold

    Makes 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.
    waiting
  2. Capture red proof bug red BUG-019f4569

    Runs 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.
    locked
  3. Prove the repair bug green BUG-019f4569

    The 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.
    locked

certified proof

red commit
ec033cd · regression fails
green commit
684eb13 · same test passes
writer
device identity certified · proof signed

report excerpt

Status
PROVABLY CLOSED
Test
go test ./... -run TestBug019f4569...
Red At
local machine time
Green At
local machine time
_bugs after audit waiting
  • _bugs/ repo local maintenance proof
  • BUG_ID_LEDGER.tsv allocated IDs
  • _index/ rebuildable record locations
  • _writers/ certificates + immutable signed claims
  • c842.../proof-BUG-019f4569...json writer, commit, operation, proof hash
  • closed/ records that earned closure
  • bug_medium_019f4569...normalize-drops-whitespace-only-input.md PROVABLY CLOSED
  • unproven/ empty after green

What stays with the fix.

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.

Proof travels with the code.

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.

  • Review without reconstructing the story.
  • Hand off without losing the why.
  • Audit without trusting the machine that wrote it.
Record
one durable case per defect
Writer
identity certified · evidence signed
Audit
your clones keep verifying

One record. Three readers. Change who is asking and the evidence does not move.

codebase trust, verified

_bugs

Repository evidence tree

BUG-019f21eb high / unproven

record exists; evidence still missing

_bugs/unproven/bug_high_...md

BUG-019f21f1 low / parked

explicitly deferred, not quietly forgotten

_bugs/park/bug_low_...md

BUG-019eb648 high / provably_closed

red, green, Git, and certified proof agree

_bugs/closed/bug_high_...md

  • _index rebuildable record locations
  • _writers certificates + signed evidence
  • unproven new records needing evidence
  • open described defects in flight
  • closed proof accepted
  • park explicitly deferred work

Git gets dirty. Bug keeps the evidence clean.

Go JavaScript TypeScript Python C C++ Swift C# Java Perl PHP SQL Rust Zig Ruby Kotlin Dart Scala R Shell Lua Objective-C Lisp Haskell Assembly Visual Basic Pascal Fortran COBOL Ada Julia Groovy Clojure Elixir Erlang F# PowerShell Racket OCaml Nim Crystal V Solidity Terraform Make Dockerfile YAML Vue Svelte Delphi

What one audit pass checks.

Repository closure proof ready for review.

BUG

AUDITING
  • REPO local first · records under _bugs/ · no outside database
  • PROOF red regression · green repair · certified writer · current git history
  • AGENTS typed reports · hard gates · no prose only closure
  • RECORDS CLASSIFIED

    all states · fixed · half fixed · stale · malformed · unproven

    100%
  • RED REQUIRED

    failing proof · regression must fail before the fix

    100%
  • GREEN REQUIRED

    passing proof · fix must pass the named test

    100%
  • ANCHORS VALIDATED

    source + tests · bug IDs, files, symbols, and commits agree

    86%
  • WRITERS CERTIFIED

    Ed25519 · each device signs its own immutable proof

    72%
  • RATCHET ENFORCED

    no backslide · proof quality moves upward package by package

    64%
MODE
AUDIT
CLOSURE
RED/GREEN
OUTPUT
JSON + MD
WRITER
CERTIFIED

Launch is a moment. Maintenance is the product.

Software engineering is programming integrated over time.

Titus Winters, Software Engineering at Google

Features create the promise

Launch wins attention. Then customers expect the promise to keep working:

  • The feature ships once
  • The code changes for years
  • Every change can reopen old risk
  • A false close makes the promise weaker

Maintenance keeps the promise

This is where the work pays you back: fewer repeat bugs, calmer reviews and software your customers keep trusting.

  • Bugs caught in the act before repair
  • Fixes proven against current Git history
  • Authorship certified
  • Handoffs that survive the author
  • Evidence future teams can audit

Forengineerswho thinkin time& space.

Code ages. Truth travels. Customers renew when they can see the fix stayed fixed.

Fixed should mean 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.

  • Agents move fast. Bug makes sure confidence never outruns the proof.
  • Reviews start with the red test, the green test, the commits and the author already lined up.
  • Handoffs keep the why, so the next engineer doesn't redo the detective work.
  • Weak fixes get caught before the bug returns to production with a bigger audience.
  • Audits read the record instead of asking the team to act it all out again.
  • It adds up: less rework, calmer incidents and more time for new work.

Less archaeology. Less second review. Fewer fixes that return wearing a new name.

Stop paying for the same bug twice.

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.

  1. Accept the weak close

    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.

  2. Repeat the investigation

    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.

  3. Bring it back to production

    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.

  4. Pay the trust tax

    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.

Maintenance is where software lives

Most of its life Maintenance is where software lives

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)

A recurring outage compounds the bill

15K dollars a minute A recurring outage compounds the bill

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 reward operating memory

SOC 2 Audits reward operating memory

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)

Three commands. One trustworthy close.

Start the record. Catch the bug. Prove the fix. Bug ties the result to Git and to a writer the server has certified.

Proof cycle private proof tree ready
current command bug init

Creates the private proof tree and its indexes. No source leaves the repo.

  1. _bugs/ private state lives beside the code
  2. attempt survives interruption certified operation claim written first
  3. _bugs/unproven/BUG-019f4891...md one defect gets one durable home
  4. refused: existing test file unsafe scaffold overwrite rejected
  5. refused: test name missing bug id generic regression name rejected
  6. red: Score averages nonempty input failing proof tied to commit 60286e57
  7. green: divisor repair holds passing proof tied to commit b66758c3
  8. _bugs/closed/bug_medium_019f4891...md audit moves the case after proof agrees
  9. existing results stay in the repo your licensed machines keep verifying the chain
Creates

A durable case file

Creates the private _bugs tree, its indexes and a Markdown template. Your source, paths, titles and records stay in the repo.

Creates

A case file before the fix

Gives the bug a home before the fix story starts: ID, severity, file, symbol, test command, who, when and what happened.

Refuses

Unsafe source overwrite

Won't write over an existing source or test file just to make setup easy. Your work is not collateral damage.

Refuses

Nameless red proof

Records the failing proof before the repair, and turns away a generic test name that isn't tied to the bug id.

Creates

The red to green transition

Makes the change visible: first the test fails, then the same test passes after the real fix.

Refuses

Weak closure

Won't close a record without the source anchor, the test, red proof, green proof and a real Fix story.

Creates

Reviewer ready state

Shows the same typed state through show, verify and audit, so people and agents never get two answers.

Refuses

Ambiguous audit state

Sorts work into provably closed, open, half fixed, stale, malformed, parked, duplicate and unproven, so a weak fix can't hide behind nice words.

Certified

Accountable authorship

Each licensed device signs its claims with a writer key the server certified. Editing the repo can't fake that identity.

Use Bug without changing how your team works.

The whole point is fit: Bug adds proof to Git, reviews, issues, agents and CI without asking any of them to become something else.

Repo-local guide

git native

What it does

Proof where work already happens.

Bug adds one rule to the tools you already use: no proof, no fixed.

  • One answer, beside the code

    The bug, the test, the repair, the commits, the author and the proof stay together. Review stops being a crime scene.

  • Git stays the workbench

    Keep your tracker, CI, branches and pull requests. Bug just gives them a better ending.

  • Agents face a hard gate

    Confident prose can't close the record. The named test, current Git history and signed proof all have to agree.

  • Trust travels

    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.

  • Weak closure stays visible

    Audit names what is proven, open, half fixed, stale, malformed, parked, duplicate or unproven. Nothing hides behind a green badge.

  • Private and never hostage

    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.

  • Scales without the ceremony

    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.

  • Room for a crowd of agents

    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.

  • Quality is built in

    Hostile tables, CLI smoke tests, fuzzing, fault injection and race tests attack the same edges your work depends on.

How to use it properly

A small habit with a hard stop.

It is short because nobody wants a ceremony. It is strict because pressure is exactly when fake proof gets expensive.

  • 1. Start the record

    Name the bug before the fix story starts. The repro, the owner, the files, the tests and the review get one home.

  • 2. Make red real

    Write the test before the repair and tie it to the bug id. Bug turns away generic proof, because generic proof protects nobody.

  • 3. Repair after evidence

    Fix the code once the failure is pinned down. Review sees the change happen instead of trusting timing, memory or a good feeling.

  • 4. Make green explain itself

    Close only when the same test passes and the fix story is clear enough for a stranger to maintain later.

  • 5. Inspect before trust

    Use show, verify and audit to check the facts fast. Weak fixes get caught while they are still cheap to improve.

  • 6. Seal the bigger story when needed

    Use Witness for fixes that face customers, regulators, security or lawyers. Bug proves the close. Witness seals the run behind it.

Proof doctrine

Strict where strictness pays.

Bug doesn't replace judgment. It closes the loopholes that make judgment expensive during deadlines, outages, handoffs and agent work.

  • Trust, then verify

    Good teams trust each other. Great teams let the repo remember the parts nobody should have to.

  • Maintenance is most of the life

    Software spends most of its life being changed, fixed, explained and handed on. Bug treats that as engineering, not cleanup.

  • Confidence comes from proof

    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.

  • Git remains central

    Truth stays beside the code. Tickets, dashboards and chats can point at Bug. They don't have to become it.

  • No surveillance bargain

    A proof tool shouldn't need your source, repo names, bug titles or private paths. The record belongs to your team.

  • Ready for agents, never naive about them

    Agents move fast. Bug gives them typed rails, and a loud no when they try to close work with confident prose.

  • Standards that can be enforced

    A standard that lives in a policy doc gets skipped on a busy day. Bug makes the standard something the repo can fail.

  • Clear facts beat clever prose

    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

Keep your tools. Give them closure.

Jira, Linear, GitHub Issues, Sentry, BugSnag, CI and pull requests have nothing to fear from Bug. It finishes the story they start.

  • Keep Jira, Linear, GitHub Issues, or your tracker for planning.
  • Keep Sentry or BugSnag for production detection.
  • Keep CI for execution.
  • Keep Git as the history of every change.
  • Use Bug to prove the issue went from report, to failing test, to passing repair, to an explanation the next maintainer can use.
  • Let every tool link to the proof instead of trying to be the proof.

Alternatives

Keep the tools. Remove the doubt.

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.

  • Issue trackers alone

    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.

  • Pull request templates

    Templates ask politely. Bug checks. A checkbox becomes a promise the repo can actually keep.

  • CI checks only

    CI proves a command passed. Bug keeps the story: the right test failed first, the repair passed later, and the author stayed certified.

  • Commit message discipline

    Conventions work until Friday afternoon. Bug checks the record against tests, anchors, commits and signed proof, so discipline doesn't depend on memory.

  • Custom scripts

    Homemade scripts quietly become process debt. Bug gives you a typed workflow, signed evidence and audit output without inventing a private standard.

  • Manual QA signoff

    Human judgment still matters. Bug makes it calmer, because reviewers start from evidence instead of a scavenger hunt.

Two tools. One standard.

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.

Bug keeps the close honest

The repo shows the bug, red proof, green repair, commits, anchors, author, time, path and reason before anyone asks Witness to seal the run.

Witness keeps proof portable

The quality run becomes reports, manifests, ledgers, hashes, timestamps, failures and files an outsider can inspect later.

Off Grid can hold the copy

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.

Add it when proof leaves Git

Use Bug every day. Add Witness for release gates, audits, procurement, regulated customers, incident reviews, legal exposure or a fix someone challenges.

Questions worth asking before the next fix has to be believed.

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.

Memory fades

The repo still shows what broke, what proved it, what changed, and why the close can be trusted.

Review gets calmer

Red proof, green proof, commits, author, time, path and reason arrive before the debate starts.

Handoffs survive Monday

A Friday red test and a Monday repair stay in one thread, no Slack archaeology required.

Agents stay bounded

Agents can contribute without turning confidence into claims nobody can verify.

New features move easier

Closed bugs stop hiding as debt, so new work starts from known truth instead of old doubt.

Git stays home

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.

The fix explains itself.

  • 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.

Straight answers, no ticket required.

Is this a replacement for Jira, Linear, or GitHub Issues?

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.

What does Bug actually prove?

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.

What is the red and green workflow?

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.

How does Bug help with handoffs?

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.

How hard is it to adopt?

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.

Why is red proof so important?

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.

How does Bug help during an outage?

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.

Does this only work for Go projects?

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.

Does Bug fight our Git workflow?

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.

Why not just rely on CI?

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.

What does bug audit do?

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.

What does half fixed mean?

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.

What does malformed mean?

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.

Why keep Bug records in the repo?

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.

Why both Markdown and JSON?

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.

Is this safe for agents?

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.

How does Bug stop agents from cutting corners?

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.

What are certified writer proofs for?

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.

How does Bug work with Witness?

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?

Can Bug help with compliance or enterprise review?

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.

What happens if a bug cannot be fixed yet?

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.

Does this replace human review?

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.

Will it slow down with thousands of bugs or a fleet of agents?

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.

Could Off Grid, or anyone with the binary, forge a closure proof?

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.

Fix it once. Keep the receipt.

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.