Skip to content

[No QA] Update help docs with proportionate guidance for unrequested magic codes#88662

Merged
RachCHopkins merged 5 commits intomainfrom
claude-updateUnrequestedMagicCodeGuidance
Apr 24, 2026
Merged

[No QA] Update help docs with proportionate guidance for unrequested magic codes#88662
RachCHopkins merged 5 commits intomainfrom
claude-updateUnrequestedMagicCodeGuidance

Conversation

@MelvinBot
Copy link
Copy Markdown
Contributor

Explanation of Change

The current "Avoiding common scams" help articles recommend users immediately lock their account for any security concern, including receiving an unrequested magic code. This is disproportionate — receiving an unexpected code simply means someone mistyped their email, not that the account is compromised. Locking accounts creates manual KYC/unlock work for the support team.

This PR adds a new "What to do if you receive a magic code you didn't request" section to both the New Expensify and Expensify Classic versions of the article. The new guidance:

  • Reassures users that an unrequested code alone doesn't mean compromise
  • Reminds them to never share the code
  • Suggests enabling 2FA as a proactive measure
  • Reserves the "lock your account" recommendation for when the code was actually shared or the user's email is believed compromised

A corresponding FAQ entry is also added to both articles.

Fixed Issues

$ #88661

Tests

// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.

Offline tests

N/A — documentation-only change.

QA Steps

// TODO: The human co-author must fill out the QA tests you ran before marking this PR as "ready for review".
// Please describe what QA needs to do to validate your changes and what areas do they need to test for regressions.

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

N/A — documentation-only change.

Android: mWeb Chrome

N/A — documentation-only change.

iOS: Native

N/A — documentation-only change.

iOS: mWeb Safari

N/A — documentation-only change.

MacOS: Chrome / Safari

N/A — documentation-only change.

Update both New Expensify and Expensify Classic "Avoiding common scams"
help articles to include a new section for users who receive a magic
code they didn't request. The new guidance reassures users that an
unrequested code alone doesn't mean their account is compromised,
reminds them not to share the code, and reserves the "lock your
account" recommendation for cases where the code was actually shared
or the user's email is believed to be compromised.

Co-authored-by: David Barrett <quinthar@users.noreply.github.com>
@MelvinBot MelvinBot requested a review from a team April 23, 2026 23:47
@github-actions github-actions Bot changed the title Update help docs with proportionate guidance for unrequested magic codes [No QA] Update help docs with proportionate guidance for unrequested magic codes Apr 23, 2026
@OSBotify
Copy link
Copy Markdown
Contributor

OSBotify commented Apr 23, 2026

A preview of your ExpensifyHelp changes have been deployed to https://688dc944.helpdot.pages.dev ⚡️

Updated articles:

@stephanieelliott stephanieelliott marked this pull request as ready for review April 24, 2026 03:24
@stephanieelliott stephanieelliott self-requested a review as a code owner April 24, 2026 03:24
@melvin-bot
Copy link
Copy Markdown

melvin-bot Bot commented Apr 24, 2026

Concierge reviewer checklist:

  • I have verified the accuracy of the article
    • The article is within a hub that makes sense, and the navigation is correct
    • All processes, screenshots, and examples align with current product behavior.
    • All links within the doc have been verified for correct destination and functionality.
  • I have verified the readability of the article
    • The article's language is clear, concise, and free of jargon.
    • The grammar, spelling, and punctuation are correct.
    • The article contains at least one image, or that an image is not necessary
  • I have verified the formatting of the article
    • The article has consistent formatting (headings, bullet points, etc.) with other HelpDot articles and that aligns with the HelpDot formatting standards.
    • The article has proper text spacing and breaks for readability.
  • I have verified the article has the appropriate tone and style
    • The article's tone is professional, friendly, and suitable for the target audience.
    • The article's tone, terminology, and voice are consistent throughout.
  • I have verified the overall quality of the article
    • The article is not missing any information, nor does it contain redundant information.
    • The article fully addresses user needs.
  • I have verified that all requested improvements have been addressed

For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member?

cc @RachCHopkins

@melvin-bot melvin-bot Bot requested a review from RachCHopkins April 24, 2026 03:24
@melvin-bot
Copy link
Copy Markdown

melvin-bot Bot commented Apr 24, 2026

@RachCHopkins Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot Bot removed the request for review from a team April 24, 2026 03:24
@github-actions
Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR makes meaningful improvements to both "Avoiding common scams" articles by adding proportionate guidance for unrequested Magic Codes, removing legacy <div> wrappers, eliminating ### headings, adding internalScope metadata, and converting full URLs to relative links. The new section is well-structured and the content is clear. Several governance compliance issues remain that should be addressed before merge.

