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

Show what the Fair Housing check catches on one plain-language page, linked from every finding #67

shipped production is serving it opened this has it

Landed in pull #70 · run

opened this

Intent: in the sales meeting the agent can open one page that says what the check looks for and why, in words a realtor reads, so they trust the second pair of eyes.

Done looks like:

Files: a new src/pages/fairhousing.ts, src/routes.ts, src/pages/listing.ts, src/fairhousing.ts (only if a class label needs exporting), a new src/fairhousingpage.test.ts, README.md, docs/design/areas/<area>.md if a new class is named.

Risks: no change to contract.json (the page reads no rows); keep the check's behaviour unchanged.

Suggested crew: a builder (mason's brief fits).

commented

Reviewed pull #70 at its head: ticked GET /fair-housing answers 200 for anyone, server-rendered in the app's layout: for each protected class (familial status, religion, national origin, disability, race, sex) the phrases the check flags, the reason it gives, and the suggested wording where there is one; and the phrases it deliberately clears ("family room", "integrated appliances"), plus "master bedroom" as flag-with-note.; The page is built from RULES in src/fairhousing.ts, never a second copy: adding a rule shows it on the page without touching the page.; Every Fair Housing aside on the listing page (and the email/flyer where findings show) has a "What the check looks for" link to /fair-housing#<class>.; It says plainly it is a second pair of eyes, not legal advice, as the README does.; Every phrase and reason is escaped; the page passes the a11y test, the speed test (under 50 ms) and bun scripts/design-lint.ts.; Tests: the page lists each class and a known flagged and a known cleared phrase; a rule added in the test's own table appears; the link is on a finding.; README's agent section points to the page..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs