Skip to content

Point the audit.py Non-Markdown Section Comment at Guidance That Exists #2868

Closed

Description

@ptr727

Observed

A comment in spec/audit.py, in audit_repo() just above the Markdown heading-presence check, says that a "section" named on a non-Markdown file, a tasks.json task group being one, "is an intent marker judged per AUDIT.md rather than a heading grep".

AUDIT.md gives no such guidance. On develop at 22bf57c, it never mentions a task group, tasks.json, or a section named on a file that is not Markdown. Section 7, which the neighbouring findings cite, states the verdict model only. The only place that says how a .vscode/tasks.json task group is brought in line is RESYNC.md step 6, which #2858 added.

The lane that landed #2858 raised this and declined it as out of scope.

Expected vs. actual

  • Expected: the comment points at the text that actually says how such a section is judged, or AUDIT.md states it.
  • Actual: a reader following the comment finds nothing in AUDIT.md.

What done looks like

Either the comment names RESYNC.md step 6 (and spec/section-model.md if that is the better home), or AUDIT.md section 4 gains one sentence saying how a section named on a non-Markdown file is judged.

Activity

  1. added a commit that references this issue on Oct 12, 2026
    1b6a74a
  2. added a commit that references this issue on Oct 12, 2026
    0c93369
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions