From 561924db750cbb4e4c183f9616472ed9a5b0fc7f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 12 Aug 2026 00:19:10 +0900 Subject: docs(todo): retag TODO markers by root cause Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/src/command/diagnose_command.rs | 2 +- crates/shirabe/src/command/script_alias_command.rs | 6 +++--- crates/shirabe/src/command/search_command.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/src/command') diff --git a/crates/shirabe/src/command/diagnose_command.rs b/crates/shirabe/src/command/diagnose_command.rs index dc5d7399..6b339c69 100644 --- a/crates/shirabe/src/command/diagnose_command.rs +++ b/crates/shirabe/src/command/diagnose_command.rs @@ -599,7 +599,7 @@ impl DiagnoseCommand { None, )?; if !installed_json.exists() { - // TODO(phase-c): the native binary never ships vendor/composer/installed.json, so + // TODO(distribution): the native binary never ships vendor/composer/installed.json, so // Composer's "non-standard Composer installation" warning would fire on every run. // A Composer source snapshot is planned to be embedded together with the plugin API // implementation, which will make this self-audit functional; until then report diff --git a/crates/shirabe/src/command/script_alias_command.rs b/crates/shirabe/src/command/script_alias_command.rs index e4418b53..b10e1671 100644 --- a/crates/shirabe/src/command/script_alias_command.rs +++ b/crates/shirabe/src/command/script_alias_command.rs @@ -46,7 +46,7 @@ impl ScriptAliasCommand { // PHP also calls parent::__construct() (Symfony Command base) and // $this->ignoreValidationErrors(). - // TODO(phase-c): both are Symfony Command base-class operations — the constructor sets up + // TODO(symfony): both are Symfony Command base-class operations — the constructor sets up // the command's name/definition/application state and ignoreValidationErrors() flips a flag // on it. Composer's BaseCommand carries no such Symfony Command state yet (the Symfony // Command base is an intentional todo!() stub), so there is nothing to initialize here. @@ -118,7 +118,7 @@ impl Command for ScriptAliasCommand { let args = input.borrow().get_arguments(); - // TODO(phase-c): InputInterface has_to_string/get_class_name not modeled in Rust + // TODO(symfony): InputInterface has_to_string/get_class_name not modeled in Rust // TODO remove for Symfony 6+ as it is then in the interface if false { return Err(LogicException::new( @@ -136,7 +136,7 @@ impl Command for ScriptAliasCommand { Platform::put_env("COMPOSER_DEV_MODE", if dev_mode { "1" } else { "0" }); - // TODO(phase-c): InputInterface lacks to_string; use a placeholder until it is modeled. + // TODO(symfony): InputInterface lacks to_string; use a placeholder until it is modeled. let input_as_string = String::new(); let _ = input; let script_alias_input = Preg::replace4(php_regex!(r"{^\S+ ?}"), "", &input_as_string, 1); diff --git a/crates/shirabe/src/command/search_command.rs b/crates/shirabe/src/command/search_command.rs index 72a883f1..e66c574b 100644 --- a/crates/shirabe/src/command/search_command.rs +++ b/crates/shirabe/src/command/search_command.rs @@ -260,7 +260,7 @@ impl Command for SearchCommand { } } } else if format == "json" { - // TODO(phase-c): faithful JSON output requires SearchResult to retain the raw result + // TODO(type-model): faithful JSON output requires SearchResult to retain the raw result // array. PHP's fulltext search passes through arbitrary API fields (downloads, favers, // repository, ...) which the typed SearchResult (name/description/abandoned/url) drops, // so ComposerRepository-sourced results still diverge from Composer's raw JSON output. -- cgit v1.3.1-4-g156e