{% extends "base.html" %} {% block title %}Remote Command Gateway{% endblock %} {% block content %}

Remote Command Gateway

Manage remote command access from messaging channels.

Environment Mode
{{ environment_mode | upper | replace('_', '-') }}

{% if environment_mode == 'air_gapped' %} Internet-dependent channels auto-disabled. Only internal chat and on-prem channels available. {% else %} All configured channels available. External messaging platforms connected. {% endif %}

Active Channels
{{ channels | selectattr('available') | list | length }} / {{ channels | length }}
Active Bindings
{{ bindings | selectattr('binding_status', 'equalto', 'active') | list | length }} bound users
Channel Status
{% for ch in channels %} {% endfor %}
Channel Status Max IL Description
{{ ch.name }} {% if ch.available %} Active {% elif ch.enabled %} Disabled (air-gapped) {% else %} Disabled {% endif %} {{ ch.max_il }} {{ ch.description }}
User Bindings
{% if bindings %}
{% for b in bindings %} {% endfor %}
ID Channel Channel User ICDEV™ User Status Bound At
{{ b.id[:8] }}... {{ b.channel }} {{ b.channel_user_id }} {{ b.icdev_user_id or 'unbound' }} {% if b.binding_status == 'active' %} Active {% elif b.binding_status == 'pending' %} Pending {% else %} Revoked {% endif %} {{ b.bound_at or '-' }}
{% else %}

No bindings configured. Users must send /bind from a messaging channel to initiate binding.

{% endif %}
Recent Commands
{% if commands %}
{% for cmd in commands %} {% endfor %}
Time Channel Command Status Filtered Duration
{{ cmd.created_at }} {{ cmd.channel }} {{ cmd.raw_command }} {% if cmd.execution_status == 'completed' %} Completed {% elif cmd.execution_status == 'rejected' %} Rejected {% elif cmd.execution_status == 'failed' %} Failed {% else %} {{ cmd.execution_status }} {% endif %} {% if cmd.response_filtered %} Redacted {% else %} - {% endif %} {% if cmd.execution_time_ms %} {{ cmd.execution_time_ms }}ms {% else %} - {% endif %}
{% else %}

No commands received yet.

{% endif %}
Command Allowlist
{% for entry in command_allowlist %} {% endfor %}
Command Category Channels Max IL Confirmation
{{ entry.command }} {% if entry.category == 'read' %} Read {% elif entry.category == 'execute' %} Execute {% else %} Write {% endif %} {% if entry.channels == '*' %} All {% elif entry.channels == '' %} Disabled {% else %} {{ entry.channels }} {% endif %} {{ entry.max_il }} {{ 'Yes' if entry.requires_confirmation else 'No' }}
{% endblock %}