Repository navigation
feat(signals): show which crawlers and checks a technical finding rests on - #1065
Merged
gkhngyk merged 59 commits intoOct 17, 2026
Merged
Conversation
…ls 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]>
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]>
…hat 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]>
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]>
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]>
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]>
…ts 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]>
Collaborator
Author
This was referenced Oct 15, 2026
…uping # Conflicts: # supabase/schema.sql
…n-signal-evidence
…uping # Conflicts: # supabase/schema.sql
…n-signal-evidence
…uping # Conflicts: # supabase/schema.sql
…-signal-evidence # Conflicts: # supabase/schema.sql
…n-signal-evidence
…ure/signals-grouping # Conflicts: # supabase/schema.sql
…eature/signal-detail-where
…o feature/lost-citation-evidence
…into feature/competitor-signal-evidence
…ce' into feature/mention-signal-evidence
… into feature/technical-signal-evidence
…ure/signals-grouping # Conflicts: # supabase/schema.sql
…eature/signal-detail-where
…o feature/lost-citation-evidence
…into feature/competitor-signal-evidence
…ce' into feature/mention-signal-evidence
… into feature/technical-signal-evidence
…ure/signals-grouping # Conflicts: # supabase/schema.sql
…eature/signal-detail-where
…o feature/lost-citation-evidence
…into feature/competitor-signal-evidence
…ce' into feature/mention-signal-evidence
… into feature/technical-signal-evidence
…ignal-evidence # Conflicts: # supabase/schema.sql
…ignal-evidence # Conflicts: # supabase/schema.sql
…nal-evidence main carries the stack below as squashes; this branch keeps only its own commit on top.
…nal-evidence main now carries ansvisor#1064 as a squash; the tree is the one CI passed.
gkhngyk
added a commit
to cihan-gyk/ansvisor
that referenced
this pull request
Oct 17, 2026
…l-evidence main now carries ansvisor#1065 as a squash; the tree is the one CI passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part two of AC-001, for technical signals. Stacked on #1064, which sits on #1063, #1061, #1060, #1059 and #1058. Please review the seventh commit,
feat(signals): show which crawlers and checks a technical finding rests on, or merge those first.The spec asks a technical signal for "URL, issue, affected crawler, evidence". The audit findings (
crawler_blocked,structured_data_issue,outdated_content,weak_entity,weak_internal_links,content_gap) recorded only each page and the keys of its failed checks. The drawer from #1060 therefore showed check keys and "Not available" for the crawlers.Server
Audits family (
signals/library/detect.js): each page target now carriesissues: per failed check, its key, its label as the audit names it (describeSignal), and the check's ownevidencefromaudit_signal_results.AI bot access check (
audit/signals/trust.js): the evidence gainsblockedBots, the AI bots robots.txt blocks. robots.txt is now read group by group (robotsGroups), as crawlers read it:User-agentlines share a group, and comments are skipped;GPTBot/1.1names GPTBot;Allow: /wins a tie withDisallow: /.Behaviour change: the old check looked at the 200 characters after a bot's name, which also caught the next group's rules. A bot robots.txt allows, followed by
User-agent: */Disallow: /, failed the check; it now passes. This applies to audits run after the change.Web
en.json(drawer.checkEvidence). The LLM checks' model name and what the crawlers row already says are left out.blockedBotsnames no crawlers: it also listed bots robots.txt allows.list_signalsreturnswhere.evidenceas{page, check, label, evidence}objects andwhere.crawlersas user agents.Review
I ran a code review before opening this. All twelve findings are fixed:
Allow: /and repeated groups; no test of the flipped verdict.where.evidence.[object Object]for arrays of objects; no Issue on older findings.total; evidence formatted twice per check.Related issue
None. Product spec AC-001 (Action Center), part 2 for technical signals. The traffic details are what's left.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
User-agent: GPTBot/Disallow: /), then run a signal pass or wait for the nightly one.list_signals:where.evidenceandwhere.crawlers.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): 0 errors; the 7 warnings are in files this PR doesn't touchyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run:
server:npm run format,npm run lint(clean), andnpm test1209/1209. New tests:trust.test.js: blocked bots by group, an allowed bot after a*block, versions,Allow: /.audits-family.test.js: each failed check's label and evidence on its page.web:yarn test611/611 (fields, older findings, API shape, the drawer's crawlers and check lines) andyarn build.🤖 Generated with Claude Code