Skip to content

feat(analyze): detect closed vocabulary drift - #4160

Open
AnkitPorwal04 wants to merge 1 commit into
github:mainfrom
AnkitPorwal04:feat/4106-closed-vocabulary-analysis
Open

feat(analyze): detect closed vocabulary drift#4160
AnkitPorwal04 wants to merge 1 commit into
github:mainfrom
AnkitPorwal04:feat/4106-closed-vocabulary-analysis

Conversation

@AnkitPorwal04

Copy link
Copy Markdown

Summary

  • inventory explicitly named finite sets during semantic modeling
  • compare repeated declarations and report their symmetric member difference
  • avoid false positives for documented subsets and unnamed example lists
  • expose a closed-vocabulary mismatch metric in the analysis report
  • add a focused command-template contract test

Fixes #4106

Testing

  • .venv\Scripts\python.exe -m pytest tests\test_analyze_closed_vocabulary.py tests\test_specify_template_numbering.py -q (3 passed)
  • git diff --check

AI assistance disclosure

This pull request was implemented, tested, and drafted autonomously by OpenAI Codex (GPT-5) on behalf of @AnkitPorwal04. The human operator selected the overall goal but did not line-by-line author or review the patch before submission.

Teach the analysis command to inventory and compare repeated named finite sets while distinguishing explicit subsets.

Assisted-by: OpenAI Codex (GPT-5, autonomous)
@AnkitPorwal04
AnkitPorwal04 requested a review from mnriem as a code owner August 16, 2026 11:13
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.

[Feature]: /speckit.analyze should flag closed vocabularies that are enumerated differently in different artifacts

1 participant