Repository navigation
docs(help): add the Ansvisor Help knowledge base and its first 56 articles - #1792
Merged
Merged
Conversation
…mat check
Chat Wave 1 W1-29 (CHAT-19 §4, task CHAT-19-2): the product knowledge
base in /help/{area}/{slug}.md, one article per page, feature, metric,
setting and main task of the live app. 56 articles in 12 areas
(getting started, visibility, prompts, mentions, citations, competitors,
content, site audit, Action Center, AI traffic, reports, settings),
written from docs/guides only, and named as the app labels things.
- Front matter: title, route (a page of the app, which Chat's page card
opens), keywords, synonyms, the lowest plan, updated, last_checked,
owner, app_version, approved and sources. Every article is
`approved: false`: Chat answers only from approved ones.
- A short intro and sections of 150 words or fewer, so retrieval can
answer from one. No plan limits or prices (Chat reads the plan facts),
no code, links, HTML, addresses or internal details (CHAT-19 §3).
- help/README.md describes the format. web/src/lib/help/articles.ts reads
an article (front matter and sections, no new dependency), and
validate.test.ts checks every article: its fields, that its route is a
page of the app (a Settings section by its name), that its sources
exist, section lengths, nothing internal, unique slugs and titles, and
forty articles or more.
- "Help article updated": CONTRIBUTING.md asks a change users can see to
add or update its article in the same pull request, and the PR
template gets the checkbox.
Where docs/guides and the app disagree (Citations' source types,
Competitors' comparison, Answer Engine Insights' cards, Topics' rename
and merge), the articles say only what both agree on.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 29, 2026
# Conflicts: # CONTRIBUTING.md
…unities and briefs, bulk import, Clear All, fan-out engines, KPIs and the pulse email
gkhngyk
approved these changes
Oct 29, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good with 4eac9ee. I merged main in (CONTRIBUTING.md conflicted) and corrected the claims that the app contradicts in a way that would mislead a reader.
How Help is served
- It isn't served yet.
help/is plain Markdown, andweb/src/lib/help/articles.tsis a pure parser with no imports. Nothing in the app imports it; only the validator test does. So this PR adds no route, no auth surface and nothing to the bundle. Every article isapproved: false.
What I changed
- Merge with main:
CONTRIBUTING.mdconflicted with main's demo-brand paragraph (#1740). The merge keeps that paragraph under step 4, then this PR's new step 5 (Help article), 6 (push), 7 (description) and 8. - I checked all 56 articles against main and fixed these:
- connect-a-cms / send-to-cms: Wix (#1722) was missing. Added how to connect it (Site id, API key, the two permissions, the Blog needing a post), Change API key, the dialog order Webflow, WordPress, Framer, Wix, and what a Wix send leaves out.
- content-opportunities / content-briefs: Generate Brief, Send to Plan, Dismiss All, Done and the webhook settings are for admins and managers (
assertRole(MANAGER_ROLES),canManage). A brief's outline has 3–8 sections and 3–10 keywords (the zod schema), not 5–8. There's no "listicle" type. - content-editor / content-library: Export has five formats (Word, Excel, CSV, HTML, Markdown). Only Send to CMS waits for open placeholders. Send to CMS is listed among the header buttons.
- add-prompts:
- Bulk import uploads a one-column Excel or CSV file; it isn't paste-one-per-line.
- Over the limit, the prompts that fit are added, with a count of those that weren't.
- The Single tab has no location picker.
- prompt-suggestions: Clear All now dismisses every suggestion listed, after asking (#1793).
- query-fan-outs: ChatGPT's searches can appear too (sampled, and the ChatGPT API).
- citations: names the Brand / Competitors / Third-Party / All choice; Domains and URLs open on Brand.
- add-your-first-brand: every plan has competitor tracking. Your own competitors are added at the top, with a name and an optional domain.
- action-center-kpis: there's no "Lead over top competitor" KPI; the registry has six.
- daily-pulse: Visibility slipping is listed in the email (
pulse/email.js).
What I checked
- Every
plan:matches its gate (only AI bots isgrowth: Starter hasmaxBotEventsPerMonth: 0). Everyroute:is a real page. - Numbers I checked in the Action Center, Daily Pulse, AI traffic and Site Audit articles match their config.
- No customer names or domains, hostnames or secrets.
CONTRIBUTING.mdand the PR template: the checkbox link is absolute.
Follow-ups (not blocking; for the owner's check before approved: true)
getting-started/add-your-first-brand.mdhasroute: /dashboard/brands/new(add another brand), but it describes the first-brand wizard at/dashboard/onboarding. The validator only looks under(dashboard), so it can't accept the onboarding route yet.- CI doesn't run web tests, so
validate.test.tsonly runs when someone runsyarn testlocally. CONTRIBUTING says it "checks the format"; a CI step for it would make that true for contributors. - #1797's body says the "+ New" section of
content-opportunities.mdis added here. It isn't yet; add it, with "a prompt asks for one". - Smaller wording, to fix during review:
- The Help articles: KPI templates leave out Content Performance. The Site Audit sidebar label is Audit. "AI task writing is on for your workspace" is an installation switch. Add Topic is for admins and managers. Prompt Insights is unlimited on Enterprise. Prompt detail's GSC match is "at least half". Copy HTML can leave placeholders out.
- In #1795: once it's merged, re-check the articles written from the guides it corrects.
Tests (with main merged in):
validate.test.ts: 5 passed over 56 articles, including the edited ones.plan-row.test.tspassed.tsc --noEmitclean; eslint and prettier clean onlib/help.- No build check needed: no app code imports the new module.
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Chat Wave 1, W1-29: Ansvisor Help, the knowledge base Chat will answer "how do I…" questions from (CHAT-19 §4). These are plain Markdown files in the repo. Nothing reads them yet; W1-30 adds the answering.
help/{area}/{slug}.md: 56 articles in 12 areas.sources(thedocs/guides/*.mdxit was written from), owner,updated,last_checked,app_version.approved: false. Only approved articles will answer, after the product owner checks each one against the app.help/README.md: the format.web/src/lib/help/articles.ts: front matter and section parser, with no new dependency.web/src/lib/help/validate.test.tschecks:SETTINGS_SECTIONS) and each source file exists;/dashboardpaths or internal terms (supabase, sql, migration,api/…);CONTRIBUTING.mdgets a step under Making Changes and ahelp/line in the project structure.Written from the guides only, where guide and app agree. Some guides are behind the app:
citations.mdx: source types, a type filter that doesn't exist, no Competitor Gaps tab.competitors.mdx: topic map, 7/30-day trend, Suggest competitors, deleting.answer-engine-insights.mdx: Leaderboard, Why it changed, Coverage, Share of voice, Net sentiment.topics.mdx: rename and merge, "Generate brief".add-your-first-brand.mdx: timing, where Suggestions is now.A docs PR to update those guides follows, and the matching articles will be completed with it.
Related issue
None (Chat Wave 1, Drive › Chat › CHAT-19).
Type of change
docs— Documentation (plus a validator test)How to test
cd web && yarn vitest run src/lib/help/validate.test.ts(5 tests over 56 articles).help/: plain English, short sections, no internal terms.Checklist
lib/helpapproved: true: product owner🤖 Generated with Claude Code