reqstool 0.12.2__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/build-docs.yml +1 -1
  2. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/build.yml +4 -4
  3. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/check-semantic-pr.yml +1 -1
  4. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/lint.yml +4 -4
  5. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/publish-image.yml +3 -3
  6. {reqstool-0.12.2 → reqstool-1.0.0}/.github/workflows/release.yml +6 -6
  7. {reqstool-0.12.2 → reqstool-1.0.0}/PKG-INFO +5 -5
  8. {reqstool-0.12.2 → reqstool-1.0.0}/pyproject.toml +4 -4
  9. {reqstool-0.12.2 → reqstool-1.0.0}/reqstool_config.yml +1 -1
  10. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/mcp/server.py +18 -9
  11. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_integration.py +26 -0
  12. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/mcp/test_server_freshness.py +5 -3
  13. {reqstool-0.12.2 → reqstool-1.0.0}/.claude/settings.json +0 -0
  14. {reqstool-0.12.2 → reqstool-1.0.0}/.gitignore +0 -0
  15. {reqstool-0.12.2 → reqstool-1.0.0}/.reqstool-ai.yaml +0 -0
  16. {reqstool-0.12.2 → reqstool-1.0.0}/CLAUDE.md +0 -0
  17. {reqstool-0.12.2 → reqstool-1.0.0}/CONTRIBUTING.md +0 -0
  18. {reqstool-0.12.2 → reqstool-1.0.0}/Dockerfile +0 -0
  19. {reqstool-0.12.2 → reqstool-1.0.0}/LICENSE +0 -0
  20. {reqstool-0.12.2 → reqstool-1.0.0}/PLAN.md +0 -0
  21. {reqstool-0.12.2 → reqstool-1.0.0}/README.md +0 -0
  22. {reqstool-0.12.2 → reqstool-1.0.0}/TEST_MATRIX.md +0 -0
  23. {reqstool-0.12.2 → reqstool-1.0.0}/docs/DESIGN.md +0 -0
  24. {reqstool-0.12.2 → reqstool-1.0.0}/docs/antora-playbook.yml +0 -0
  25. {reqstool-0.12.2 → reqstool-1.0.0}/docs/antora.yml +0 -0
  26. {reqstool-0.12.2 → reqstool-1.0.0}/docs/lsp-server-plan.md +0 -0
  27. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json +0 -0
  28. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/nav.adoc +0 -0
  29. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/how_it_works.adoc +0 -0
  30. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/index.adoc +0 -0
  31. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/installation.adoc +0 -0
  32. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/lsp.adoc +0 -0
  33. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/mcp.adoc +0 -0
  34. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/ROOT/pages/usage.adoc +0 -0
  35. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/manual_verification_results.yml +0 -0
  36. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/reqstool_config.yml +0 -0
  37. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_external.yml +0 -0
  38. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_microservice.yml +0 -0
  39. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/requirements_system.yml +0 -0
  40. {reqstool-0.12.2 → reqstool-1.0.0}/docs/modules/examples/partials/requirements/software_verification_cases.yml +0 -0
  41. {reqstool-0.12.2 → reqstool-1.0.0}/docs/reqstool/reqstool_config.yml +0 -0
  42. {reqstool-0.12.2 → reqstool-1.0.0}/docs/reqstool/requirements.yml +0 -0
  43. {reqstool-0.12.2 → reqstool-1.0.0}/docs/reqstool/software_verification_cases.yml +0 -0
  44. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/.openspec.yaml +0 -0
  45. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/design.md +0 -0
  46. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/proposal.md +0 -0
  47. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/specs/mcp/spec.md +0 -0
  48. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/consolidate-requirement-verdict/tasks.md +0 -0
  49. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/.openspec.yaml +0 -0
  50. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/design.md +0 -0
  51. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/proposal.md +0 -0
  52. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/specs/mcp/spec.md +0 -0
  53. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/changes/mcp-snapshot-freshness/tasks.md +0 -0
  54. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/config.yaml +0 -0
  55. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/openspecui.hooks.ts +0 -0
  56. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/data-sources/spec.md +0 -0
  57. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/enrich/spec.md +0 -0
  58. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/export/spec.md +0 -0
  59. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/imports-and-filtering/spec.md +0 -0
  60. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/ingestion/spec.md +0 -0
  61. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/lifecycle/spec.md +0 -0
  62. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/lsp/spec.md +0 -0
  63. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/mcp/spec.md +0 -0
  64. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/parse-validation/spec.md +0 -0
  65. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/report/spec.md +0 -0
  66. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/status/spec.md +0 -0
  67. {reqstool-0.12.2 → reqstool-1.0.0}/openspec/specs/validate/spec.md +0 -0
  68. {reqstool-0.12.2 → reqstool-1.0.0}/renovate.json5 +0 -0
  69. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/__init__.py +0 -0
  70. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/command.py +0 -0
  71. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/enrich/__init__.py +0 -0
  72. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/enrich/enrich.py +0 -0
  73. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/exit_codes.py +0 -0
  74. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/generate_json/generate_json.py +0 -0
  75. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/criterias/group_by.py +0 -0
  76. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/criterias/sort_by.py +0 -0
  77. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/report.py +0 -0
  78. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/annotation_impls.j2 +0 -0
  79. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/annotation_tests.j2 +0 -0
  80. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/mvrs.j2 +0 -0
  81. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/report.j2 +0 -0
  82. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/req_references.j2 +0 -0
  83. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/requirements.j2 +0 -0
  84. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/svcs.j2 +0 -0
  85. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/asciidoc/total_statistics.j2 +0 -0
  86. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/annotation_impls.j2 +0 -0
  87. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/annotation_tests.j2 +0 -0
  88. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/mvrs.j2 +0 -0
  89. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/req_references.j2 +0 -0
  90. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/requirements.j2 +0 -0
  91. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/svcs.j2 +0 -0
  92. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/report/templates/markdown/total_statistics.j2 +0 -0
  93. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/status/status.py +0 -0
  94. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/validate/__init__.py +0 -0
  95. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/commands/validate/validate.py +0 -0
  96. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/enrichment/__init__.py +0 -0
  97. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/enrichment/enricher.py +0 -0
  98. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/exceptions.py +0 -0
  99. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/filter_parser.py +0 -0
  100. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/jinja2.py +0 -0
  101. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/models/lifecycle.py +0 -0
  102. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/models/urn_id.py +0 -0
  103. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/project_session.py +0 -0
  104. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/queries/__init__.py +0 -0
  105. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/queries/details.py +0 -0
  106. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/queries/list.py +0 -0
  107. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/reqstool_ai_config.py +0 -0
  108. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/snapshot_fingerprint.py +0 -0
  109. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/utils.py +0 -0
  110. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/validator_error_holder.py +0 -0
  111. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/validators/lifecycle_validator.py +0 -0
  112. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/validators/semantic_validator.py +0 -0
  113. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/common/validators/syntax_validator.py +0 -0
  114. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/expression_languages/generic_el_transformer.py +0 -0
  115. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/filters/id_filters.py +0 -0
  116. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/filters/requirements_filters.py +0 -0
  117. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/filters/svcs_filters.py +0 -0
  118. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/location_resolver/location_resolver.py +0 -0
  119. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/git_location.py +0 -0
  120. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/local_location.py +0 -0
  121. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/local_maven_location.py +0 -0
  122. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/local_npm_location.py +0 -0
  123. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/local_pypi_location.py +0 -0
  124. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/location.py +0 -0
  125. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/maven_location.py +0 -0
  126. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/npm_location.py +0 -0
  127. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/locations/pypi_location.py +0 -0
  128. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/__init__.py +0 -0
  129. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/annotation_parser.py +0 -0
  130. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/__init__.py +0 -0
  131. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/code_actions.py +0 -0
  132. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/codelens.py +0 -0
  133. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/completion.py +0 -0
  134. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/definition.py +0 -0
  135. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/details.py +0 -0
  136. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/diagnostics.py +0 -0
  137. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/document_symbols.py +0 -0
  138. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/hover.py +0 -0
  139. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/implementation.py +0 -0
  140. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/inlay_hints.py +0 -0
  141. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/list.py +0 -0
  142. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/references.py +0 -0
  143. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/semantic_tokens.py +0 -0
  144. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/features/workspace_symbols.py +0 -0
  145. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/project_state.py +0 -0
  146. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/root_discovery.py +0 -0
  147. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/server.py +0 -0
  148. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/workspace_manager.py +0 -0
  149. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/lsp/yaml_schema.py +0 -0
  150. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/mcp/__init__.py +0 -0
  151. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/annotations_model_generator.py +0 -0
  152. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/combined_raw_datasets_generator.py +0 -0
  153. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/mvrs_model_generator.py +0 -0
  154. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/parsing_config.py +0 -0
  155. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/requirements_model_generator.py +0 -0
  156. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/svcs_model_generator.py +0 -0
  157. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/model_generators/testdata_model_generator.py +0 -0
  158. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/annotations.py +0 -0
  159. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/__init__.py +0 -0
  160. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/annotations_schema.py +0 -0
  161. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/common_schema.py +0 -0
  162. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/manual_verification_results_schema.py +0 -0
  163. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/reqstool_config_schema.py +0 -0
  164. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/requirements_schema.py +0 -0
  165. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/generated/software_verification_cases_schema.py +0 -0
  166. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/implementations.py +0 -0
  167. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/imports.py +0 -0
  168. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/mvrs.py +0 -0
  169. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/raw_datasets.py +0 -0
  170. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/requirements.py +0 -0
  171. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/svcs.py +0 -0
  172. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/models/test_data.py +0 -0
  173. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/reqstool_config/reqstool_config.py +0 -0
  174. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/requirements_indata/requirements_indata.py +0 -0
  175. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/requirements_indata/requirements_indata_paths.py +0 -0
  176. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/annotations.schema.json +0 -0
  177. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/common.schema.json +0 -0
  178. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/export_output.schema.json +0 -0
  179. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/manual_verification_results.schema.json +0 -0
  180. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/reqstool_config.schema.json +0 -0
  181. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/requirements.schema.json +0 -0
  182. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/software_verification_cases.schema.json +0 -0
  183. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/resources/schemas/v1/status_output.schema.json +0 -0
  184. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/services/__init__.py +0 -0
  185. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/services/export_service.py +0 -0
  186. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/services/statistics_service.py +0 -0
  187. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/__init__.py +0 -0
  188. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/authorizer.py +0 -0
  189. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/database.py +0 -0
  190. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/database_filter_processor.py +0 -0
  191. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/el_to_sql_compiler.py +0 -0
  192. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/pipeline.py +0 -0
  193. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/populator.py +0 -0
  194. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/requirements_repository.py +0 -0
  195. {reqstool-0.12.2 → reqstool-1.0.0}/src/reqstool/storage/schema.py +0 -0
  196. {reqstool-0.12.2 → reqstool-1.0.0}/tests/e2e/__init__.py +0 -0
  197. {reqstool-0.12.2 → reqstool-1.0.0}/tests/e2e/test_generate_command.py +0 -0
  198. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/.reqstoolignore +0 -0
  199. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/README.md +0 -0
  200. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/annotations.yml +0 -0
  201. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/manual_verification_results.yml +0 -0
  202. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/reqstool_config.yml +0 -0
  203. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/requirements.yml +0 -0
  204. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/software_verification_cases.yml +0 -0
  205. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/src/requirements_example.py +0 -0
  206. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/src/test_svcs.py +0 -0
  207. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/test_results/failsafe/TEST-py_demo.test_svcs_it.xml +0 -0
  208. {reqstool-0.12.2 → reqstool-1.0.0}/tests/fixtures/reqstool-regression-python/test_results/surefire/TEST-py_demo.test_svcs.xml +0 -0
  209. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/lsp/__init__.py +0 -0
  210. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/lsp/conftest.py +0 -0
  211. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/lsp/test_lsp_integration.py +0 -0
  212. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/mcp/conftest.py +0 -0
  213. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_autodetect.py +0 -0
  214. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/mcp/test_mcp_reload_integration.py +0 -0
  215. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/_regression_shared.py +0 -0
  216. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/conftest.py +0 -0
  217. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_included_models_generator.py +0 -0
  218. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_regression_monorepo.py +0 -0
  219. {reqstool-0.12.2 → reqstool-1.0.0}/tests/integration/reqstool/model_generators/test_regression_structure.py +0 -0
  220. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/inline_code_spans/expected.md +0 -0
  221. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/inline_code_spans/input.md +0 -0
  222. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/inline_title_only/expected.md +0 -0
  223. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/inline_title_only/input.md +0 -0
  224. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/mvr/expected.md +0 -0
  225. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/mvr/input.md +0 -0
  226. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/no_ids/expected.md +0 -0
  227. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/no_ids/input.md +0 -0
  228. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_all_fields/expected.md +0 -0
  229. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_all_fields/input.md +0 -0
  230. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_multiline_description/expected.md +0 -0
  231. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_multiline_description/input.md +0 -0
  232. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_no_description/expected.md +0 -0
  233. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/enrich/spec_no_description/input.md +0 -0
  234. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/.reqstoolignore +0 -0
  235. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/annotations.yml +0 -0
  236. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/manual_verification_results.yml +0 -0
  237. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/reqstool_config.yml +0 -0
  238. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/requirements.yml +0 -0
  239. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/software_verification_cases.yml +0 -0
  240. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  241. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  242. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/annotations.yml +0 -0
  243. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/manual_verification_results.yml +0 -0
  244. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/reqstool_config.yml +0 -0
  245. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/requirements.yml +0 -0
  246. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/software_verification_cases.yml +0 -0
  247. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  248. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  249. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/lifecycle/validation_error/requirements.yml +0 -0
  250. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/annotations.yml +0 -0
  251. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/manual_verification_results.yml +0 -0
  252. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/reqstool_config.yml +0 -0
  253. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/requirements.yml +0 -0
  254. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/software_verification_cases.yml +0 -0
  255. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  256. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  257. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/annotations.yml +0 -0
  258. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/manual_verification_results.yml +0 -0
  259. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/reqstool_config.yml +0 -0
  260. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/requirements.yml +0 -0
  261. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/software_verification_cases.yml +0 -0
  262. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  263. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  264. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/README.md +0 -0
  265. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/ms-101/reqstool_config.yml +0 -0
  266. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_impl/lib-a/requirements.yml +0 -0
  267. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_impl/lib-b/requirements.yml +0 -0
  268. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_import/node-a/requirements.yml +0 -0
  269. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_circular_import/node-b/requirements.yml +0 -0
  270. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/manual_verification_results.yml +0 -0
  271. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/requirements.yml +0 -0
  272. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/software_verification_cases.yml +0 -0
  273. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/requirements.yml +0 -0
  274. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/software_verification_cases.yml +0 -0
  275. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/annotations.yml +0 -0
  276. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/errors.adoc +0 -0
  277. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/manual_verification_results.yml +0 -0
  278. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/reqstool_config.yml +0 -0
  279. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/requirements.yml +0 -0
  280. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/software_verification_cases.yml +0 -0
  281. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  282. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  283. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-a/requirements.yml +0 -0
  284. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-b/requirements.yml +0 -0
  285. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-c/requirements.yml +0 -0
  286. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_recursive_impl/root/requirements.yml +0 -0
  287. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/annotations.yml +0 -0
  288. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/manual_verification_results.yml +0 -0
  289. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/reqstool_config.yml +0 -0
  290. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/requirements.yml +0 -0
  291. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/software_verification_cases.yml +0 -0
  292. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
  293. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
  294. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-001/requirements.yml +0 -0
  295. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-002/requirements.yml +0 -0
  296. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/requirements.yml +0 -0
  297. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/software_verification_cases.yml +0 -0
  298. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/baseline/visualization.adoc +0 -0
  299. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/annotations.yml +0 -0
  300. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/reqstool_config.yml +0 -0
  301. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/requirements.yml +0 -0
  302. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
  303. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
  304. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-001/requirements.yml +0 -0
  305. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-002/requirements.yml +0 -0
  306. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/manual_verification_results.yml +0 -0
  307. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/requirements.yml +0 -0
  308. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/software_verification_cases.yml +0 -0
  309. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/annotations.yml +0 -0
  310. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/manual_verification_results.yml +0 -0
  311. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/reqstool_config.yml +0 -0
  312. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/requirements.yml +0 -0
  313. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/software_verification_cases.yml +0 -0
  314. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/requirements.yml +0 -0
  315. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/software_verification_cases.yml +0 -0
  316. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_annotations_model_generator/test_annotations_model_generator/annotations.yml +0 -0
  317. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_mvrs_model_generator/test_mvrs_model_generator/manual_verification_results.yml +0 -0
  318. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_external_requirements_model_generator/requirements.yml +0 -0
  319. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_lifecycle_variable_model_generator/requirements.yml +0 -0
  320. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_microservice_requirements_model_generator/requirements.yml +0 -0
  321. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_npm_requirements_model_generator/requirements.yml +0 -0
  322. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_rational_optional_model_generator/requirements.yml +0 -0
  323. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_interpolates_env_vars/requirements.yml +0 -0
  324. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_unset_env_var_raises/requirements.yml +0 -0
  325. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_system_requirements_model_generator/requirements.yml +0 -0
  326. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_lifecycle_variable_model_generator/software_verification_cases.yml +0 -0
  327. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_default_is_build/software_verification_cases.yml +0 -0
  328. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_post_build_model_generator/software_verification_cases.yml +0 -0
  329. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_svcs_model_generator/software_verification_cases.yml +0 -0
  330. {reqstool-0.12.2 → reqstool-1.0.0}/tests/resources/unit/reqstool/model_generators/test_testdata_model_generator/test_parameterized_testdata_model_generator/TEST-com.example.StatusServiceTest.xml +0 -0
  331. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/conftest.py +0 -0
  332. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/enrich/__init__.py +0 -0
  333. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/enrich/test_enrich.py +0 -0
  334. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/generate_json/test_generate_json.py +0 -0
  335. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/report/criterias/test_criterias.py +0 -0
  336. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/report/test_report.py +0 -0
  337. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status.py +0 -0
  338. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status_presentation.py +0 -0
  339. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/status/test_status_verbosity.py +0 -0
  340. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/validate/__init__.py +0 -0
  341. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/commands/validate/test_validate.py +0 -0
  342. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/__init__.py +0 -0
  343. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/enrichment/__init__.py +0 -0
  344. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/enrichment/test_enricher.py +0 -0
  345. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/models/test_lifecycle.py +0 -0
  346. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/__init__.py +0 -0
  347. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/test_details.py +0 -0
  348. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/queries/test_list.py +0 -0
  349. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_filter_parser.py +0 -0
  350. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_locations.py +0 -0
  351. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_project_session.py +0 -0
  352. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_project_session_freshness.py +0 -0
  353. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_reqstool_ai_config.py +0 -0
  354. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_snapshot_fingerprint.py +0 -0
  355. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_temp_directory_manager.py +0 -0
  356. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_urn_id.py +0 -0
  357. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/test_utils.py +0 -0
  358. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/validators/test_lifecycle_validator.py +0 -0
  359. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/common/validators/test_semantic_validator.py +0 -0
  360. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/expression_languages/test_requirements_el_transformer.py +0 -0
  361. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/expression_languages/test_svcs_el_transformer.py +0 -0
  362. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/filters/test_requirements_filters.py +0 -0
  363. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/filters/test_software_verification_cases_filters.py +0 -0
  364. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/location_resolver/test_location_resolver.py +0 -0
  365. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_git_location.py +0 -0
  366. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_location.py +0 -0
  367. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_maven_location.py +0 -0
  368. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_npm_location.py +0 -0
  369. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_local_pypi_location.py +0 -0
  370. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_maven_location.py +0 -0
  371. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_npm_location.py +0 -0
  372. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/locations/test_pypi_location.py +0 -0
  373. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/__init__.py +0 -0
  374. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_annotation_parser.py +0 -0
  375. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_code_actions.py +0 -0
  376. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_codelens.py +0 -0
  377. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_completion.py +0 -0
  378. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_definition.py +0 -0
  379. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_details.py +0 -0
  380. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_diagnostics.py +0 -0
  381. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_document_symbols.py +0 -0
  382. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_hover.py +0 -0
  383. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_inlay_hints.py +0 -0
  384. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_project_state.py +0 -0
  385. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_references.py +0 -0
  386. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_root_discovery.py +0 -0
  387. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_semantic_tokens.py +0 -0
  388. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_server_details.py +0 -0
  389. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_server_startup.py +0 -0
  390. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_workspace_manager.py +0 -0
  391. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_workspace_symbols.py +0 -0
  392. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/lsp/test_yaml_schema.py +0 -0
  393. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/mcp/test_server_startup.py +0 -0
  394. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_annotations_model_generator.py +0 -0
  395. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_combined_raw_datasets_generator.py +0 -0
  396. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_mvrs_model_generator.py +0 -0
  397. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_requirements_model_generator.py +0 -0
  398. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_svcs_model_generator.py +0 -0
  399. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/model_generators/test_testdata_model_generator.py +0 -0
  400. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_annotations.py +0 -0
  401. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_implementations.py +0 -0
  402. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_imports.py +0 -0
  403. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_mvrs.py +0 -0
  404. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_requirements.py +0 -0
  405. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/models/test_svcs.py +0 -0
  406. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/reqstool_config/test_reqstool_config.py +0 -0
  407. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/requirements_indata/test_requirements_indata_paths.py +0 -0
  408. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/resources/schemas/v1/test_json_schemas.py +0 -0
  409. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/schemas/__init__.py +0 -0
  410. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/schemas/test_output_schemas.py +0 -0
  411. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/services/__init__.py +0 -0
  412. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/services/test_export_service.py +0 -0
  413. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/services/test_statistics_service.py +0 -0
  414. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/__init__.py +0 -0
  415. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_authorizer.py +0 -0
  416. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_database.py +0 -0
  417. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_database_filter_processor.py +0 -0
  418. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_el_to_sql_compiler.py +0 -0
  419. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_pipeline.py +0 -0
  420. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_populator.py +0 -0
  421. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/storage/test_requirements_repository.py +0 -0
  422. {reqstool-0.12.2 → reqstool-1.0.0}/tests/unit/reqstool/test_command.py +0 -0
