Repository navigation
refactor: remove dead exports and stale fallow exemptions - #4931
Conversation
Delete exports with no consumer anywhere in the repository and the .fallowrc.json ignoreExports entries that fallow 3.x now credits on its own: the lazy-facade and dynamic-loader exemptions for Apple, daemon route handlers, CLI/MCP process entries and runtime hints. Remove MAESTRO_NON_HITTABLE_FALLBACK_MESSAGE, the HarmonyOS archive bundle-name resolver with its tests, test-support exports no importer reaches, unimported barrel type re-exports, and the unused installInstallablePath member of the provider device-runtime contract.
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
|
Reviewed 658a7a2. The PR deletes the public method The rule: a member reachable from a Not blocking, and fine to take or leave: the rewritten comment at The remaining non-passing checks are the Body rules runs, which grade the PR title and body and not the diff. The newest Body rules run on 658a7a2 passed, so CI looks unrelated to the code. Not verified here: fallow, wire-compat and the test suites were not run locally, and any external caller of |
Only the ProviderDeviceRuntime contract member and the WebDriver implementations go; the agent-device/limrun class keeps the method, now declared on its own runtime type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed at |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
The |
…-reasons * origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
…n-client-reasons * origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
…android-reasons * origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
…er-errors * origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
* origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
* origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # packages/platform-harmonyos/src/app-lifecycle.ts # website/docs/docs/error-reasons.md
Summary
Remove dead code found by a research pass at 4075dd1; each item was re-verified repo-wide first.
.fallowrc.json: 12ignoreExportsentries fallow 3.34 now credits on its own — the Apple lazy-facade entries (expo-dev-client-launch, runner-operations, tool-provider, macOS, launch-confirmation,detectSoleRunningIosSimulatorApp), the daemon route-handler and interaction-handler entries, the CLI/MCP process-entry entry,platform-runtime-runtime-hints, and the twoagent-browser-lifecyclenames no longer exported. Plus the Maestro and HarmonyOS entries below.ProviderDeviceRuntime.installInstallablePath?and its WebDriver implementations. The publishedagent-device/limrunclass keeps the method.src/__tests__/test-utils/fake-adb.ts,createLifecycleDeviceRuntimeGateway,HUMAN_CONTROL_HOLD,IPADOS_TEST_SIMULATOR,SCREENSHOT_RESULT; two harness mocks loseexport.AdReplayTargetObservation,DaemonCommandRoute,PolicyResolutionOutcome; layering pins updated.LimrunIosCommandExecutionis live throughsrc/sdk/limrun.ts;installApp?andconfigurePortReverse?stay pending a maintainer decision.Before / after
No observable change: every removed symbol had zero importers, call sites, or gate consumers; the contract member sits in a private package and wire-compat reports the protocol unchanged.
Value
Validation
Head
658a7a2b1c,exactCommit: truereceipt: format, lint, typecheck, layering, fallow, production-exports, build, package, integration-node and macos-coverage pass. Theunitlane timed out locally only under a ~100 host load average; each timed-out suite passes standalone at head. CI validates the pushed head; no unresolved risks.🤖 Generated with Claude Code