Skip to content

fix: suppress stale-counts for cursor-plugin type to unblock D-1#16

Merged
TMHSDigital merged 1 commit intomainfrom
fix/suppress-stale-counts-cursor-plugin
Apr 25, 2026
Merged

fix: suppress stale-counts for cursor-plugin type to unblock D-1#16
TMHSDigital merged 1 commit intomainfrom
fix/suppress-stale-counts-cursor-plugin

Conversation

@TMHSDigital
Copy link
Copy Markdown
Owner

Summary

Adds stale-counts to types.cursor-plugin.skip_checks in standards/drift-checker.config.json, matching the existing mcp-server type pattern. Type-level suppression only; globals.skip_checks is untouched so the meta-repo's own surface keeps the check.

Why now

D-1 canary on CFX surfaced 2 pre-existing stale-counts warnings in AGENTS.md (9 SKILL.md files, 6 tools). Per the rc=1 propagation fix in v1.7.4, warnings now fail CI — so the new tool-repo drift-check job would go red on day one across all 8 plugin repos because each carries similar narrative aggregates. This was always the policy tension captured in #12.

Interim decision: aggregate truth claims belong in CFX/Unity-style validate-counts checks against README.md. Agent files (AGENTS.md, CLAUDE.md) carry the same numbers as descriptive prose, not as truth-bearing data — stale-counts is too noisy to enforce on them today.

Verification

$ python scripts/drift_check/cli.py --local E:\CFX-Developer-Tools
## CFX-Developer-Tools (0 errors, 0 warnings)
Clean.

$ python scripts/drift_check/cli.py --local E:\Steam-Cursor-Plugin
Summary: 41 errors, 0 warnings, 0 infos across 1 repos.

CFX (with bumped signals in working tree) is clean. Steam shows only the expected version-signal errors that D-1 will resolve; no stale-counts warnings remain.

Full test suite: 160 passed, 1 skipped (integration test, gated).

Test plan

  • Local smoke against CFX (clean) and Steam (only version-signal)
  • pytest tests/ passes
  • Post-merge: workflow_dispatch the meta-repo's drift-check.yml against all repos; the previous 62 stale-counts warnings should drop to 0

VERSION

1.7.41.7.5 (PATCH; policy refinement, no behavior change for any other check or any tool repo).

Follow-up

After merge, force-update the v1.7 floating tag to v1.7.5 so tool-repo composite-action consumers pick up the new config.

Related

The cursor-plugin tool repos use narrative aggregate descriptions in
AGENTS.md and CLAUDE.md (e.g., "the skills/ directory contains 9
SKILL.md files"). These are intentional documentation, not stale
data. The stale-counts check flags them as warnings, which now
fails CI per the rc=1 propagation fix shipped in v1.7.4.

Suppresses stale-counts at the cursor-plugin type level to match
the existing mcp-server pattern (which already skips this check).
This is a type-level suppression, not global; the meta-repo and
any future repo types retain stale-counts.

Interim decision; the underlying policy question (can stale-counts
be made smarter to distinguish narrative from truth-bearing
aggregates?) is tracked in #12 and remains open.

Required to proceed with Phase 2 Session D D-1 rollout.

See #1 Phase 2 Session D.

Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com
Made-with: Cursor
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant