aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-03 00:08:10 +0900
committernsfisis <nsfisis@gmail.com>2026-08-03 00:08:10 +0900
commitbf2c6fa58ae51f44fa0ec65c615f8e62de87812c (patch)
tree5b022e1eb4c4572e97279e00622adb33a4cae162 /crates/shirabe/src
parentc2a2bd3a2573f585c902c39bd28b8c3cad10c317 (diff)
downloadphp-shirabe-bf2c6fa58ae51f44fa0ec65c615f8e62de87812c.tar.gz
php-shirabe-bf2c6fa58ae51f44fa0ec65c615f8e62de87812c.tar.zst
php-shirabe-bf2c6fa58ae51f44fa0ec65c615f8e62de87812c.zip
docs(plugin): record dispositions of plugin-boundary open questions
The Package family settles on pure rust-proxy: it is genuinely mutable (60+ setters, and Composer itself mutates packages in flight), so the planned snapshot-with-writeback treatment is dropped rather than filed as an override. The other open questions remain open with their interim behavior pinned instead of resolved: proxy-side getLoop() access and the ConsoleIO table/progress-bar members are explicit errors, and the InstalledVersions state a plugin observes after a Rust-side dump is undefined, marked TODO(plugin) at the reload site. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src')
-rw-r--r--crates/shirabe/src/repository/filesystem_repository.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe/src/repository/filesystem_repository.rs b/crates/shirabe/src/repository/filesystem_repository.rs
index 151cf2d3..32e4022a 100644
--- a/crates/shirabe/src/repository/filesystem_repository.rs
+++ b/crates/shirabe/src/repository/filesystem_repository.rs
@@ -343,6 +343,10 @@ impl FilesystemRepository {
);
// make sure the in memory state is up to date with on disk
+ // TODO(plugin): whether this reload must also be pushed to the plugin PHP child
+ // process is undecided; the InstalledVersions state a plugin observes after this
+ // dump is undefined (docs/dev/plugin-class-classification.md, "Bootstrap classes
+ // cannot be stub-shadowed").
InstalledVersions::reload(versions);
// make sure the selfDir matches the expected data at runtime if the class was loaded from the vendor dir, as it may have been