Skip to content

Dissolve src/utils opportunistically into domain-owned modules #1187

Description

@devin-ai-integration

Goal

Shrink src/utils as an ownership sink through opportunistic, domain-owned moves rather than a
repository-wide rename.

Target homes

  • process execution / host-process lifecycle;
  • selector syntax and evaluation;
  • image and screenshot primitives;
  • output and response presentation;
  • CLI schema support.

Working rule

When a utility is already being changed for a feature, back-edge removal, or hotspot split:

  1. identify its true domain owner and callers;
  2. move the coherent concept with its mirrored tests;
  3. avoid compatibility barrels unless they are public package boundaries;
  4. tighten layering after the move;
  5. record the removed utils dependency here.

This issue is a checklist/coordination surface, not authorization for a mass move-only PR.

Completion criteria

  • Command-aware CLI projection no longer lives in utils.
  • Selector/image/output/process clusters have explicit domain owners.
  • Zone bidirectionality involving utils is materially reduced.
  • No new generic replacement directory is introduced.

Origin: post-#1174 architecture follow-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions