Skip to content

Add guarded device tools and production diagnostics to the local console (6b) #776

Backlog

Description

@lumenpearson

Stage 6b of approved #308 under #273, continuing the owner's direction to advance independent programme work. It follows the implemented 6a foundation in #772; source preparation may proceed separately while that exact-head delivery completes, and integration remains serialized.

Acceptance

  • A short implementation plan records the approved boundaries before code.
  • Device selects an explicitly discovered online serial and a valid AGP APK output; every targeted adb command pins that serial.
  • Install snapshots and verifies candidate bytes, package/version and one unambiguous signing identity, probes installed package/version and verifies its pulled base APK. Different certificates, lower versions, ambiguous outputs and probe failures refuse installation. No uninstall, downgrade, data clear or adb-server reset is offered.
  • App-filtered logcat is redacted in bounded volatile memory and is never written to run history; stopping cancels only the owned adb client. Reverse adds/removes only the documented local-server mapping and reads it back.
  • Deploy performs an explicit bounded HTTPS warmup GET, without redirects or credential forwarding, and displays production condition separately from schema compatibility with the unique literal checkout EXPECTED_REVISION read through AST. Missing/down/unknown responses remain honest states.
  • The closed task/structured-parameter interface, queue and process ownership remain intact. Missing SDK tools disable affected actions; no JDK/SDK installation or signing-file reads.
  • A small fake-adb/apksigner/HTTP and headless interaction suite holds the important refusal, selection and volatile-log boundaries. It runs no actual device, SDK, VM or production action.
  • One independent review, appropriate local checks, exact-head/dev/master CI, HANDOVER within the open batch and source-matched production readback are recorded separately.

Host lifecycle and chosen-transport builds are 6c. No preview CLI/login or production deploy button. Actual shared-device/native/production execution follows fresh coordinator admission. Installed family APKs and v1 compatibility are preserved.

Delivery checkpoint — 26 November 2026

Working #781 merged into dev 438ea369c56e3bd0056155e5d19a48da09b84de9. Exact-head CI45887380382 and exact dev CI45888465866 passed all selected jobs and aggregate; Console ran 44 cases on Windows and Linux. Promotion #783 is open and will preserve the fixed 6a production observation before moving master. No actual SDK/device/HTTP execution is claimed from fixture results.

Master CI and fresh production readback remain pending. The issue stays open; 6c continues in #782.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Now

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions