Make the aetherlight take-set compile and its doc-tests honest

lib.rs drops the leave-set modules and re-exports, renames the compile_fail
doc-tests to aetherlight::, retitles the crate doc, and allows dead code until
AL4 adds the ABI. patch.rs drops the tool_schema and codex_connector imports.
lens.rs drops the test that read the dropped PATCH_TOOLS catalog. Imports and
`mut` bindings that only the dropped code used are removed or gated to tests so
`cargo build` is warning-free.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-19 19:53:27 +01:00
commit dbdaf64c4d
3 changed files with 24 additions and 93 deletions

View file

@ -12,15 +12,12 @@
//! after that set is empty, so a rejected patch never mints an ID.
use super::clock::{FictionalMinutes, TickMinutes};
use super::tool_schema;
use super::grammar::GrammarRefusal;
use super::{
AffordanceId, CommandId, ControllerAssignment, ControllerId, EdgeId, EntityId, LensWeights,
NewController, SubjectId, SubjectKind, SubjectState, WorldId,
};
use codex_connector::CodexToolDefinition;
use serde::{Deserialize, Serialize};
use serde_json::{Value, json};
use sha2::{Digest, Sha256};
use std::collections::{BTreeMap, BTreeSet, btree_map::Entry};
use unicode_properties::{GeneralCategory, UnicodeGeneralCategory};
@ -5374,7 +5371,7 @@ pub(super) fn resolve_patch(
});
}
allocated_subjects.insert(input.handle.clone(), subject_id);
let mut controller_id = || {
let controller_id = || {
ControllerId(derive_id(
CONTROLLER_NAMESPACE,
world_id,