Run this from the top of the dap-platform checkout. It creates portal-action-rendering.txt and prints gzip/base64 for WB.
#!/usr/bin/env bash
set -eu
out=portal-action-rendering.txt
{
printf '%s\n' '===== Uses of show_options ====='
git --no-pager grep -n 'show_options' || true
printf '%s\n' '===== Uses of set_arguments ====='
git --no-pager grep -n 'set_arguments' || true
printf '%s\n' '===== Run.pm submission lines 206-307 ====='
sed -n '206,307p' src/api/Dap/Portal/App/Action/Run.pm
printf '%s\n' '===== action/run/index.pl ====='
sed -n '1,160p' src/vhosts/portal/htdocs/action/run/index.pl
} > "$out"
gzip -c "$out" | base64
MCP plugin architecture remediation