refactor(data): rename Krenn to Van Maanen's Star
System S-057 assigned to real star GJ 35 (Van Maanen's Star, DG white dwarf at 13.9 ly). Renamed across all content, server code, docs, decisions, wiki lore, and config files. 224 files updated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ use std::path::PathBuf;
|
||||
fn ticker_yaml_path() -> PathBuf {
|
||||
let manifest_dir = env!("CARGO_MANIFEST_DIR");
|
||||
PathBuf::from(manifest_dir)
|
||||
.join("../content/campaigns/main/systems/krenn/stations/sova/districts/transit/ticker/the-last-shift.yaml")
|
||||
.join("../content/campaigns/main/systems/van-maanens-star/stations/sova/districts/transit/ticker/the-last-shift.yaml")
|
||||
}
|
||||
|
||||
/// Minimal YAML structure for parsing just what we need to validate.
|
||||
|
||||
@@ -80,10 +80,10 @@ fn voice_config() -> VoiceProcessConfig {
|
||||
}
|
||||
}
|
||||
|
||||
fn krenn_culture() -> CultureProfile {
|
||||
fn van_maanens_star_culture() -> CultureProfile {
|
||||
CultureProfile {
|
||||
id: "krenn".into(),
|
||||
name: "Krenn System Culture".into(),
|
||||
id: "van-maanens-star".into(),
|
||||
name: "Van Maanen's Star Culture".into(),
|
||||
description: "Working-class pragmatic".into(),
|
||||
naming: NamingConventions {
|
||||
style: "compact".into(),
|
||||
@@ -104,7 +104,7 @@ fn krenn_culture() -> CultureProfile {
|
||||
disfavored_traits: vec![PersonalityTrait::Reclusive],
|
||||
},
|
||||
voice_persona: Some(
|
||||
"PERSONA: You are a Krenn station worker.\n\
|
||||
"PERSONA: You are a Van Maanen's Star station worker.\n\
|
||||
1. Be direct. No pleasantries.\n\
|
||||
2. You're working-class and pragmatic."
|
||||
.into(),
|
||||
@@ -137,7 +137,7 @@ fn test_requests() -> Vec<VoiceRequest> {
|
||||
priority: Priority::High,
|
||||
npc_stable_id: 1,
|
||||
zone_id: 100,
|
||||
culture_id: "krenn".into(),
|
||||
culture_id: "van-maanens-star".into(),
|
||||
base_text: "The coupling is faulty.".into(),
|
||||
content_type: ContentType::Dialogue,
|
||||
content_index: 0,
|
||||
@@ -148,7 +148,7 @@ fn test_requests() -> Vec<VoiceRequest> {
|
||||
priority: Priority::High,
|
||||
npc_stable_id: 1,
|
||||
zone_id: 100,
|
||||
culture_id: "krenn".into(),
|
||||
culture_id: "van-maanens-star".into(),
|
||||
base_text: "I heard the night crew had to stop the line twice because the coupling was faulty and nobody had flagged it in the log.".into(),
|
||||
content_type: ContentType::Dialogue,
|
||||
content_index: 1,
|
||||
@@ -159,7 +159,7 @@ fn test_requests() -> Vec<VoiceRequest> {
|
||||
priority: Priority::Standard,
|
||||
npc_stable_id: 2,
|
||||
zone_id: 100,
|
||||
culture_id: "krenn".into(),
|
||||
culture_id: "van-maanens-star".into(),
|
||||
base_text: "checks the pressure gauge and writes in a logbook".into(),
|
||||
content_type: ContentType::Behavior,
|
||||
content_index: 0,
|
||||
@@ -192,7 +192,7 @@ fn voice_pipeline_end_to_end() {
|
||||
|
||||
// Build cultures map
|
||||
let mut cultures = BTreeMap::new();
|
||||
cultures.insert("krenn".to_string(), krenn_culture());
|
||||
cultures.insert("van-maanens-star".to_string(), van_maanens_star_culture());
|
||||
let cultures = Arc::new(cultures);
|
||||
|
||||
// Create cache
|
||||
@@ -313,10 +313,10 @@ fn voice_pipeline_end_to_end() {
|
||||
);
|
||||
|
||||
// The unknown culture request should still cache (with base text as fallback)
|
||||
// Total should be 4 (3 krenn + 1 unknown fallback)
|
||||
// Total should be 4 (3 van-maanens-star + 1 unknown fallback)
|
||||
assert!(
|
||||
entry_count == 4,
|
||||
"Expected 4 cache entries (3 krenn + 1 unknown fallback), got {}",
|
||||
"Expected 4 cache entries (3 van-maanens-star + 1 unknown fallback), got {}",
|
||||
entry_count
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,10 +65,10 @@ fn voice_config() -> VoiceProcessConfig {
|
||||
// Culture profiles
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
fn krenn_culture() -> CultureProfile {
|
||||
fn van_maanens_star_culture() -> CultureProfile {
|
||||
CultureProfile {
|
||||
id: "krenn".into(),
|
||||
name: "Krenn System Culture".into(),
|
||||
id: "van-maanens-star".into(),
|
||||
name: "Van Maanen's Star Culture".into(),
|
||||
description: "Working-class pragmatic".into(),
|
||||
naming: NamingConventions {
|
||||
style: "compact".into(),
|
||||
@@ -89,7 +89,7 @@ fn krenn_culture() -> CultureProfile {
|
||||
disfavored_traits: vec![PersonalityTrait::Reclusive],
|
||||
},
|
||||
voice_persona: Some(
|
||||
"PERSONA: You are a Krenn station worker.\n\
|
||||
"PERSONA: You are a Van Maanen's Star station worker.\n\
|
||||
1. Be direct. No pleasantries.\n\
|
||||
2. You're working-class and pragmatic."
|
||||
.into(),
|
||||
@@ -293,7 +293,7 @@ fn test_cases() -> Vec<TestCase> {
|
||||
},
|
||||
|
||||
// === CATEGORY: Occasional injection (oath) ===
|
||||
// seed 7 fires oath for krenn (frequency 0.25, ChaCha8)
|
||||
// seed 7 fires oath for van-maanens-star (frequency 0.25, ChaCha8)
|
||||
TestCase {
|
||||
label: "oath should fire (seed 7)",
|
||||
category: "injection",
|
||||
@@ -508,7 +508,7 @@ fn voice_quality_batch() {
|
||||
let config = voice_config();
|
||||
|
||||
let mut cultures = BTreeMap::new();
|
||||
cultures.insert("krenn".to_string(), krenn_culture());
|
||||
cultures.insert("van-maanens-star".to_string(), van_maanens_star_culture());
|
||||
let cultures = Arc::new(cultures);
|
||||
|
||||
let cases = test_cases();
|
||||
@@ -540,7 +540,7 @@ fn voice_quality_batch() {
|
||||
priority: Priority::High,
|
||||
npc_stable_id: i as u64,
|
||||
zone_id: 1, // all same zone for cache lookup
|
||||
culture_id: "krenn".into(),
|
||||
culture_id: "van-maanens-star".into(),
|
||||
base_text: case.base_text.into(),
|
||||
content_type: case.content_type,
|
||||
content_index: case.tell_state.map(|t| t as u16).unwrap_or(0),
|
||||
@@ -609,7 +609,7 @@ fn voice_quality_batch() {
|
||||
}
|
||||
|
||||
let key = CacheKey {
|
||||
culture_id: "krenn".into(),
|
||||
culture_id: "van-maanens-star".into(),
|
||||
npc_stable_id: i as u64,
|
||||
content_type: case.content_type,
|
||||
content_index: case.tell_state.map(|t| t as u16).unwrap_or(0),
|
||||
|
||||
Reference in New Issue
Block a user