From 4dda7cc80901d3aba3f7ec1d71af7d88f8e259fe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 21:00:03 +0000 Subject: [PATCH 1/2] Initial plan From a215c0480f92050bad92519f85ea1b00e3fad56c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 21:02:50 +0000 Subject: [PATCH 2/2] Hide enable-difc flag from help and README Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- README.md | 1 - internal/cmd/flags_difc.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 690dc102..39794313 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,6 @@ Available Commands: Flags: -c, --config string Path to config file --config-stdin Read MCP server configuration from stdin (JSON format). When enabled, overrides --config - --enable-difc Enable DIFC enforcement for information flow control --env string Path to .env file to load environment variables -h, --help help for awmg -l, --listen string HTTP server listen address (default "127.0.0.1:3000") diff --git a/internal/cmd/flags_difc.go b/internal/cmd/flags_difc.go index b40bec0e..91ab63be 100644 --- a/internal/cmd/flags_difc.go +++ b/internal/cmd/flags_difc.go @@ -20,6 +20,7 @@ var ( func init() { RegisterFlag(func(cmd *cobra.Command) { cmd.Flags().BoolVar(&enableDIFC, "enable-difc", getDefaultEnableDIFC(), "Enable DIFC enforcement for information flow control") + cmd.Flags().MarkHidden("enable-difc") }) }