Recommendation: Request Changes -- the issues below are straightforward to fix.

Scores Summary

Dimension Score Notes
Heading compliance 4/5 New ## headings are task-based (good), but the changed # title regresses from a task-based heading to a noun phrase
Metadata quality 5/5 internalScope added to both files with clear audience, scope, and exclusions
Cross-linking standards 3/5 Full URL used inside a numbered step in both files; links placed inside numbered steps violate authoring guidelines
Structural compliance 5/5 Removal of ### headings and <div> wrappers are clear improvements; heading hierarchy is now # and ## only
Content quality and tone 5/5 New guidance is proportionate, clear, and actionable; tone is consistent throughout
AI retrieval optimization 4/5 Good task-based headings and keywords; minor inconsistency in feature name capitalization weakens retrieval precision

What is done well

  • Addition of internalScope to both articles fills a previously missing metadata requirement.
  • Removal of <div id="..."> wrappers modernizes the articles.
  • Elimination of ### headings (previously ### 1. and ### 2.) brings the articles into structural compliance -- only # and ## are used.
  • New ## section headings are task-based and start with action verbs or question words ("How to recognize...", "How to protect...", "What to do if...").
  • Full URLs in the "What to do if you shared your Magic Code" and "How to report phishing" sections are correctly converted to relative links.
  • New FAQ entry directly addresses a common user concern, improving AI retrieval for that query.
  • Content is proportionate and well-reasoned -- the tiered response (ignore vs. lock) is a clear improvement.

Issues found

Critical

  1. Full URL inside a numbered step (both files) -- In the new "What to do if you receive a Magic Code you didn't request" section, step 3 uses a full URL: https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication. Per HELP_AUTHORING_GUIDELINES.md Section 7: "Use relative links only. Do not use full URLs." Additionally, this link is placed inside a numbered step, which is also prohibited: "Do not place links inside numbered step instructions."
    • Files: Both expensify-classic/settings/Avoiding-common-scams.md and new-expensify/settings/Avoiding-common-scams.md

Medium

  1. H1 title regression (both files) -- The # heading was changed from # How to avoid scams pretending to be from Expensify (task-based, starts with "How to") to # Avoiding common scams (a gerund noun phrase). Per HELP_AUTHORING_GUIDELINES.md Section 2, headings must be task-based and "start with an action verb or question word." The original heading was more compliant. Note: If the title: frontmatter field is the canonical source and the # heading must match it exactly per TEMPLATE.md, then the title: field itself should also be updated to be task-based.

  2. Inconsistent Magic Code capitalization in FAQ (classic file only) -- The classic article's new FAQ heading reads ## I received a magic code I didn't request. Is my account compromised? with lowercase "magic code", while the new-expensify version correctly uses ## I received a Magic Code I didn't request. Is my account compromised?. Per HELPSITE_NAMING_CONVENTIONS.md, UI terminology must be exact and consistent. "Magic Code" is the established term used throughout both articles.

Low

  1. Trailing whitespace (both files) -- Several changed lines have trailing spaces (e.g., after "extra account security.", after "your account." in the protection bullet list). While not a governance violation, this is a cleanliness issue.

  2. Cross-link target mismatch for classic article -- In the classic article's new "What to do if you receive a Magic Code you didn't request" section, the 2FA link points to the new-expensify 2FA article (/articles/new-expensify/settings/Two-Factor-Authentication). The classic article should link to its own platform's 2FA article (/articles/expensify-classic/settings/Two-Factor-Authentication), consistent with the pattern used in the "What to do if you shared your Magic Code" section of the same file.

Recommendations

  1. Convert the full URL in step 3 of the new section to a relative link, and move the link outside the numbered step (place it after the steps as a standalone sentence, matching the pattern used in "How to protect your Expensify account").
  2. Restore the task-based H1 heading or update both title: and # to a task-based phrase such as How to avoid common scams or How to recognize and avoid Expensify scams.
  3. Fix "magic code" to "Magic Code" in the classic article's FAQ heading to match established terminology.
  4. Fix the classic article's 2FA cross-link in the new section to point to /articles/expensify-classic/settings/Two-Factor-Authentication instead of the new-expensify version.

Files Reviewed

  • docs/articles/expensify-classic/settings/Avoiding-common-scams.md -- New section and FAQ added; metadata improved; structural issues with cross-links and heading
  • docs/articles/new-expensify/settings/Avoiding-common-scams.md -- Parallel changes; same structural issues minus the capitalization inconsistency

