Remove ward lint deprecation alias after downstream migration #41

Closed
opened 2026-06-03 22:48:54 +00:00 by coilysiren · 0 comments
Owner

Scope

Remove the ward lint deprecation alias added in #40. The alias was kept for one minor release so the cross-repo pre-commit suite from coilyco-flight-deck/agentic-os could migrate.

What

  • Delete lintCommand() from cmd/ward/main.go registration and cmd/ward/lint.go's command shell. Keep runAllowlistCheck, loadYamlVerbs, loadMakefileTargets, and supporting helpers — they're the engine ward doctor allowlist calls.
  • Delete docs/lint.md (or shrink to a 404 pointer at docs/doctor.md).

Prereqs

  • Confirm the agentic-os pre-commit suite (agentic-os-pre-commit hook entries that call ward lint) has migrated to ward doctor allowlist. Grep coilyco-flight-deck/agentic-os for ward lint.
  • Confirm no downstream .ward/-managed repo still calls ward lint in CI. List the repos from the agentic-os pre-commit catalog and check.

Acceptance

  • ward lint exits non-zero with "unknown command".
  • ward doctor allowlist unchanged.
  • No regressions in agentic-os-pre-commit runs across the consumer set.
## Scope Remove the `ward lint` deprecation alias added in #40. The alias was kept for one minor release so the cross-repo pre-commit suite from `coilyco-flight-deck/agentic-os` could migrate. ## What - Delete `lintCommand()` from `cmd/ward/main.go` registration and `cmd/ward/lint.go`'s command shell. Keep `runAllowlistCheck`, `loadYamlVerbs`, `loadMakefileTargets`, and supporting helpers — they're the engine `ward doctor allowlist` calls. - Delete `docs/lint.md` (or shrink to a 404 pointer at `docs/doctor.md`). ## Prereqs - Confirm the agentic-os pre-commit suite (`agentic-os-pre-commit` hook entries that call `ward lint`) has migrated to `ward doctor allowlist`. Grep `coilyco-flight-deck/agentic-os` for `ward lint`. - Confirm no downstream `.ward/`-managed repo still calls `ward lint` in CI. List the repos from the agentic-os pre-commit catalog and check. ## Acceptance - `ward lint` exits non-zero with "unknown command". - `ward doctor allowlist` unchanged. - No regressions in `agentic-os-pre-commit` runs across the consumer set.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/ward#41
No description provided.