Skip to content

T3: ignore/unignore marking flags become deprecated policy aliases#323

Merged
philcunliffe merged 1 commit into
integration/hyp-policy-verbfrom
task/hyp-policy-verb/T3
Jul 17, 2026
Merged

T3: ignore/unignore marking flags become deprecated policy aliases#323
philcunliffe merged 1 commit into
integration/hyp-policy-verbfrom
task/hyp-policy-verb/T3

Conversation

@philcunliffe

Copy link
Copy Markdown
Contributor

Implements task T3 of hyp-policy-verb.

Makes the compatibility posture explicit on the flag branches that already delegate (post-T1) to the same hoisted internals the T2 policy runners call:

  • // @ref LLP 0111#aliases [implements] on the delegation seam in runIgnore/runUnignore, noting repo-root defaulting is preserved at the alias edge.
  • "deprecated: use hyp policy ..." wording in the hyp ignore/hyp unignore registry help; bare dotfile verbs stay non-deprecated. No runtime stderr warning.

Zero behavior change: every existing alias test passes unchanged (LLP 0110 exit criteria). npm test (2284), typecheck, and build:types all green.

Task-Id: T3

The --sync/--local-only/--private/--check branches in runIgnore/runUnignore
already delegate to the T1 hoisted internals (runMarkMachineLocal,
runUnmarkMachineLocal, runIgnoreCheck) that the T2 policy runners call, so
the delegation seam is single-implementation by construction and alias
behavior cannot drift from the verb's. This task makes the compatibility
posture explicit:

- Annotate the delegation seam in both runners with
  // @ref LLP 0111#aliases [implements], noting the flag forms' repo-root
  defaulting is preserved at the alias edge (and unignore's cwd-relative
  no-default target likewise).
- Mark the --local-only/--private/--sync/--check flags "deprecated: use
  hyp policy ..." in the hyp ignore / hyp unignore registry help, while
  stating the bare dotfile verbs are not deprecated. No runtime stderr
  warning (LLP 0111 #aliases).

Zero behavior change: every existing alias test passes unchanged (stdout,
stderr, exit codes, JSON fields, usage_policy.mark log event), the
compatibility proof LLP 0110's exit criteria require. npm test (2284),
typecheck, and build:types all green.

@ref LLP 0111#aliases [implements]

Task-Id: T3
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@philcunliffe
philcunliffe merged commit 83a1870 into integration/hyp-policy-verb Jul 17, 2026
4 checks passed
@philcunliffe
philcunliffe deleted the task/hyp-policy-verb/T3 branch July 17, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant