Repository navigation
fix(hygiene): no machine names in the tree — a real user's home path is refused everywhere, fixtures included - #4231
Merged
Conversation
…is refused everywhere, test fixtures included Joel, 2026-09-18: "No hard coding to this machine's characteristics. I'd look for 'joelt' user string." The drive-resolver test (#4209) had `C:\Users\joelt\.continuum` as its fixture home — the box it was written on. The existing tenant rule only reads production lines, and a fixture is exactly where a developer types the path they can see; so a second rule in `tenant_neutrality.rs` reads the WHOLE file and matches a HOME PATH (`/Users/<ours>`, `C:\Users\<ours>`, `/home/<ours>`) rather than the bare name — a transcript fixture speaking as "joel" is a name, not a machine. Baseline zero. It found four more than the grep for `joelt` did: `/Users/joel/...` fixtures in not_speech, eye_reaper and process_anomaly. All now `someone`. Also the two code-level node names outside Rust: the preview fixture's `bigmama.local` and the CLI help's `wake bigmama` examples → placeholders. Comments naming BigMama/IntelMac stay: provenance of a measurement is prose. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
Contributor
Author
|
APPROVE — reviewed at exact head c8f4092. Small, and the predicate is the right one: a home PATH under our user ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Joel: "No hard coding to this machine's characteristics. I'd look for 'joelt' user string."
The drive-resolver test (#4209) carried
C:\Users\joelt\.continuumas its fixture home — the box it was written on.NoTenantIdentityInProductiononly reads production lines; a fixture is exactly where a developer types the path they can see.The guard: a second rule beside it,
NoRealUserHomePathAnywhere, reads the WHOLE file and matches a home PATH (/Users/<ours>,C:\Users\<ours>,/home/<ours>, either separator spelling), not the bare name — a chat fixture speaking as "joel" is a transcript, not a machine characteristic. Baseline ZERO.What it found beyond the grep: four
/Users/joel/...fixtures (not_speech,eye_reaper×2,process_anomaly) →someone. Plus the two code-level node names outside Rust:apps/web/src/preview.tsfixturebigmama.localand thebin/continuumhelp exampleswake bigmama→ placeholders. Comments naming BigMama/IntelMac are left: the provenance of a measurement is prose, and the rule treats it so.Tests:
cargo test -p continuum-core --lib source_hygiene— 22/22, including the unwrap and unwired-machinery ratchets.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc