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

@@ -250,7 +250,7 @@ Tools:
**Save routing rules:**
- Project decisions, meeting notes, task outcomes → workspace mind
- "I prefer bullet points", "call me Marko", style corrections → personal mind
- "I prefer bullet points", "call me Alex", style corrections → personal mind
- If unsure, save to workspace (most things are project-specific).
## System (interact with the local machine)

View File

@@ -14,7 +14,7 @@
* Stage 1 deliverable per brief §3.4: JSONL files + daily markdown summary (no UI).
*
* BIND: thresholds are pre-registered in manifest § promotion_criteria + § rollback_triggers.
* Mid-flight changes require amendment + Marko ratifikacija (no-revisit-without-amendment).
* Mid-flight changes require an amendment and owner sign-off (no-revisit-without-amendment).
*
* AUDIT: gepa-phase-5/manifest.yaml § promotion_criteria, § rollback_triggers, § halt_and_pm_triggers.
*/

View File

@@ -14,7 +14,7 @@
* - Hot reconfig via process restart; no code redeploy required.
* - LOCKED scope (manifest § scope_LOCKED): claude::gen1-v1 +
* qwen-thinking::gen1-v1. Mid-flight scope changes require new LOCKED
* decision memo + Marko ratifikacija.
* decision memo + owner sign-off.
*
* AUDIT: gepa-phase-5/manifest.yaml § canary_toggle, § scope_LOCKED.
*/

View File

