You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(oss): scrub operator-private leaks from public surface
Codex cleanliness sweep flagged personal paths, real trace IDs,
and operator-specific deployment vocabulary in code comments and
JSDoc. Removing them so the viewer source reads as written for any
adopter, not for one specific operator's homelab.
### Component comments
- `src/components/Landing.svelte` — top-of-file rationale block
cited "Phase 2 A reshape (operator 2026-05-30)" and "Service-ops
UI lives in CPA / sub2gpt". Rewritten without internal phase tags;
upstream gateway named generically.
- `src/components/Settings.svelte` — header cited "Phase R7
narrows the page" and "CPA/sub2gpt already renders" the healthz
counters. Same generic rewrite.
### Adapter JSDoc
- `src/lib/adapters/chat.ts` — `/tmp/sub2api-samples/details`
fixture path → "reference captures".
- `src/lib/adapters/gemini.ts` — "no real sub2api samples exist"
/ "first time a real Gemini trace lands in sub2api" → generic
"no real Gemini captures exist yet" / "first time a real trace
is captured".
### Prompt-source heuristics
- `src/lib/promptSource.ts` — comment example used
`/Users/leoyun/.claude/CLAUDE.md`; replaced with `/Users/example/`.
"real fixtures captured from sub2api" + "Real codex example
(fixture 01KSWPQP0SD6FFX2QT37HCXF8R)" → generic phrasing.
- `src/lib/promptSource.test.ts` — fixture inputs embedded
`/Volumes/leoyun/.claude/CLAUDE.md` + "Leo's External Drive"
as the literal test payload. Replaced with generic
`/Users/example/` + `example-project`. The regex contracts
the test exercises are unchanged. "see this very task's prompt",
"trace 01KSWP4YQD", and "fixture 01KSWPQP0SD6FFX2QT37HCXF8R"
references in comments rewritten as generic descriptions.
### Verified
- `pnpm check` → 0 errors / 0 warnings / 142 files.
// Shape: Claude Code user-turn system reminder (the actual
52
-
// injection format the harness uses to drop CLAUDE.md content
53
-
// into the prompt — see this very task's prompt).
51
+
// Shape: Claude Code user-turn system reminder — the injection
52
+
// format the harness uses to drop CLAUDE.md content into the
53
+
// prompt.
54
54
name: 'CLAUDE.md path-prefixed ref + heading on next line',
55
55
input:
56
-
'Contents of /Volumes/leoyun/.claude/CLAUDE.md (project instructions, checked into the codebase):\n\n# Leo\'s External Drive — /Volumes/leoyun/\n\n## 语言',
56
+
'Contents of /Users/example/.claude/CLAUDE.md (project instructions, checked into the codebase):\n\n# example-project\n\n## Section',
0 commit comments