{
  "schema_version": 1,
  "artifact_id": "public-capability-matrix",
  "updated_at": "2026-07-29",
  "scope_note": "Canonical current AgentWall capability labels. Ubuntu v0.4.0-beta.1 and Apple Silicon macOS v0.4.0-beta.4 are published platform artifacts with independently verifiable signed checksum manifests. Windows v0.4.0-beta.6 is an intentionally unsigned x64 public beta installer with a SHA-256 manifest; the checksum verifies downloaded bytes but not publisher identity. macOS and Windows evidence remains unverified for a supported integration label, so Codex and Claude Code stay ask-block-prototype. AgentWall does not claim whole-machine, all-agent, tamper-proof, or enterprise fleet enforcement.",
  "maturity_labels": {
    "research": "Docs reviewed; no working local prototype.",
    "observe": "Can log some events; cannot reliably stop actions before execution.",
    "session-observe-prototype": "Launch of the wrapped command is policy-gated and the session envelope (start, end, exit status) is recorded; actions inside the wrapped process are not inspected and cannot be denied.",
    "ask-block-prototype": "Ask/block works in local synthetic tests or doctor self-tests; not cleared for broad supported labeling without live validation evidence.",
    "supported": "Live validation, documented bypasses, and repair path proven for early users.",
    "enterprise-managed": "Centrally deployable under managed-device assumptions; not part of day-one personal product."
  },
  "evidence_levels": {
    "design_only": "Architecture or planning only.",
    "synthetic_hook_tests": "Adapter exercised with hand-built hook JSON payloads.",
    "local_automated_cli_tests": "Automated end-to-end tests spawning the local CLI binary against synthetic commands.",
    "synthetic_hook_tests_and_doctor_self_test": "Synthetic hook tests plus local doctor self-test on the machine.",
    "live_manual": "Recorded manual validation in the live agent app.",
    "automated_live": "Automated tests against the live agent app.",
    "design_partner_validated": "Validated with an external design partner under documented conditions."
  },
  "integrations": [
    {
      "id": "claude_code",
      "display_name": "Claude Code",
      "build_status": "built",
      "maturity_label": "ask-block-prototype",
      "evidence_level": "live_manual",
      "supported_os": [
        "ubuntu_24_04_amd64"
      ],
      "supported_agent_scope": "Claude Code sessions with AgentWall hooks wired in Claude Code settings for PreToolUse, PostToolUse, and PostToolUseFailure.",
      "observed_action_types": [
        "shell.command",
        "file.read",
        "file.write"
      ],
      "vendor_tool_matchers": [
        "Bash",
        "Read",
        "Write",
        "Edit",
        "MultiEdit",
        "NotebookEdit",
        "NotebookRead",
        "Grep",
        "Glob",
        "WebFetch",
        "WebSearch",
        "mcp__<server>__<tool>"
      ],
      "pre_action_ask_block": "yes_for_matched_pretooluse_tools",
      "post_action_audit": "yes_for_posttooluse_and_posttoolusefailure",
      "degraded_states": [
        "malformed_or_unsupported_hook_input_fails_open",
        "policy_load_or_evaluation_failure_fails_open_in_personal_mode",
        "macos_daemon_unavailable_keeps_policy_blocks_blocked_and_uses_a_real_tty_for_asks_or_denies_without_one",
        "approval_timeout_denies_when_denial_is_supported",
        "missing_or_invalid_claude_code_settings",
        "hook_command_missing_or_unreadable"
      ],
      "known_bypasses": [
        "actions_that_never_pass_through_claude_code_hooks",
        "claude_code_modes_or_tools_outside_the_installed_hook_matcher",
        "direct_shell_or_editor_use_outside_claude_code",
        "user_removing_or_editing_hooks_manually",
        "logged_in_macos_user_or_agent_with_same_user_file_access_can_modify_policy_hooks_receipts_and_audit_data",
        "macos_audit_history_is_user_owned_evidence_not_tamper_resistant",
        "logged_in_macos_user_or_same_uid_process_can_stop_or_replace_the_app_supervised_daemon_runtime",
        "mcp_tools_without_sufficient_default_policy_coverage",
        "at_mention_context_attachment_reads_enter_model_context_with_no_hook_event",
        "in_context_re_reads_of_already_loaded_file_content_produce_no_new_hook_event",
        "directory_wide_content_search_reports_only_its_search_root_never_the_files_whose_lines_return"
      ],
      "release_test_targets": [
        "2.1.207"
      ],
      "agent_version_verification_status": "pending_fresh_release_evidence",
      "candidate_os_evidence": [
        "macos_26_5_1_arm64_pending_authenticated_live_client"
      ],
      "support_label_gate": "Keep ask-block-prototype. Claude Code 2.1.207 is installed but unauthenticated on the MAC-183 host, so the Apple Silicon candidate has no fresh live Claude Code rows. Do not call this integration supported or beta-tested until the exact signed frozen successor containing the aaee778 approval fixes and approved legal copy passes its evidence cycle and a separate explicit promotion decision is recorded.",
      "validation_evidence_artifact": "docs/implementation/evidence/claude-code-validation-evidence.json",
      "release_evidence_artifact": "docs/implementation/evidence/records/v0.3.0-beta.1-launch-evidence.md",
      "live_validation_status": "partial"
    },
    {
      "id": "codex",
      "display_name": "Codex",
      "build_status": "built",
      "maturity_label": "ask-block-prototype",
      "evidence_level": "live_manual",
      "supported_os": [
        "ubuntu_24_04_amd64"
      ],
      "supported_agent_scope": "Codex sessions with AgentWall hooks wired in ~/.codex/hooks.json for PreToolUse and PostToolUse.",
      "verified_agent_versions": [
        "0.143.0"
      ],
      "release_test_targets": [
        "0.143.0"
      ],
      "agent_version_verification_status": "partial_live_candidate_evidence",
      "candidate_os_evidence": [
        "macos_26_5_1_arm64_signed_superseded_and_aaee778_ad_hoc"
      ],
      "observed_action_types": [
        "shell.command",
        "file.read",
        "file.write",
        "mcp.tool_call"
      ],
      "vendor_tool_matchers": [
        "Bash",
        "apply_patch",
        "Edit",
        "Write",
        "Read",
        "mcp__<server>__<tool>"
      ],
      "pre_action_ask_block": "live_allow_block_timeout_and_daemon_loss_passed_on_superseded_macos_candidates;_native_approve_once_and_deny_passed_only_on_a_superseded_patched_ad_hoc_build;_session_scope_failed_cross_session_on_that_build;_aaee778_nonce_session_and_ask_only_fixes_are_automated_only",
      "post_action_audit": "live_posttooluse_executed_evidence_for_codex_0_143_0_on_a_superseded_macos_candidate",
      "degraded_states": [
        "malformed_or_unsupported_hook_input_fails_open_with_a_visible_degraded_reason_and_a_degraded_audit_record",
        "apply_patch_without_extractable_path_fails_open_with_a_visible_degraded_reason_and_a_degraded_audit_record",
        "degraded_fail_open_notices_carry_no_permission_decision_and_stop_nothing_because_codex_pretooluse_accepts_only_deny",
        "unreadable_post_tool_use_payload_loses_the_outcome_update_and_is_recorded_as_degraded",
        "multi_file_apply_patch_represented_by_first_target_only",
        "policy_load_or_evaluation_failure_fails_open_in_personal_mode",
        "macos_daemon_unavailable_keeps_policy_blocks_blocked_and_uses_a_real_tty_for_asks_or_denies_without_one"
      ],
      "known_bypasses": [
        "exact_signed_frozen_successor_native_approve_deny_and_session_ui_rows_not_yet_proven",
        "current_aaee778_macos_candidate_is_ad_hoc_not_developer_id_signed_notarized_stapled_or_public",
        "logged_in_macos_user_or_agent_with_same_user_file_access_can_modify_policy_hooks_receipts_and_audit_data",
        "macos_audit_history_is_user_owned_evidence_not_tamper_resistant",
        "logged_in_macos_user_or_same_uid_process_can_stop_or_replace_the_app_supervised_daemon_runtime",
        "unsupported_codex_versions_cannot_be_labeled_supported",
        "actions_outside_installed_codex_hook_matcher",
        "mcp_tools_not_following_mcp__server__tool_naming",
        "direct_terminal_or_editor_use_outside_codex",
        "user_removing_or_editing_hooks_manually"
      ],
      "support_label_gate": "Keep ask-block-prototype. Superseded live evidence and aaee778 automated approval regressions do not clear native approval/denial/session on the exact signed frozen v0.4.0-beta.2 successor containing those fixes, authenticated Claude Code, a clean standard-user walkthrough, or the macOS publication gates.",
      "release_evidence_artifact": "docs/implementation/evidence/records/macos-beta-live-2026-07-15-apple-silicon.md",
      "live_validation_status": "partial"
    }
  ],
  "planned_surfaces": [
    {
      "id": "opencode",
      "display_name": "OpenCode",
      "build_status": "built",
      "maturity_label": "ask-block-prototype",
      "promotion_note": "Disclosure only per D-013: this entry does not promote a support label, maturity label, or evidence level. It exists to state known bypasses precisely, not to claim readiness.",
      "evidence_level": "local_automated_cli_tests",
      "release_evidence_artifact": "docs/implementation/evidence/records/opencode-130-live-verification-2026-07-20.md",
      "observed_action_types": [
        "shell.command",
        "file.read",
        "file.write",
        "mcp.tool_call"
      ],
      "vendor_tool_matchers": [
        "bash",
        "write",
        "edit",
        "read",
        "webfetch",
        "apply_patch",
        "<sanitized_client>_<sanitized_tool>"
      ],
      "never_observed_bypass": "OpenCode's own `/pty` HTTP route (used by `opencode serve` clients to run a real shell through a genuine pseudo-terminal) is structurally separate from the plugin-gated tool-call loop. A client using that route obtains a shell with no `tool.execute.before` event at all, regardless of whether AgentWall's plugin is installed. This action class is never observed, not merely unmapped.",
      "observed_but_unmapped": "task, glob, grep, todowrite, todoread, websearch, codesearch, skill, question, and the experimental-flag-gated lsp/batch/plan-enter/plan-exit built-in tools all fire the same plugin hook as the mapped tools above (which now include apply_patch and MCP tool calls as of OPENCODE-131), but no policy rule can allow, ask, or block any of these remaining tools today; each call is still observed and audited as degraded, not silently allowed. A mapped MCP call's inferred server identity additionally carries its own disclosed limitation; see the mcp-server-identity-heuristic risk tag documented in docs/architecture/05-policy-engine-and-language.md (OPENCODE-133).",
      "degraded_states": [
        "malformed_or_unsupported_hook_input_fails_open",
        "unmapped_tool_name_fails_open_with_a_visible_degraded_reason",
        "policy_load_or_evaluation_failure_fails_open_in_personal_mode",
        "missing_or_broken_agentwall_binary_fails_open_and_logs_only_to_the_opencode_console"
      ],
      "known_bypasses": [
        "opencode_pty_http_route_never_dispatches_the_plugin_hook_at_all",
        "actions_outside_the_installed_opencode_plugin",
        "user_removing_disabling_or_never_loading_the_plugin",
        "direct_terminal_or_editor_use_outside_opencode",
        "opencode_sdk_invocation_path_disclosed_by_upstream_issue_anomalyco_opencode_6396_not_independently_confirmed_in_this_pinned_build"
      ],
      "support_label_gate": "Does not clear supported: install/status/health/repair/uninstall coverage and the broader support-label promotion checklist in docs/implementation/evidence/records/README.md remain unmet. This is independent of tool-mapping coverage, which OPENCODE-131 already narrowed; the remaining gap here is the install/status/repair surface, not tool mapping."
    },
    {
      "id": "grok",
      "display_name": "Grok Build",
      "build_status": "built",
      "maturity_label": "ask-block-prototype",
      "promotion_note": "Disclosure only per D-013: this entry does not promote a support label, maturity label, or evidence level. It exists to state a live-verified composition failure and the adapter that closes it precisely, not to claim readiness.",
      "evidence_level": "live_manual",
      "release_evidence_artifact": "docs/implementation/evidence/records/grok-102-live-verification-2026-07-20.md",
      "observed_action_types": [
        "shell.command",
        "file.read",
        "file.write",
        "mcp.tool_call"
      ],
      "vendor_tool_matchers": [
        "run_terminal_command",
        "read_file",
        "write",
        "search_replace",
        "<server>__<tool>"
      ],
      "observed_but_unmapped": "search_tool (the MCP schema-discovery meta-tool, fires its own PreToolUse before the resolved MCP call) and every other Grok Build built-in tool this research has not live-verified (grep, list_dir, web_fetch, web_search, and more) fire the same PreToolUse hook as the mapped tools above, but no policy rule can allow, ask, or block any of them today; each call degrades to fail-open with a visible reason, audited rather than silently allowed.",
      "degraded_states": [
        "malformed_or_unsupported_hook_input_fails_open",
        "unmapped_tool_name_fails_open_with_a_visible_degraded_reason",
        "policy_load_or_evaluation_failure_fails_open_in_personal_mode",
        "missing_or_broken_agentwall_binary_fails_open_and_logs_only_to_grok_builds_own_hook_scrollback"
      ],
      "known_bypasses": [
        "grok_build_fails_open_on_any_hook_error_crash_or_timeout_its_own_design_not_overridable_by_any_adapter",
        "a_host_with_agentwalls_pre_existing_claude_code_hook_but_no_grok_adapter_installed_remains_invoked_but_unenforcing_via_claude_compat_hook_discovery_grok_100",
        "action_classes_with_no_pretooluse_event_at_all_not_identified_in_this_research_unlike_opencodes_confirmed_pty_bypass",
        "project_scoped_hook_discovery_requires_both_explicit_trust_and_a_real_git_repository_a_requirement_grok_builds_own_docs_do_not_state",
        "multi_hook_precedence_when_native_and_claude_compat_hooks_disagree_observed_but_not_formally_resolved_see_grok_103",
        "actions_outside_the_installed_grok_hooks_file",
        "user_removing_or_never_installing_the_hooks_file",
        "direct_terminal_or_editor_use_outside_grok_build"
      ],
      "support_label_gate": "Does not clear supported: install/status/health/repair/uninstall coverage beyond this record's direct install-grok and hook-grok-status calls, and the broader support-label promotion checklist in docs/implementation/evidence/records/README.md, remain unmet. Live enforcement with ground truth is proven for shell execution, file read, both file-write tools, and one MCP call on Grok Build 0.2.106; broader tool coverage and formal multi-hook precedence (GROK-103) are not."
    }
  ],
  "observation_capabilities": [
    {
      "id": "resource_watch",
      "display_name": "Resource watch (write-rate sampling)",
      "build_status": "built",
      "maturity_label": "observe",
      "observe_only": true,
      "scope": "Detection only: samples each protected agent's process-tree cumulative disk-write bytes and the known agent data-directory growth (~/.codex, ~/.claude); warns on a sustained write-rate threshold or a 24h total threshold. Never pauses, kills, throttles, or applies any resource limit -- that is a separate, later capability (GitHub issue #444), explicitly gated on this one.",
      "pre_action_ask_block": "none_detection_only",
      "post_action_audit": "yes_audit_event_with_receipt_on_threshold_breach",
      "evidence_level": "unit_tested_and_partially_live_verified",
      "evidence_summary": "Accumulation/threshold/breach logic (delta computation, pid-reuse handling, EWMA, rolling-window math) is unit-tested against synthetic readings. The macOS sampling path is exercised live against a real running process by two fixtures covering both required failure modes (a growing-file writer and a churn-in-place writer whose file size never changes while real bytes keep hitting disk). The directory-growth secondary signal is live-verified with real numbers. The primary process write-byte signal's default thresholds (20 MB/s sustained, 50 GB/24h) are NOT yet validated against a real heavy build on a non-sandboxed host; see docs/operations/08-resource-watch.md for the exact blocker and how to complete that evidence.",
      "platform_validation": {
        "macos": "implemented via proc_pid_rusage/proc_listallpids/proc_pidinfo (libc); unit-tested and partially live-verified (see evidence_summary)",
        "linux": "the /proc/<pid>/io write_bytes counter parser is compile-gated behind cfg(target_os = \"linux\") and unit-tested against fixture text only; process discovery is not built and live validation has not been performed on any Linux host -- do not claim Linux support beyond parser-level unit tests",
        "windows": "the sampler (Toolhelp32 process enumeration plus GetProcessIoCounters, pid-reuse-guarded by the same GetProcessTimes creation-time marker the named-pipe transport uses) is written and compile-gated behind cfg(windows). Its decision logic is unit-tested against fixture snapshots and fixture counter values, and its FFI type-checks and lints for x86_64-pc-windows-msvc under scripts/check_windows_shims.sh -- which is type/lint evidence, not execution evidence. WIN-154 wired the sampling loop into the app-supervised Windows runtime: it starts with that runtime, stops when Quit drops its guard, and uses the shared cadence, thresholds, audit events, and dashboard status rows rather than any Windows-only ones. That wiring is itself unit-tested here against a fixture sampler and nothing more -- loop wired, never live-validated. Nothing here has ever run on a Windows machine: no live validation, no threshold validation, and no tick has ever been observed on Windows. Windows counts IO_COUNTERS.WriteTransferCount, which includes file, pipe, device, and network writes, where macOS counts disk I/O alone -- the thresholds are deliberately unchanged and shared, and whether they fit that broader denominator is one of the things live Windows validation has to answer. Do not claim Windows support beyond written, wired, and type-checked. Detection only: there is no Windows act tier, and this row implies no enforcement."
      },
      "degraded_states": [
        "sampling_unavailable_permission_denied_or_platform_read_failure",
        "pid_reuse_detected_between_samples",
        "unsupported_kernel_no_per_process_io_accounting",
        "stale_no_recent_sample_daemon_likely_not_running"
      ],
      "known_bypasses": [
        "processes_or_agents_outside_the_watched_process_tree_or_data_directories",
        "writes_that_never_cross_the_configured_thresholds",
        "windows_processes_the_current_user_cannot_open_are_reported_as_a_visible_undercount_never_counted"
      ],
      "design_doc": "docs/operations/08-resource-watch.md"
    }
  ],
  "act_capabilities": [
    {
      "id": "resource_intervention",
      "display_name": "Resource intervention (freeze/resume/terminate)",
      "build_status": "built",
      "maturity_label": "ask-block-prototype",
      "observe_only": false,
      "scope": "On a resource-watch threshold breach (GitHub issue #443), the daemon can freeze a watched agent's process group (SIGSTOP) and ask the user to Resume or Terminate, or -- in the default, non-automatic configuration -- ask first with a one-click Freeze offer before signaling anything at all. Terminate sends SIGTERM, escalating to SIGKILL after a grace period if the process does not exit on its own. The approval ask for this capability is desktop-app-only by design: it never offers the daemon's TTY approval channel, because the TTY's allow-once/block vocabulary cannot distinguish an explicit Terminate from an unclassifiable or dismissive answer, and this capability treats that distinction as safety-critical. This is the only macOS act tier today: a real kernel-enforced hard resource cap (a limit an agent cannot exceed regardless of any response) remains on the privileged daemon track (MAC-160 through MAC-167) and is not built. Automatic freezing without asking first, and any hard-terminate byte threshold, are both opt-in policy configuration -- neither is on in any built-in policy pack.",
      "pre_action_ask_block": "ask_gated_by_default_freeze_or_terminate_choice;_automatic_freeze_then_resume_or_terminate_ask_is_opt_in_config;_a_user_configured_terminate_threshold_acts_immediately_since_that_configuration_is_the_advance_authorization",
      "post_action_audit": "yes_audit_receipt_with_trigger_values_the_decision_made_and_which_channel_acted_for_every_intervention_outcome_including_a_no_response_timeout",
      "evidence_level": "unit_tested_and_live_verified_on_one_macos_host",
      "evidence_summary": "The signal primitives (process_intervention: SIGSTOP/SIGCONT, SIGTERM escalating to SIGKILL after a grace period, a start-time identity guard against pid reuse via proc_pidinfo, a second discovery scan for the documented race window between detection and action) are live-verified against a real spawned writer process: freeze stops disk writes within one sampling interval and resume restarts them; a cooperative process exits on SIGTERM alone; one that ignores SIGTERM is escalated to SIGKILL. The daemon-side wiring -- policy-tier evaluation, the daemon-originated approval ask routed through the same notify/settle machinery as an ordinary action ask, and the audit receipt -- is separately live-verified end to end against a real spawned process and a simulated desktop channel answering Approve/Deny. All of this evidence is from one macOS development host, not a broad multi-machine validation, and the primary write-byte breach signal this capability is driven by inherits resource_watch's own not-yet-validated default-threshold caveat (see the resource_watch entry above).",
      "platform_validation": {
        "macos": "implemented via libc killpg/kill (SIGSTOP/SIGCONT/SIGTERM/SIGKILL) and proc_pidinfo (process group id, start time, and BSD process status for the pid-reuse and zombie-vs-alive checks); live-verified (see evidence_summary)",
        "linux": "not implemented; every process-group intervention call returns an explicit unsupported-platform error on non-macOS builds rather than silently no-op'ing"
      },
      "degraded_states": [
        "no_permission_to_signal_the_process_group",
        "process_exited_between_detection_and_action",
        "pid_reused_by_a_different_process_before_it_could_be_signaled",
        "approval_channel_unavailable_or_no_response_before_the_deadline_leaves_the_process_in_its_current_state_rather_than_guessing_frozen_stays_frozen_unfrozen_stays_untouched"
      ],
      "known_bypasses": [
        "processes_or_agents_outside_resource_watchs_watched_process_tree",
        "a_directory_growth_only_breach_has_no_process_to_signal_and_never_freezes_or_terminates_anything",
        "no_kernel_enforced_hard_cap_a_burst_between_sampling_ticks_is_not_prevented_in_real_time",
        "automatic_freeze_and_any_terminate_threshold_are_opt_in_config_off_by_default_so_a_default_installation_only_ever_asks"
      ],
      "design_doc": "docs/operations/08-resource-watch.md"
    }
  ],
  "os_enforcement": {
    "linux": {
      "mvp_claim": "Ubuntu 24.04 amd64 Public Beta: configured Codex and Claude Code tool-call workflows can be governed at the tool-call boundary.",
      "future_sandbox_candidates": [
        "landlock",
        "seccomp",
        "namespaces",
        "bubblewrap"
      ],
      "not_claimed": [
        "whole_machine_enforcement",
        "required_os_sandbox_for_mvp"
      ]
    },
    "macos": {
      "mvp_claim": "Apple Silicon v0.4.0-beta.4 is a published per-user Codex and Claude Code hook-protection artifact supervised by the menu-bar app. The logged-in user or another same-UID process can stop or replace that app-supervised runtime, and its audit history is user-owned evidence rather than tamper-resistant history. The public checksum manifest verifies, but exact live-client and standard-user evidence remains incomplete; do not treat the artifact as supported or whole-machine protection.",
      "future_managed_enforce_candidates": [
        "network_extension",
        "endpoint_security"
      ],
      "not_claimed": [
        "whole_machine_enforcement",
        "kernel_or_driver_enforcement_in_mvp",
        "privileged_tamper_resistance",
        "audit_tamper_resistance_against_the_logged_in_user",
        "independent_daemon_lifecycle",
        "qwen_or_cursor_coverage",
        "intel_support"
      ]
    },
    "windows": {
      "mvp_claim": "Windows 11 x64 has an intentionally unsigned v0.4.0-beta.6 public beta setup executable. SHA256SUMS verifies the downloaded bytes but not publisher identity. Installation is per-user and does not activate AgentWall automatically. Codex and Claude Code remain prototype integrations without a supported Windows label.",
      "future_managed_enforce_candidates": [
        "wfp",
        "minifilter"
      ],
      "not_claimed": [
        "whole_machine_enforcement",
        "driver_based_enforcement_in_mvp",
        "public_windows_support",
        "publisher_authenticated_installer",
        "automatic_updates",
        "tamper_resistant_local_enforcement"
      ]
    }
  },
  "global_non_goals": [
    "whole_machine_protection",
    "all_agent_protection",
    "tamper_proof_local_audit",
    "complete_prompt_injection_prevention",
    "unsigned_auto_update",
    "enterprise_fleet_dashboard_in_personal_product"
  ],
  "telemetry_posture": {
    "id": "app_open_volume",
    "display_name": "Anonymous app-open volume counter only",
    "build_status": "built",
    "design_doc": "docs/product/14-usage-measurement-and-metrics.md",
    "notes": "D-037: desktop process start may POST empty JSON to https://omnetsystems.com/agentwall-app-open for aggregate open counts. No install id, agent activity, commands, paths, policy, or audit data. Not DAU/MAU. Broader personal telemetry remains unauthorized.",
    "default": "anonymous_open_count_on_desktop_start",
    "outbound_endpoint": "https://omnetsystems.com/agentwall-app-open",
    "future_design_required": false
  }
}