@@ -42,8 +42,7 @@ export const FEATURE_FLAGS = {
* routed to GEPA-evolved variants (claude::gen1-v1 + qwen-thinking::gen1-v1)
* instead of pre-Phase-5 baseline.
*
* POST-KICK-OFF DEFAULT: 10 (canary Day 0 LIVE 2026-04-30 per PM signoff
* D:/Projects/PM-Waggle-OS/decisions/2026-04-30-phase-5-1-5-pm-signoff-canary-authorize.md).
* POST-KICK-OFF DEFAULT: 10 (canary Day 0 LIVE 2026-04-30 per PM signoff).
* When WAGGLE_PHASE5_CANARY_PCT env var is unset, parsePhase5CanaryPct
* returns 10. Set explicitly to 0 to roll back canary OFF without redeploy
* per §2.3 rollback procedure. Set 25 / 50 / 100 to advance gradient per

View File

@@ -576,7 +576,7 @@ describe('OneNoteConnector', () => {
const fetchMock = vi.fn().mockResolvedValue({
ok: true,
json: async () => ({ value: [{ id: 'n1', displayName: 'Marko Notebook' }] }),
json: async () => ({ value: [{ id: 'n1', displayName: 'Alex Notebook' }] }),
});
globalThis.fetch = fetchMock as unknown as typeof globalThis.fetch;

View File

@@ -247,7 +247,7 @@ type MemorySnapshot = readonly MemoryRecord[];
function createOrchestrator(memory: MemoryStore, model: string): Orchestrator {
const orch = new Orchestrator({ memory, model });
orch.getIdentity().create({
name: 'Marko',
name: 'Alex',
role: 'CEO',
department: 'Egzakta Group',
personality: 'Direct, pragmatic, sovereignty-focused',

View File

@@ -621,7 +621,7 @@ type MemorySnapshot = readonly MemoryRecord[];
function createOrchestrator(memory: MemoryStore, model: string): Orchestrator {
const orch = new Orchestrator({ memory, model });
orch.getIdentity().create({
name: 'Marko',
name: 'Alex',
role: 'CEO',
department: 'Egzakta Group',
personality: 'Direct, pragmatic, sovereignty-focused',

View File

@@ -5,8 +5,6 @@
* is 10 (env unset → 10). Test pin in vitest.setup.ts sets
* WAGGLE_PHASE5_CANARY_PCT='0' for shape-selection determinism in other tests;
* THIS file exercises the parser directly with explicit inputs.
*
* AUDIT: D:/Projects/PM-Waggle-OS/decisions/2026-04-30-phase-5-1-5-pm-signoff-canary-authorize.md
*/
import { describe, it, expect } from 'vitest';

View File

@@ -2,7 +2,7 @@ import { describe, it, expect } from 'vitest';
import { extractClaimedSpecifics, checkGrounding } from '../src/grounding-check.js';
// The real LOCKED-frame memory the live agent recalled (abridged).
const MEMORY = `Marko Markovic is founder and CEO of Egzakta Group. Working on Waggle OS launch project.
const MEMORY = `Alex Morgan is founder and CEO of Example Group. Working on Waggle OS launch project.
LOCKED DECISIONS:
1. Pricing: Pro at $19/month, Teams at $49/seat/month
2. Public launch gated on beating Mem0's LoCoMo memory benchmark

View File

@@ -10,7 +10,7 @@ import { isSelfIncapacityAssertion } from '../src/memory-sign-gate.js';
describe('isSelfIncapacityAssertion', () => {
// The exact shapes that poisoned recall in the live DEFECT-2 repro.
const POISON = [
"I'm going to be direct with you, Marko. I have exhausted every option available to me.",
"I'm going to be direct with you, Alex. I have exhausted every option available to me.",
"I can't install an MCP connector for you from here.",
"I literally don't have the mechanism to do what you're asking.",
"This is a platform-side configuration change that you need to do.",

View File

@@ -244,7 +244,7 @@ describe('Orchestrator — recall path hardening', () => {
it('preserves byte-identical legitimate user preference and correction provenance', async () => {
const preference = 'I prefer concise release updates with a clear owner and next step';
const correction = 'No, actually the release owner is Marko; update the project record before sending.';
const correction = 'No, actually the release owner is Alex; update the project record before sending.';
await orchestrator.autoSaveFromExchange(preference, 'Understood.');
await orchestrator.autoSaveFromExchange(correction, 'Thanks, I will update the project record.');

View File

@@ -27,7 +27,7 @@ describe('runPatternWriteBack', () => {
it('routes preferences and corrections to personal memory, decisions to the workspace', async () => {
const deps = { memory, workspaceId: 'ws-1' };
await runPatternWriteBack(deps, 'I prefer short status updates with a clear next step', 'Understood.');
await runPatternWriteBack(deps, 'No, actually the launch owner is Marko, not Ana.', 'Thanks for the correction.');
await runPatternWriteBack(deps, 'No, actually the launch owner is Alex, not Ana.', 'Thanks for the correction.');
await runPatternWriteBack(deps, 'Sounds good, go ahead with that plan.', "Let's go with the staged rollout for the beta.");
const personal = await inScope(PERSONAL_SCOPE);

View File

@@ -23,8 +23,8 @@ describe('truncateTraceText', () => {
describe('scrubSecrets', () => {
it('redacts obvious secret keys at top level', () => {
const out = scrubSecrets({ password: 'hunter2', username: 'marko' });
expect(out).toEqual({ password: '[REDACTED]', username: 'marko' });
const out = scrubSecrets({ password: 'hunter2', username: 'alex' });
expect(out).toEqual({ password: '[REDACTED]', username: 'alex' });
});
it('redacts nested objects', () => {

View File

@@ -126,7 +126,7 @@ describe('Comprehensive CLI E2E Test', () => {
// Session 1: save memories
await orchestrator.executeTool('save_memory', {
content: 'My name is Marko and I work on the Waggle project',
content: 'My name is Alex and I work on the Waggle project',
importance: 'critical',
});
await orchestrator.executeTool('save_memory', {
@@ -146,8 +146,8 @@ describe('Comprehensive CLI E2E Test', () => {
const orchestrator2 = session.orchestrator;
// Search for memories from previous session
const result1 = await orchestrator2.executeTool('search_memory', { query: 'Marko Waggle' });
expect(result1).toContain('Marko');
const result1 = await orchestrator2.executeTool('search_memory', { query: 'Alex Waggle' });
expect(result1).toContain('Alex');
expect(result1).toContain('Waggle');
const result2 = await orchestrator2.executeTool('search_memory', { query: 'API key production' });

View File

@@ -59,11 +59,11 @@ describe('Hard Memory Persistence — Real Work Simulation', () => {
department: 'Platform Team',
personality: 'Thorough, opinionated, remembers everything',
capabilities: 'Code review, architecture, memory, search',
system_prompt: 'You are Waggle, a senior engineering assistant for Marko.',
system_prompt: 'You are Waggle, a senior engineering assistant for Alex.',
});
// User context
orch.getAwareness().add('flag', 'User is Marko Markovic, prefers direct communication', 10);
orch.getAwareness().add('flag', 'User is Alex Morgan, prefers direct communication', 10);
orch.getAwareness().add('flag', 'Project: Rewrite payment service from Python to Go', 10);
orch.getAwareness().add('task', 'Design new payment service architecture', 9);
orch.getAwareness().add('pending', 'Waiting for Stripe API credentials from DevOps (asked Alice)', 7);
@@ -82,7 +82,7 @@ describe('Hard Memory Persistence — Real Work Simulation', () => {
importance: 'important',
});
await orch.executeTool('save_memory', {
content: 'Marko raised concern about the fraud-check service being a single point of failure. Decision: implement circuit breaker with 5-second timeout, fallback to allowing the charge (business decision: false negatives are worse than false positives for fraud).',
content: 'Alex raised concern about the fraud-check service being a single point of failure. Decision: implement circuit breaker with 5-second timeout, fallback to allowing the charge (business decision: false negatives are worse than false positives for fraud).',
importance: 'critical',
});
await orch.executeTool('save_memory', {
@@ -117,7 +117,7 @@ describe('Hard Memory Persistence — Real Work Simulation', () => {
importance: 'important',
});
await orch.executeTool('save_memory', {
content: 'Performance target from Marko: p99 latency under 200ms for charge endpoint (current Python service is 450ms). Go rewrite should easily beat this. Will add Prometheus metrics from day 1.',
content: 'Performance target from Alex: p99 latency under 200ms for charge endpoint (current Python service is 450ms). Go rewrite should easily beat this. Will add Prometheus metrics from day 1.',
importance: 'important',
});
await orch.executeTool('save_memory', {
@@ -148,7 +148,7 @@ describe('Hard Memory Persistence — Real Work Simulation', () => {
importance: 'important',
});
await orch.executeTool('save_memory', {
content: 'Marko decided to descope the refund endpoint from the initial launch. Reason: the double-refund bug (PAY-142) needs careful handling and the PCI blocker already delays us. Refund stays in Python service for now, will be migrated in phase 2.',
content: 'Alex decided to descope the refund endpoint from the initial launch. Reason: the double-refund bug (PAY-142) needs careful handling and the PCI blocker already delays us. Refund stays in Python service for now, will be migrated in phase 2.',
importance: 'critical',
});
await orch.executeTool('save_memory', {
@@ -177,7 +177,7 @@ describe('Hard Memory Persistence — Real Work Simulation', () => {
// ─── Test B: Awareness items survive ───
const awareness = await orch.executeTool('get_awareness', {});
expect(awareness).toContain('Marko Markovic');
expect(awareness).toContain('Alex Morgan');
expect(awareness).toContain('payment service');
// ─── Test C: "What are we working on?" ───

View File

@@ -51,7 +51,7 @@ describe('profile and awareness scopes', () => {
const personal = new AwarenessLayer(db);
const ws = new AwarenessLayer(db, workspaceDataScope('alpha'));
const item = ws.add('task', 'Ship the beta', 2, undefined, { status: 'open' });
personal.add('pending', 'Reply to Marko');
personal.add('pending', 'Reply to Alex');
expect(ws.getAll().map(i => i.content)).toEqual(['Ship the beta']);
expect(personal.countOpen()).toBe(1);
expect(personal.get(item.id)).toBeUndefined();

View File

@@ -588,7 +588,7 @@ describe('seedMcpServers', () => {
// `MATCH @query`. FTS5 implicit-ANDs every term, so a verbose natural-language
// `need` (always the case when acquire_capability calls searchMarketplace)
// matches zero packages, and special chars (':' '\\' '"') in paths like
// `D:\Projects\X` raise an FTS5 syntax error that searchMarketplace swallows
// `D:\Work\X` raise an FTS5 syntax error that searchMarketplace swallows
// to []. Net: the inline capability-install feature never surfaces a
// candidate for real agent queries. These tests reproduce that and lock the
// relaxation behaviour in.
@@ -638,7 +638,7 @@ describe('db.search — FTS5 query relaxation', () => {
it('ROBUSTNESS: a need with FTS-special chars (path with : and \\ and quotes) does not throw and still matches', () => {
const need =
'remember D:\\Projects\\PM-Waggle-OS — need a "memory" knowledge graph: durable * context';
'remember D:\\Work\\Notes — need a "memory" knowledge graph: durable * context';
expect(() => ftsDb.search({ query: need, limit: 10 })).not.toThrow();
const r = ftsDb.search({ query: need, limit: 10 });
expect(r.total).toBeGreaterThan(0);

View File

@@ -180,7 +180,7 @@ export const cronRoutes: FastifyPluginAsync = async (server) => {
// POST /api/cron/:id/trigger — manually trigger a schedule
//
// M-43 / P25: triggering a disabled job auto-enables it before
// execution. Rationale (Marko 2026-04-19): if the user is reaching
// execution. Rationale (owner, 2026-04-19): if the user is reaching
// for "Run now" they want the job running, and leaving it disabled
// after manual trigger produces the confusing "toggle stays off"
// effect the PDF-E2E issue list flagged. The response includes the

View File

@@ -154,7 +154,7 @@ function resolveRankTimestamp(ws: {
* "greeting with user name"). The greeting strings are fixed sentences like
* "Good morning. Here's your day:" or "Welcome — anything you discuss here
* will be remembered." — the name splices in before the first sentence break:
* "Good morning, Marko. Here's your day:". Unknown shapes pass through.
* "Good morning, Alex. Here's your day:". Unknown shapes pass through.
* Exported for unit tests.
*/
export function personalizeGreeting(greeting: string, name?: string): string {

View File

@@ -23,7 +23,7 @@ describe('listWindowsDrives', () => {
expect(drives[0]).toEqual({ name: 'C:', path: 'C:\\', type: 'directory' });
});
it('returns both C: and D: on a dual-drive machine like Marko\'s', () => {
it('returns both C: and D: on a dual-drive machine like Alex\'s', () => {
const drives = listWindowsDrives((p) => p === 'C:\\' || p === 'D:\\');
expect(drives).toHaveLength(2);
expect(drives.map((d) => d.name)).toEqual(['C:', 'D:']);

View File

@@ -106,12 +106,12 @@ describe('DiscordAdapter gateway', () => {
handshake(ws);
ws.serverSend({
op: 0, t: 'MESSAGE_CREATE', s: 2,
d: { id: 'm1', channel_id: 'c1', content: 'hello', author: { id: 'u1', username: 'marko' } },
d: { id: 'm1', channel_id: 'c1', content: 'hello', author: { id: 'u1', username: 'alex' } },
});
await tick();
expect(ctx.received[0]).toEqual({
platform: 'discord', chatId: 'c1', senderId: 'u1',
senderName: 'marko', text: 'hello', messageId: 'm1',
senderName: 'alex', text: 'hello', messageId: 'm1',
});
});

View File

@@ -32,7 +32,7 @@ describe('PairingStore codes', () => {
it('consumes a valid code exactly once and pairs the sender', () => {
const store = new PairingStore(dir);
const { code } = store.generateCode('telegram');
expect(store.consumeCode('telegram', code, 'user-1', 'marko')).toBe(true);
expect(store.consumeCode('telegram', code, 'user-1', 'alex')).toBe(true);
expect(store.isPaired('telegram', 'user-1')).toBe(true);
// Single-use: second redemption fails.
expect(store.consumeCode('telegram', code, 'user-2')).toBe(false);
@@ -70,11 +70,11 @@ describe('PairingStore persistence', () => {
it('persists allowlist across store instances (channels.json)', () => {
const a = new PairingStore(dir);
const { code } = a.generateCode('telegram');
a.consumeCode('telegram', code, 'user-1', 'marko');
a.consumeCode('telegram', code, 'user-1', 'alex');
const b = new PairingStore(dir);
expect(b.isPaired('telegram', 'user-1')).toBe(true);
expect(b.listPaired().telegram?.[0]?.senderName).toBe('marko');
expect(b.listPaired().telegram?.[0]?.senderName).toBe('alex');
});
it('does NOT persist pending codes (in-memory only)', () => {

View File

@@ -36,7 +36,7 @@ function makeFetchScript(updateBatches: unknown[][]) {
return { fetchImpl, calls };
}
function telegramUpdate(id: number, text: string, from = { id: 42, username: 'marko' }) {
function telegramUpdate(id: number, text: string, from = { id: 42, username: 'alex' }) {
return { update_id: id, message: { message_id: id, text, chat: { id: -100 }, from } };
}
@@ -75,7 +75,7 @@ describe('TelegramAdapter polling', () => {
platform: 'telegram',
chatId: '-100',
senderId: '42',
senderName: 'marko',
senderName: 'alex',
text: 'hello',
messageId: '7',
});

View File

@@ -105,7 +105,7 @@ function textMessage(overrides: Partial<WaMessageLike> = {}): WaMessageLike {
body: 'zdravo',
type: 'chat',
id: { _serialized: 'false_3816x@c.us_m1' },
_data: { notifyName: 'Marko' },
_data: { notifyName: 'Alex' },
...overrides,
};
}
@@ -253,7 +253,7 @@ describe('WhatsAppAdapter inbound', () => {
platform: 'whatsapp',
chatId: '3816x@c.us',
senderId: '3816x@c.us',
senderName: 'Marko',
senderName: 'Alex',
text: 'zdravo',
messageId: 'false_3816x@c.us_m1',
});

View File

@@ -74,13 +74,13 @@ const card = (id: string, pendingCount: number, rankTs: number): { card: RecentW
describe('personalizeGreeting (P2 — B8 name in greeting)', () => {
it('splices the name before the first sentence break', () => {
expect(personalizeGreeting("Good morning. Here's your day", 'Marko'))
.toBe("Good morning, Marko. Here's your day");
expect(personalizeGreeting("Good morning. Here's your day", 'Alex'))
.toBe("Good morning, Alex. Here's your day");
});
it('handles the em-dash fresh-state greeting', () => {
expect(personalizeGreeting('Welcome — anything you discuss here will be remembered.', 'Marko'))
.toBe('Welcome, Marko — anything you discuss here will be remembered.');
expect(personalizeGreeting('Welcome — anything you discuss here will be remembered.', 'Alex'))
.toBe('Welcome, Alex — anything you discuss here will be remembered.');
});
it('passes through without a name', () => {
@@ -89,7 +89,7 @@ describe('personalizeGreeting (P2 — B8 name in greeting)', () => {
});
it('passes through greetings with no sentence break', () => {
expect(personalizeGreeting('Hello there', 'Marko')).toBe('Hello there');
expect(personalizeGreeting('Hello there', 'Alex')).toBe('Hello there');
});
});
@@ -180,14 +180,14 @@ describe('GET /api/home/briefing (P2 — J08 needsReviewCount + greeting)', () =
it('greets by name when identity is seeded (B8)', async () => {
boot([{ id: 'w1', name: 'Alpha', group: 'Personal', created: new Date().toISOString() }]);
new IdentityLayer(server.waggleDb).create({
name: 'Marko', role: 'Founder', department: 'Egzakta',
name: 'Alex', role: 'Founder', department: 'Egzakta',
personality: '', capabilities: '', system_prompt: '',
});
const res = await server.inject({ method: 'GET', url: '/api/home/briefing' });
expect(res.statusCode).toBe(200);
const briefing = res.json();
expect(briefing.userName).toBe('Marko');
expect(briefing.greeting).toContain(', Marko');
expect(briefing.userName).toBe('Alex');
expect(briefing.greeting).toContain(', Alex');
});
it('greeting stays name-free when no identity exists', async () => {

View File

@@ -31,7 +31,7 @@ describe('POST /api/identity — merge-on-update', () => {
boot();
const first = await server.inject({
method: 'POST', url: '/api/identity',
payload: { name: 'Marko', role: 'Founder', department: 'Egzakta' },
payload: { name: 'Alex', role: 'Founder', department: 'Egzakta' },
});
expect(first.statusCode).toBe(200);
@@ -39,11 +39,11 @@ describe('POST /api/identity — merge-on-update', () => {
// survive (the old `body.x ?? ''` semantics silently wiped them).
const partial = await server.inject({
method: 'POST', url: '/api/identity',
payload: { name: 'Marko M.' },
payload: { name: 'Alex M.' },
});
expect(partial.statusCode).toBe(200);
const body = partial.json();
expect(body.name).toBe('Marko M.');
expect(body.name).toBe('Alex M.');
expect(body.role).toBe('Founder');
expect(body.department).toBe('Egzakta');
});
@@ -52,14 +52,14 @@ describe('POST /api/identity — merge-on-update', () => {
boot();
await server.inject({
method: 'POST', url: '/api/identity',
payload: { name: 'Marko', role: 'Founder' },
payload: { name: 'Alex', role: 'Founder' },
});
const cleared = await server.inject({
method: 'POST', url: '/api/identity',
payload: { role: '' },
});
expect(cleared.json().role).toBe('');
expect(cleared.json().name).toBe('Marko');
expect(cleared.json().name).toBe('Alex');
});
});

View File

@@ -87,10 +87,10 @@ describe('SignalBus', () => {
it('filters by teamId', () => {
const bus = new SignalBus(10);
bus.record(makeSignal({ id: 'p1', teamId: 'personal::marko' }));
bus.record(makeSignal({ id: 'p1', teamId: 'personal::alex' }));
bus.record(makeSignal({ id: 't1', teamId: 'team-egzakta' }));
bus.record(makeSignal({ id: 'p2', teamId: 'personal::marko' }));
const personal = bus.query({ teamId: 'personal::marko' });
bus.record(makeSignal({ id: 'p2', teamId: 'personal::alex' }));
const personal = bus.query({ teamId: 'personal::alex' });
expect(personal.map((s) => s.id)).toEqual(['p2', 'p1']);
});

View File

@@ -54,7 +54,7 @@ describe('recommendConnectors', () => {
});
describe('CONNECTOR_RECOMMENDATIONS shape', () => {
it('every recommendation has 3-6 primary entries (Ljiljana-bar cognitive ceiling)', () => {
it('every recommendation has 3-6 primary entries (cognitive ceiling of a non-technical user)', () => {
for (const [personaId, rec] of Object.entries(CONNECTOR_RECOMMENDATIONS)) {
expect(rec.primary.length, `persona "${personaId}" primary out of range`).toBeGreaterThanOrEqual(3);
expect(rec.primary.length, `persona "${personaId}" primary out of range`).toBeLessThanOrEqual(6);