Review based on docs/HELP_AUTHORING_GUIDELINES.md, docs/HELPSITE_NAMING_CONVENTIONS.md, and docs/TEMPLATE.md governance standards.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0def5a7c04

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md Outdated
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md Outdated
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md Outdated
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md Outdated
Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
If you accidentally gave someone your Magic Code, act fast:

1. **[Lock your Expensify account](https://help.expensify.com/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
1. **[Lock your Expensify account](/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-linking violation: Links must not be placed inside numbered step instructions (per HELP_AUTHORING_GUIDELINES.md Section 7 - Link Formatting). Move this link outside the numbered steps — e.g., add a separate sentence after the list: Learn how to lock your Expensify account.

Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
If you believe your account has been targeted or compromised:

1. **[Lock your Expensify account](https://help.expensify.com/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
1. **[Lock your Expensify account](/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-linking violation: Links must not be placed inside numbered step instructions. Move this link outside the numbered steps.

Comment thread docs/articles/expensify-classic/settings/Avoiding-common-scams.md
Comment thread docs/articles/new-expensify/settings/Avoiding-common-scams.md
If you accidentally gave someone your Magic Code, act fast to:

1. **[Lock your Expensify account](https://help.expensify.com/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
1. **[Lock your Expensify account](/articles/expensify-classic/settings/Report-Suspicious-Activity)** immediately to block unauthorized access.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-linking violation: Links must not be placed inside numbered step instructions (per HELP_AUTHORING_GUIDELINES.md Section 7 - Link Formatting). Move this link outside the numbered steps — e.g., add a separate sentence after the list.

Additionally, this is a New Expensify article but the link points to an Expensify Classic article (/articles/expensify-classic/settings/Report-Suspicious-Activity). If a New Expensify equivalent exists, link to that instead.

Comment thread docs/articles/new-expensify/settings/Avoiding-common-scams.md
Comment thread docs/articles/new-expensify/settings/Avoiding-common-scams.md
Comment thread docs/articles/new-expensify/settings/Avoiding-common-scams.md
Comment thread docs/articles/new-expensify/settings/Avoiding-common-scams.md
@github-actions
Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR adds proportionate guidance for unrequested Magic Codes across both Expensify Classic and New Expensify versions of the "Avoiding common scams" article. The changes improve structure by flattening nested headings (### to ##), add the required internalScope metadata field, remove legacy <div> wrappers, convert full URLs to relative links, and introduce a new section and FAQ entry addressing unrequested Magic Codes. The content is well-written and the guidance is practical. A few governance compliance items remain.

Scores Summary

  • Readability: 9/10 - Clear, scannable, well-organized with good use of bold callouts and concise steps. The new "unrequested Magic Code" section is particularly well-structured with a reassuring tone.
  • AI Readiness: 7/10 - Good task-based H2 headings ("How to recognize...", "How to protect...", "What to do if...") and proper internalScope added. However, the H1 title "Avoiding common scams" uses a gerund rather than a task-based format starting with an action verb or question word (e.g., "How to avoid common scams"), which weakens retrieval matching.
  • Style Compliance: 7/10 - Mostly compliant, but there are cross-linking rule violations (links inside numbered steps, one full URL in the New Expensify file) and a cross-product link issue.

Key Findings

Positive aspects:

  • Adding internalScope to both files satisfies a mandatory metadata requirement that was previously missing.
  • Flattening ### headings to ## aligns with the "only ## for content sections" rule.
  • Removal of <div> wrappers is good cleanup.
  • New H2 headings are well-crafted and task-based ("How to recognize phone call scams pretending to be Expensify").
  • Relative links replace most full URLs, which is the correct direction.
  • The new unrequested Magic Code section provides proportionate, reassuring guidance without overreacting.

Issues to address:

  1. H1 title is not task-based (both files): "Avoiding common scams" is a gerund phrase. Per HELP_AUTHORING_GUIDELINES.md Section 2, all headings must start with an action verb or question word. Consider: "How to avoid common scams" or "How to recognize and avoid common scams targeting Expensify members".

  2. Full URL in New Expensify file: In the "What to do if you receive a Magic Code you didn't request" section, step 3 uses https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication instead of a relative link. The Expensify Classic version correctly uses a relative link in the same position. This violates the "Use relative links only / Do not use full URLs" rule.

  3. Links inside numbered steps (both files): The governance rules state "Do not place links inside numbered step instructions" and "Do not interrupt procedural flow with inline links." Both files have links embedded in numbered steps in the "What to do if you shared your Magic Code" and "How to report a scam" sections. These links should be moved after the numbered list or into explanatory paragraphs. Note: some of these links existed before this PR, but the "What to do if you receive a Magic Code you didn't request" section is new and step 3 contains an inline link.

  4. Cross-product link in New Expensify file: The "Lock your Expensify account" link in the New Expensify article points to /articles/expensify-classic/settings/Report-Suspicious-Activity. If a New Expensify equivalent exists, it should link there instead. If not, this may be intentional but is worth verifying.

Recommendations

  1. (Required) Change the H1 in both files to a task-based format (e.g., "How to avoid common scams").
  2. (Required) Convert the full URL in new-expensify/settings/Avoiding-common-scams.md step 3 to a relative link: /articles/new-expensify/settings/Two-Factor-Authentication.
  3. (Recommended) Move links out of numbered steps and place them after the step list or in a follow-up paragraph, per cross-linking standards.
  4. (Recommended) Verify the cross-product link to the Expensify Classic "Report Suspicious Activity" page from the New Expensify article is intentional.

Files Reviewed

  • docs/articles/expensify-classic/settings/Avoiding-common-scams.md — Good improvements; H1 title and links-in-steps need attention.
  • docs/articles/new-expensify/settings/Avoiding-common-scams.md — Same improvements; additionally has one full URL that should be relative, and a cross-product link to verify.

@stephanieelliott
Copy link
Copy Markdown
Contributor

Applied all relevant bot comments!

Copy link
Copy Markdown
Contributor

@RachCHopkins RachCHopkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@RachCHopkins RachCHopkins merged commit 4cfb6a6 into main Apr 24, 2026
19 of 20 checks passed
@RachCHopkins RachCHopkins deleted the claude-updateUnrequestedMagicCodeGuidance branch April 24, 2026 04:54
@melvin-bot
Copy link
Copy Markdown

melvin-bot Bot commented Apr 24, 2026

@RachCHopkins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

@melvin-bot melvin-bot Bot added the Emergency label Apr 24, 2026

1. **Do not share the code with anyone** — simply ignore or delete the email.
2. **Do not click any links** in the email.
3. **Consider enabling [two-factor authentication](https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication)** for extra account security.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link formatting violation: Use a relative link instead of a full URL. Per cross-linking standards, all links must be relative.

Suggested change
3. **Consider enabling [two-factor authentication](https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication)** for extra account security.
3. **Consider enabling [two-factor authentication](/articles/new-expensify/settings/Two-Factor-Authentication)** for extra account security.

## What to do if you shared your Magic Code

If you accidentally gave someone your Magic Code, act fast:
If you accidentally gave someone your Magic Code, act fast to:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readability issue: The sentence "act fast to:" creates a grammatically incomplete lead-in — the numbered list items that follow are not continuations of that phrase. Consider matching the phrasing used in the Expensify Classic version: "act fast:"

Suggested change
If you accidentally gave someone your Magic Code, act fast to:
If you accidentally gave someone your Magic Code, act fast:


1. **Do not share the code with anyone** — simply ignore or delete the email.
2. **Do not click any links** in the email.
3. **Consider enabling [two-factor authentication](/articles/expensify-classic/settings/Two-Factor-Authentication)** for extra account security.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-linking violation: Links should not be placed inside numbered step instructions. Per the authoring guidelines: "Do not place links inside numbered step instructions. Do not interrupt procedural flow with inline links." Move the two-factor authentication link after the numbered list instead.

This also applies to steps 1 and 3 at lines 75 and 77.


1. **Do not share the code with anyone** — simply ignore or delete the email.
2. **Do not click any links** in the email.
3. **Consider enabling [two-factor authentication](https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication)** for extra account security.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-linking violation: Links should not be placed inside numbered step instructions. Per the authoring guidelines: "Do not place links inside numbered step instructions. Do not interrupt procedural flow with inline links." Move the two-factor authentication link after the numbered list instead.

This also applies to steps 1 and 3 at lines 76 and 78.


Legitimate Expensify emails always come from an address ending in **@expensify.com** or **@team.expensify.com**. If you’re unsure, don’t click any links — just log into the Expensify app directly and message Concierge.

## I received a Magic Code I didn't request. Is my account compromised?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heading rule violation: All ## headings must start with an action verb or question word (How, What, Where, Who, Why, When). "I received a Magic Code I didn't request. Is my account compromised?" starts with "I" instead. Consider rephrasing:

Suggested change
## I received a Magic Code I didn't request. Is my account compromised?
## What to do if I received a Magic Code I didn't request


Legitimate Expensify emails always come from an address ending in **@expensify.com** or **@team.expensify.com**. If you’re unsure, don’t click any links — just log into the Expensify app directly and message Concierge.

## I received a Magic Code I didn't request. Is my account compromised?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heading rule violation: All ## headings must start with an action verb or question word (How, What, Where, Who, Why, When). "I received a Magic Code I didn't request. Is my account compromised?" starts with "I" instead. Consider rephrasing:

Suggested change
## I received a Magic Code I didn't request. Is my account compromised?
## What to do if I received a Magic Code I didn't request

@github-actions
Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR makes meaningful improvements to both "Avoiding common scams" articles. The changes add a valuable new section for unrequested Magic Codes, fix heading hierarchy (removing ### in favor of ##), add required internalScope metadata, remove legacy <div> wrappers, and convert most absolute URLs to relative links. The overall direction is strong, but a few governance violations remain that should be addressed before merge.

Scores Summary

  • Readability: 8/10 - Clear, scannable structure with well-organized sections. Minor issues: trailing whitespace on several lines, and the new-expensify file's "act fast to:" intro does not grammatically connect to the numbered list that follows (each item starts as a standalone instruction, not a continuation of the sentence).
  • AI Readiness: 8/10 - Good task-based headings at ## level, internalScope added correctly, heading hierarchy uses only # and ##. The H1 "Avoiding common scams" matches the YAML title (required by TEMPLATE.md) but is a gerund phrase rather than a verb/question-word-led heading, which slightly reduces retrieval precision.
  • Style Compliance: 7/10 - Most governance rules are followed well. However, there are two notable violations: (1) one full absolute URL remains in the new-expensify file, and (2) links appear inside numbered step instructions in multiple sections, which is explicitly prohibited by the cross-linking standards.

Key Findings

Must fix:

  • Absolute URL in new-expensify file: In the "What to do if you receive a Magic Code you didn't request" section, step 3 uses https://help.expensify.com/articles/new-expensify/settings/Two-Factor-Authentication instead of a relative link. The expensify-classic file correctly uses a relative link in the equivalent location.
  • Links inside numbered steps: The governance states "Do not place links inside numbered step instructions." Links appear inside numbered steps in three sections across both files: "What to do if you receive a Magic Code you didn't request" (step 3), "What to do if you shared your Magic Code" (steps 1 and 3), and "What to do if you think your account is compromised" (step 1). Consider moving these links after the numbered list or into a follow-up paragraph.

Should fix:

  • New-expensify "act fast to:" phrasing: The changed intro "act fast to:" implies the numbered list completes the sentence, but items like "Lock your Expensify account immediately..." read as standalone instructions. Either revert to "act fast:" or restructure the list items to flow from the colon (e.g., "Lock your Expensify account immediately...").
  • Trailing whitespace: Several modified lines contain trailing spaces (e.g., after "account." in the 2FA bullet, after "app." in the Concierge bullet, after "email." in steps). These are cosmetic but worth cleaning up.

Positive aspects:

  • Heading hierarchy is now fully compliant: all ### headings have been promoted to ##, and every ## heading starts with an action verb or question word.
  • The new internalScope metadata is well-written and clearly defines audience and scope boundaries.
  • The new "What to do if you receive a Magic Code you didn't request" section and corresponding FAQ entry directly address a real user concern with proportionate, non-alarmist guidance.
  • Removal of <div> wrappers is a welcome cleanup.
  • Cross-link anchor text is descriptive (e.g., "Learn how to enable two-factor authentication") and follows governance conventions.

Recommendations

  1. Convert the remaining absolute URL in docs/articles/new-expensify/settings/Avoiding-common-scams.md step 3 to a relative link.
  2. Relocate links out of numbered steps to comply with the cross-linking standard. Place them in a follow-up sentence or paragraph after the step list.
  3. Fix the "act fast to:" grammar in the new-expensify variant so the sentence flows correctly into the list.
  4. Remove trailing whitespace from modified lines.

Files Reviewed

  • docs/articles/expensify-classic/settings/Avoiding-common-scams.md - Good improvements; links inside numbered steps need relocation.
  • docs/articles/new-expensify/settings/Avoiding-common-scams.md - Same improvements as classic variant; additionally has one remaining absolute URL and a minor grammar issue in the "shared your Magic Code" section intro.

Review based on governance files: HELP_AUTHORING_GUIDELINES.md, HELPSITE_NAMING_CONVENTIONS.md, and TEMPLATE.md.

@OSBotify
Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/RachCHopkins in version: 9.3.62-5 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

@OSBotify
Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/RachCHopkins in version: 9.3.64-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

@arosiclair arosiclair mentioned this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants