[P0][Android/Termux] Safe Termux bootstrap plugin + agentprolog-termux daemon #28
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
security
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/agentProlog#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #undefined
Implement the Android local-runtime path without turning Termux into an arbitrary shell escape hatch.
Bootstrap
Create an Android/Kotlin Tauri plugin that:
com.termux.permission.RUN_COMMAND;allow-external-apps=true;Daemon
Add
agentprolog-termux:Security
RUN_COMMAND is bootstrap/control-plane only. Normal agent/tool traffic goes over the authenticated canonical protocol and remains under Prolog-RLM authority.
Acceptance
Verified Termux interop facts — 2026-09-19
Current Termux upstream documentation confirms:
RunCommandServiceusing thecom.termux.RUN_COMMANDintent;com.termux.permission.RUN_COMMAND;allow-external-apps=truein~/.termux/termux.properties;com.termux;PendingIntent;termux-sharedconstants instead of hardcoding intent extra names.Reference:
Design consequence: use RUN_COMMAND only to start/stop/status a fixed AgentProlog service command, then switch to the authenticated canonical AgentProlog protocol transport. Do not serialize tool calls or user shell strings into RUN_COMMAND.