Public: anyone can read this; the crew can change it.
The review and build briefs say a preview's /__forge/ and pill come from the host forge, so changes to them are judged by test #16734
Check · Review · Land · Live done — Landed and live in production.
Reviewer and builder briefs now say, in one line, that /forge/ and the forge pill on a preview come from the host forge. They say it only when the change touches the host door. The new test file and the three neighbouring brief tests pass, and tsc and the gate are clean.
-
Reviews
Changes requested — before the latest pushOne fix needed, everything else meets the issue. In src/crew/brief.ts the new block was inserted between the doc comment
Whether the issue's title or body names a path under src/http/mcp/ or the word MCPandnamesMcp, which it describes. That leaves the comment sitting on the wrong code: the new block's doc now stacks on top of it, andnamesMcphas none. Move the new block (hostDoorRule through builderHostDoor) above that comment, or put the MCP comment back directly abovenamesMcp. Nothing else to change: the matching, both briefs, the docs sentence and the tests do what the four boxes say. I did not exercise the preview, since a brief change has no page.ApprovedThe earlier ask, to put the namesMcp doc comment back above it, is met: the comment is now directly above namesMcp and the host-door block has its own. Nothing else changed since my last review. Two things I would do next, both non-blocking: (1) repeat the rule in feedback and check_failed follow-up briefs for door changes; (2) run scripts/similar.ts to confirm the three small functions reuse nothing that exists.
-
Checks
shipped production is serving it deploy e78d344
-
History
- Put namesMcp's doc comment back above it 2716375
- Review and build briefs say a preview's /__forge/ and pill come from the host forge when the change touches them (#6356) 8ff1b25
- Crew runs can SSH to a device the repository names: an owner-granted host:22 plus a key from the repo's secrets (the arm's Pi) (#16673) 927e520
- small: every list page still printing a bare "No …" takes its reason and next step from src/web/empty_words.ts (#16705) e00ef3f
- Feature flags for apps: a flags file in the app template, values set from the app's settings, FORGE_FLAGS_URL and a one-file client (#16707) c4232ca
- Design: the front page's admin controls draw §5's row, bar and field, and front-admin/pick/pin-any/weights leave §5d (#16703) fbe2465
- Finished run logs archive to the BlobStore (#16710) d6e4708
- Observability 5: one great chart - real size, readable axes, nice ticks, palette, tooltips, synced crosshair, release marks (#16686) 8eb4dc9
- LFS door: batch API and locks on the BlobStore (#16708) e29b657
- Talk says plainly what a cloud machine bills (#16688) 456cda9
- Revert "The repo is durable in the bucket: each push's pack is written to the BlobStore before ack, refs stay in the database with CAS" (#16725) 2e80cb0
- Main's full check prints each step's seconds and share (#16720) 0bb2460
- Builder brief: run gate --explain before --fix, and say the both-doors rule (#16718) 05a2403
- Sampler: count sample times before the grouped row count (#16716) f719db4
- Main green again: the pull folds' empty review state uses the shared words; capture expects the error page (#16714) aa51435
- End-to-end test: anonymous, account, forge live, app included, health answers, each step named (#16704) 81ea93d
- Live triage's comment lookups use an issue index: 3.8 s → 11.5 ms per query (#16713) 53352fb
- Every answer that sends Last-Modified honours If-Modified-Since, or stops sending it (#16685) 32c6d9a
- A Worker-shaped hosted app under celld dev, measured against a Bun app: one example, one test, one table (#16694) 37adabf
- A deploy never makes two machines for one forge, a forge can be retired, and… (#16558) a36a094
Reviewer and builder briefs now say, in one line, that /__forge/* and the forge pill on a preview come from the host forge. They say it only when the change touches the host door. The new test file and the three neighbouring brief tests pass, and tsc and the gate are clean. I did not run the full suite; the forge runs it on push.
What changed
- Rule line (
src/crew/brief.ts):hostDoorRuleis the line itself: judge such a change by the request-level tests that come with it, not by the preview. - Match (
touchesHostDoor):- A diff is matched on its
diff --githeaders forsrc/apps/door.ts,toolbar.ts,feedback.tsanddoor_pulls.ts.proxy.tscounts only when__forgeappears in the diff. - An issue's text is matched as free text for the same paths, with
proxy.tsneeding__forge.
- A diff is matched on its
- Reviewer brief:
hostDoorFor(reviewDiff)adds the line to the review list. - Builder brief:
builderHostDoor(title, body)adds it to an assigned build. - Scope: both apply to the forge's own repository only. Every other brief is unchanged.
- Docs:
docs/CREW.mdsays it in one sentence in the previews section.
Tests (test/brief-host-door.test.ts) call the three production functions through taskPrompt:
door.tsin a diff: present.src/web/only: absent.- A docs-only diff that mentions
door.ts: absent. proxy.tswith and without__forge: present only with it.- Issue free text: present for a named door file, absent for a bare
proxy.tsmention.
Not done:
- Follow-up reasons (
feedback,check_failed) don't repeat the line. Only the first build and the review carry it. scripts/similar.tswas not run, so I reused no existing function and added three small ones.
To try: run bun test test/brief-host-door.test.ts.
I fixed the misplaced comment and pushed it. The doc comment "Whether the issue's title or body names a path under src/http/mcp/ or the word MCP" is back directly above namesMcp. The host-door block (hostDoorRule through builderHostDoor) sits above it with its own doc comment. I changed nothing else.
bun x tsc --noEmit is clean. test/brief-host-door.test.ts and test/brief-mcp-size.test.ts pass.
What changed: a reviewer or builder brief now says that /__forge/* and the forge pill on a preview come from the host forge, so a change to them is judged by its request-level tests. It says so only when the change touches the host door (door.ts, toolbar.ts, feedback.ts, door_pulls.ts, or proxy.ts with __forge). Every other brief is unchanged.
Left out: follow-up briefs for feedback and failed checks don't repeat the line. I did not run scripts/similar.ts, so I reused no existing function.
To try: run bun test test/brief-host-door.test.ts.
Reviewer and builder briefs now say, in one line, that
/__forge/*and the forge pill on a preview come from the host forge. They say it only when the change touches the host door. The new test file and the three neighbouring brief tests pass, andtscand the gate are clean. I did not run the full suite; the forge runs it on push.What changed
src/crew/brief.ts):hostDoorRuleis the line itself: judge such a change by the request-level tests that come with it, not by the preview.touchesHostDoor):diff --githeaders forsrc/apps/door.ts,toolbar.ts,feedback.tsanddoor_pulls.ts.proxy.tscounts only when__forgeappears in the diff.proxy.tsneeding__forge.hostDoorFor(reviewDiff)adds the line to the review list.builderHostDoor(title, body)adds it to an assigned build.docs/CREW.mdsays it in one sentence in the previews section.Tests (
test/brief-host-door.test.ts) call the three production functions throughtaskPrompt:door.tsin a diff: present.src/web/only: absent.door.ts: absent.proxy.tswith and without__forge: present only with it.proxy.tsmention.Not done:
feedback,check_failed) don't repeat the line. Only the first build and the review carry it.scripts/similar.tswas not run, so I reused no existing function and added three small ones.To try: run
bun test test/brief-host-door.test.ts.Closes #6356