refactor: move MiniApp host plans and developer tooling#1075
Merged
Conversation
Move MiniApp host call planning into product-domain decisions while keeping runtime execution and permission-sensitive IO in core. Streamline root contributor guidance, move DeepReview-specific rules to local AGENTS files, and guard desktop DevTools shortcuts behind backend availability.
de6ec6a to
f977e32
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fs.*andshell.exechost call planning intobitfun-product-domainswhile keeping permission-sensitive execution in core.bitfun-coreas the executor for permission policy resolution, canonicalized path checks, file IO, process spawning,net.fetch, andos.inforuntime behavior.AGENTS.mdfiles and simplifying Windows OpenSSL setup notes.F12for native DevTools and a backend availability guard so final release builds do not register debug shortcuts.Risk / behavior
net.fetch,os.info, worker execution, seed/marker IO, and function-agent AI provider acquisition remain in core to avoid new runtime dependencies or behavior drift.Refs #970
Verification
cargo test -p bitfun-product-domains --features product-fullcargo test -p bitfun-harnesscargo test -p bitfun-core miniapp::host_dispatch -- --nocapturenode scripts/check-core-boundaries.mjsnode scripts/core-boundaries/self-test.mjspnpm run fmt:rspnpm run type-check:webpnpm --dir src/web-ui run test:run src/infrastructure/debug/useDebugInspector.test.tsxcargo check -p bitfun-desktoppnpm run check:repo-hygienecargo check --workspacegit diff --check