@@ -15,4 +15,4 @@ permissions:
15
15
 
16
16
  jobs:
17
17
  build:
18
- uses: reqstool/.github/.github/workflows/common-build-docs.yml@main
18
+ uses: reqstool/.github/.github/workflows/common-build-docs.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
@@ -47,12 +47,12 @@ jobs:
47
47
  fetch-tags: true
48
48
  ref: ${{ inputs.ref || github.ref }}
49
49
  - name: Set up Python
50
- uses: actions/setup-python@v7.0.0
50
+ uses: actions/setup-python@v7.1.0
51
51
  with:
52
- python-version: "3.13.15"
52
+ python-version: "3.13.17"
53
53
  - name: Install dependencies
54
54
  # renovate: datasource=pypi depName=hatch
55
- run: pip install hatch==1.18.0
55
+ run: pip install hatch==1.18.1
56
56
  - name: Run unit tests
57
57
  run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool --cov-report=html -o junit_family=xunit2
58
58
  - name: Build project
@@ -64,7 +64,7 @@ jobs:
64
64
  reqstool status local -p docs/reqstool
65
65
  # Upload artifacts for later use
66
66
  - name: Upload Artifacts
67
- uses: actions/upload-artifact@v7.0.1
67
+ uses: actions/upload-artifact@v7.0.2
68
68
  with:
