Reproduction Before Fixes
How Ion reproduces a reported bug on local main before any fix. Current protocol since 2026-11-30; replaces the historical one in Ion's own space.

Reproduction before fixes

Written by Eric's coach on Eric's instruction, 2026-11-30, after two assigned bugs sat "not reproduced" for hours although both reproduce in minutes. This document replaces the historical reproduction protocol. The gate is unchanged: no product edit and no pull request, draft included, before the bug is reproduced. What changed is how to reproduce, and what to do when it does not work. Revised 2026-12-03 on Eric's instruction, after a bug with complete steps was parked four minutes in because the browser had no account: Ion reproduces on main and not on the live site, creates its own identities, runs the steps whatever the reporter's theory, and does not stop to ask for what it can make itself.

The gate

REPORTED → BASELINE_LOCKED → REPRODUCED → FIX_ALLOWED + PR_ALLOWED → VERIFIED

    Server-side and logic bugs: a failing automated test on the exact main commit is the reproduction (Eric, 2026-11-25). No app run, no video.

    UI bugs: a recorded run of the reporter's steps on the app where the bug shows, built from the exact main commit, with a daemon built from the same commit.

    Keep the reproducing assertion unchanged while fixing. Verification is the same run passing on the fix commit.

Order of work for a UI bug

Do these in order. Each step is short; do not skip ahead to building fixtures.

    Read the whole report: the task body, every comment, every link and attachment. Write down the reporter's steps as a numbered list, in their words.

    Bring up main with the same content: lane up <slug> then lane sync <slug> <the report's URLs> inside ion-seed-dev (see the enuc README, "Reproducing a bug: lane"). lane gives a worktree at current main, a daemon built from that same commit, a web server, and it fetches the named documents with their comments from the real network. The reproduction is made against main code, because that is where the fix is made.

    Do exactly what the reporter did, against the lane URL. Open the same page the report gives and click what the report says to click. Do not reach the same content by another route: a comment opened in the side panel, a ?panel= URL, or a direct link to the embedded document are different pages with different code. If a step needs a signed-in account, make one and carry on (see "Make your own identities" below).

    Record the run. That recording, with the commit hash, is the baseline evidence. State is now REPRODUCED.

    Reply on the task (see Reporting below), then continue to the fix.

For a desktop bug, step 1 is the same; then follow the desktop recipe in the enuc README and record the packaged app built from main.

When the report is a document, a screenshot or an output

Some bugs are about what something produced: a malformed document, a wrong block structure, a bad export. Start from the reported artefact, not from inputs you invent. Do these in order.

    Find the artefact itself. If the report shows a document, search for its text and open that document. Read its block tree and its change history (document changes, then the change blob) and find the change that introduced the defect, who signed it and with what operations.

    Look at every attachment yourself. Open the image. Note what surrounds the defect, before and after it, not only the defect. Do not work from someone else's description of a screenshot, including the description in a brief.

    Reduce the real artefact to a minimal input. Copy the shape that actually failed and cut it down until the defect disappears. Only then write other variants. Variants guessed without the artefact are not a reproduction attempt.

    "Always" or "consistently" means a deterministic cause. Read the code that produces the output (for document writes, the markdown parser) and derive the condition from it.

    "Not reproduced" needs steps 1 to 4 done. Say which of them you did and what each showed. A few clean scratch variants are not enough.

A brief that suggests a method does not narrow this. If you are told to "try some variants", the artefact still comes first. Example, 2026-11-30: three guessed variants of "heading then list" were clean and the result was "not reproduced" in 90 seconds; the document in the screenshot showed the trigger at once (heading, list, then a paragraph under the same heading).

