Skip to content

fix(workflows): use canonical doctor package in managed CI #214

Description

@artiphishle

Goal

Update the Devtools-managed CI workflow so repository validation uses the current canonical Doctor entrypoint instead of the obsolete ankh doctor validate . command path.

Discovered while bootstrapping ankhorage/game for ankhorage/palabichos#29.

Evidence

The current managed workflow source still renders:

bunx @ankhorage/ankh doctor validate .

Current @ankhorage/ankh returns:

Unknown Ankh command: doctor validate .
Try:
  ankh --help

Meanwhile ankhorage/ankh's own current CI already validates through the dedicated package:

BUN_INSTALL_CACHE_DIR="${RUNNER_TEMP}/doctor-cache" bunx @ankhorage/doctor@0.10.14 validate .

So newly synced repositories can receive a CI command that no longer works with the current CLI routing.

Required skills

Before implementation:

  • read AGENTS.md;
  • inspect .agents/skills/;
  • load .agents/skills/ankhorage-coding-rules/SKILL.md;
  • load .agents/skills/ankhorage-project-structure/SKILL.md when managed workflow ownership/structure is affected;
  • load any repository-local workflow/release skill that applies.

Scope

  • Update the canonical managed CI workflow source to call the supported @ankhorage/doctor entrypoint.
  • Source the Doctor version from the canonical Devtools/Ankh policy rather than scattering an unrelated literal where an owned constant already exists or should exist.
  • Update workflow rendering/tests that currently assert bunx @ankhorage/ankh doctor validate ..
  • Update generated/managed documentation sources that describe the obsolete command.
  • Ensure repository sync distributes the corrected workflow.
  • Do not add compatibility routing back into ankh solely to preserve the obsolete CI command.

Acceptance criteria

  • Freshly synced CI validates a canonical Ankhorage repository successfully using the supported Doctor package.
  • Workflow tests assert the new canonical command.
  • Existing managed CI behavior (build/lint/format/Knip/tests/typecheck/changeset status) remains unchanged.
  • Build, check-types, lint, Knip, changeset and format pass.

Delivery

Use a conventional commit/PR title, assign the PR to artiphishle, link it to this issue, and close the issue after merge/release.

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