You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. AGENTS.md — GH_TOKEN missing from Environment Variables list
Location:AGENTS.md, Environment Variables section Problem: Lists GITHUB_MCP_SERVER_TOKEN, GITHUB_TOKEN, and GITHUB_PERSONAL_ACCESS_TOKEN as the token priority chain — but omits GH_TOKEN. Actual Behavior:internal/envutil/github.go defines a 4-entry priority list:
GITHUB_MCP_SERVER_TOKEN
GITHUB_TOKEN
GITHUB_PERSONAL_ACCESS_TOKEN
GH_TOKEN ← missing from docs
Impact: AI agents reading AGENTS.md are unaware that GH_TOKEN (set by GitHub CLI) is a valid fallback. They may incorrectly report no token is configured when GH_TOKEN is present. Suggested Fix: Add GH_TOKEN to the Environment Variables list: `GH_TOKEN` - Lowest-priority GitHub auth fallback (set by GitHub CLI) Code Reference:internal/envutil/github.go
Location:AGENTS.md, Environment Variables section Problem: The entry for GITHUB_PERSONAL_ACCESS_TOKEN has no priority annotation, while GITHUB_MCP_SERVER_TOKEN says "Highest-priority" and GITHUB_TOKEN says "Second-priority". Actual Behavior: It is the 3rd-priority token fallback per internal/envutil/github.go. Impact: The token priority chain appears incomplete/inconsistent, potentially confusing AI agents and users about authentication fallback order. Suggested Fix: Update to: `GITHUB_PERSONAL_ACCESS_TOKEN` - Third-priority GitHub auth fallback Code Reference:internal/envutil/github.go
Location:AGENTS.md, JSON stdin config examples section Problem: The JSON example in AGENTS.md only shows type, container, and env fields. Actual Behavior:internal/config/config_stdin.go defines additional supported fields:
Impact: Agents consulting only AGENTS.md don't know these fields exist. (They are documented in docs/CONFIGURATION.md.) Suggested Fix: Add a brief note pointing to docs/CONFIGURATION.md for additional optional fields, or list entrypoint, entrypointArgs, mounts in the quick reference. Code Reference:internal/config/config_stdin.go
4. AGENTS.md — connectTimeout per-server JSON stdin field not mentioned
Location:AGENTS.md, JSON stdin config section Problem: The connectTimeout per-server field (for HTTP backends) is not mentioned. Actual Behavior:internal/config/config_stdin.go defines ConnectTimeout *int \json:"connectTimeout,omitempty"` **Impact:** Minor; only affects HTTP backend configuration. Documented inconfig.example.tomlanddocs/CONFIGURATION.md. **Suggested Fix:** Add brief mention of connectTimeout(HTTP backends) to the quick reference or ensuredocs/CONFIGURATION.mdis referenced for the full field list. **Code Reference:**internal/config/config_stdin.go`
5. CONTRIBUTING.md — make help target not documented
Location:CONTRIBUTING.md, make targets section Problem:make help is not listed among the documented targets. Actual Behavior:Makefile defines a help: target that prints all available commands. Impact: Very minor; users may not discover the built-in help target. Suggested Fix: Add make help to the documented targets list in CONTRIBUTING.md. Code Reference:Makefile
Location:AGENTS.md, Config Examples section Problem: The TOML example in AGENTS.md only shows port, api_key, and a [servers.X] block; it omits keepalive_interval, sequential_launch, and guards_mode. Actual Behavior: These are valid TOML fields per internal/config/config_core.go and are documented in config.example.toml. Impact: Minor; these fields are well-documented elsewhere. Only affects AI agent context. Suggested Fix: Either add a note pointing to config.example.toml for the full TOML reference, or list the most common gateway-level fields. Code Reference:internal/config/config_core.go
Documentation Completeness
Missing Documentation
GH_TOKEN env var entirely absent from AGENTS.md (but is present in docs/ENVIRONMENT_VARIABLES.md)
entrypoint, entrypointArgs, mounts JSON stdin fields not in AGENTS.md quick reference
Accurate Sections ✅
Go version: CONTRIBUTING.md and go.mod both say 1.25.0 ✅
Binary name: awmg — consistent across CONTRIBUTING.md, Makefile, and docs ✅
Summary
Found 6 discrepancies between documentation and implementation during nightly reconciliation check.
Important Issues 🟡
Issues that are misleading but have workarounds:
1.
AGENTS.md—GH_TOKENmissing from Environment Variables listLocation:
AGENTS.md, Environment Variables sectionProblem: Lists
GITHUB_MCP_SERVER_TOKEN,GITHUB_TOKEN, andGITHUB_PERSONAL_ACCESS_TOKENas the token priority chain — but omitsGH_TOKEN.Actual Behavior:
internal/envutil/github.godefines a 4-entry priority list:GITHUB_MCP_SERVER_TOKENGITHUB_TOKENGITHUB_PERSONAL_ACCESS_TOKENGH_TOKEN← missing from docsImpact: AI agents reading
AGENTS.mdare unaware thatGH_TOKEN(set by GitHub CLI) is a valid fallback. They may incorrectly report no token is configured whenGH_TOKENis present.Suggested Fix: Add
GH_TOKENto the Environment Variables list:`GH_TOKEN` - Lowest-priority GitHub auth fallback (set by GitHub CLI)Code Reference:
internal/envutil/github.go2.
AGENTS.md—GITHUB_PERSONAL_ACCESS_TOKENmissing priority annotationLocation:
AGENTS.md, Environment Variables sectionProblem: The entry for
GITHUB_PERSONAL_ACCESS_TOKENhas no priority annotation, whileGITHUB_MCP_SERVER_TOKENsays "Highest-priority" andGITHUB_TOKENsays "Second-priority".Actual Behavior: It is the 3rd-priority token fallback per
internal/envutil/github.go.Impact: The token priority chain appears incomplete/inconsistent, potentially confusing AI agents and users about authentication fallback order.
Suggested Fix: Update to:
`GITHUB_PERSONAL_ACCESS_TOKEN` - Third-priority GitHub auth fallbackCode Reference:
internal/envutil/github.goMinor Issues 🔵
3.
AGENTS.md—entrypoint,entrypointArgs,mountsJSON stdin fields not mentionedLocation:
AGENTS.md, JSON stdin config examples sectionProblem: The JSON example in
AGENTS.mdonly showstype,container, andenvfields.Actual Behavior:
internal/config/config_stdin.godefines additional supported fields:Impact: Agents consulting only
AGENTS.mddon't know these fields exist. (They are documented indocs/CONFIGURATION.md.)Suggested Fix: Add a brief note pointing to
docs/CONFIGURATION.mdfor additional optional fields, or listentrypoint,entrypointArgs,mountsin the quick reference.Code Reference:
internal/config/config_stdin.go4.
AGENTS.md—connectTimeoutper-server JSON stdin field not mentionedLocation:
AGENTS.md, JSON stdin config sectionProblem: The
connectTimeoutper-server field (for HTTP backends) is not mentioned.Actual Behavior:
internal/config/config_stdin.godefinesConnectTimeout *int \json:"connectTimeout,omitempty"`**Impact:** Minor; only affects HTTP backend configuration. Documented inconfig.example.tomlanddocs/CONFIGURATION.md. **Suggested Fix:** Add brief mention ofconnectTimeout(HTTP backends) to the quick reference or ensuredocs/CONFIGURATION.mdis referenced for the full field list. **Code Reference:**internal/config/config_stdin.go`5.
CONTRIBUTING.md—make helptarget not documentedLocation:
CONTRIBUTING.md, make targets sectionProblem:
make helpis not listed among the documented targets.Actual Behavior:
Makefiledefines ahelp:target that prints all available commands.Impact: Very minor; users may not discover the built-in help target.
Suggested Fix: Add
make helpto the documented targets list inCONTRIBUTING.md.Code Reference:
Makefile6.
AGENTS.md—keepalive_interval,sequential_launch,guards_modeTOML fields absent from quick referenceLocation:
AGENTS.md, Config Examples sectionProblem: The TOML example in
AGENTS.mdonly showsport,api_key, and a[servers.X]block; it omitskeepalive_interval,sequential_launch, andguards_mode.Actual Behavior: These are valid TOML fields per
internal/config/config_core.goand are documented inconfig.example.toml.Impact: Minor; these fields are well-documented elsewhere. Only affects AI agent context.
Suggested Fix: Either add a note pointing to
config.example.tomlfor the full TOML reference, or list the most common gateway-level fields.Code Reference:
internal/config/config_core.goDocumentation Completeness
Missing Documentation
GH_TOKENenv var entirely absent fromAGENTS.md(but is present indocs/ENVIRONMENT_VARIABLES.md)entrypoint,entrypointArgs,mountsJSON stdin fields not inAGENTS.mdquick referenceAccurate Sections ✅
CONTRIBUTING.mdandgo.modboth say1.25.0✅awmg— consistent acrossCONTRIBUTING.md,Makefile, and docs ✅GITHUB_MCP_SERVER_TOKEN(Configure as a Go CLI tool #1) andGITHUB_TOKEN(Lpcox/initial implementation #2) token priority — correct ✅make testdocumented as alias formake test-unit— correct ✅make agent-finishedpipeline (format → build → lint → tests) — correct ✅commandfield correctly noted as NOT supported in JSON stdin format ✅maketargets inCONTRIBUTING.mdverified to exist inMakefile✅config.example.tomlfield names matchconfig_core.gostruct tags ✅docs/CONFIGURATION.mdcorrectly documentsentrypoint/entrypointArgs/mounts✅docs/ENVIRONMENT_VARIABLES.mdis comprehensive and accurate (includesGH_TOKEN, allALLOWONLY_*vars, etc.) ✅Tested Commands
All
maketargets fromCONTRIBUTING.mdwere verified againstMakefile:make build— target existsmake test— target exists (alias for test-unit)make test-unit— target existsmake test-integration— target existsmake test-all— target existsmake lint— target existsmake coverage— target existsmake install— target existsmake agent-finished— target existsRecommendations
Immediate Actions:
GH_TOKENentry toAGENTS.mdEnvironment Variables section (4th-priority, GitHub CLI token)GITHUB_PERSONAL_ACCESS_TOKENentry inAGENTS.mdto note it's 3rd-priorityNice to Have:
entrypoint,entrypointArgs,mountsto theAGENTS.mdJSON stdin quick reference (or add a pointer todocs/CONFIGURATION.md)make helptoCONTRIBUTING.mdtarget listkeepalive_interval, etc.) or a pointer toconfig.example.tomlinAGENTS.mdCode References
internal/envutil/github.gointernal/config/config_stdin.gointernal/config/config_core.godocs/ENVIRONMENT_VARIABLES.mddocs/CONFIGURATION.mdWarning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
proxy.golang.orgSee Network Configuration for more information.