From 6ae7e0d4b3eaf20e2d2cd3d000cf61ab0c9b6e83 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Jun 2026 02:39:35 +0900 Subject: feat(console): resolve phase-b TODOs in doRun and IO wiring Wire up ConsoleIO with HelperSet/QuestionHelper, register the ErrorHandler with the IO instance, and fall back to a default output in run(). Replace resolved phase-b TODOs across the console, command, io, factory, installer, dependency_resolver, and util modules; reclassify the remaining blockers (typed Symfony command registry, stdin resource caching) as phase-c. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/io/io_interface.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/shirabe/src/io/io_interface.rs') diff --git a/crates/shirabe/src/io/io_interface.rs b/crates/shirabe/src/io/io_interface.rs index e33cea2..1ae8d28 100644 --- a/crates/shirabe/src/io/io_interface.rs +++ b/crates/shirabe/src/io/io_interface.rs @@ -151,6 +151,10 @@ pub trait IOInterfaceMutable { // `dyn IOInterface`; its vtable carries both the immutable and mutable methods. pub trait IOInterface: IOInterfaceImmutable + IOInterfaceMutable { fn as_any(&self) -> &dyn std::any::Any; + + fn as_base_io_mut(&mut self) -> Option<&mut dyn crate::io::BaseIO> { + None + } } // Shared-ownership handle for a PHP IO instance (reference semantics). It -- cgit v1.3.1