Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 49667b7

Browse files
Align inbox & scout copy with self-driving docs vocabulary (#3968)
Co-authored-by: posthog[bot] <206114724+posthog[bot]@users.noreply.github.com> Co-authored-by: joshsny <7135900+joshsny@users.noreply.github.com>
1 parent ce825d0 commit 49667b7

22 files changed

Lines changed: 60 additions & 60 deletions

apps/mobile/src/app/inbox/[...id].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ export default function ReportDetailScreen() {
464464

465465
{/* Title */}
466466
<Text className="mb-2 font-semibold text-[18px] text-gray-12">
467-
{report.title ?? "Untitled signal"}
467+
{report.title ?? "Untitled report"}
468468
</Text>
469469

470470
{/* Meta row */}
@@ -642,7 +642,7 @@ export default function ReportDetailScreen() {
642642
<DismissReportSheet
643643
visible={dismissOpen}
644644
reportId={report.id}
645-
reportTitle={report.title?.trim() ? report.title : "Untitled signal"}
645+
reportTitle={report.title?.trim() ? report.title : "Untitled report"}
646646
onClose={() => setDismissOpen(false)}
647647
onDismissed={handleDismissed}
648648
/>

apps/mobile/src/features/inbox/components/ArchivedReportList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const ArchivedRow = memo(function ArchivedRow({
5555
numberOfLines={2}
5656
ellipsizeMode="tail"
5757
>
58-
{report.title ?? "Untitled signal"}
58+
{report.title ?? "Untitled report"}
5959
</Text>
6060

6161
<View className="mt-1 flex-row flex-wrap items-center gap-2">

apps/mobile/src/features/inbox/components/ReportListRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function ReportListRowComponent({ report, onPress }: ReportListRowProps) {
7070
numberOfLines={2}
7171
ellipsizeMode="tail"
7272
>
73-
{report.title ?? "Untitled signal"}
73+
{report.title ?? "Untitled report"}
7474
</Text>
7575

7676
<View className="mt-1 flex-row items-center gap-2">

packages/ui/src/features/inbox/CLAUDE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ The Inbox is the PostHog surface for **Self-driving**: agents that watch product
44

55
## Product Model
66

7-
The renderer still talks to backend endpoints and TypeScript types with the legacy `signals` naming. User-facing copy should say **Self-driving**, **Responder**, **report**, **run**, or **finding** depending on context. Do not rename backend paths or shared API fields unless the PostHog Cloud backend has changed too.
7+
The renderer still talks to backend endpoints and TypeScript types with the legacy `signals` naming. User-facing copy should say **Self-driving**, **agent**, **report**, **run**, or **signal** depending on context. Do not rename backend paths or shared API fields unless the PostHog Cloud backend has changed too.
88

99
The main objects are:
1010

1111
- `SignalReport`: the unit shown in all Inbox tabs.
1212
- Findings: the source observations that contributed to a report, fetched separately for detail screens.
13-
- Artefacts: structured agent output attached to a report, such as priority, actionability, suggested reviewers, repo selection, and findings from research.
13+
- Artefacts: structured agent output attached to a report, such as priority, actionability, suggested reviewers, repo selection, and signals from research.
1414
- Report tasks: links from a report to tasks created for research or implementation.
1515

1616
## Information Architecture
@@ -53,7 +53,7 @@ same artefact-lift pattern as `priority`/`actionability`/`already_addressed` —
5353
so cards avoid an N+1 per-card artefact fetch. Unknown reason codes fall back to
5454
the raw value; cards with no dismissal artefact simply omit the chip.
5555

56-
Responder configuration is **not** an Inbox tab. It is the top-level Responders sidebar item at `/code/agents`. The legacy `/code/inbox/agents` route redirects there.
56+
Agent configuration is **not** an Inbox tab. It is the top-level Agents sidebar item at `/code/agents`. The legacy `/code/inbox/agents` route redirects there.
5757

5858
Reviewer scope is a UI preference stored in `inboxReviewerScopeStore`. It filters the list between reports suggested for the current user and reports for someone else. It does not change tab membership; the tab predicates are independent.
5959

@@ -90,7 +90,7 @@ Tab membership and counts live in `utils/reportMembership.ts`. Keep that file as
9090
Detail screens layer additional data on top of the base report:
9191

9292
- `useInboxReportById(reportId)` for the report record.
93-
- `useInboxReportSignals(reportId)` for contributing findings.
93+
- `useInboxReportSignals(reportId)` for contributing signals.
9494
- `useInboxReportArtefacts(reportId)` for structured outputs such as suggested reviewers and repo selection.
9595
- `useReportTasks(reportId, status)` for linked research/implementation tasks.
9696

@@ -102,7 +102,7 @@ The Inbox reads from PostHog Cloud's Self-driving backend, currently implemented
102102

103103
- `GET /api/projects/{teamId}/signals/reports/`: paginated report list. Supports filters such as status, ordering, source product, suggested reviewers, and priority.
104104
- `GET /api/projects/{teamId}/signals/reports/{id}/`: single report detail.
105-
- `GET /api/projects/{teamId}/signals/reports/{id}/signals/`: contributing findings.
105+
- `GET /api/projects/{teamId}/signals/reports/{id}/signals/`: contributing signals.
106106
- `GET /api/projects/{teamId}/signals/reports/{id}/artefacts/`: structured report artefacts.
107107
- `GET /api/projects/{teamId}/signals/reports/{id}/tasks/`: tasks linked to a report.
108108

@@ -112,7 +112,7 @@ Card headlines are derived client-side from `summary` by `utils/reportPresentati
112112

113113
## Configuration Surface
114114

115-
Responder setup lives in `features/agents/components/AgentsView.tsx`, which mounts `ConfigureAgentsSection`. This surface composes existing GitHub, Slack, source-toggle, and MCP configuration pieces. Keep setup copy outcome-focused: the user is asking Self-driving to figure out what matters, not choosing internal artefact types.
115+
Agent setup lives in `features/agents/components/AgentsView.tsx`, which mounts `ConfigureAgentsSection`. This surface composes existing GitHub, Slack, source-toggle, and MCP configuration pieces. Keep setup copy outcome-focused: the user is asking Self-driving to figure out what matters, not choosing internal artefact types.
116116

117117
Onboarding/setup should be task-backed when it starts work. Do not model it as a static checklist if the intended behavior is to launch an agent task.
118118

@@ -124,7 +124,7 @@ Shared primitives exist to keep the surfaces consistent:
124124

125125
- `InboxDetailPageHeader` for detail headers.
126126
- `DetailSection` for content sections inside detail screens.
127-
- `SignalsList` and the existing detail `SignalCard` for contributing findings.
127+
- `SignalsList` and the existing detail `SignalCard` for contributing signals.
128128
- Badge and metadata helpers in `components/utils/` and `InboxMetaRow`.
129129
- `SOURCE_PRODUCT_META` for source-product labels and icons.
130130

@@ -134,7 +134,7 @@ When adding or changing UI, reuse those primitives first. Avoid encoding one-off
134134

135135
- Do not reuse the deleted legacy `ReportListRow`, `ReportDetailPane`, or old list/detail stores.
136136
- Do not put page-level Inbox title or navigation into the global app header; `InboxView` owns the Inbox page chrome.
137-
- Do not add a configure shortcut back into the Inbox header; Responders configuration is a sidebar destination.
137+
- Do not add a configure shortcut back into the Inbox header; Agents configuration is a sidebar destination.
138138
- Scout (`signals_scout`) is a real Cloud source product. Keep it covered wherever source products surface: `INBOX_SOURCE_OPTIONS`, `SOURCE_PRODUCT_META`, and the scout-name display in `SignalCard`.
139139
- Scout management UI (fleet configuration, run history) lives in `features/scouts/` and is backed by the PostHog Cloud scout endpoints (`/api/projects/{teamId}/signals/scout/`). Do not add scout controls that have no backing endpoint there.
140140
- Do not put preview shims or mock report data in `apps/code/index.html`; the app shell should stay minimal.

packages/ui/src/features/inbox/components/AgentRunDetail.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function RunOutputWidget({ report }: { report: SignalReport }) {
110110
</Text>
111111
<Text className="text-[12px] text-gray-11 leading-snug">
112112
Research couldn't complete – check the task log below for the error.
113-
The Responder may retry automatically.
113+
The agent may retry automatically.
114114
</Text>
115115
</Flex>
116116
</Flex>
@@ -123,7 +123,7 @@ function RunOutputWidget({ report }: { report: SignalReport }) {
123123
content={report.summary}
124124
fallback={
125125
report.status === "in_progress"
126-
? "The Responder is investigating – partial findings will appear here as they land."
126+
? "The agent is investigating – partial signals will appear here as they land."
127127
: "Queued for research."
128128
}
129129
variant="detail"
@@ -325,7 +325,7 @@ function AgentRunDetailContent({ report }: { report: SignalReport }) {
325325
<>
326326
<InboxMetaSeparator />
327327
<InboxMetaText className="tabular-nums">
328-
{signals.length} finding{signals.length === 1 ? "" : "s"}
328+
{signals.length} signal{signals.length === 1 ? "" : "s"}
329329
</InboxMetaText>
330330
</>
331331
)}
@@ -412,7 +412,7 @@ function AgentRunDetailContent({ report }: { report: SignalReport }) {
412412
title="Evidence so far"
413413
rightSlot={
414414
<Text className="cursor-default select-none text-[11px] text-gray-10 tabular-nums">
415-
{signals.length || report.signal_count} finding
415+
{signals.length || report.signal_count} signal
416416
{(signals.length || report.signal_count) === 1 ? "" : "s"}
417417
</Text>
418418
}

packages/ui/src/features/inbox/components/ConfigureAgentsSection.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export function ConfigureAgentsSection() {
124124

125125
<Subsection
126126
title="Connections"
127-
description="Foundational integrations responders read from and write to."
127+
description="Foundational integrations agents read from and write to."
128128
>
129129
<GitHubIntegrationSection
130130
hasGithubIntegration={hasGithubIntegration}
@@ -138,7 +138,7 @@ export function ConfigureAgentsSection() {
138138
description={
139139
<>
140140
Scheduled agents that sweep this project on a cadence and emit
141-
findings to your inbox.{" "}
141+
signals to your inbox.{" "}
142142
{/* Placeholder docs link until a dedicated scouts page exists. */}
143143
<a
144144
href="https://posthog.com/blog/self-driving-product"
@@ -155,8 +155,8 @@ export function ConfigureAgentsSection() {
155155
</Subsection>
156156

157157
<Subsection
158-
title="Responders"
159-
description="Each source: 1. watches for signals, 2. spins up a Responder when something matters, 3. hands you solutions."
158+
title="Signal sources"
159+
description="Each source watches for signals and spins up work when something matters."
160160
>
161161
{isLoading ? (
162162
<ResponderAgentRosterSkeleton />
@@ -207,7 +207,7 @@ export function ConfigureAgentsSection() {
207207

208208
<Subsection
209209
title="MCP servers"
210-
description="External tools responders can read from. PostHog data is always available; this is everything else."
210+
description="External tools agents can read from. PostHog data is always available; this is everything else."
211211
>
212212
<Link
213213
to="/settings/$category"

packages/ui/src/features/inbox/components/DataSourceSetup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function GitHubSetup({ onComplete, onCancel }: SetupFormProps) {
183183
? "We didn't hear back from GitHub. If the browser tab was closed, click Try again."
184184
: connecting
185185
? "Waiting for GitHub… finish authorizing in your browser, then return here."
186-
: "Connect your GitHub account to import issues as Self-driving findings.";
186+
: "Connect your GitHub account to import issues as Self-driving signals.";
187187
return (
188188
<SetupFormContainer title="Connect GitHub">
189189
<Flex direction="column" gap="3">

packages/ui/src/features/inbox/components/InboxDetailFrame.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export function InboxDetailFrame({
137137
{evidenceCount > 0 && (
138138
<>
139139
<InboxMetaText className="tabular-nums">
140-
{evidenceCount} finding{evidenceCount === 1 ? "" : "s"}
140+
{evidenceCount} signal{evidenceCount === 1 ? "" : "s"}
141141
</InboxMetaText>
142142
<InboxMetaSeparator />
143143
</>
@@ -151,7 +151,7 @@ export function InboxDetailFrame({
151151
<InboxMetaSeparator />
152152
<InboxMetaSourceStack
153153
sourceProducts={report.source_products}
154-
labelPrefix="Responder · "
154+
labelPrefix="Agent · "
155155
/>
156156
</>
157157
)}
@@ -181,7 +181,7 @@ export function InboxDetailFrame({
181181
<DetailSection Icon={SummaryIcon} title={summarySection.title}>
182182
<SignalReportSummaryMarkdown
183183
content={report.summary}
184-
fallback="No summary yet – the Responder is still investigating."
184+
fallback="No summary yet – the agent is still investigating."
185185
variant="detail"
186186
pending={report.status === "in_progress"}
187187
/>
@@ -196,7 +196,7 @@ export function InboxDetailFrame({
196196
title={evidenceSection.title}
197197
rightSlot={
198198
<Text className="cursor-default select-none text-[11px] text-gray-10 tabular-nums">
199-
{evidenceCount} finding
199+
{evidenceCount} signal
200200
{evidenceCount === 1 ? "" : "s"}
201201
</Text>
202202
}

packages/ui/src/features/inbox/components/PullRequestsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function PullRequestsTab() {
2424
entireProjectTitle: "No pull requests in the project right now",
2525
teammateTitle: "No pull requests for this reviewer right now",
2626
description:
27-
"When a Responder ships a code change, the PR draft lands here for you to review and publish.",
27+
"When an agent ships a code change, the PR draft lands here for you to review and publish.",
2828
}}
2929
/>
3030
);

packages/ui/src/features/inbox/components/ReportCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export function ReportCard(props: ReportCardProps) {
323323
>
324324
<LightningIcon size={11} />
325325
<span className="tabular-nums">
326-
{report.signal_count} finding
326+
{report.signal_count} signal
327327
{report.signal_count !== 1 ? "s" : ""}
328328
</span>
329329
</Flex>

0 commit comments

Comments
 (0)