Rules that decide the hard cases

    The steps are the report. The theory is not. A reporter often adds a guess about the cause ("this is probably due to X"). The guess can be wrong while the steps are exact. Run the steps as written and never wait for the guess to be confirmed, explained or set up. Example, 2026-12-01: "publish a comment on a document I have not commented on yet, the author flashes wrong" was a complete set of steps. The guess about identity delegation was wrong and did not matter.

    Make your own identities. A browser with no account is not a blocker. Create a fresh account in the lane's web app, or a key with the CLI, whenever a step needs to be signed in, and do this as often as you need. A new identity is often the exact condition of the bug (first comment, first visit, no profile yet). Publish test comments on your own scratch documents, not on team documents. Never ask a reporter for an account, a session or sign-in steps.

    A missing prerequisite is yours to supply. No account, no test document, no content of the right shape: create it, then run the steps. Asking the reporter is for steps you ran and that did not show the bug, not for steps you have not run.

    Read the code while you reproduce. When the report names a precise trigger, the cause is usually visible in the code that handles it. Reading it is always allowed and never waits on an app run. A failing automated test on main that shows the reported behaviour is a reproduction for the gate, for UI bugs too, when the defect is in how data reaches the screen. Say on the task that the evidence is a test and not a recording.

    Real content, real network. Reproduce against the documents and comments in the report. Do not run the daemon isolated and do not rebuild the reporter's content as a fixture unless the bug is about sync, wire format, signing or indexing and could harm peers; say so on the task if you do. A daemon with no peers can never receive the reported comment.

    Same commit for web and daemon. Never substitute a prebuilt daemon from another commit. lane builds and caches the right one.

    The live site is optional. A look at hyper.media can show quickly what the bug looks like, and seeing it there proves the report is real. It is never a required step and never a reason to wait: the live site runs released code, and the reproduction that counts is on main. Never write "not reproduced" for a bug you have seen on the live site.

    Live shows it, main does not. Either it is already fixed on main or your setup differs. Check both: look for a recent commit that fixes it, then for content or comments not synced yet (lane sync waits for them), a different entry URL, a different account or sign-in state, a different window size. Keep the state BASELINE_LOCKED and keep working or ask.

    Main does not show it. This means you ran every reported step, signed in where the steps need it, and the bug did not appear. Describe where your run diverged from the report and ask the original issue author for the missing steps in the task thread as described below.

    A setup failure is not a result. A build error, a dead server, a timeout or missing content means the test did not run. Fix the environment or report it; do not record it as a failed reproduction.

    Platform differences. If the reporter is on macOS and you can only run Linux, a Linux reproduction of the same steps counts, and you say which platform you used. If Linux does not show it, say that and ask for a macOS run rather than concluding anything.

Time limits and reporting

A task is never silent. The people who assigned it read the task, not your progress document or private notes.

    30 minutes without a working environment, or 60 minutes without a reproduction: stop and reply in your status thread on the task. Say what you tried, what happened, and the one thing that would unblock you. Mention Eric if it is an environment problem. Then keep working if you can. If you have run the reported steps to the end and cannot reproduce an assigned issue, post that reply as soon as you reach that conclusion. Tag the person who opened the issue. For a Seed task, match its genesis CID to the change history and mention that change’s author with [@](hm://AUTHOR_UID/:profile). For an issue opened on GitHub, comment on that issue using @ followed by the opener’s login. Briefly say what you tried and what you saw, then kindly ask for the exact steps you are missing. For example, “Thanks for reporting this! I opened the link and clicked the preview, and it opened for me. Could you share which screen you started on and what you clicked next?” Check the thread before posting so a retry does not ping them twice. Resume when they reply with new details. A question to the reporter never stops the work: keep reading the code and trying other ways to trigger the bug while you wait.

    Reproduced: reply with the steps, the commit, what happens and what should happen, and the recording.

    Giving up for now: reply first. "Deferred", "waiting" or "blocked" in private notes without a reply on the task is not allowed.

    A broken tool or host (build failure, SSH timeouts, missing program) gets the same reply, with the exact error. Work around it if you can; report it either way.

These replies are milestones, not routine status. One reply per change of state.

Evidence

Record the baseline and fix commit hashes, the commands, the expected and actual behaviour, and the recordings. Put recordings where the task reader can open them and check the public link resolves before posting it. Never commit evidence to the product repository. Keep the working files under ~/lanes/<slug>/ in the dev VM and the manifest at artifacts/ui-bug-gate/<task>/manifest.json.

Resources

Use the standing ion-seed-dev VM and a lane; do not create a VM for a reproduction. Three lanes at most, lane down <slug> when the pull request is published or the task is closed. The resource protocol still governs anything beyond that.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime