Skip to content

feat(action-center): list the prompts, pages and platforms behind an action's counts - #1076

Merged
gkhngyk merged 123 commits into
ansvisor:mainfrom
cihan-gyk:feature/action-affected
Oct 17, 2026
Merged

gkhngyk merged 123 commits into
ansvisor:mainfrom
cihan-gyk:feature/action-affected

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

AC-003, part 1 of 2: an action's Affected tab.

"Recover lost citations on 7 prompts" said 7 prompts with no way to see which. The action drawer now lists the prompts, pages and platforms behind its counts, and every count in its header opens that list.

Stacked on two stacks. The data comes from the Signals stack (#1061–#1068: lost citation, competitor, mention, traffic and technical evidence). The drawer it goes into comes from the Action stack (#1072, #1074).

This branch merges #1068 into #1074. The merge commit is Merge the Signals stack (#1068) into AC-003's base. Please review:

  • the last commit, feat(action-center): list the prompts, pages and platforms behind an action's counts;
  • the merge's one real conflict, in updateSignalStatus (see below).

Part 2 will make "Why this action?" and "Goal" data-driven sentences.

Spec: AC-003-action-affected-entities.md; mockup AC-mockup.html, section 3.

The Affected tab

  • Where the list comes from. It is built from the signals that support the action (AC-007), so it matches them. A finished action falls back to every signal it took. An action a person sent (Improve) lists what it was sent about.
  • Prompts table. The columns follow what the signals record. A column nothing fills is left out.
  • Pages table. AI visits ("40 → 32"), the sites they came from, and a technical finding's checks.
  • Other names. Competitors and topics are listed when a finding names no rows.
  • Long lists. A grouped finding names its first 50, so the tab says "Showing 50 of 60". A bare count with nothing to list is not added.

Header chips

  • Clickable counts. "n signals" opens Signals. "n prompts", "n pages", "n platforms", "n topics" and "n competitors" open Affected. Pages, platforms and topics are new chips.
  • Platforms counted by name. ChatGPT the engine and chatgpt.com the referrer count once.
  • Finished actions. The signals chip counts all the action's signals once none supports it any more, so it never says "0 signals".

Volumes

prompt_volumes is a server-only table. The new getPromptDemand server action does this:

  1. It checks the requested prompts are the brand's and visible to the caller (RLS).
  2. It reads only their volumes with the admin client, in chunks of 150.

It is best effort: without it, the Volume column is left out.

Exports (the AC-005 item left for this)

  • Copy Data: an "Affected (n)" section before Tasks.
  • Export CSV: affected rows, with new volume, lost_pages and cited_instead columns.
  • Export Excel: an "Affected" sheet.

The merge's conflict

  • The two sides: The Signals stack made updateSignalStatus move every copy of a grouped finding (signalIds[]). AC-007 had it ask the server to rescore the signal's action.
  • The resolution: it does both. Every copy moves, and each action they support is rescored once.
  • Also in the merge: the MCP docs keep both stacks' rows, schema.sql is rebuilt from the migrations, and the test fixtures gain SignalWhere.topics.

Review

I ran a code review before opening this. All nine findings are fixed:

  • a signal that lists no prompts by name had its count added on top of its rows (e.g. "4 prompts" for 2);
  • the action detail mapped signals without prompt places, so platforms and topics were missing;
  • a finished action's signals chip said "0 signals";
  • each drawer fetched the brand's whole volume list through the server;
  • ChatGPT counted twice in the platforms chip;
  • a signal without visits overwrote another's;
  • the CSV packed English labels into one column;
  • copies of one prompt looked identical;
  • the chips had no test.

Related issue

None. Product spec AC-003 (Action Center), part 1.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Apply feat(action-center): score every action's priority on the server #1071's and feat(action-center): link signals and actions both ways and keep priority current #1074's migrations (00144, 00145) and the Signals stack's (00141–00143), then run a signal pass for a brand with lost citations.
  2. Open a "Recover lost citations" action:
    • The header chips read "n signals", "n prompts", "n pages" and "n platforms".
    • Affected (n) lists each prompt with its volume, where it was lost, your lost page and what is cited instead.
  3. Click a prompt to reach its page. Click its chart icon to open the Positions panel. Click "n signals" to reach the Signals tab.
  4. Open a competitor action: each prompt shows who is ahead of you, and where.
  5. Open an AI-traffic action: pages show their AI visits and where they came from.
  6. Use Copy Data, Export CSV and Export Excel: each includes the affected rows.
  7. Check the light and dark themes, and a 1024px window.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/): no errors; the 7 warnings are in files this PR does not touch
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

Also run:

  • yarn test: 701/701. New tests:
    • affected.test.ts:
      • rows per kind;
      • merging, totals and topics;
      • the counts and chips;
      • the review's cases.
    • affected-tab.test.tsx: the columns and links, and the "showing n of m" note.
    • prompt-demand.test.ts: only the brand's visible prompts are read.
    • signal-status-rescore.test.ts: copies sharing an action ask once.
  • yarn build: passes.
  • server: npm test 1250/1250 on the merged base.
  • In the browser: with sample signals on the dev database (three lost citations with their evidence, a competitor lead and AI-traffic pages), run through the generator, then removed. Checked at 1440px and 1024px, in the light and dark themes.

🤖 Generated with Claude Code

cihan-gyk and others added 26 commits October 15, 2026 14:20
…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]>
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]>
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]>
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]>
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]>
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]>
…mpact

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]>
…rity-score

# Conflicts:
#	supabase/schema.sql
…rity 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]>
AC-003 lists an action's affected prompts, pages and competitors from its
signals' evidence, which the Signals stack records (ansvisor#1061-ansvisor#1068), in the
drawer the action stack shapes (ansvisor#1072, ansvisor#1074).

Conflicts kept both sides: updateSignalStatus moves every copy of a grouped
finding (Signals stack) and still asks the server to rescore their actions
(AC-007), once per action; the MCP docs keep both stacks' rows; schema.sql is
rebuilt from the migrations. Test fixtures gain SignalWhere.topics.
…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]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk this is ready for review. It's AC-003 part 1 (an action's Affected tab). It needs both open stacks: the Signals stack's evidence (#1061–#1068) and the Action stack's drawer (#1072, #1074), so the branch merges #1068 into #1074 first.

Things to look at:

  • The merge's one real conflict is updateSignalStatus: the Signals stack moves every copy of a grouped finding, AC-007 rescores the action. It now does both, rescoring each action once.
  • The Affected list is built from the supporting signals (not the payload snapshot), so it matches them; columns follow what the signals record.
  • Volumes come from a new getPromptDemand server action: prompt_volumes is server-only, so it checks the prompts against the caller's RLS first and reads only theirs with the admin client.
  • Exports gain the affected rows (the item AC-005 left for this).

Part 2 (data-driven "Why this action?" and "Goal") follows. Code review (9 of 9 findings fixed). Web tests (701/701), server tests (1250/1250), lint, typecheck and build pass; checked end to end with sample signals on the dev database, then cleaned up.

@github-actions github-actions Bot added the needs-migration Adds or edits a migration — apply it to the hosted database label Oct 15, 2026
…ty' into feature/action-affected

# Conflicts:
#	supabase/schema.sql
…' into feature/action-affected

# Conflicts:
#	supabase/schema.sql
…ure/signals-grouping

# Conflicts:
#	supabase/schema.sql
…ure/action-priority-score

# Conflicts:
#	supabase/schema.sql
…ty' into feature/action-affected

# Conflicts:
#	supabase/schema.sql
…' into feature/action-affected

# Conflicts:
#	supabase/schema.sql

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed. Merged main into the branch: the action detail reads the position outcome next to its tasks, signals, events and KPIs, and the prompt places through readPromptPlaces. Tested on the full Action Center chain.

@github-actions github-actions Bot removed the needs-migration Adds or edits a migration — apply it to the hosted database label Oct 17, 2026
@gkhngyk
gkhngyk merged commit 1061b1e into ansvisor:main Oct 17, 2026
4 of 5 checks passed
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(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]>

* 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]>

* test(action-center): follow the merged signal changes in the AC-007 tests

#1060 moves updateSignalStatus to a list of signal ids (a group's copies
move together) and gives SignalWhere its topics; #1074's tests still called
it with one id and built where without topics. They now do as #1076's merge
of the same two stacks does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(action-center): list every action a signal was used by

A signal drawer's "Used by actions" and list_signals' used_by_actions read
the signal's action_id, its current action only. Once a signal outlived its
action and supported the next cycle's, the earlier action dropped out.

Both now read the signal's links in action_signals (AC-007): every action it
was used by, closed ones included. The current action leads, then the rest
by their latest link, and the drawer shows each action's status. list_signals
reads the links in chunks of 100 signals, so a full page stays within the
request line, and a failed read still costs used_by_actions only.

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants