cli: add typed StarIntel Android operation bridge #206

Open
nsaspy wants to merge 1 commit from feat/android-operation-bridge into feat/hm-cli-entrypoints
Owner

Stacked on the existing feat/hm-cli-entrypoints lane.

Adds hm android-bridge, a bounded stdin JSON bridge for the StarIntel Android control plane.

  • accepts only HACKMODE-ANDROID/1
  • allowlists named operation kinds
  • requires request id + object payload
  • persists the complete original request as typed Hackmode evidence in the current operation/Tek9 store
  • emits a minimal accepted envelope
  • does not accept shell text or expose arbitrary command execution

The interactive/full terminal remains hm expert; Android invokes this bridge only through the signature-protected Hackmode APK service.

Stacked on the existing `feat/hm-cli-entrypoints` lane. Adds `hm android-bridge`, a bounded stdin JSON bridge for the StarIntel Android control plane. - accepts only `HACKMODE-ANDROID/1` - allowlists named operation kinds - requires request id + object payload - persists the complete original request as typed Hackmode evidence in the current operation/Tek9 store - emits a minimal accepted envelope - does not accept shell text or expose arbitrary command execution The interactive/full terminal remains `hm expert`; Android invokes this bridge only through the signature-protected Hackmode APK service.
cli: add typed Android operation bridge
Some checks failed
core / common-lisp-core (pull_request) Failing after 46s
nix / nix-flake-check (pull_request) Failing after 6s
monorepo / hygiene (pull_request) Successful in 5m8s
354fcdf752
Some checks failed
core / common-lisp-core (pull_request) Failing after 46s
nix / nix-flake-check (pull_request) Failing after 6s
monorepo / hygiene (pull_request) Successful in 5m8s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/android-operation-bridge:feat/android-operation-bridge
git switch feat/android-operation-bridge

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch feat/hm-cli-entrypoints
git merge --no-ff feat/android-operation-bridge
git switch feat/android-operation-bridge
git rebase feat/hm-cli-entrypoints
git switch feat/hm-cli-entrypoints
git merge --ff-only feat/android-operation-bridge
git switch feat/android-operation-bridge
git rebase feat/hm-cli-entrypoints
git switch feat/hm-cli-entrypoints
git merge --no-ff feat/android-operation-bridge
git switch feat/hm-cli-entrypoints
git merge --squash feat/android-operation-bridge
git switch feat/hm-cli-entrypoints
git merge --ff-only feat/android-operation-bridge
git switch feat/hm-cli-entrypoints
git merge feat/android-operation-bridge
git push origin feat/hm-cli-entrypoints
Sign in to join this conversation.
No description provided.