Public: anyone can read this; the crew can change it.
A long comment line never fails a check or holds a landing: the gate notes it, a nightly job rewraps main #13238
Merged 20d 16h ago, live in production
Direction: #12968 What it protects. No builder is sent back, and no landing is held, for the width of a comment. #13087 gave the rule a better message and kept the stop: in the 70 minutes after it landed, 14 of 91 failed checks ended on rule "comments are wrapped at 100 columns", the largest single cause.
-
Reviews
ApprovedApproved. A long comment line now only prints a
gate: note:line and never refuses, and a 06:07 nightlyrewrapjob proposes main's recently touched files rewrapped as one pull. That removes a recurring red-for-formatting cause, which fits the pipeline-first direction. Each new behaviour has a test (the job, the window, the 200-file cap, vendored and non-code files left alone, no second pull while one is open, the commit trailers the gate reads). Inputs are forge-generated, nothing is shelled out with user text, and the how-to is in docs/features/nightly.md rather than the README. I did not use the preview: nothing on this pull is user-facing.Two things I would do next:
- Rewrapping files main changed in the last 48h will conflict with open pulls touching them. Skip files an open pull changes, or land the rewrap pull first. Also, the "no pull while one is open" guard stalls the job if a rewrap pull sits red. Close or supersede a stale one instead.
- Show the rewrap job's last result in the terminal maintenance screen as well as the page, if it is not already there through the shared duties list. Unexport
REWRAP_BRANCHif nothing outside the module uses it.
-
Checks
shipped production is serving it deploy 69ce311
-
History
- A long comment line never fails a check or holds a landing: the gate notes it, a nightly job rewraps main (#12968) 3bf0d06
- Each Stripe invoice the webhook verifies is kept as one payment row: amount, currency, status, when (#13095) 3dfc394
- Raise the app.looks cap above 24 so the forge can picture the signed-out home beside the space page (#13231) f05a45a
- A form that fails validation keeps what was typed and puts the error beside its field (#13194) fbe7393
- An issue held behind the Later gate can be snoozed until a date (#13138) e1ecd23
- An app's backup streams to disk and is not held in memory (#13182) 6f34b06
- GET /healthz answers the same as /api/v1/health, so an uptime probe that tries the usual path gets the truth (#13198) d71543b
- The sitemap and llms.txt tell an agent the truth: every public page is listed, and an unstamped build says so plainly (#13195) aa10491
- The explorer's filter state lives in the URL, so a filtered view can be sent and reloaded (#13178) acec0d9
- The client list shows when each forge link was last opened, or that it has not been (#13218) 4da3d71
- The signed-out home has looks at 360 and 1280 px, light and dark, before and after the speed work (#13147) 79d27d0
- A wave's page says how many changes it holds and how far the next milestone is, in one line (#13170) e6255ff
- Automate a review finding as a lint or test: Round one, all changes in one list. (#13205) fafcda4
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:13ovxm2u7m is past its budget: trevato/forge: "every instruction names a script or a tool that exists" failed on 7 pulls in the last hour — the lane's… (#13188) 7fc88a6
- /apps at 390 px lists each app as one row: name, state word, crew activity in plain words (#13080) e254aad
- Each public page has its own meta description, not the forge's one generic sentence (#13217) 1d6f43b
- Automate a review finding as a lint or test: Both doors: no src/tui/ screen or entry shows the Done line / Undo, and there is (#13204) 5b81678
- A failing probe keeps one open defect, updated, not a new defect each week (#13155) 12cd014
- The data explorer offers a filter's values as a list to pick from (#13118) a7a3a16
- A child forge's spawn refuses a name already taken with the taken name and two free suggestions (#13058) fe6d4e2
Direction: #12968
What it protects. No builder is sent back, and no landing is held, for the width of a comment. #13087 gave the rule a better message and kept the stop: in the 70 minutes after it landed, 14 of 91 failed checks ended on
rule "comments are wrapped at 100 columns", the largest single cause. A guard may raise its hand; it may not stop the engine for whitespace.What changes.
bun scripts/gate.tsprints one line,gate: note: N files have a comment line over 100 columns (…); nothing to do, the nightly rewrap wraps them on main, and exits as if it had said nothing. The landing gate runs the same script, so a landing is not held either.rewrap(06:07 UTC; no steps, no cell), reads the files main changed in the last two days and proposes those the rewrapper would change as one pull onrewrap/<date>: at most 200 files, none while an earlier rewrap pull is still open. That keeps main wrapped for files touched since.bun scripts/gate.ts --fixstays in the builder's push step: still the one command, now optional.test/comment-wrap.test.tskeeps proving the rewrapper idempotent and safe on strings, templates, fences, lists and tags. It leaves the always-run rule set, since it is no longer a rule.Why the nightly pull (b), not a rewrite at landing (a) or a fix-up commit (c). The merge queue builds each landing commit with
git commit-treeon the merged tree in a bare repository (src/checks/queue.ts,build), for every repository the forge hosts. Rewrapping there means the forge server rewrites the content of what it lands, by a rule that belongs to this one repository, in code shared by all of them; the checked tree would also stop being a plain merge of the head, which the queue's own comparisons (merged.value.treeOid === treeOid, base-moved re-landing) and the landing simulator rely on. A fix-up commit moves a head under a builder and re-runs its check. A pull is the write path the forge already has (proposeEdit, as the flake hunt's quarantine uses), checked and landed like any other.What a builder now does. Nothing for this. The note is in the check log; it is not yet shown on the pull's page.
🤖 Generated with Claude Code