Skip to content

[deep-report] Embed AgentMetadataInfo in LockMetadata instead of duplicating 7 fields #54229

Description

@github-actions

Description

AgentMetadataInfo (pkg/workflow/lock_schema.go:52) declares 7 fields (AgentID, AgentModel, DetectionAgentID, DetectionAgentModel, EngineBaseURLCustomized, EngineVersions, AgentImageRunner) that are a verbatim subset of LockMetadata's fields (:35), in the same file, yet the two are maintained as independent struct declarations rather than one embedding the other.

Expected Impact

Removes a 7-field duplicate declaration in the same file and guarantees the two shapes can't silently diverge as lock-metadata fields are added in the future.

Suggested Agent

Existing Go engineering / code-quality refactor agent.

Estimated Effort

Fast (< 1 hour) — embed AgentMetadataInfo inside LockMetadata (or replace both with one shared type), update the small number of construction sites in the same file.

Data Source

DeepReport analysis, 2026-08-20 ~12:30Z cycle, sourced from discussion #54213 (Typist - Go Type Consistency Analysis), Cluster 7. No existing open or closed issue found covering this specific pair.

Generated by 🔬 Deep Report · agent · 153.5 AIC · ⌖ 12.9 AIC · ⊞ 11.9K ·

  • expires on Aug 22, 2026, 4:31 AM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions