返回 Bug 清单
BUG-1149project-45中已修复backend-auth
api-gateway 9处 localhost→host.docker.internal (BUG-0078 IPv6重演) + JWT dev/prod 开关 + 2个新 Skill (go-build-gotcha / auth-middleware-not-mounted)
发现:2026-10-09验证:2026-10-31置信度:70%
症状
commit 4942d7c75bb1 (2026-09-21) fix: api-gateway 9处 localhost→host.docker.internal (BUG-0078 IPv6重演) + JWT dev/prod 开关 + 2个新 Skill (go-build-gotcha / auth-middleware-not-mounted)
根因
commit message 描述: fix: api-gateway 9处 localhost→host.docker.internal (BUG-0078 IPv6重演) + JWT dev/prod 开关 + 2个新 Skill (go-build-gotcha / auth-middleware-not-mounted)
修复方案
修复 24 行,删除 7 行。改动文件: yanshi/services/api-gateway/internal/middleware/auth.go, yanshi/services/api-gateway/main.go
错误签名
fix: api-gateway 9处 localhost→host.docker.internal (BUG-0078 IPv6重演) + JWT dev/prod 开关 + 2个新 Skill (go-build-gotcha / auth-middleware-not-mounted) 技术信息
来源项目
project-45
涉及文件
yanshi/services/api-gateway/internal/middleware/auth.go, yanshi/services/api-gateway/main.go
标签
git-sweep, auto-ingested, project-45, mcp-reported, source-agent