69
69
  name: ${{ inputs.artifact-name || 'dist' }}
70
70
  path: dist/
@@ -9,4 +9,4 @@ permissions:
9
9
 
10
10
  jobs:
11
11
  check:
12
- uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@main
12
+ uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
@@ -13,19 +13,19 @@ jobs:
13
13
  - name: Check out source repository
14
14
  uses: actions/checkout@v7.0.1
15
15
  - name: Set up Python
16
- uses: actions/setup-python@v7.0.0
16
+ uses: actions/setup-python@v7.1.0
17
17
  with:
18
- python-version: "3.13.15"
18
+ python-version: "3.13.17"
19
19
  - name: Install pip package(s)
20
20
  # renovate: datasource=pypi depName=hatch
21
- run: pip install hatch==1.18.0
21
+ run: pip install hatch==1.18.1
22
22
  - name: Run black formatter check
23
23
  run: hatch run dev:black --check --verbose src tests
24
24
  - name: Run flake8 linter
25
25
  run: hatch run dev:flake8
26
26
  - name: Install pip package check-jsonschema
27
27
  # renovate: datasource=pypi depName=check-jsonschema
28
- run: pip install check-jsonschema==0.38.0
28
+ run: pip install check-jsonschema==0.38.2
29
29
  - name: Validate JSON Schemas
30
30
  run: check-jsonschema --verbose --schemafile "https://json-schema.org/draft/2020-12/schema" src/reqstool/resources/schemas/*/*
31
31
  - name: Validate generated Pydantic models are up to date
@@ -57,17 +57,17 @@ jobs:
57
57
  exit 1
58
58
 
59
59
  - name: Set up Docker Buildx
60
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
60
+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
61
61
 
62
62
  - name: Login to GitHub Container Registry
63
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
63
+ uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
64
64
  with:
65
65
  registry: ${{ env.REGISTRY }}
66
66
  username: ${{ github.actor }}
67
67
  password: ${{ secrets.GITHUB_TOKEN }}
68
68
 
69
69
  - name: Build and push container image to GHCR
70
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
70
+ uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
71
71
  with:
72
72
  push: true
73
73
  tags: ${{ steps.meta.outputs.tags }}
@@ -41,7 +41,7 @@ permissions:
41
41
 
42
42
  jobs:
43
43
  prepare:
44
- uses: reqstool/.github/.github/workflows/common-release-prepare.yml@main
44
+ uses: reqstool/.github/.github/workflows/common-release-prepare.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
45
45
  permissions:
46
46
  contents: read
47
47
  with:
@@ -67,7 +67,7 @@ jobs:
67
67
  tag:
68
68
  needs: [prepare, checks]
69
69
  if: ${{ !inputs.dry-run }}
70
- uses: reqstool/.github/.github/workflows/common-release-tag.yml@main
70
+ uses: reqstool/.github/.github/workflows/common-release-tag.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
71
71
  permissions:
72
72
  contents: write
73
73
  with:
@@ -88,7 +88,7 @@ jobs:
88
88
 
89
89
  assets:
90
90
  needs: [prepare, build-tagged]
91
- uses: reqstool/.github/.github/workflows/common-release-assets.yml@main
91
+ uses: reqstool/.github/.github/workflows/common-release-assets.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
92
92
  permissions:
93
93
  contents: write
94
94
  with:
@@ -109,13 +109,13 @@ jobs:
109
109
  permissions:
110
110
  id-token: write
111
111
  steps:
112
- - uses: reqstool/.github/.github/actions/download-dists@ef815eae0bca7160cdc714126cac73f76d638b39 # main 2026-08-23
112
+ - uses: reqstool/.github/.github/actions/download-dists@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
113
113
  with:
114
114
  artifact: dist-tagged
115
115
  # Inline, not inside download-dists: nesting this Docker action in a
116
116
  # composite action makes GitHub resolve its image against the wrapper's
117
117
  # repo. See reqstool/.github#95.
118
- - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
118
+ - uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
119
119
  with:
120
120
  attestations: true
121
121
 
@@ -142,7 +142,7 @@ jobs:
142
142
  promote:
143
143
  needs: [prepare, assets, publish-to-pypi, publish-image-to-ghcr]
144
144
  if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
145
- uses: reqstool/.github/.github/workflows/common-release-promote.yml@main
145
+ uses: reqstool/.github/.github/workflows/common-release-promote.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
146
146
  permissions:
147
147
  contents: write
148
148
  with:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reqstool
3
- Version: 0.12.2
3
+ Version: 1.0.0
4
4
  Summary: A tool for managing requirements with related tests and test results.
5
5
  Project-URL: Homepage, https://reqstool.github.io
6
6
  Project-URL: Repository, https://github.com/reqstool/reqstool-client
@@ -20,13 +20,13 @@ Requires-Dist: jsonschema[format-nongpl]==4.26.0
20
20
  Requires-Dist: lark==1.3.1
21
21
  Requires-Dist: lsprotocol==2025.0.0
22
22
  Requires-Dist: maven-artifact==0.3.5
23
- Requires-Dist: mcp==2.0.0
23
+ Requires-Dist: mcp==2.3.0
24
24
  Requires-Dist: packaging==26.3
25
- Requires-Dist: pydantic==2.13.4
26
- Requires-Dist: pygit2==1.20.0
25
+ Requires-Dist: pydantic==2.14.1
26
+ Requires-Dist: pygit2==1.20.1
27
27
  Requires-Dist: pygls==2.1.1
28
28
  Requires-Dist: referencing==0.37.0
29
- Requires-Dist: reqstool-python-decorators==0.1.0
29
+ Requires-Dist: reqstool-python-decorators==0.2.0
30
30
  Requires-Dist: requests-file==3.0.1
31
31
  Requires-Dist: requests==2.34.2
32
32
  Requires-Dist: rich==15.0.0
@@ -43,13 +43,13 @@ dependencies = [
43
43
  "jsonschema[format-nongpl]==4.26.0",
44
44
  "lark==1.3.1",
45
45
  "maven-artifact==0.3.5",
46
- "pydantic==2.13.4",
47
- "pygit2==1.20.0",
46
+ "pydantic==2.14.1",
47
+ "pygit2==1.20.1",
48
48
  "referencing==0.37.0",
49
49
  "requests-file==3.0.1",
50
50
  "rich==15.0.0",
51
51
  "ruamel.yaml==0.19.1",
52
- "reqstool-python-decorators==0.1.0",
52
+ "reqstool-python-decorators==0.2.0",
53
53
  "packaging==26.3",
54
54
  "requests==2.34.2",
55
55
  "beautifulsoup4==4.15.0",
@@ -57,7 +57,7 @@ dependencies = [
57
57
  "expandvars==1.1.2",
58
58
  "pygls==2.1.1",
59
59
  "lsprotocol==2025.0.0",
60
- "mcp==2.0.0",
60
+ "mcp==2.3.0",
61
61
  ]
62
62
 
63
63
  [project.urls]
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json
2
2
 
3
- # version: 0.12.2
3
+ # version: 1.0.0
4
4
  language: python
5
5
  build: hatch
6
6
  resources:
@@ -6,6 +6,7 @@ from typing import Literal
6
6
 
7
7
  from reqstool_python_decorators.decorators.decorators import Requirements
8
8
 
9
+ from reqstool.common.exceptions import SnapshotReloadError
9
10
  from reqstool.common.project_session import ProjectSession
10
11
  from reqstool.common.enrichment.enricher import BUILT_IN_PRESETS, enrich_text
11
12
  from reqstool.common.queries.details import (
@@ -32,6 +33,11 @@ def start_server( # noqa: C901
32
33
  ) -> None:
33
34
  try:
34
35
  from mcp.server.mcpserver import MCPServer
36
+
37
+ # SDK 2.1: only a ToolError's message reaches the model. Any other exception is
38
+ # treated as a crash and reported as a bare "Error executing tool <name>", so
39
+ # every anticipated failure below raises ToolError to keep its text.
40
+ from mcp.server.mcpserver.exceptions import ToolError
35
41
  except ImportError as exc:
36
42
  raise ImportError("MCP server requires extra dependencies: pip install 'mcp>=2.0'") from exc
37
43
 
@@ -51,10 +57,13 @@ def start_server( # noqa: C901
51
57
  Every tool must resolve the repository through this. Binding it once at startup is
52
58
  what let long-lived servers serve a snapshot from before the last build (#437).
53
59
  """
54
- session.ensure_fresh()
60
+ try:
61
+ session.ensure_fresh()
62
+ except SnapshotReloadError as exc:
63
+ raise ToolError(str(exc)) from exc
55
64
  repo = session.repo
56
65
  if repo is None:
57
- raise RuntimeError(f"reqstool project is not loaded: {session.error}")
66
+ raise ToolError(f"reqstool project is not loaded: {session.error}")
58
67
  return repo
59
68
 
60
69
  @Requirements("MCP_0008")
@@ -87,7 +96,7 @@ def start_server( # noqa: C901
87
96
  """Get full details for a requirement by ID (e.g. REQ_010)."""
88
97
  result = get_requirement_details(id, _repo(), session.urn_source_paths)
89
98
  if result is None:
90
- raise ValueError(f"Requirement {id!r} not found")
99
+ raise ToolError(f"Requirement {id!r} not found")
91
100
  return result
92
101
 
93
102
  @mcp.tool()
@@ -109,7 +118,7 @@ def start_server( # noqa: C901
109
118
  """Get full details for an SVC by ID (e.g. SVC_010)."""
110
119
  result = get_svc_details(id, _repo(), session.urn_source_paths)
111
120
  if result is None:
112
- raise ValueError(f"SVC {id!r} not found")
121
+ raise ToolError(f"SVC {id!r} not found")
113
122
  return result
114
123
 
115
124
  @mcp.tool()
@@ -122,7 +131,7 @@ def start_server( # noqa: C901
122
131
  """Get full details for an MVR by ID."""
123
132
  result = get_mvr_details(id, _repo(), session.urn_source_paths)
124
133
  if result is None:
125
- raise ValueError(f"MVR {id!r} not found")
134
+ raise ToolError(f"MVR {id!r} not found")
126
135
  return result
127
136
 
128
137
  @mcp.tool()
@@ -144,7 +153,7 @@ def start_server( # noqa: C901
144
153
  unconditionally — after a build, for instance — or to confirm what is being served."""
145
154
  session.build()
146
155
  if not session.ready:
147
- raise RuntimeError(f"Failed to reload reqstool project: {session.error}")
156
+ raise ToolError(f"Failed to reload reqstool project: {session.error}")
148
157
  return _snapshot_info()
149
158
 
150
159
  @mcp.tool()
@@ -154,7 +163,7 @@ def start_server( # noqa: C901
154
163
  `status --with-post-tests` (scopes to post-build-phase SVCs too)."""
155
164
  result = _get_requirement_status(id, _repo(), include_post_build=include_post_build)
156
165
  if result is None:
157
- raise ValueError(f"Requirement {id!r} not found")
166
+ raise ToolError(f"Requirement {id!r} not found")
158
167
  return result
159
168
 
160
169
  @mcp.tool()
@@ -184,7 +193,7 @@ def start_server( # noqa: C901
184
193
  """Get details for a URN: variant, title, location, file paths, and entity counts."""
185
194
  result = _get_urn_details(urn, _repo(), session.urn_source_paths)
186
195
  if result is None:
187
- raise ValueError(f"URN {urn!r} not found")
196
+ raise ToolError(f"URN {urn!r} not found")
188
197
  return result
189
198
 
190
199
  @mcp.tool()
@@ -198,7 +207,7 @@ def start_server( # noqa: C901
198
207
  openspec:proposal, openspec:tasks
199
208
  """
200
209
  if preset not in BUILT_IN_PRESETS:
201
- raise ValueError(f"Unknown preset {preset!r}. Valid: {sorted(BUILT_IN_PRESETS)}")
210
+ raise ToolError(f"Unknown preset {preset!r}. Valid: {sorted(BUILT_IN_PRESETS)}")
202
211
  config = BUILT_IN_PRESETS[preset]
203
212
  repo = _repo()
204
213
  return enrich_text(content, repo.get_all_requirements(), repo.get_all_svcs(), repo.get_all_mvrs(), config)
@@ -77,6 +77,9 @@ async def test_get_requirement_known(mcp_session):
77
77
  async def test_get_requirement_not_found(mcp_session):
78
78
  result = await mcp_session.call_tool("get_requirement", {"id": "REQ_NONEXISTENT"})
79
79
  assert result.is_error
80
+ # The reason has to reach the model, not just the failure: an SDK that masks it
81
+ # leaves a bare "Error executing tool get_requirement" and no way to spot a typo.
82
+ assert "REQ_NONEXISTENT" in str(result.content)
80
83
 
81
84
 
82
85
  # ---------------------------------------------------------------------------
@@ -114,6 +117,7 @@ async def test_get_svc_known(mcp_session):
114
117
  async def test_get_svc_not_found(mcp_session):
115
118
  result = await mcp_session.call_tool("get_svc", {"id": "SVC_NONEXISTENT"})
116
119
  assert result.is_error
120
+ assert "SVC_NONEXISTENT" in str(result.content)
117
121
 
118
122
 
119
123
  # ---------------------------------------------------------------------------
@@ -133,6 +137,7 @@ async def test_list_mvrs(mcp_session):
133
137
  async def test_get_mvr_not_found(mcp_session):
134
138
  result = await mcp_session.call_tool("get_mvr", {"id": "MVR_NONEXISTENT"})
135
139
  assert result.is_error
140
+ assert "MVR_NONEXISTENT" in str(result.content)
136
141
 
137
142
 
138
143
  # ---------------------------------------------------------------------------
@@ -167,6 +172,7 @@ async def test_get_requirement_status(mcp_session):
167
172
  async def test_get_requirement_status_not_found(mcp_session):
168
173
  result = await mcp_session.call_tool("get_requirement_status", {"id": "REQ_NONEXISTENT"})
169
174
  assert result.is_error
175
+ assert "REQ_NONEXISTENT" in str(result.content)
170
176
 
171
177
 
172
178
  @pytest.mark.parametrize("include_post_build", [False, True])
@@ -176,6 +182,7 @@ async def test_get_requirement_status_not_found_with_include_post_build(mcp_sess
176
182
  "get_requirement_status", {"id": "REQ_NONEXISTENT", "include_post_build": include_post_build}
177
183
  )
178
184
  assert result.is_error
185
+ assert "REQ_NONEXISTENT" in str(result.content)
179
186
 
180
187
 
181
188
  async def test_get_requirement_status_missing_automated_test_not_met(mcp_session):
@@ -207,3 +214,22 @@ async def test_list_annotations(mcp_session):
207
214
  assert "req_urn" in ann
208
215
  assert "element_kind" in ann
209
216
  assert "fqn" in ann
217
+
218
+
219
+ # ---------------------------------------------------------------------------
220
+ # get_urn_details / enrich_document
221
+ # ---------------------------------------------------------------------------
222
+
223
+
224
+ async def test_get_urn_details_not_found(mcp_session):
225
+ result = await mcp_session.call_tool("get_urn_details", {"urn": "no-such-urn"})
226
+ assert result.is_error
227
+ assert "no-such-urn" in str(result.content)
228
+
229
+
230
+ async def test_enrich_document_unknown_preset(mcp_session):
231
+ """The message has to name the valid presets, which is the only way to recover from this."""
232
+ result = await mcp_session.call_tool("enrich_document", {"content": "REQ_PASS", "preset": "no:such:preset"})
233
+ assert result.is_error
234
+ assert "no:such:preset" in str(result.content)
235
+ assert "openspec:spec" in str(result.content)
@@ -12,9 +12,9 @@ from unittest.mock import patch
12
12
 
13
13
  import mcp.server.mcpserver
14
14
  import pytest
15
+ from mcp.server.mcpserver.exceptions import ToolError
15
16
  from reqstool_python_decorators.decorators.decorators import SVCs
16
17
 
17
- from reqstool.common.exceptions import SnapshotReloadError
18
18
  from reqstool.locations.local_location import LocalLocation
19
19
  from reqstool.mcp import server as mcp_server
20
20
 
@@ -111,9 +111,11 @@ def test_a_tool_errors_when_the_changed_project_cannot_be_reloaded(project_copy)
111
111
  async def scenario(tools):
112
112
  (project_copy / "requirements.yml").write_text(": this is not: [ valid yaml")
113
113
 
114
- with pytest.raises(SnapshotReloadError, match="sources changed but reloading them failed"):
114
+ # ToolError, not the underlying SnapshotReloadError: only a ToolError's message
115
+ # survives the SDK, so asserting the type is what proves the reason reaches the model.
116
+ with pytest.raises(ToolError, match="sources changed but reloading them failed"):
115
117
  await tools["get_status"]()
116
- with pytest.raises(SnapshotReloadError):
118
+ with pytest.raises(ToolError):
117
119
  await tools["list_requirements"]()
118
120
  return True
119
121
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes