Android safety policy
A Wi-Fi connection or a confirmed non-Tailscale VPN triggers debugging-disable requests and settings readback. Unknown state denies new connections; the default reconnect policy requires an explicit user action.
Personal project · Device policy and coordination
A coordination system linking Android debugging policy, an Ubuntu broker and a Windows client. Requests, approval, execution and effect verification are separate stages, with resource ownership preventing conflicting changes across devices.
Content reviewed:
Requests from multiple devices can drift from what was approved or repeat a change after a connection drops. The broker binds the authenticated actor to the approved content, grants a time-limited resource lease and preserves uncertainty when the effect cannot be confirmed.
Android policy state and approval remain part of the execution checks. The broker records acceptance, execution and effect verification as separate states.
Record content, resources, deadline and an idempotency key. Reject different requests that reuse the same key.
Bind the content digest, approval nonce and safety generation to an authenticated approver.
Acquire overlapping resources in order and require the current owner and epoch before execution.
Preserve uncertain outcomes as UNCERTAIN and observe the effect before any further mutation.
A Wi-Fi connection or a confirmed non-Tailscale VPN triggers debugging-disable requests and settings readback. Unknown state denies new connections; the default reconnect policy requires an explicit user action.
Registered certificates and mTLS establish identity. The broker ignores role claims in request bodies and rechecks approval expiry, content digests and safety-state changes.
A SQLite ledger persists operations and resource leases. Resources are acquired together, and owner/epoch checks reject subsequent writes from stale executors.
Certificate renewal, connection reporting and recovery tools support operation. Integrated app, broker and client sources link requirements to consumers and required checks for change-impact review.
apps/android/core/…/Policy.kt · Coordination.kt — Debugging policy and approval-data validationservices/coordination/broker/core.py — Operation state, approval, leasing and recoveryservices/coordination/operations/service.py — Registered device identity and certificate renewal