diff --git a/crates/oa-core/src/language/analysis_source/budget.rs b/crates/oa-core/src/language/analysis_source/budget.rs index 9e109223..f9b0b5df 100644 --- a/crates/oa-core/src/language/analysis_source/budget.rs +++ b/crates/oa-core/src/language/analysis_source/budget.rs @@ -221,6 +221,7 @@ impl Budget { Ok(value) } /// Immutable exact policy snapshot for private deliberate-snapshot continuation. + #[cfg(test)] pub(super) fn limits(&self) -> Limits { self.limits } diff --git a/crates/oa-core/tests/mixed_source8_read.rs b/crates/oa-core/tests/mixed_source8_read.rs index 95f2ef42..ebc70c53 100644 --- a/crates/oa-core/tests/mixed_source8_read.rs +++ b/crates/oa-core/tests/mixed_source8_read.rs @@ -2,7 +2,7 @@ //! Expected models use authored public values, never a parser or formatter oracle. use oa_core::analysis as a; use oa_core::analysis_numeric::Exact; -use oa_core::language::{self, ParseLimits, Span}; +use oa_core::language::{ParseLimits, Span}; use oa_core::source_project::{ProjectLimits, SourceBundle, SourceDiagnostic}; pub use oa_core::*; use std::collections::BTreeMap; diff --git a/harness/analysis-public-read-implementation-20260925.md b/harness/analysis-public-read-implementation-20260925.md index 345e50d8..f14fdf63 100644 --- a/harness/analysis-public-read-implementation-20260925.md +++ b/harness/analysis-public-read-implementation-20260925.md @@ -49,4 +49,15 @@ That initializer now supplies None in production too, preserving its ordinary facet-reading behavior. Source inventory found the other shared Parser initializers in language.rs and mixed.rs already coherent; language::legacy uses its own separate Parser type. No API, test or runtime policy changed. The failed build -record remains preserved; no compiler was run for this repair by the worker. \ No newline at end of file +record remains preserved; no compiler was run for this repair by the worker. +## Non-test integration result and warning cleanup + +Parent's actual non-test integration suite at 8555e417 passed all ten tests with +the independent complete-model and diagnostic assertions unchanged. Compilation +reported an unused Budget::limits observer and a redundant private language self +import shadowing the integration helper's public glob export. The observer is +now cfg(test), matching all real callers; the integration import drops only self. +No semantic implementation, policy, fixture or expected result changed. Parent +explicitly authorized that one test import-line edit after its independent worker +finished. This is warning cleanup, not a claim that later lint/full/doctest gates +already passed. No compiler was run by this worker. \ No newline at end of file