Skip to content

21 product pages will state "> $100K" for a gate that cuts at ">= $100K" once #1087 lands, and no gate reads them #1127

Description

@yinlianghui

Found while implementing #1087 (PR pending). Filed rather than fixed: content/docs/** is another card's live surface this round (#1113), and #1087's ruling scoped the prose edit to src/docs/crm_sales.md and src/docs/crm_admin.md.

Measured

#1087 converges the approval entry gate (with its _on_create twin) and the won-deal alert from > LARGE_DEAL_AMOUNT to >=. Two documentation surfaces state that operator, and only one of them is guarded:

surface guarded by in #1087's scope
src/docs/crm_sales.md, src/docs/crm_admin.md test/docs-drift.test.ts yes — updated there
content/docs/** (21 pages), docs/feature-inventory.md, scripts/demo-staff.ts nothing no

docs-drift.test.ts reads src/docs/*.md only. automation-docs-coverage.test.ts does read content/docs/administration/automation.*, but it keys on each flow's row label and trigger cell, never on the threshold cell — so the operator in that table is unchecked prose, in all three locales.

The 21 pages, by page (each in .mdx / .zh-Hans.mdx / .zh-Hant.mdx):

  • revenue/approvals — "Amount > $100K" in the tier list, the tier table, the tips section and the admin note; also "Below $100K, no approval is needed", which is the sentence a rep at exactly $100,000 would rely on
  • administration/automation — the automation table's "Sales Manager > $100K" and "over $100K turns Closed Won"
  • administration/state-machines — "above $100,000 with no approval on file"
  • sales/opportunities — "the amount is over $100K", plus a line quoting the CEL verbatim as record.amount > 100000
  • sales/pipeline-management — the same verbatim CEL quote
  • sales/index — "a deal over $100K is marked won"
  • sales/quotes — "a manager above $100K"

Plus docs/feature-inventory.md (two rows, internal) and scripts/demo-staff.ts:332 ("Submit an opportunity over $100K to see manager_review route to ..."), whose demo hint is one dollar off being wrong.

reference/glossary.* also matches a $100K grep and is not in scope — that is ACV arithmetic, unrelated to the threshold.

Why it matters

Two of the pages quote the CEL source (record.amount > 100000) as the authoritative answer to "where is this threshold configured?", which makes them a copy-paste surface for the next author as well as a user-facing claim. And the whole point of #1087's ruling is that a round threshold attracts deals priced at exactly the round number, so "over $100K" versus "$100K or more" is precisely the population the docs are wrong about — a rep reading "below $100K, no approval is needed" and quoting a hundred K flat now gets a locked record they were told not to expect.

Fix

One sweep over the 21 pages in three locales, plus the two internal files, re-wording the operator (the value does not change). The zh pages need the same treatment, so this should be sequenced against #1113's in-flight zh-Hant work rather than run concurrently with it.

Depends on #1087 landing.

Refs #1087 · #1113 · #599


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationpm:dispatchedDispatched to a dev agent by /pm-dispatch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions