Skip to content

[FEAT-LOOP-2026-0251 follow-up] Definition of done clause 5 (arm-time warning) #3617

Backlog

Description

@clabonte

Definition of done clause 5 (arm-time warning)

The clause says lint warns when a produces: path appears nowhere in the unit body, by full path or file name. The code also stays silent when the body names only the parent directory.

I tested a pending unit with produces: specfuse/loop/loop.py. Its body mentioned only specfuse/loop/data/docs, so it had neither the full path nor loop.py. No WARN was printed. A body naming none of these did warn.

test_parent_directory_mention_is_silent asserts this silent behaviour. T04's text allowed narrowing the match, but clause 5 was never amended. Clause 6 and the precedence rule were amended explicitly, and no deliverable is recorded as dropped by amendment.

  • command: PYTHONPATH=. python3 $TMPDIR/p5.py (calls lint_plan.check_produces_mentioned on temporary units; the "dir-only" case printed nothing)
  • exit: 0

Activity

  1. added
    specfuse:follow-up
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    specfuse:follow-up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions