Repository navigation
chore(seo): block search indexing on the app subdomain - #3
Merged
Merged
Conversation
The product app is moving to app.ansvisor.com while the marketing site
is hosted separately on Webflow at ansvisor.com. Authenticated dashboard
pages should never appear in search results, both because they leak
nothing useful to crawlers and because surfacing /sign-in / /dashboard
URLs in SERPs hurts the marketing funnel.
Three layers of opt-out, applied together so any one is enough:
1. Next.js robots.ts emits a Disallow: / robots.txt for *all bots
2. Root layout metadata sets robots.index/follow = false (and the
same for googleBot specifically), which renders
<meta name="robots" content="noindex, nofollow"> on every page
3. Vercel.json adds X-Robots-Tag: noindex, nofollow, noarchive,
nosnippet as a response header, the strongest signal because it
also covers non-HTML resources
Marketing site at ansvisor.com is unaffected — it's served from a
different origin (Webflow) and keeps default indexing behavior.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
9 of 12 tasks
This was referenced Oct 13, 2026
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1063) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * perf(signals): plan ae_competitor_positions with its arguments A SQL-language function is planned without its argument values, so the day range was a guess: on the largest brand, with its 19 competitors over two weeks, the read took 28.6 s. As 00147, 00148 and 00152 do, the function becomes plpgsql with force_custom_plan and work_mem, and takes 0.16 s with the same 80 rows. The body is unchanged. Claude-Session: https://claude.ai/code/session_0121amRjX7UFrgmGELAtkc7A --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1064) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…ts on (#1065) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
#1066) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1068) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…hat each card counts (#1075) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(signals): show signal count changes in a neutral colour and say what each card counts AC-008. More signals usually means more losses and gaps, so the Total, Important and New cards no longer show a rise in green (or a fall in red): their change is neutral and signed, "+550% vs Aug 17 – Sep 15". Only more resolved signals is green. Each card also says what it counts in the selected range: "active in the last 30 days", "detected in the last 30 days", "resolved in the last 30 days". Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1069) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(signals): label each figure with the window its detector reads The What changed block said "Last 7 days" for findings read over longer windows. The Search Console findings (gsc_demand_gap, search_ai_misalignment, gsc_low_ctr, gsc_risk, gsc_decline) count queries over the last 28 days, and the cross-channel findings read AI sessions over 14 days against 14, search clicks over 28 against 28 and mentions over 7 against 7. Add the 28-day periods, give a figure its own period where it differs from the change's, name the days in the before and after labels, and return each figure's period from list_signals. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…action's counts (#1076) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…#1077) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1080) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): give tasks where, why, how and done-when fields AC-004 part 1 of 3. A task can now carry where to do it, why (the evidence), how (the steps), when it counts as done, its type (Content, On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has the generator fill them; this part stores, shows, edits and exports them. - details are read through parseTaskDetails, so an Improve task's body, platform and evidence and the new fields both render, and a malformed row no longer breaks the drawer or the exports - clicking a task opens its details; Edit changes every field and the text (updateTaskDetails replaces updateTaskTitle, logs task_edited); the form stays until the save lands, and Improve tasks open as before - a reload after a change keeps the drawer's content, so an opened task stays open - Copy Data, CSV and Excel carry each field; MCP get_action returns the details in snake_case Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
* feat(action-center): show where each signal happened and filter signals by platform
The Signals list never said which AI platform or location a signal was
about, and named platforms by their raw ids ("Visibility dropped on
gemini-web", "Weak in JP"). Part one of AC-002:
- Each row's Affected cell gets a line with the engines and locations the
signal is about: from the payload for platform and country signals, and
from the prompts' tracked platforms and locations for prompt and topic
signals. A line rather than a column keeps the table within the page
beside a pinned sidebar.
- Platforms and locations read as people know them ("Gemini", "Japan").
- Descriptions carry the measured fact instead of a generic sentence, e.g.
"Your mention rate fell from 34% to 18% against the week before."
- A Platform filter, search over platform and location names, and
platforms and locations columns in the CSV export.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): group copies of one signal and count them once
A brand can track the same prompt text as several prompts, and the
detectors write one signal per prompt: on production one pass wrote ten
identical "Citations lost for '…'" rows, which read as duplicates and
inflated every count. Part two of AC-002:
- Signals of one kind, about one prompt text (case, spacing and the
closing "?" ignored), found in one pass are one row with a "×N grouped"
toggle. Opened, it lists each copy with its topic, place and status; each
copy keeps its own drawer and menu, and the group's menu acts on the
copies it applies to.
- The category tabs, the tab badge and the summary cards count groups.
Migration 00141 adds signal_group_key (the same rule as
lib/signals/group.ts), counts signals_summary over groups, where a group
is resolved only once every copy is, and adds signals_new_count for the
badge.
- A drawer opened from a link to a copy opens its group.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): show where a signal happened, what changed and what it rests on
The signal drawer showed bare numbers ("0 → 251 +167") and no platform,
location, page or action. Part one of AC-001: the drawer has three blocks.
- Where: the fields the spec asks per category (prompt, topic, platforms,
locations, domain, competitor, pages, queries, and for a lost citation
the page cited before and who is cited now). A field no detector records
yet says "Not available"; platforms read from a signal's prompts say
"Tracked on".
- What changed: every figure with its metric, whose or which window, and
unit, over its period: "Mention rate · previous 7 days 34% → last 7 days
18%, −16 pts". A source domain's three counts are named instead of read
as a before and after. A fall in the brand's own numbers is red, a
competitor's rise too (the old colouring showed drops as good news).
- Evidence and links: the page behind the signal (the prompt's answers, the
topic, Citations…), first and last detection, and the actions using it.
MCP list_signals returns the same detail per signal (where, change,
evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): record what a lost citation rests on and show it
A lost citation was recorded with its prompt only, so the drawer could not
say which page lost its citation, where, or who replaced it. Part two of
AC-001, for lost citations:
- The recorder reads the lost prompts' answers back (server
signals/lost-citation-evidence.js) and writes, with the signal: the
platforms and locations it was lost on, the brand's page cited before
with its position and last cited date, the pages cited in the quiet
answers with their position and how many of the answers read cite them,
and its cited days before and since. Best effort, and a night whose read
fails keeps the evidence an earlier night recorded.
- The drawer shows them: Platforms and Locations (where it was lost),
"Your page cited before", "Cited now", and "Cited days · earlier 9 / 11
→ latest 0 / 3". A loss on one platform names it in the title ("Citations
lost on ChatGPT for …"), and the row says which page is no longer cited.
- MCP list_signals returns the same evidence.
- ownDomainMatcher is the own-domain rule countOwnDomainCitations already
used, now shared.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): show where a competitor beats you, prompt by prompt
A competitor signal named the competitor and one number, so the drawer had
"Not available" for positions by prompt and the sources behind its wins.
Part two of AC-001, for competitor signals (leads, gaining, surge,
crossed, overtaken, citation gap):
- Migration 00142 adds ae_competitor_positions: per competitor, the prompts
and platforms where it is level with or ahead of the brand, with both
positions this week and last, from the daily rollups (harmonic mean of
mention positions). Service role only, like the other detector reads.
- The recorder writes, with each competitor signal, those positions and the
domains most cited in the latest answers the competitor wins (named, the
brand not). Best effort, and an earlier night's evidence is kept when a
read fails.
- The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You
#3 ↓1", "You — lost"), coloured as news for the brand, the platforms it
leads on, and "Sources behind their wins". MCP list_signals returns them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): show where the brand is mentioned without a citation
The "Brand mentioned without citation" signal listed prompt ids only, so
the drawer had "Not available" for the mention's platform, position,
sentiment and excerpt. Part two of AC-001, for mention signals:
- The detector lists its prompts most mentioned first (prompt id breaks
ties), and the recorder describes the first five: the platforms whose
answers name the brand without citing it, the brand's median position,
the answers' most common sentiment, how many answers, and a quote of the
newest answer that names the brand (trying the next two if it doesn't).
Best effort; a failed text read keeps the rest, and an earlier night's
evidence is kept when a read fails.
- mentionExcerpt quotes an answer around the brand's first mention with the
mention count's own matching, without links or markdown marks, cut on
whole words.
- The drawer lists "Mentions by prompt" (prompt, platforms, #position,
sentiment, answers, the quote and where it is from). Platforms and
locations are each labelled by what they say: the platforms that mention
the brand, the locations where the prompts are tracked. MCP list_signals
returns the same.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): show which crawlers and checks a technical finding rests on
The audits family now records, per page, each failed check's label and
evidence. The AI bot access check names the bots robots.txt blocks, read
group by group: the old text-window scan took the next group's rules for
an allowed bot's. The drawer shows the issue, the affected crawlers for a
blocked-crawler finding, and what each check found, page by page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): show where a page's AI visits come from and its prompts
Traffic signals now record, for their first pages, AI-referred visits
by platform over the last 14 days against the 14 before, and the active
prompts that name any of their pages as the target URL; site-wide ones
record the site's visits by platform. One read (ae_page_traffic_evidence)
matches the detector's pages as written and a page opportunity's as a
path. The drawer shows both, and the AI-traffic findings now say they
compare 14 days.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(signals): show what AI visitors did on a traffic signal's pages
The AI-traffic detector compares each page's AI visitors with the site's
using Analytics: engagement and key events per session. It now records
those figures with each page, and the site's rates beside them, and an
AI traffic drop counts its falling pages apart from its sessions. The
drawer gives each page its sessions and what its finding was raised on:
engagement against the site, key events per session, or the key events
a converting page lost. Without Analytics, a page shows its sessions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): copy or export everything an action shows
Every action's drawer gets Copy Data, Export CSV and Export Excel
(AC-005). Copy Data opens the whole action as Markdown, every tab of the
drawer, to copy a part or all of it with one click; the copy falls back
to the browser's copy command where the clipboard API is blocked. The
CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per
signal marked by a section column; the Excel workbook has a sheet each
for the action, its tasks, its signals and its history. Adds the
write-excel-file package, loaded only when a workbook is asked for.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): score every action's priority on the server
Each action gets a priority score from 0 to 100 with a level (critical,
high, medium, low), and the facts behind it for "Why this priority?"
(AC-006). The score weighs impact, the demand of the most searched
prompts, queries or pages, how severe the change is, commercial intent,
independent kinds and sources of evidence, whether the ground was held
before, and how recent it is, never how many signals repeat. It is
worked out when an action is created and again every night, stored in
new columns (migration 00144), and orders the queue of waiting findings
too, with a little added for each day waited.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): show each action's priority and work the list by it
The actions list sorts by the server's priority score by default, shows the
score beside Impact, and the Top Actions card counts the five highest-priority
open actions. The drawer explains the score in "Why this priority?", and Copy
Data and the exports carry it. MCP list_actions and get_action return the
priority, and list_actions can sort by it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): use the priority score wherever actions showed impact
The score already weighs impact in, so showing both read as two answers to
one question. The Actions and History lists drop their Impact column for a
Priority Score column (score and level), filter and sort by priority, and the
Potential Impact card becomes Highest Priority. The drawers' headers, Copy
Data and Excel show the priority instead of impact, and MCP list_actions now
lists the highest priority first by default (sort "updated" for the old
order). Signals keep their own impact.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): link signals and actions both ways and keep priority current
AC-007. Every signal an action takes as evidence is now kept in a new
action_signals table (00145), so an action lists its signals after they move
on to a later cycle and a signal can be used by more than one action.
- The nightly generator writes the link, treats a signal as taken only while
an active action holds it (a still-open signal whose action closed can
start the next cycle), and keeps newcomers queued on the nights after they
were linked, not only the first.
- Resolving, dismissing or reopening a signal scores its active actions again
at once, through POST /api/action-center/signals/:id/rescore.
- "Why this action?" says how many open signals support the action and lists
them by type, platform and subject. The list counts only those, and the
drawer, History and MCP get_action read through the new table.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): list the prompts, pages and platforms behind an action's counts
AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with
no way to see which. The action drawer gets an Affected tab, built from the
signals that support the action so the list matches them:
- prompts with their AI search volume, the platforms they were lost or
missed on, the brand's page that lost the citation and what is cited
instead, or the competitor ahead of the brand on each;
- AI-traffic pages with their visits and where they came from, and a
technical finding's checks;
- topics and competitors where a finding names no rows.
Columns nothing fills are left out. Prompts link to their page and their
Positions panel. The header's counts become chips that open the list behind
them (signals open the Signals tab), with new pages, platforms and topics
chips. Copy Data, Export CSV and Export Excel include the affected rows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(action-center): read the 30-day position result through the shared event text
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* test(action-center): let the action-signals mock answer the detail's outcome read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): write an action's why and goal from its own data
"Why this action?" and "Goal" were one template per kind ("Citations you
held consistently are gone.", "Win back the citations you lost."). They now
name the prompts or pages, their topic and monthly AI search demand, the
platforms, the brand's domain and the days the signals were raised, and set
a measurable goal: 70% of the items back, rounded up (all of them for
keep and fix work), by the due date or 30 days after the action was raised.
Sentences follow the evidence, not the kind: sixteen families of sentences
(a citation lost, a gap, a competitor ahead, AI traffic falling, an audit
finding...) cover the sixty-six kinds. The drawer's header, Overview and
Copy Data / CSV / Excel use them; an action a person sent keeps its own.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): give tasks where, why, how and done-when fields
AC-004 part 1 of 3. A task can now carry where to do it, why (the
evidence), how (the steps), when it counts as done, its type (Content,
On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has
the generator fill them; this part stores, shows, edits and exports them.
- details are read through parseTaskDetails, so an Improve task's body,
platform and evidence and the new fields both render, and a malformed
row no longer breaks the drawer or the exports
- clicking a task opens its details; Edit changes every field and the
text (updateTaskDetails replaces updateTaskTitle, logs task_edited);
the form stays until the save lands, and Improve tasks open as before
- a reload after a change keeps the drawer's content, so an opened task
stays open
- Copy Data, CSV and Excel carry each field; MCP get_action returns the
details in snake_case
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(action-center): write an action's tasks from its evidence
AC-004 part 2 of 3. Template tasks ("Refresh content for 7 prompts") are
replaced by at most six tasks a model writes from the pages, prompts,
domains and competitors the action's signals name: one per target, each
with where, why, how, done-when, type, effort and role (#1080's fields).
- task-writer/evidence.js reads the signals' payloads into entities with
refs; quality.js refuses a task with no known target, a count in its
title, analysis the product does itself, or missing fields; refused
tasks are asked for once more with their reasons
- runs after a pass that opened actions and in a daily sweep, on plans
nobody has started on; "Regenerate tasks" rewrites on request, keeping
done, under-way and hand-added tasks
- a claim column keeps two writers off one action; every model attempt is
charged to the Improve budget (prompt_improve_usage.action_id)
- off unless ACTION_TASKS_AI=true; scripts/review-action-tasks.js writes
the dry-run review set product reads before it is turned on
- migration 00150: prompt_improve_usage.action_id,
actions.tasks_generated_at, actions.tasks_writing_since
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Cihan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…1082) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): give tasks where, why, how and done-when fields AC-004 part 1 of 3. A task can now carry where to do it, why (the evidence), how (the steps), when it counts as done, its type (Content, On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has the generator fill them; this part stores, shows, edits and exports them. - details are read through parseTaskDetails, so an Improve task's body, platform and evidence and the new fields both render, and a malformed row no longer breaks the drawer or the exports - clicking a task opens its details; Edit changes every field and the text (updateTaskDetails replaces updateTaskTitle, logs task_edited); the form stays until the save lands, and Improve tasks open as before - a reload after a change keeps the drawer's content, so an opened task stays open - Copy Data, CSV and Excel carry each field; MCP get_action returns the details in snake_case Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's tasks from its evidence AC-004 part 2 of 3. Template tasks ("Refresh content for 7 prompts") are replaced by at most six tasks a model writes from the pages, prompts, domains and competitors the action's signals name: one per target, each with where, why, how, done-when, type, effort and role (#1080's fields). - task-writer/evidence.js reads the signals' payloads into entities with refs; quality.js refuses a task with no known target, a count in its title, analysis the product does itself, or missing fields; refused tasks are asked for once more with their reasons - runs after a pass that opened actions and in a daily sweep, on plans nobody has started on; "Regenerate tasks" rewrites on request, keeping done, under-way and hand-added tasks - a claim column keeps two writers off one action; every model attempt is charged to the Improve budget (prompt_improve_usage.action_id) - off unless ACTION_TASKS_AI=true; scripts/review-action-tasks.js writes the dry-run review set product reads before it is turned on - migration 00150: prompt_improve_usage.action_id, actions.tasks_generated_at, actions.tasks_writing_since Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): send a task to Content or the brand's webhook A content task can become a Content opportunity that carries the task's target, reasons, steps and done-when check and links back to its action; any task can be posted to the brand's active webhook as action_task.sent. The task records where it went, History logs it, and the brief prompt reads the task's context. Migration 00151 adds the 'action' opportunity source and keeps one open opportunity per task. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…opy toast (#1083) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): give tasks where, why, how and done-when fields AC-004 part 1 of 3. A task can now carry where to do it, why (the evidence), how (the steps), when it counts as done, its type (Content, On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has the generator fill them; this part stores, shows, edits and exports them. - details are read through parseTaskDetails, so an Improve task's body, platform and evidence and the new fields both render, and a malformed row no longer breaks the drawer or the exports - clicking a task opens its details; Edit changes every field and the text (updateTaskDetails replaces updateTaskTitle, logs task_edited); the form stays until the save lands, and Improve tasks open as before - a reload after a change keeps the drawer's content, so an opened task stays open - Copy Data, CSV and Excel carry each field; MCP get_action returns the details in snake_case Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's tasks from its evidence AC-004 part 2 of 3. Template tasks ("Refresh content for 7 prompts") are replaced by at most six tasks a model writes from the pages, prompts, domains and competitors the action's signals name: one per target, each with where, why, how, done-when, type, effort and role (#1080's fields). - task-writer/evidence.js reads the signals' payloads into entities with refs; quality.js refuses a task with no known target, a count in its title, analysis the product does itself, or missing fields; refused tasks are asked for once more with their reasons - runs after a pass that opened actions and in a daily sweep, on plans nobody has started on; "Regenerate tasks" rewrites on request, keeping done, under-way and hand-added tasks - a claim column keeps two writers off one action; every model attempt is charged to the Improve budget (prompt_improve_usage.action_id) - off unless ACTION_TASKS_AI=true; scripts/review-action-tasks.js writes the dry-run review set product reads before it is turned on - migration 00150: prompt_improve_usage.action_id, actions.tasks_generated_at, actions.tasks_writing_since Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): send a task to Content or the brand's webhook A content task can become a Content opportunity that carries the task's target, reasons, steps and done-when check and links back to its action; any task can be posted to the brand's active webhook as action_task.sent. The task records where it went, History logs it, and the brief prompt reads the task's context. Migration 00151 adds the 'action' opportunity source and keeps one open opportunity per task. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): add affected items to the actions list CSV and copy toast The actions list's Export CSV gains affected_count and affected_items, read for the listed actions from the signals each rests on, as the drawer's Affected tab shows them, and is now written with a BOM so Excel keeps non-ASCII text. The Copy Data toast names the prompts (or pages) it copied before the tasks and signals. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
… and MCP (#1084) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): give tasks where, why, how and done-when fields AC-004 part 1 of 3. A task can now carry where to do it, why (the evidence), how (the steps), when it counts as done, its type (Content, On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has the generator fill them; this part stores, shows, edits and exports them. - details are read through parseTaskDetails, so an Improve task's body, platform and evidence and the new fields both render, and a malformed row no longer breaks the drawer or the exports - clicking a task opens its details; Edit changes every field and the text (updateTaskDetails replaces updateTaskTitle, logs task_edited); the form stays until the save lands, and Improve tasks open as before - a reload after a change keeps the drawer's content, so an opened task stays open - Copy Data, CSV and Excel carry each field; MCP get_action returns the details in snake_case Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's tasks from its evidence AC-004 part 2 of 3. Template tasks ("Refresh content for 7 prompts") are replaced by at most six tasks a model writes from the pages, prompts, domains and competitors the action's signals name: one per target, each with where, why, how, done-when, type, effort and role (#1080's fields). - task-writer/evidence.js reads the signals' payloads into entities with refs; quality.js refuses a task with no known target, a count in its title, analysis the product does itself, or missing fields; refused tasks are asked for once more with their reasons - runs after a pass that opened actions and in a daily sweep, on plans nobody has started on; "Regenerate tasks" rewrites on request, keeping done, under-way and hand-added tasks - a claim column keeps two writers off one action; every model attempt is charged to the Improve budget (prompt_improve_usage.action_id) - off unless ACTION_TASKS_AI=true; scripts/review-action-tasks.js writes the dry-run review set product reads before it is turned on - migration 00150: prompt_improve_usage.action_id, actions.tasks_generated_at, actions.tasks_writing_since Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): send a task to Content or the brand's webhook A content task can become a Content opportunity that carries the task's target, reasons, steps and done-when check and links back to its action; any task can be posted to the brand's active webhook as action_task.sent. The task records where it went, History logs it, and the brief prompt reads the task's context. Migration 00151 adds the 'action' opportunity source and keeps one open opportunity per task. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): add affected items to the actions list CSV and copy toast The actions list's Export CSV gains affected_count and affected_items, read for the listed actions from the signals each rests on, as the drawer's Affected tab shows them, and is now written with a BOM so Excel keeps non-ASCII text. The Copy Data toast names the prompts (or pages) it copied before the tasks and signals. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): return an action as Markdown or CSV from the API and MCP get_action takes a format (json, markdown or csv) and GET /api/mcp/actions/{id} takes ?format=, returning the action as the dashboard's Copy Data and Export CSV write it. The drawer's labelling moves into lib/action-center/export-labels so both use it; the API reads the action through the API key and works out the Affected list, its demand, the Why and Goal and a Content action's opportunity the way the drawer does. format=json stays the default and is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(action-center): keep the goal's due day in the API export east of UTC The goal's due date was set to local midnight, which the API's export writes out in UTC: on a server east of UTC a goal due Nov 9 read "by Nov 8". It is now set to local noon, the same calendar day wherever it is written out. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk
added a commit
that referenced
this pull request
Oct 17, 2026
…d from the action's data (#1086) * feat(action-center): show where each signal happened and filter signals by platform The Signals list never said which AI platform or location a signal was about, and named platforms by their raw ids ("Visibility dropped on gemini-web", "Weak in JP"). Part one of AC-002: - Each row's Affected cell gets a line with the engines and locations the signal is about: from the payload for platform and country signals, and from the prompts' tracked platforms and locations for prompt and topic signals. A line rather than a column keeps the table within the page beside a pinned sidebar. - Platforms and locations read as people know them ("Gemini", "Japan"). - Descriptions carry the measured fact instead of a generic sentence, e.g. "Your mention rate fell from 34% to 18% against the week before." - A Platform filter, search over platform and location names, and platforms and locations columns in the CSV export. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): group copies of one signal and count them once A brand can track the same prompt text as several prompts, and the detectors write one signal per prompt: on production one pass wrote ten identical "Citations lost for '…'" rows, which read as duplicates and inflated every count. Part two of AC-002: - Signals of one kind, about one prompt text (case, spacing and the closing "?" ignored), found in one pass are one row with a "×N grouped" toggle. Opened, it lists each copy with its topic, place and status; each copy keeps its own drawer and menu, and the group's menu acts on the copies it applies to. - The category tabs, the tab badge and the summary cards count groups. Migration 00141 adds signal_group_key (the same rule as lib/signals/group.ts), counts signals_summary over groups, where a group is resolved only once every copy is, and adds signals_new_count for the badge. - A drawer opened from a link to a copy opens its group. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show where a signal happened, what changed and what it rests on The signal drawer showed bare numbers ("0 → 251 +167") and no platform, location, page or action. Part one of AC-001: the drawer has three blocks. - Where: the fields the spec asks per category (prompt, topic, platforms, locations, domain, competitor, pages, queries, and for a lost citation the page cited before and who is cited now). A field no detector records yet says "Not available"; platforms read from a signal's prompts say "Tracked on". - What changed: every figure with its metric, whose or which window, and unit, over its period: "Mention rate · previous 7 days 34% → last 7 days 18%, −16 pts". A source domain's three counts are named instead of read as a before and after. A fall in the brand's own numbers is red, a competitor's rise too (the old colouring showed drops as good news). - Evidence and links: the page behind the signal (the prompt's answers, the topic, Citations…), first and last detection, and the actions using it. MCP list_signals returns the same detail per signal (where, change, evidence, used_by_actions) beside the raw row, from lib/signals/detail.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): record what a lost citation rests on and show it A lost citation was recorded with its prompt only, so the drawer could not say which page lost its citation, where, or who replaced it. Part two of AC-001, for lost citations: - The recorder reads the lost prompts' answers back (server signals/lost-citation-evidence.js) and writes, with the signal: the platforms and locations it was lost on, the brand's page cited before with its position and last cited date, the pages cited in the quiet answers with their position and how many of the answers read cite them, and its cited days before and since. Best effort, and a night whose read fails keeps the evidence an earlier night recorded. - The drawer shows them: Platforms and Locations (where it was lost), "Your page cited before", "Cited now", and "Cited days · earlier 9 / 11 → latest 0 / 3". A loss on one platform names it in the title ("Citations lost on ChatGPT for …"), and the row says which page is no longer cited. - MCP list_signals returns the same evidence. - ownDomainMatcher is the own-domain rule countOwnDomainCitations already used, now shared. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a competitor beats you, prompt by prompt A competitor signal named the competitor and one number, so the drawer had "Not available" for positions by prompt and the sources behind its wins. Part two of AC-001, for competitor signals (leads, gaining, surge, crossed, overtaken, citation gap): - Migration 00142 adds ae_competitor_positions: per competitor, the prompts and platforms where it is level with or ahead of the brand, with both positions this week and last, from the daily rollups (harmonic mean of mention positions). Service role only, like the other detector reads. - The recorder writes, with each competitor signal, those positions and the domains most cited in the latest answers the competitor wins (named, the brand not). Best effort, and an earlier night's evidence is kept when a read fails. - The drawer shows "Positions by prompt" ("ChatGPT · Profound #1 ↑2 · You #3 ↓1", "You — lost"), coloured as news for the brand, the platforms it leads on, and "Sources behind their wins". MCP list_signals returns them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where the brand is mentioned without a citation The "Brand mentioned without citation" signal listed prompt ids only, so the drawer had "Not available" for the mention's platform, position, sentiment and excerpt. Part two of AC-001, for mention signals: - The detector lists its prompts most mentioned first (prompt id breaks ties), and the recorder describes the first five: the platforms whose answers name the brand without citing it, the brand's median position, the answers' most common sentiment, how many answers, and a quote of the newest answer that names the brand (trying the next two if it doesn't). Best effort; a failed text read keeps the rest, and an earlier night's evidence is kept when a read fails. - mentionExcerpt quotes an answer around the brand's first mention with the mention count's own matching, without links or markdown marks, cut on whole words. - The drawer lists "Mentions by prompt" (prompt, platforms, #position, sentiment, answers, the quote and where it is from). Platforms and locations are each labelled by what they say: the platforms that mention the brand, the locations where the prompts are tracked. MCP list_signals returns the same. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show which crawlers and checks a technical finding rests on The audits family now records, per page, each failed check's label and evidence. The AI bot access check names the bots robots.txt blocks, read group by group: the old text-window scan took the next group's rules for an allowed bot's. The drawer shows the issue, the affected crawlers for a blocked-crawler finding, and what each check found, page by page. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show where a page's AI visits come from and its prompts Traffic signals now record, for their first pages, AI-referred visits by platform over the last 14 days against the 14 before, and the active prompts that name any of their pages as the target URL; site-wide ones record the site's visits by platform. One read (ae_page_traffic_evidence) matches the detector's pages as written and a page opportunity's as a path. The drawer shows both, and the AI-traffic findings now say they compare 14 days. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(signals): show what AI visitors did on a traffic signal's pages The AI-traffic detector compares each page's AI visitors with the site's using Analytics: engagement and key events per session. It now records those figures with each page, and the site's rates beside them, and an AI traffic drop counts its falling pages apart from its sessions. The drawer gives each page its sessions and what its finding was raised on: engagement against the site, key events per session, or the key events a converting page lost. Without Analytics, a page shows its sessions. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): copy or export everything an action shows Every action's drawer gets Copy Data, Export CSV and Export Excel (AC-005). Copy Data opens the whole action as Markdown, every tab of the drawer, to copy a part or all of it with one click; the copy falls back to the browser's copy command where the clipboard API is blocked. The CSV (action-AC-52.csv, UTF-8 with a BOM) has a row per task and per signal marked by a section column; the Excel workbook has a sheet each for the action, its tasks, its signals and its history. Adds the write-excel-file package, loaded only when a workbook is asked for. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): score every action's priority on the server Each action gets a priority score from 0 to 100 with a level (critical, high, medium, low), and the facts behind it for "Why this priority?" (AC-006). The score weighs impact, the demand of the most searched prompts, queries or pages, how severe the change is, commercial intent, independent kinds and sources of evidence, whether the ground was held before, and how recent it is, never how many signals repeat. It is worked out when an action is created and again every night, stored in new columns (migration 00144), and orders the queue of waiting findings too, with a little added for each day waited. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): show each action's priority and work the list by it The actions list sorts by the server's priority score by default, shows the score beside Impact, and the Top Actions card counts the five highest-priority open actions. The drawer explains the score in "Why this priority?", and Copy Data and the exports carry it. MCP list_actions and get_action return the priority, and list_actions can sort by it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): use the priority score wherever actions showed impact The score already weighs impact in, so showing both read as two answers to one question. The Actions and History lists drop their Impact column for a Priority Score column (score and level), filter and sort by priority, and the Potential Impact card becomes Highest Priority. The drawers' headers, Copy Data and Excel show the priority instead of impact, and MCP list_actions now lists the highest priority first by default (sort "updated" for the old order). Signals keep their own impact. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): link signals and actions both ways and keep priority current AC-007. Every signal an action takes as evidence is now kept in a new action_signals table (00145), so an action lists its signals after they move on to a later cycle and a signal can be used by more than one action. - The nightly generator writes the link, treats a signal as taken only while an active action holds it (a still-open signal whose action closed can start the next cycle), and keeps newcomers queued on the nights after they were linked, not only the first. - Resolving, dismissing or reopening a signal scores its active actions again at once, through POST /api/action-center/signals/:id/rescore. - "Why this action?" says how many open signals support the action and lists them by type, platform and subject. The list counts only those, and the drawer, History and MCP get_action read through the new table. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): list the prompts, pages and platforms behind an action's counts AC-003, part 1. "Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer gets an Affected tab, built from the signals that support the action so the list matches them: - prompts with their AI search volume, the platforms they were lost or missed on, the brand's page that lost the citation and what is cited instead, or the competitor ahead of the brand on each; - AI-traffic pages with their visits and where they came from, and a technical finding's checks; - topics and competitors where a finding names no rows. Columns nothing fills are left out. Prompts link to their page and their Positions panel. The header's counts become chips that open the list behind them (signals open the Signals tab), with new pages, platforms and topics chips. Copy Data, Export CSV and Export Excel include the affected rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): read the 30-day position result through the shared event text Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(action-center): let the action-signals mock answer the detail's outcome read Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's why and goal from its own data "Why this action?" and "Goal" were one template per kind ("Citations you held consistently are gone.", "Win back the citations you lost."). They now name the prompts or pages, their topic and monthly AI search demand, the platforms, the brand's domain and the days the signals were raised, and set a measurable goal: 70% of the items back, rounded up (all of them for keep and fix work), by the due date or 30 days after the action was raised. Sentences follow the evidence, not the kind: sixteen families of sentences (a citation lost, a gap, a competitor ahead, AI traffic falling, an audit finding...) cover the sixty-six kinds. The drawer's header, Overview and Copy Data / CSV / Excel use them; an action a person sent keeps its own. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): give tasks where, why, how and done-when fields AC-004 part 1 of 3. A task can now carry where to do it, why (the evidence), how (the steps), when it counts as done, its type (Content, On-page, Technical, Outreach, PR, Product), effort and role. Part 2 has the generator fill them; this part stores, shows, edits and exports them. - details are read through parseTaskDetails, so an Improve task's body, platform and evidence and the new fields both render, and a malformed row no longer breaks the drawer or the exports - clicking a task opens its details; Edit changes every field and the text (updateTaskDetails replaces updateTaskTitle, logs task_edited); the form stays until the save lands, and Improve tasks open as before - a reload after a change keeps the drawer's content, so an opened task stays open - Copy Data, CSV and Excel carry each field; MCP get_action returns the details in snake_case Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write an action's tasks from its evidence AC-004 part 2 of 3. Template tasks ("Refresh content for 7 prompts") are replaced by at most six tasks a model writes from the pages, prompts, domains and competitors the action's signals name: one per target, each with where, why, how, done-when, type, effort and role (#1080's fields). - task-writer/evidence.js reads the signals' payloads into entities with refs; quality.js refuses a task with no known target, a count in its title, analysis the product does itself, or missing fields; refused tasks are asked for once more with their reasons - runs after a pass that opened actions and in a daily sweep, on plans nobody has started on; "Regenerate tasks" rewrites on request, keeping done, under-way and hand-added tasks - a claim column keeps two writers off one action; every model attempt is charged to the Improve budget (prompt_improve_usage.action_id) - off unless ACTION_TASKS_AI=true; scripts/review-action-tasks.js writes the dry-run review set product reads before it is turned on - migration 00150: prompt_improve_usage.action_id, actions.tasks_generated_at, actions.tasks_writing_since Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): send a task to Content or the brand's webhook A content task can become a Content opportunity that carries the task's target, reasons, steps and done-when check and links back to its action; any task can be posted to the brand's active webhook as action_task.sent. The task records where it went, History logs it, and the brief prompt reads the task's context. Migration 00151 adds the 'action' opportunity source and keeps one open opportunity per task. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): add affected items to the actions list CSV and copy toast The actions list's Export CSV gains affected_count and affected_items, read for the listed actions from the signals each rests on, as the drawer's Affected tab shows them, and is now written with a BOM so Excel keeps non-ASCII text. The Copy Data toast names the prompts (or pages) it copied before the tasks and signals. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): return an action as Markdown or CSV from the API and MCP get_action takes a format (json, markdown or csv) and GET /api/mcp/actions/{id} takes ?format=, returning the action as the dashboard's Copy Data and Export CSV write it. The drawer's labelling moves into lib/action-center/export-labels so both use it; the API reads the action through the API key and works out the Affected list, its demand, the Why and Goal and a Content action's opportunity the way the drawer does. format=json stays the default and is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(action-center): keep the goal's due day in the API export east of UTC The goal's due date was set to local midnight, which the API's export writes out in UTC: on a server east of UTC a goal due Nov 9 read "by Nov 8". It is now set to local noon, the same calendar day wherever it is written out. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(action-center): write the History drawer's goal and what happened from the action's data The History drawer read general sentences ("Citations you held consistently are gone.") where the Actions drawer names the prompts, platforms and days. It now reads the action's signals when it opens and writes both the way the Actions drawer does, through a hook the two share (use-action-story), with placeholders until they are read and the general sentences when they can't be. A lean getActionSignals reads only what it needs; history items carry the due date the goal is dated by. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
This was referenced Oct 18, 2026
Merged
This was referenced Nov 14, 2026
gkhngyk
pushed a commit
that referenced
this pull request
Nov 21, 2026
Today's Where you stand showed "27.4" with no unit and ranked the brand among the five competitors named most, so it read "#6 of 6 brands" next to 19 tracked competitors (AC-02). It now shows the Visibility score out of 100 (D1, D2), says which run it is from (D7), and ranks among the brand's primary rivals, its Direct competitors, with a rival no answer named at 0 (D5). With none marked it ranks among every competitor named in 10 or more prompts (D8), read from the full competitor list rather than the top-5 slice. The text names the set: "#3 of 6 with your primary rivals". Chat's and the MCP Server's summary reads are unchanged; get_today also says which set the rank is among. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
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.
The product app is moving to app.ansvisor.com while the marketing site
is hosted separately on Webflow at ansvisor.com. Authenticated dashboard
pages should never appear in search results, both because they leak
nothing useful to crawlers and because surfacing /sign-in / /dashboard
URLs in SERPs hurts the marketing funnel.
Three layers of opt-out, applied together so any one is enough:
same for googleBot specifically), which renders
on every page
nosnippet as a response header, the strongest signal because it
also covers non-HTML resources
Marketing site at ansvisor.com is unaffected — it's served from a
different origin (Webflow) and keeps default indexing behavior.
Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]