Skip to content

docs: add the lead-score drawing to render.sh and the diagram lists - #440

Merged
scottconverse merged 1 commit into
mainfrom
docs/lead-score-diagram
Nov 25, 2026
Merged

scottconverse merged 1 commit into
mainfrom
docs/lead-score-diagram

Conversation

@scottconverse

Copy link
Copy Markdown
Owner

manual.md has 14 Mermaid blocks, but render.sh named only 13, so running it stopped with a count error.

The missing drawing is 'How a lead gets its score' (manual Part 5). I checked it against the code, and it is correct:

  • four parts, each 1 to 5 (lead-score.ts)
  • a total of 4 to 20 in leads.newsworthiness, and score_parts (migration 0164)
  • a plain 0-20 fallback
  • warm at 10 and hot at 14 (desk-chrome.tsx)
  • the tooltip 'Newsworthiness N/20'

Changes:

  • render.sh: adds lead-score as block 3.
  • New docs/diagrams/lead-score.mmd (the same as the manual block) and lead-score.svg (made with mermaid-cli).
  • docs/diagrams/README.md and README.md: list the drawing; the count goes from sixteen to seventeen; the rendering note says fourteen.
  • scripts/paper-chrome-explore-escape-dom.test.mjs: the fake APP_VERSION goes from 0.7.0 to 0.0.0-test, so it does not look like a stale version. No test checks it. The test passes (3/3).

manual.md has 14 Mermaid blocks; render.sh named 13, so it stopped with a count error. The missing one, 'How a lead gets its score', was checked against lead-score.ts, desk-chrome.tsx and migration 0164 and is correct. It now has lead-score.mmd and lead-score.svg, and the README and diagram index list seventeen drawings. A test stub's fake APP_VERSION 0.7.0 is now 0.0.0-test so it does not read as a stale version.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T17:19:08.161731Z 1d7b46f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@scottconverse
scottconverse merged commit f517802 into main Nov 25, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant