Skip to content

feat(zora-designer): migrate screenshot analysis to its owning package #260

Description

@artiphishle

Problem

@ankhorage/utility/image was intentionally removed by ankhorage/utility#75 because screenshot analysis does not belong in Utility. Devtools still ships the managed zora-designer screenshot analyzer against Utility 0.5.x, so Renovate updates such as #242 cannot move the direct Utility dependency beyond 0.5.x without breaking that capability.

Goal

Move the managed ZORA Designer screenshot-analysis path to the future dedicated owning package once that package and its public API exist. Until then, Devtools must keep its direct @ankhorage/utility dependency below 0.6 rather than recreating the removed Utility API or adding a compatibility shim.

Scope

  • identify/use the dedicated owner package for screenshot/image analysis;
  • migrate src/tools/skills/assets/zora-designer/scripts/analyze-screen.ts to that released public API;
  • update the screen-analysis reference and ZORA Designer routing text;
  • move/remove Devtools-local image-engine dependencies according to the new owner contract;
  • update deterministic integration tests and managed-skill synchronization coverage;
  • remove the temporary Renovate @ankhorage/utility <0.6.0 constraint only after the migration is released;
  • then allow the current Utility release through normal Renovate flow.

Do not restore @ankhorage/utility/image, copy its old implementation into Devtools, or add a compatibility facade.

Related

Required skills

Before implementation read AGENTS.md, inspect .agents/skills, and load:

  • ankhorage-project-structure
  • ankhorage-coding-rules
  • hexagonal-architecture

Load the current ZORA Designer/skill-authoring guidance too if present in the repository profile.

Acceptance

  • screenshot analysis no longer imports/resolves @ankhorage/utility/image;
  • the new owner package is the sole implementation authority;
  • no compatibility shim or duplicate image pipeline exists;
  • Devtools can upgrade to the current Utility release;
  • build, typecheck, lint, Knip, tests, format, docs and changeset validation pass;
  • PR is assigned to artiphishle, links this issue, and closes it when complete.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions