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
{{ message }}
Repository navigation
[deep-report] Add explicit converter between HostedWebPolicy and AWFHostedWebPolicy #63436
Description: pkg/workflow/engine.go:209 (HostedWebPolicy, frontmatter-facing) and pkg/workflow/awf_config.go:225 (AWFHostedWebPolicy, AWF-runtime-facing) share the same 4 conceptual fields (Enabled, Allowed/AllowedDomains, Blocked/BlockedDomains, MaxUses) under different naming conventions, referenced 78 times across 12 files. No explicit converter function currently exists between them, unlike the codebase's established Definition -> Runtime pattern (e.g. EngineCapabilitiesDefinition.ToRuntimeCapabilities()).
Expected Impact: Prevents silent field-add drift in the recently-shipped hosted-web-policy feature (PR #63212) — a future field added to one struct could silently fail to propagate to the other with no compiler error.
Suggested Agent: New Agent (Go refactoring)
Estimated Effort: Quick (~1h)
Data Source: DeepReport analysis of Typist Go Type Consistency Analysis discussion #63418 (2026-09-25), Cluster 3. Dedup-checked via search — no matching open issue found.
Generated by 🔬 Deep Report · claude · agent · 140 AIC · ⌖ 9.64 AIC · ⊞ 13K · ◷
Activity
github-actions commentedon Sep 27, 2026
This issue was automatically closed because it expired on 2026-09-27T12:44:40.248Z.