Skip to content

feat(startup): model bootstrap chain and app-context scoring - #50

Merged
caverav merged 2 commits into
mainfrom
feat/startup-bootstrap-chain
Mar 13, 2026
Merged

caverav merged 2 commits into
mainfrom
feat/startup-bootstrap-chain

Conversation

@caverav

@caverav caverav commented Mar 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • add android_startup.bootstrap_chain reporting with ordered startup-stage observations, owner kind, completeness, and missing-step diagnostics
  • derive bootstrap-chain sources from APK startup callsites without pretending the Android embedding flow is fully reconstructed when only partial evidence exists
  • bias capped prioritization further toward app-owned startup-frontier and bootstrap-adjacent functions while pushing framework/bootstrap noise down

Validation

  • nix develop -c ./scripts/ci-check.sh
  • target/debug/flutterdec decompile /tmp/flutterdec-apk-test/LocalSend-1.17.0-android-arm64v8.apk -o /tmp/localsend-bootstrap-chain --analysis-profile light --with-apk-startup-analysis --max-functions 12 --min-disassembly-ratio 0 --max-indirect-call-ratio 1 --max-unresolved-cf 999 --max-placeholder-ifs 999
  • target/debug/flutterdec decompile /tmp/flutterdec-apk-test/Spotube-android-all-arch.apk -o /tmp/spotube-bootstrap-chain --analysis-profile light --with-apk-startup-analysis --max-functions 12 --min-disassembly-ratio 0 --max-indirect-call-ratio 1 --max-unresolved-cf 999 --max-placeholder-ifs 999

Notes

  • both APK reports now populate android_startup.bootstrap_chain.sources with app-vs-framework ownership and ordered stage observations
  • capped top-N output on both APKs remained app-only in prioritization.selected_scope_mix, which is the intended direction for this round

@caverav
caverav merged commit c7f4018 into main Mar 13, 2026
2 checks passed
@caverav
caverav deleted the feat/startup-bootstrap-chain branch November 3, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant