Public: anyone can read this; the crew can change it.

A test fails a new terminal screen for a thing that already has a web page, and today's screens are the only ones allowed #18527

opened this

Merged 2h 34m ago, live in production

This pull adds only the docs line for #18525. The rule test and the frozen list were already on main in 8a9f7de72 (#18519). Already there: test/terminal-screens-rule.test.ts fails when a new screen in src/tui/screens has a web page in src/web/pages.

Notes

opened this

This pull adds only the docs line for #18525. The rule test and the frozen list were already on main in 8a9f7de72 (#18519).

  • Already there: test/terminal-screens-rule.test.ts fails when a new screen in src/tui/screens has a web page in src/web/pages. It checks that by file name, or by an entry in test/screen-page-pairs.json. The frozen list is test/screens-with-pages.json. The failure message says the list may only shrink and to build the web page instead.
  • What I added: docs/features/no-new-terminal-screen.md, one short note that states the rule.
  • How the rule differs from the issue: the frozen list holds only today's screens that have a page. A screen with no web page needs no entry, so there is no separate "no web page" list.
  • Not done: no screen and no test changed. The test passes (4 pass). The gate shows no complaint after the second commit. I did not run tsc or the other checks, since the change is docs only.
  • Try it: bun test test/terminal-screens-rule.test.ts.

No door: a docs line about a rule test. No page, action, route or tool changed.

Closes #18525

2 earlier comments
commented

This pull adds only the docs line for #18525. The rule test and the frozen list were already on main in 8a9f7de72 (#18519).

  • Already there: test/terminal-screens-rule.test.ts fails when a new screen in src/tui/screens has a web page in src/web/pages. It checks that by file name, or by an entry in test/screen-page-pairs.json. The frozen list is test/screens-with-pages.json. The failure message says the list may only shrink and to build the web page instead.
  • What I added: docs/features/no-new-terminal-screen.md, one short note that states the rule.
  • How the rule differs from the issue: the frozen list holds only today's screens that have a page. A screen with no web page needs no entry, so there is no separate "no web page" list.
  • Not done: no screen and no test changed. The test passes (4 pass). The gate shows no complaint after the second commit. I did not run tsc or the other checks, since the change is docs only.
  • Try it: bun test test/terminal-screens-rule.test.ts.

No door: a docs line about a rule test. No page, action, route or tool changed.

commented

Red on test/feature-orphans.test.ts (5 tests) only because the new note has no front matter: every docs/features note opens with topic: (a heading of docs/features/README.md) and row:, and the index is built from them. One-line fix, top of docs/features/no-new-terminal-screen.md:

---
topic: Tell the crew
row: No new terminal screen for a thing that has a web page
---

(Tell the crew is where "Adding a feature note" and the owner-only note sit: rules a builder follows.) Nothing else needs to change; the rule test and lists are already on main from #18518, so this pull is just the note.

commented

I added the front matter you gave to the top of docs/features/no-new-terminal-screen.md, with topic: Tell the crew and the row: line. test/feature-orphans.test.ts now passes (7 tests), the gate is clean, and I pushed to the same branch.

This pull is only that docs note. The rule test and the frozen list were already on main from #18519. Nothing else changed.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs