chore: scrub personal names, maintainer URLs and local paths (P2.2)

Sample data in tests, prompts and UI placeholders uses Alex Morgan
instead of the maintainer's name; decision attributions say "owner".
Personal details in two test fixtures are replaced. Local paths
(D:/Projects/...) and paths into the maintainer's planning repository
are reworded. Clone and install URLs in CONTRIBUTING.md and the getting
started guide use placeholders until the public repository location is
decided (Q9). The Benchmarks page no longer names the maintainer's
hive-mind repository, and the upstream fixes log names the main Waggle
repository instead of an internal git host.
This commit is contained in:
shumeiko.it
2026-11-01 00:50:13 +01:00
parent 72a2a895a5
commit 16eaf01e14
61 changed files with 130 additions and 138 deletions

View File

@@ -61,9 +61,6 @@ describe('BenchmarkApp', () => {
expect(screen.getByText('+4.54')).toBeInTheDocument();
expect(screen.getByText('92.27%')).toBeInTheDocument();
expect(screen.getByText('100%')).toBeInTheDocument();
// Method/caveat line.
expect(screen.getByText(/github\.com\/marolinik\/hive-mind/i)).toBeInTheDocument();
});
it('toggles back to Capabilities', () => {

View File

@@ -401,8 +401,6 @@ function MemorySotaView() {
SOTA's exact published protocol, reproduced in-harness to 0.03 points before comparison. The intelligence lives in
the <b className="text-foreground/90 font-medium">memory layer, not the model</b>, so it travels onto a small local
model too. Honest caveat: higher token use per question than the leanest systems; efficiency work underway.
Reproducible offline:{' '}
<span className="font-mono" style={{ color: 'var(--text-2)' }}>github.com/marolinik/hive-mind</span>.
</Disclaimer>
</div>
);

View File

@@ -304,7 +304,7 @@ function GreetingHeader({
lastActive?: string;
}) {
// Round-7 fix 1: the server-composed greeting may already carry an
// away/last-active statement ("You've been away 1 day, Marko") built from
// away/last-active statement ("You've been away 1 day, Alex") built from
// ITS OWN recency field. Repeating a client-computed "last active 2d ago"
// clause right below it showed two disagreeing truths in one viewport.
// ONE truth: when the greeting already says it, the factual line drops its

View File

@@ -326,7 +326,7 @@ const UserProfileApp = () => {
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
<div>
<label htmlFor="profile-name" className="text-xs text-muted-foreground block mb-1">Name</label>
<Input id="profile-name" name="name" autoComplete="name" value={name} onChange={e => setName(e.target.value)} placeholder="Marko Markovic"
<Input id="profile-name" name="name" autoComplete="name" value={name} onChange={e => setName(e.target.value)} placeholder="Alex Morgan"
className="w-full bg-muted/50 h-auto py-1.5" />
</div>
<div>

View File

@@ -36,7 +36,7 @@ beforeEach(() => {
id: 1,
source: 'claude-code',
displayName: 'Claude Code',
sourcePath: 'C:/Users/Marko/.claude/projects',
sourcePath: 'C:/Users/Alex/.claude/projects',
lastSyncedAt: '2026-07-08T12:00:00.000Z',
itemsImported: 4,
framesCreated: 9,

View File

@@ -246,7 +246,7 @@ function FolderPickerModal({ open, storageType, currentPath, onSelect, onClose }
}
}, [browsePath, newFolderName, storageType, fetchEntries]);
// P14: Windows paths (C:\Users\Marko...) need separator-aware splitting.
// P14: Windows paths (C:\Users\Alex...) need separator-aware splitting.
// The old inline logic split only on '/' and collapsed Windows paths into
// a single unusable crumb. Pure helper handles both separator styles.
const breadcrumbs = buildBreadcrumbs(

View File

@@ -65,7 +65,7 @@ const WhoAreYouStep = ({ profile, onChange, onContinue, saving }: WhoAreYouStepP
autoComplete="name"
value={profile.name ?? ''}
onChange={e => onChange({ name: e.target.value })}
placeholder="Marko Markovic"
placeholder="Alex Morgan"
className="w-full bg-muted/50 border border-border/50 rounded-lg px-3 py-1.5 text-[13px] sm:text-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
/>
</div>

View File

@@ -203,7 +203,7 @@ describe('ChannelsSettings protected API integration', () => {
}
: channel));
mocks.getChannelPairings.mockResolvedValue({
telegram: [{ senderId: 'sender-1', senderName: 'Marko', pairedAt: Date.now() }],
telegram: [{ senderId: 'sender-1', senderName: 'Alex', pairedAt: Date.now() }],
});
render(<ChannelsSettings />);

View File

@@ -109,7 +109,7 @@ describe('adapter isTauri() branch routing', () => {
it('getIdentity routes to get_identity Tauri command + returns shape', async () => {
mockedInvoke.mockResolvedValue({
configured: true,
name: 'Marko',
name: 'Alex',
role: 'Founder',
department: 'Egzakta',
});
@@ -118,7 +118,7 @@ describe('adapter isTauri() branch routing', () => {
expect(mockedInvoke).toHaveBeenCalledWith('get_identity');
expect(id.configured).toBe(true);
expect(id.name).toBe('Marko');
expect(id.name).toBe('Alex');
});
});

View File

@@ -35,13 +35,13 @@ describe('buildBreadcrumbs', () => {
]);
});
it('splits C:\\Users\\Marko into root / drive / Users / Marko', () => {
const out = buildBreadcrumbs('C:\\Users\\Marko', 'Drives', 'local');
it('splits C:\\Users\\Alex into root / drive / Users / Alex', () => {
const out = buildBreadcrumbs('C:\\Users\\Alex', 'Drives', 'local');
expect(out).toEqual([
{ label: 'Drives', path: '/' },
{ label: 'C:', path: 'C:\\' },
{ label: 'Users', path: 'C:\\Users' },
{ label: 'Marko', path: 'C:\\Users\\Marko' },
{ label: 'Alex', path: 'C:\\Users\\Alex' },
]);
});
@@ -58,25 +58,25 @@ describe('buildBreadcrumbs', () => {
expect(out[1]).toEqual({ label: 'C:', path: 'C:\\' });
});
it('accepts mixed separators (C:/Users/Marko)', () => {
const out = buildBreadcrumbs('C:/Users/Marko', 'Drives', 'local');
it('accepts mixed separators (C:/Users/Alex)', () => {
const out = buildBreadcrumbs('C:/Users/Alex', 'Drives', 'local');
expect(out).toEqual([
{ label: 'Drives', path: '/' },
{ label: 'C:', path: 'C:\\' },
{ label: 'Users', path: 'C:\\Users' },
{ label: 'Marko', path: 'C:\\Users\\Marko' },
{ label: 'Alex', path: 'C:\\Users\\Alex' },
]);
});
});
describe('POSIX local paths', () => {
it('splits /Users/marko/Documents into three crumbs', () => {
const out = buildBreadcrumbs('/Users/marko/Documents', 'Drives', 'local');
it('splits /Users/alex/Documents into three crumbs', () => {
const out = buildBreadcrumbs('/Users/alex/Documents', 'Drives', 'local');
expect(out).toEqual([
{ label: 'Drives', path: '/' },
{ label: 'Users', path: '/Users' },
{ label: 'marko', path: '/Users/marko' },
{ label: 'Documents', path: '/Users/marko/Documents' },
{ label: 'alex', path: '/Users/alex' },
{ label: 'Documents', path: '/Users/alex/Documents' },
]);
});
});
@@ -102,9 +102,9 @@ describe('buildBreadcrumbs', () => {
});
it('handles deeply nested Windows paths without collapsing', () => {
const deep = 'C:\\Users\\Marko\\OneDrive - Egzakta d.o.o\\Desktop';
const deep = 'C:\\Users\\Alex\\OneDrive - Egzakta d.o.o\\Desktop';
const out = buildBreadcrumbs(deep, 'Drives', 'local');
// root + drive + Users + Marko + OneDrive... + Desktop = 6
// root + drive + Users + Alex + OneDrive... + Desktop = 6
expect(out).toHaveLength(6);
expect(out[5]).toEqual({ label: 'Desktop', path: deep });
expect(out[4].label).toBe('OneDrive - Egzakta d.o.o');

View File

@@ -1,7 +1,7 @@
/**
* Breadcrumb helper for the local-browse dialog.
*
* On Windows the sidecar returns paths like `C:\Users\Marko`. The old
* On Windows the sidecar returns paths like `C:\Users\Alex`. The old
* breadcrumb rendering split on `/` only, so Windows paths collapsed
* into a single unusable crumb. This helper normalises across both
* separator styles, keeping virtual (POSIX) storage untouched.

View File

@@ -18,7 +18,7 @@ const CACHE_KEY = 'waggle:home-cache:v1';
function briefing(over: Partial<HomeBriefing> = {}): HomeBriefing {
return {
greeting: 'Welcome back, Marko',
greeting: 'Welcome back, Alex',
date: '2026-07-07T08:00:00.000Z',
recentWorkspaces: [
{ id: 'w1', name: 'Alpha', group: 'Personal', lastActive: '2026-07-06T09:00:00.000Z', pendingCount: 0 },
@@ -44,7 +44,7 @@ describe('home-cache (Lane H item 1)', () => {
});
const got = readHomeCache();
expect(got).not.toBeNull();
expect(got!.briefing.greeting).toBe('Welcome back, Marko');
expect(got!.briefing.greeting).toBe('Welcome back, Alex');
expect(got!.highlights).toHaveLength(1);
expect(got!.overnight).toBeNull();
expect(typeof got!.savedAt).toBe('number');

View File

@@ -143,8 +143,8 @@ describe('buildMemoryPreview (round-7 fix 3 — humanized row titles)', () => {
});
it('keeps the remainder as the title when the harvest prefix wraps human text', () => {
const { title } = buildMemoryPreview('[Harvest:claude] Marko prefers dark mode across all tools');
expect(title).toBe('Marko prefers dark mode across all tools');
const { title } = buildMemoryPreview('[Harvest:claude] Alex prefers dark mode across all tools');
expect(title).toBe('Alex prefers dark mode across all tools');
});
it('advances past a harvest lead with no usable remainder to the first human line', () => {
@@ -205,7 +205,7 @@ describe('humanizeMemoryTitle (round-9 Lane C fix 1)', () => {
});
it('leaves ordinary titles untouched with no meta', () => {
expect(humanizeMemoryTitle('Marko prefers dark mode')).toEqual({ title: 'Marko prefers dark mode' });
expect(humanizeMemoryTitle('Alex prefers dark mode')).toEqual({ title: 'Alex prefers dark mode' });
});
it('does not strip a handoff prefix down to an empty title', () => {

View File

@@ -33,24 +33,24 @@ describe('buildProfilePreview', () => {
});
it('greets by name with the memory promise when only the name is set', () => {
expect(buildProfilePreview({ name: 'Marko' }, at(20)))
.toBe('Good evening, Marko. Your work will be remembered here.');
expect(buildProfilePreview({ name: 'Alex' }, at(20)))
.toBe('Good evening, Alex. Your work will be remembered here.');
});
it('varies the salutation with the time of day', () => {
expect(buildProfilePreview({ name: 'Marko' }, at(9))).toMatch(/^Good morning, Marko/);
expect(buildProfilePreview({ name: 'Marko' }, at(14))).toMatch(/^Good afternoon, Marko/);
expect(buildProfilePreview({ name: 'Marko' }, at(20))).toMatch(/^Good evening, Marko/);
expect(buildProfilePreview({ name: 'Alex' }, at(9))).toMatch(/^Good morning, Alex/);
expect(buildProfilePreview({ name: 'Alex' }, at(14))).toMatch(/^Good afternoon, Alex/);
expect(buildProfilePreview({ name: 'Alex' }, at(20))).toMatch(/^Good evening, Alex/);
});
it('adds a role-aware clause from the selected work type', () => {
expect(buildProfilePreview({ name: 'Marko', workType: 'consulting' }, at(20)))
.toBe('Good evening, Marko. Ready to pick up your consulting work?');
expect(buildProfilePreview({ name: 'Alex', workType: 'consulting' }, at(20)))
.toBe('Good evening, Alex. Ready to pick up your consulting work?');
});
it('falls back to the free-text role when no work type is selected', () => {
expect(buildProfilePreview({ name: 'Marko', role: 'Strategy Consultant' }, at(9)))
.toBe('Good morning, Marko. Ready to pick up your strategy consultant work?');
expect(buildProfilePreview({ name: 'Alex', role: 'Strategy Consultant' }, at(9)))
.toBe('Good morning, Alex. Ready to pick up your strategy consultant work?');
});
it('falls back to the raw id for an unknown work-type id', () => {

View File

@@ -2,7 +2,7 @@
* Phase 4.1 unblock — onboarding tier-filter tests.
*
* Spec: docs/ux-disclosure-levels.md r2 §"Templates — filter for Essential" + §"Personas — filter for Essential".
* Decision (Marko Q1, 2026-05-07): drop `coder` from Essential personas — quote: "this is not the target."
* Decision (owner Q1, 2026-05-07): drop `coder` from Essential personas — quote: "this is not the target."
*/
import { describe, it, expect } from 'vitest';
import {
@@ -31,7 +31,7 @@ describe('ESSENTIAL_PERSONA_IDS', () => {
expect(ESSENTIAL_PERSONA_IDS).toEqual(['general-purpose', 'researcher', 'writer', 'analyst']);
});
it('does NOT include coder (Marko Q1 drop decision)', () => {
it('does NOT include coder (owner Q1 drop decision)', () => {
expect(ESSENTIAL_PERSONA_IDS).not.toContain('coder');
});
@@ -175,9 +175,9 @@ describe('integration with constants.ts', () => {
expect(filtered.every(t => typeof t.name === 'string' && t.icon !== undefined)).toBe(true);
});
it('Ljiljana-archetype journey: simple tier + agency-consulting → consultant first, 5 personas total', () => {
// The named-user persona Marko anchors against (consulting partner archetype).
// This test guards against the "Ljiljana sees 19 personas + 15 templates" regression.
it('consultant journey: simple tier + agency-consulting → consultant first, 5 personas total', () => {
// The consulting partner archetype.
// This test guards against the "a non-technical user sees 19 personas + 15 templates" regression.
const templates = getTemplatesForTier('simple', TEMPLATES);
expect(templates.find(t => t.id === 'agency-consulting')).toBeDefined();

View File

@@ -6,12 +6,12 @@
* Live system context: the dock is already filtered by `UserTier` via `TIER_DOCK_CONFIG`
* (apps/web/src/lib/dock-tiers.ts). The 0507_s1 brownfield diagnostic identified that
* onboarding's TemplateStep + PersonaStep show ALL options regardless of the tier the
* user picked at step 2 — an internal inconsistency that breaks the Ljiljana-bar.
* user picked at step 2 — an internal inconsistency that a non-technical user cannot follow.
*
* This file provides the smallest pure functions to close that gap. Pure helpers
* keep the test surface trivial; the components import + apply.
*
* Marko Q1 (2026-05-07): drop `coder` from Essential personas — quote: "this is not
* Owner decision Q1 (2026-05-07): drop `coder` from Essential personas — quote: "this is not
* the target, unless you identify this tool can be useful for coders too, which I
* don't believe."
*/
@@ -24,7 +24,7 @@ import type { OnboardingTemplate, OnboardingPersona } from '@/components/os/over
* `TEMPLATES` array. Other 12 templates remain reachable via "Show all" toggle.
*/
export const ESSENTIAL_TEMPLATE_IDS = [
'agency-consulting', // Marko's archetype, Ljiljana's role, broadest professional services match
'agency-consulting', // consulting archetype, broadest professional services match
'research-project', // Universally useful (HR research, market research, due diligence)
'blank', // Universal escape — any user who doesn't fit a category
] as const;
@@ -34,7 +34,7 @@ export const ESSENTIAL_TEMPLATE_IDS = [
* template (e.g. `consultant` when the template is `agency-consulting`) is added on
* top by `getPersonasForTier` so users still see the right specialist for their work.
*
* Coder is excluded per Marko Q1 (2026-05-07).
* Coder is excluded per owner decision Q1 (2026-05-07).
*/
export const ESSENTIAL_PERSONA_IDS = [
'general-purpose',

View File

@@ -4,11 +4,11 @@ import { pickUserName } from './user-name';
describe('pickUserName (UF-055)', () => {
it('prefers the name in the profile', () => {
expect(pickUserName('Ana', 'Waggle')).toBe('Ana');
expect(pickUserName(' Ana ', 'Marko')).toBe('Ana');
expect(pickUserName(' Ana ', 'Alex')).toBe('Ana');
});
it('falls back to a real identity name', () => {
expect(pickUserName('', 'Marko')).toBe('Marko');
expect(pickUserName('', 'Alex')).toBe('Alex');
});
it('never returns the assistant default name as the user', () => {

View File

@@ -31,7 +31,7 @@ function renderSidebar() {
onOpenWorkspaceSwitcher={() => {}}
onOpenCommand={() => {}}
onSpawnAgent={() => {}}
userName="Marko"
userName="Alex"
/>
</MemoryRouter>,
);

View File

@@ -134,7 +134,7 @@ describe('investment celebration — overnight accrual pulse', () => {
}
function makeBriefing(over: Partial<HomeBriefing> = {}): HomeBriefing {
return {
greeting: 'Welcome back, Marko',
greeting: 'Welcome back, Alex',
date: '2026-07-07T08:00:00.000Z',
recentWorkspaces: [wsCard('w1', 'Alpha')],
suggestedActions: [],

View File

@@ -44,7 +44,7 @@ function wsCard(id: string, name: string, pendingCount = 0): RecentWorkspaceCard
function makeBriefing(over: Partial<HomeBriefing> = {}): HomeBriefing {
return {
greeting: 'Welcome back, Marko',
greeting: 'Welcome back, Alex',
date: '2026-07-07T08:00:00.000Z',
recentWorkspaces: [],
suggestedActions: [],

View File

@@ -27,7 +27,7 @@ describe('Onboarding ImportStep', () => {
claudeCodeDetected: {
found: true,
itemCount: 5514,
path: 'C:/Users/Marko/.claude/projects',
path: 'C:/Users/Alex/.claude/projects',
},
onClaudeCodeHarvest,
onContinue,
@@ -55,7 +55,7 @@ describe('Onboarding ImportStep', () => {
claudeCodeDetected: {
found: true,
itemCount: 12,
path: 'C:/Users/Marko/.claude/projects',
path: 'C:/Users/Alex/.claude/projects',
},
onClaudeCodeHarvest,
})}

View File

@@ -55,8 +55,8 @@ function httpError(status: number, message = `HTTP ${status}`) {
const RAW_ISO = '2026-06-11T07:42:13.512Z';
const briefing = (over: Record<string, unknown> = {}) => ({
greeting: "Good morning, Marko. Here's your day",
userName: 'Marko',
greeting: "Good morning, Alex. Here's your day",
userName: 'Alex',
date: RAW_ISO,
recentWorkspaces: [],
suggestedActions: [],

View File

@@ -44,7 +44,7 @@ describe('PR7b · /auth — B1 accountless (no Clerk key)', () => {
render(<MemoryRouter><AuthRoute /></MemoryRouter>);
expect(screen.getByText(/running fully local/i)).toBeInTheDocument();
expect(screen.getByText(/don.t need this to start/i)).toBeInTheDocument();
expect(screen.queryByText(/mara@egzakta/i)).not.toBeInTheDocument();
expect(screen.queryByText(/@egzakta\.com/i)).not.toBeInTheDocument();
expect(screen.queryByTestId('clerk-signin')).not.toBeInTheDocument();
expect(screen.queryByText(/signed in/i)).not.toBeInTheDocument();
});
@@ -76,7 +76,7 @@ describe('PR7b · /auth — B2 Clerk form (explicitly enabled + key present)', (
const signin = screen.getByTestId('clerk-signin');
expect(signin).toBeInTheDocument();
expect(signin).toHaveAttribute('data-redirect', '/home');
expect(screen.queryByText(/mara@egzakta/i)).not.toBeInTheDocument();
expect(screen.queryByText(/@egzakta\.com/i)).not.toBeInTheDocument();
});
it('toggles to Sign up (with the honey local-first note) and back', async () => {

View File

@@ -31,7 +31,7 @@ function renderAt(pathname: string) {
onOpenWorkspaceSwitcher={() => {}}
onOpenCommand={() => {}}
onSpawnAgent={() => {}}
userName="Marko"
userName="Alex"
/>
</MemoryRouter>,
);

View File

@@ -34,7 +34,7 @@ function renderSidebar() {
onOpenWorkspaceSwitcher={() => {}}
onOpenCommand={() => {}}
onSpawnAgent={() => {}}
userName="Marko"
userName="Alex"
/>
</MemoryRouter>,
);