Aetherlight AL2a.4: delete the genesis brief
Remove the brief string (prompt guidance for model lanes) from CreateWorld, CreateWorldIntent, WorldState, WorldEffect::WorldCreated, the snapshot and the journal's state-shape checks, with its replay test. The grammar test's absent-grammar-key control now reads the title key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
58493253b6
commit
f17a8147f8
3 changed files with 1 additions and 51 deletions
|
|
@ -496,12 +496,6 @@ pub(super) fn verify_state_shape(state: &WorldState) -> Result<(), JournalError>
|
|||
"world title is empty or noncanonical".into(),
|
||||
));
|
||||
}
|
||||
if state.brief.trim() != state.brief {
|
||||
return Err(JournalError::Corrupt("world brief is noncanonical".into()));
|
||||
}
|
||||
if state.brief.trim() != state.brief {
|
||||
return Err(JournalError::Corrupt("world brief is noncanonical".into()));
|
||||
}
|
||||
super::validate_principal(&state.owner).map_err(kernel_error)?;
|
||||
if state.subjects.is_empty()
|
||||
|| state.controller_assignments.len() != state.subjects.len()
|
||||
|
|
@ -1107,7 +1101,6 @@ mod tests {
|
|||
id: CommandId::new(),
|
||||
owner: owner.clone(),
|
||||
title: "Before".into(),
|
||||
brief: String::new(),
|
||||
patch: owner_patch(SubjectDeclaration {
|
||||
handle: DraftHandle::new("owner"),
|
||||
label: "Owner".into(),
|
||||
|
|
@ -1191,7 +1184,6 @@ mod tests {
|
|||
id: CommandId::new(),
|
||||
owner: owner.clone(),
|
||||
title: "Kharad".into(),
|
||||
brief: String::new(),
|
||||
patch: owner_patch(SubjectDeclaration {
|
||||
handle: DraftHandle::new("owner"),
|
||||
label: "Owner".into(),
|
||||
|
|
@ -1671,7 +1663,6 @@ mod tests {
|
|||
id: creation_id,
|
||||
owner: owner.clone(),
|
||||
title: "Admitted".into(),
|
||||
brief: String::new(),
|
||||
patch: owner_patch(SubjectDeclaration {
|
||||
handle: DraftHandle::new("owner"),
|
||||
label: "Owner".into(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue