Skip to content

fix(specs): update three stale Known gaps in meta-and-quality-tooling.md - #1074

Merged
potiuk merged 1 commit into
apache:mainfrom
zheflow:fix-938-stale-known-gaps
Aug 12, 2026
Merged

fix(specs): update three stale Known gaps in meta-and-quality-tooling.md#1074
potiuk merged 1 commit into
apache:mainfrom
zheflow:fix-938-stale-known-gaps

Conversation

@zheflow

@zheflow zheflow commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Three Known gaps bullets in tools/spec-loop/specs/meta-and-quality-tooling.md described validator checks as missing or pending when all three have shipped. Each bullet is rewritten to name the check that closed it and its enforcement level, so the spec-loop plan beat stops steering at finished work:

  • capability taxonomy drift → validate_capability_taxonomy_coverage (SOFT advisories; (reserved) / (future) rows exempt; also cross-checks the SKILL_CAPABILITIES / TOOL_CAPABILITIES constants)
  • docs/modes.md sync → validate_modes_doc_consistency (four SOFT checks: missing skill, mode mismatch, count mismatch, unlisted skill)
  • tool README prerequisites → the HARD tool-prerequisites-fields check (bold sub-field labels or the pure-contract delegation shorthand), so the normalize-then-tighten ordering the old bullet tracked is done

Type of change

  • Other: spec documentation (tools/spec-loop/specs/)

Test plan

  • uv run --project tools/spec-validator spec-validate tools/spec-loop/specs/ — OK, no violations
  • prek run --all-files — all 23 hooks pass
  • Each rewritten bullet checked against the validator source (validate_capability_taxonomy_coverage at __init__.py L2283, validate_modes_doc_consistency at L2821, tool-prerequisites-fields in HARD_CATEGORIES), per the issue's "verify by finding the call site" note

RFC-AI-0004 compliance

No runtime behaviour or state-changing workflow is changed — spec prose only.

Linked issues

Closes #938

Generative AI disclosure

Prepared with Claude Code (Fable 5). The commit carries a Generated-by: trailer and no AI Co-Authored-By: trailer.

Why: three Known gaps bullets described validator checks as missing or
pending when all three have shipped (validate_capability_taxonomy_coverage,
validate_modes_doc_consistency, and the HARD tool-prerequisites-fields
check). The spec-loop plan beat reads Known gaps to choose the next work
item, so stale gaps send the loop at finished work. Each rewritten bullet
now names the check that closed it and its enforcement level.

Closes apache#938

Generated-by: Claude Code (Fable 5)

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Every claim checks out against the validator source, including the
severity levels — which is the part most likely to be wrong in a change like
this, and isn't.

  • validate_capability_taxonomy_coverage exists and yields
    CAPABILITY_TAXONOMY_CATEGORY, which is in SOFT_CATEGORIES. ✓ SOFT
  • validate_modes_doc_consistency yields MODES_DOC_CATEGORY, also in
    SOFT_CATEGORIES. ✓ SOFT
  • tool-prerequisites-fields is TOOL_PREREQUISITES_FIELDS_CATEGORY, which is
    in HARD_CATEGORIES. ✓ HARD

The "four SOFT checks" breakdown for docs/modes.md is also exact — the
docstring enumerates missing skill, mode mismatch, count mismatch, and unlisted
skill, in that order, matching the bullet.

Naming the closing check and its enforcement level (rather than just deleting
the bullet) is the right shape for these: a reader now knows what to grep for
if the gap ever reopens.


This review was drafted by an AI-assisted tool and
confirmed by an Apache Magpie maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.

More on how Apache Magpie handles maintainer review:
CONTRIBUTING.md § Opening a pull request.

@potiuk
potiuk merged commit 1cdfabd into apache:main Aug 12, 2026
9 checks passed
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.

Update three stale Known gaps in meta-and-quality-tooling.md

2 participants