Skip to content

feat(action-center): show an action's result net of the prompts it didn't touch (learning B2) - #1701

Merged
gkhngyk merged 42 commits into
ansvisor:mainfrom
cihan-gyk:feature/outcome-control-basket
Oct 28, 2026
Merged

gkhngyk merged 42 commits into
ansvisor:mainfrom
cihan-gyk:feature/outcome-control-basket

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Learning B2: an action's result is shown net of a control basket. A control basket is the brand's prompts the action didn't touch, read over the same days (difference-in-differences).

Stacked on #1696 (B4), itself on #1695 → #1694 → #1692. This PR's own commits: 9a1af18 and the review fixes after it. No migration.

A visibility rise across the whole market reads as the action's effect unless something the action didn't touch is compared over the same days.

controlScope(brandId, promptIds, since) (basket-metrics.js)

  • It picks the brand's active prompts the action didn't touch: first the others in the action's prompts' topics, then, with fewer than 5, the brand's others.
  • Between 5 and 300 prompts, same brand only (prompt_sets!inner(brand_id)). Fewer than 5 means no control.
  • Review fix d7cb417: only prompts created before the week before the action. Prompts added later (e.g. "Add All") would have grown the control's later window by themselves.

netEffect compares the action's change with the control's:

  • rates (visibility, share of voice, competitor lead): the action's change minus the control's, in points;
  • counts (mentions): the difference of the relative changes, so a 300-prompt control weighs the same as a 3-prompt basket;
  • page metrics (citations, traffic) aren't read for the control, so they don't count.

validate.js

  • For basket kinds and target baskets (A1), the control is read over the same windows and kept as validation.control = { basis, prompts, net }.
  • The verdict doesn't change. If the read fails, or the control is too small, the result is as before and a warning is logged with brandId and actionId.

Review fixes:

  • 117c333: the net is taken on the result's full-week scale (A6). The control's counts go through the same fullWindowCounts, and with too many missed nights only the rate nets remain. Before, one missed night shifted a count net, e.g. +71% instead of +100%.
  • 6cd1ad0: a count the action read fewer than 5 of before gets no net. Otherwise 1 → 3 read as "+200%".
  • 85487e0: when the day-7, 14 and 30 readings come together, the control's prompts and its week before are read once (6 prompt queries → 2).
  • 99cab83: tests lock the control to the brand's active prompts, check a failed read, and check the targets (A1) path.
  • d57da98 and 86a553d: comment placement; sessions excluded; the drawer line hidden when nothing is left to show.

Web. History's drawer, under the brand-wide line: "Net of the 6 other prompts in its topics over the same days: AI visibility +6 pts · Mentions −12.5%". When the control is brand-wide, it says "the brand's 7 other prompts".

Follow-up (product call): leaving the action's own prompt cluster out of the control, since a page published for the action can lift its topic neighbours too.

Where people see it: Action Center › History › an action with prompts (Improve, Content, topic gap or opportunity, Mentions, or a night-engine action that names its prompts) › Result. No new button. Cost: per reading, 2 RPCs and 1–2 prompt reads more.

Related issue

Agentic learning report, phase B (B2). No GitHub issue. Learning stays within one brand.

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. cd server && npx vitest run src/lib/action-center/basket-metrics.test.js src/lib/action-center/validate.test.js
  2. cd web && npx vitest run src/components/action-center/history-drawer.test.tsx

controlScope's query was run read-only against the dev database: brand basis, 7 prompts, and the action's own prompt left out.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

Full checks at 85487e0:

  • server format, lint and npm test (no SUPABASE_* env, as in CI): 3,384 tests passed. content-people.test.js timed out under load and passed alone (32/32).
  • web format, lint (0 errors; 7 warnings already on main), typecheck and vitest: 4,247 tests passed. The editor's page.test.tsx timed out under load and passed alone (271/271).
  • web build: OK. The first build ran out of memory under load; it passed on a rerun.

A pre-push review was run, and its findings are fixed.

🤖 Generated with Claude Code

cihan-gyk and others added 30 commits October 28, 2026 08:48
… measured result

Learning phase A, A3 (the agentic learning report, gaps 2 and 4). An
action's result compared its metrics before and after, but never asked
the question closest to its own aim: did the signals that raised it end?
Signals close as resolved (the condition gone) or resolved with
`supersededBy` (still there, as another kind), and that never reached
the outcome.

- validate.js: when an action is measured, signalOutcome reads its
  signals through action_signals and keeps the counts in
  `validation.signals`: total, ended, replaced, dismissed, open. An action
  with no metric to measure keeps them too (its validation was null). An
  action no signal raised (sent from Content, Insights…) has none.
- History's drawer says it under Result: "Of the 4 signals that raised it,
  when measured: 2 ended, 1 turned into another, 1 still open."
- The Action Center guide says so.

The outcome itself is unchanged; A4 decides what counts as improved.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pages it names, brand-wide beside

Learning phase A, A1 (the report's gap 2). The night engine's actions
were measured on the whole brand's figures, so "recover 6 prompts" was
judged by every prompt the brand tracks, and a small real effect drowned
in the rest. Their targets are in the payload already.

- validate.js: an action whose payload's targetEntity is 'prompts' or
  'pages' (targetScope) is measured on those targets with the basket
  measure the actions sent from Content use: every target it counts
  (targetIds, else targets), prompt ids as uuids, a page written as a
  path read on the brand's primary domain. The metrics are its basket
  KPIs that the action names (all six when it names none). The brand-wide
  figures over the same windows are kept as `brandWide`, and
  `scope: { kind: 'targets', entity, prompts, pages }` says what it was.
- A basket that measured nothing (no answers in either window) leaves the
  action to the brand-wide measure, as before; so does any other target
  (competitors, sources…).
- History's drawer: "Measured on the 2 prompts it named." under Result, and
  "Brand-wide over the same days: Citations 100 → 104" under the cards.
- The guide says so.

Stacked on feature/outcome-signals-resolved (A3): both change
validateAction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n since it closed

Learning phase A, A2 (the report's gap 3). F01, F03 and F10 had no metric
to measure (their signals name none), so their result always read "could
not be measured", and the audit's own answer was never asked: does the
page pass now? (A1 already measures them on their pages' citations and AI
sessions, which rarely move in a week for a technical fix.)

- audit-recheck.js: for each page target that names the checks that
  raised it (F03, F10…), the latest audit of the page since the action
  closed, by the address asked for or ended at; it passes when every named
  check does (validity's warn still fails, as the page check reads it). A
  low-scored page (F01) passes once its score is past the line its signal
  is raised under. `{ pages, audited, passed }`, kept as validation.audit.
- validate.js: a fix with pages audited again is judged by them: all or
  some passing reads improved, none no meaningful change (A4 will say
  mixed for some). With none audited again, the metrics judge, as before.
  validateAction's four writes now go through one `finish`, which keeps
  the signals (A3) and the audit beside the metrics.
- History's drawer: "Audited again since it closed: 1 of 2 pages pass.",
  or that none was yet and the result is from the metrics.
- The guide says so.

Stacked on feature/outcome-target-basket (A1).

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

The A1 drawer test built its metrics with unit 'count', which
ActionResultMetric doesn't take: tsc failed on the test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ay "mixed" when its metrics moved both ways

Learning phase A, A4 (the report's gap 4). One metric up and another down
read as "improved": the verdict counted any rise as the work paying off,
which is the wrong lesson to learn from.

- deriveOutcome takes the action's main metric. Measured, it decides: up
  improved, down declined, still no meaningful change, and `mixed` when
  another metric moved the other way. Without it measured, every metric
  counts and movement both ways is `mixed`.
- The main metric is the first success metric the action names (its
  signals' first; a basket's first it reads), else what its targets read
  in (citations for pages, visibility for prompts). It's kept as
  validation.primary.
- A Site Audit fix whose pages only partly pass when audited again (A2)
  reads `mixed` too.
- 00365 adds 'mixed' to actions_outcome_check (applied on the dev DB;
  schema.sql rebuilt).
- Web: the outcome type and list, "Mixed" in the outcome labels, hints,
  explanation and History line, and the drawer's "Judged by Citations, its
  main metric." The MCP list_action_history description names mixed. The
  not_measurable explanation and hint said "this action was dismissed"; they
  say nothing it aims at could be read.
- The guide says so.

Stacked on feature/outcome-audit-kinds (A2).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…easured weeks, and don't compare past two

Learning phase A, A6 (the report's gap 4). The validation sweep compared
an action's week before and week after without asking whether tracking
ran on each night of them. A night whose collection failed (or fell short
and was discarded) leaves no stamped tracking run, and reads as fewer
mentions and citations: a decline nobody caused. The signal side guards
against collection incidents; the measure didn't.

- validate.js: when the metrics read include one from tracking's answers
  (visibility, share of voice, competitor lead, mentions, citations),
  missingDays counts each window's days with no stamped tracking run for
  the brand, kept as validation.gaps { before, after }. Past
  validation.maxGapDays (2, config/action-engine.js) in either window,
  `tooMany` is set and the result reads not_measurable; the figures stay
  to see. A Site Audit fix judged by its audits again (A2) isn't affected,
  nor a measure of AI sessions alone.
- History's drawer, in amber: "Tracking missed 1 night of the week before
  it and 2 nights of the week after it: mentions and citations read a
  little low there.", or that there were too many to compare fairly.
- The guide says so.

Stacked on feature/outcome-mixed-primary (A4).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Learning phase A, A5 (the report's gap 6). Dismissing an action asked
nothing, so the same definition could open again 14 days later for the
reason it was turned down, and nothing learned from it. A content
opportunity's dismissal already asks (CONTENT-006); this is its pattern.

- 00366 adds actions.dismiss_reason: not_relevant, already_done,
  wrong_data or not_now, null when none was given (applied on the dev DB;
  schema.sql rebuilt; web/src/types/supabase.ts updated).
- updateActionStatus takes the reason: kept on a dismissal, cleared on any
  other status (and an unknown one is kept as none). The status_changed
  event carries it.
- Dismissing from the row menu or the drawer's status opens "Why dismiss
  it?" (DismissReasonDialog): four reasons, each with a hint, and "Dismiss
  without saying why". Closing the dialog dismisses nothing.
- History's drawer says "Dismissed: The data behind it is wrong."
- The guide says so.

Nothing reads the reason to rank or rest actions yet: that's phase B.

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

A5 goes on the phase A chain (A3 → A1 → A2 → A4 → A6): both add lines to
History's drawer, its item type and en.json. Both sides kept; the drawer
test keeps every test; schema.sql rebuilt with 00365 and 00366.
…month after it closed

Learning B1. A closed action was read once, over the week after it closed,
which can't tell an effect that takes longer from none at all. It is now
read three times, over the weeks ending 7, 14 and 30 days after the close,
each against the week before it was raised; the day-30 reading is final.

- validate.js: READING_DAYS / readingWindow; validateAction takes every
  reading due, keeps the last one's figures and verdict plus each
  reading's day, outcome, window and metrics, and marks the action final
  on day 30. The measuring itself moved unchanged into measureReading.
- The outcome_measured event carries the reading's day and final flag;
  the drawer's History tab reads "Day 14 · Result: …".
- Sweep: never-measured actions, or read but not final yet; one measured
  once before this keeps its result. Read in pages by id, so actions
  waiting for a later reading can't crowd out the ones due.
- History table: "so far: day 14 of 30" until the final reading; the
  drawer lists the readings and says when the final one is.
- Config finalReadingDay 30; docs and the MCP tool description say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review of learning A4. A basket reads every metric it can: visibility,
share of voice, the lead over the top competitor, mentions, citations and
AI sessions. Any one of them drifting the other way made the result
"mixed", though the action never aimed at it: visibility 20 → 30 with the
lead 0.4 → 0.3 read mixed for an action that names visibility alone.

- deriveOutcome takes the action's aims (its kpi_keys): given them, only
  those and its main metric count. The others stay in validation.metrics,
  to see. None of them read is not measurable.
- A basket sent from Content, Insights, Mentions, AI Traffic or the
  editor is judged by its kpi_keys; a night-engine action measured on its
  targets by the ones a basket reads. The brand-wide measure reads only
  its kpi_keys already.
- finish derives the verdict from the validation it keeps.
- The guide says other metrics show beside but don't count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… read its main metric

Review of learning A4. A night-engine action measured on the prompts it
names was judged by whatever its basket could read. One whose main metric
is citations (G02: citations, then mentions) reads no citations on
prompts, which have no pages to count them on, so its mentions decided:
"improved" while the citations it aims at fell brand-wide.

- validate.js: the targets decide only when their basket reads the main
  metric. Otherwise the whole result goes to the brand-wide measure, by
  the brand's main metric (its first kpi_key), reusing the brand-wide
  figures already read. validation.scope says why: kind 'brand', reason
  'primary_not_in_basket', with the targets' entity and counts.
- A basket that read nothing still leaves it brand-wide as before.
- The guide says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review of learning A4. Only a completed action is measured. 00084 set the
dismissed ones of the time to not_measurable, which History now explains
as "Measured after this action closed; nothing it aims at could be
read." A dismissal since then stays pending_measurement, read as "The
metrics below fill in once validation runs." Neither is what happened.

- History's Result column and drawer read a dismissed action's status,
  not its outcome: "Not measured", dismissed; and in the drawer "Not
  measured: it was dismissed, and only a completed action is measured."
  A dismissed action that was measured first keeps its figures.
- The guide no longer says a dismissed action is Not measurable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review of learning A4: 00365 ended without the notify every recent
migration ends with. schema.sql rebuilt.

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

# Conflicts:
#	docs/guides/action-center.mdx
#	server/src/lib/action-center/validate.js
#	web/src/components/action-center/history-drawer.test.tsx
…of at a full week's worth

Review of learning A6. Mentions and citations add up night by night, and
a meaningful change is 5%, so one missed night (a week's total down about
14%) still read as "Declined". Past two, the whole result read not
measurable, though visibility, share of voice and the lead are shares of
the answers there were and don't drift from a missed night.

- validate.js: fullWindowCounts reads each window's counts, the
  action's own and the brand-wide ones beside, as the nights that ran
  read them per night, times the window's nights: both windows on the
  same scale. What was read stays as `raw`. 7 nights of 100 against 6
  is no change.
- Nights are counted only when a count was read; a rate alone isn't
  flagged.
- Past maxGapDays the counts stay as read and are left out of the
  verdict; only an action whose main metric is a count reads not
  measurable. A rate still judges.
- The guide and the config's note say so.

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

# Conflicts:
#	supabase/schema.sql
#	web/src/components/action-center/history-drawer.test.tsx
Review of learning A5: 00366 adds actions.dismiss_reason, and PostgREST
doesn't see a new column until its schema cache reloads. Every recent
migration ends with the notify; this one didn't. schema.sql rebuilt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ounted for a full week

The drawer's gap lines said mentions and citations "read a little low"
and that too many missed nights made "the result read not measurable".
Since the counts are scaled to a full week from the nights that ran, and
too many missed nights only leave the counts out of the result (an
action judged by a rate is still measured), the lines say so now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n a History scorecard

Learning B3. Each action's result was read one at a time, so a brand
couldn't see which kinds of work pay off for it.

- 00368 action_scorecard(p_brand_id, p_since): the brand's actions raised
  since a day, by kind: completed, results (improved, mixed, no change,
  declined, not measurable, not read yet, final), the median relative
  change in each one's main metric, dismissed and why. Security invoker:
  RLS keeps a member to their organization; the API reads it with the
  service role. One brand's own actions only.
- History gets an Actions / Scorecard switch (?view=scorecard). The
  scorecard follows the range; a kind shows a success rate once it has
  three results with a verdict, "Too few results" before that, and the
  reason it's dismissed most often.
- actionKindName names a kind by its title without targets.

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

# Conflicts:
#	docs/guides/action-center.mdx
#	server/src/lib/action-center/validate.js
#	web/src/components/action-center/history-drawer.test.tsx
#	web/src/components/action-center/history-table.test.tsx
…re into its priority

Learning B4. The priority score never looked back: a kind of action that
kept improving results at a brand ranked the same as one that never did.

- Past success: the brand's own results by kind over the last 180 days,
  from the History scorecard (action_scorecard, 00368, service role). The
  share that improved, shrunk toward a fixed prior (0.5) by five imagined
  results, moves the score by (rate - prior) x 20: up to 10 points either
  way, about +3.75 for 3 of 3, nothing for a kind with no results. Never
  another brand's history.
- Read once per brand in the nightly generator and rescoring, on create
  for actions a person sends, and once per signal for its actions; best
  effort, no history when it can't be read.
- priority_reason.pastSuccess { improved, results, points } and
  factors.pastSuccess; "Why this priority?" adds "3 of 4 earlier actions
  of this kind improved results here" once it moved the score a point.
- Config pastSuccessSwing / Prior / PseudoCount / Days; docs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…l, and its latest reading's day

Review of learning B1. list_action_history returned an action's outcome
with no way to tell the day-7 or day-14 reading from the final one. Each
row now carries `final` (the day-30 reading is in, or it was measured
once, before readings began) and `reading_day` (the latest reading's day,
null before the first), and the tool description says that until final
is true the outcome is a reading so far, not the result.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…read, not the week after the close

Review of learning B1. The drawer's gap lines counted the after-window's
missed nights as "of the week after it", but with readings 14 and 30 days
on, the figures kept are the latest reading's week. The lines now say
"of the week of the latest reading".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Review of learning B3. The scorecard shared the Actions list's 30-day
default, but an action's final reading comes 30 days after it closed, so
over 30 days nearly every result was a reading so far. A range not picked
now follows the view: 30 days for Actions, as before, and 90 for the
scorecard, including on switching to it; a range in the URL or picked
holds in either view, and the view's own default stays out of the URL.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
cihan-gyk and others added 11 commits October 28, 2026 10:10
…en its kind has no results

Review of learning B4. An action whose kind had no results at the brand
stored factors.pastSuccess as 0.5, the prior, which reads as a measured
even record. The factor is now written only with a result behind it;
reason.pastSuccess stays null as before, and the score is unchanged.

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

Review of learning B4. The config comment said about 6; with the prior
0.5 and five imagined results, 10 improved of 10 is a rate of 0.83, and
20 times its distance from the prior is 6.7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts it didn't touch

Learning B2. A basket's before and after moved with everything else too: an
engine's update, a season, a night tracking missed. Read alone, an action
took the credit, or the blame, for what moved for every prompt.

- basket-metrics.js controlScope: the brand's active prompts the action
  didn't touch, in its prompts' topics first, else the brand's others (5 at
  least, 300 at most; never another brand's). netEffect: a difference in
  differences per prompt metric both read — a rate in points (its move
  minus theirs), a count in percent (relative moves, so 300 prompts weigh
  as 3).
- validate.js: a basket action and one measured on its named prompts keep
  `control: { basis, prompts, net }` beside the result, read over the same
  windows. Not in the verdict; a failed or too-small read leaves the result
  as it was.
- History drawer: "Net of the 6 other prompts in its topics over the same
  days: AI visibility +6 pts · Mentions −12.5%". The guide says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…an action's control

A prompt the brand added after the week before an action was raised reads in
the week after alone: in the control it swelled that week, and the action's
change read as worse net of it than it was. controlScope now takes the first
day of the week before and reads only the prompts created by then.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
controlOf had landed between measureReading and the comment that explains
it. Moved above the comment; no change in behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…'s full-week scale

The net was taken from the counts as read, before a reading scaled them to a
full week's worth over the nights tracking missed (learning A6): the result
showed mentions 7 → 14 while its net came from 7 → 10, and past too many
missed nights a count was netted though the result left it out.

controlOf now returns the control's values as read, and the reading nets
them as it finishes: the control's counts scaled over the same nights as the
result's, and, past MAX_GAP_DAYS, the counts left out with the result's; the
rates stay netted.

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

The control's tests answered every query alike and ignored its filters, so
reading another brand's prompts, or inactive ones, would have passed. They
now record each query's filters: its own prompts' topics first, then the
brand's active prompts, in its topics and on falling back.

Also: a control that fails to read leaves the result exactly as an action
with no control, none written; an action measured on the prompts it names
(learning A1) keeps its net beside.

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

A count's net is a relative move: from 2 mentions, one more reads +50%, a
swing the control can't speak to. netEffect now nets a count only from
CONTROL_MIN_COUNT (5) before; the rates are netted as before. The guide
says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d show no empty net line

- validate.js: a control that fails to read logs its brand and action, so
  the warning can be traced.
- netEffect: never nets AI sessions; they're read on pages, and a control
  of prompts has none (it read null before, so it was left out by chance).
- History drawer: the "Net of the N other prompts…" line is left out when
  none of its metrics can be named, rather than shown with an empty list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… once for all its readings

An action closed a month before its first reading takes its 7, 14 and 30
day readings on the same night, and each read the control's prompts (two or
three queries) and its week before again, though both are the same for all.
validateAction now shares them across the readings due: the first reads
them, the rest read only their own week after.

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

mintlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 05bab4c.

Approve preview

@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.

Looks good.

What I checked:

  • Own change. 9a1af18 through 85487e0 (origin/pr/1696..origin/pr/1701, no merges). On today's main only supabase/schema.sql conflicts. It merges cleanly with #1697, which also sits on #1696. No migration.
  • Who's in the control.
    • Only the brand's active prompts: prompt_sets!inner(brand_id) with eq('prompt_sets.brand_id', …), in both the topic and the brand query.
    • The action's own prompts are left out.
    • Only prompts created before the week before.
    • Between 5 and 300 prompts. The topic lookup reads at most 200 of the action's prompt ids.
  • The net.
    • Rates are taken in points.
    • Counts are taken in relative terms, from at least 5 before, on the same full-week scale as the result (A6). Past the missed-night limit, only the rates are netted.
    • Sessions are never netted.
    • The verdict doesn't read the net, and neither do the scorecard or past success. So it can't feed the priority, and a failed or too-small control leaves the result as it was.
  • Cost.
    • Per action, the control's prompts and its week before are read once: two or three prompt reads and one basket RPC.
    • Then one basket RPC per reading.
    • A pages-only target has no prompt ids, so it reads no control.
  • Web. The line is shown only when a net names a metric the registry knows. controlFrom reads stored values defensively. Before the API ships, nothing shows.
  • Tests. basket-metrics and validate pass on the PR's tree. On the stack merged with main (#1697 included), all action-center server tests and the History drawer test pass.

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