reqstool 1.0.0__tar.gz → 1.1.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 (437) hide show
  1. reqstool-1.1.0/.coderabbit.yaml +27 -0
  2. reqstool-1.1.0/.github/scripts/smoke_regression.py +91 -0
  3. {reqstool-1.0.0 → reqstool-1.1.0}/.github/workflows/build-docs.yml +1 -1
  4. reqstool-1.1.0/.github/workflows/build.yml +192 -0
  5. {reqstool-1.0.0 → reqstool-1.1.0}/.github/workflows/check-semantic-pr.yml +1 -1
  6. reqstool-1.1.0/.github/workflows/publish-image.yml +62 -0
  7. {reqstool-1.0.0 → reqstool-1.1.0}/.github/workflows/release.yml +12 -9
  8. {reqstool-1.0.0 → reqstool-1.1.0}/CLAUDE.md +1 -0
  9. {reqstool-1.0.0 → reqstool-1.1.0}/CONTRIBUTING.md +15 -0
  10. {reqstool-1.0.0 → reqstool-1.1.0}/Dockerfile +8 -3
  11. {reqstool-1.0.0 → reqstool-1.1.0}/PKG-INFO +8 -5
  12. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/mcp.adoc +44 -0
  13. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/usage.adoc +2 -1
  14. {reqstool-1.0.0 → reqstool-1.1.0}/docs/reqstool/requirements.yml +12 -0
  15. {reqstool-1.0.0 → reqstool-1.1.0}/docs/reqstool/software_verification_cases.yml +12 -0
  16. reqstool-1.1.0/openspec/changes/mcp-search/proposal.md +36 -0
  17. reqstool-1.1.0/openspec/changes/mcp-search/specs/mcp/spec.md +7 -0
  18. reqstool-1.1.0/openspec/changes/mcp-search/tasks.md +22 -0
  19. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/validate/spec.md +6 -0
  20. {reqstool-1.0.0 → reqstool-1.1.0}/pyproject.toml +11 -8
  21. {reqstool-1.0.0 → reqstool-1.1.0}/reqstool_config.yml +1 -1
  22. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/command.py +17 -2
  23. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/status/status.py +0 -1
  24. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/validate/validate.py +9 -2
  25. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/enrichment/enricher.py +29 -6
  26. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/project_session.py +2 -0
  27. reqstool-1.1.0/src/reqstool/common/queries/search.py +51 -0
  28. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/reqstool_ai_config.py +1 -1
  29. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/utils.py +27 -3
  30. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/validators/semantic_validator.py +14 -32
  31. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/validators/syntax_validator.py +1 -1
  32. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/local_location.py +11 -8
  33. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/definition.py +4 -4
  34. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/document_symbols.py +2 -5
  35. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/project_state.py +7 -5
  36. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/root_discovery.py +2 -2
  37. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/server.py +8 -4
  38. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/workspace_manager.py +31 -29
  39. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/yaml_schema.py +1 -1
  40. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/mcp/server.py +21 -0
  41. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/combined_raw_datasets_generator.py +3 -2
  42. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/testdata_model_generator.py +2 -1
  43. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/annotations_schema.py +8 -7
  44. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/common_schema.py +3 -3
  45. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/authorizer.py +7 -0
  46. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/database_filter_processor.py +2 -4
  47. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/requirements_repository.py +36 -4
  48. reqstool-1.1.0/src/reqstool/storage/search_index.py +168 -0
  49. reqstool-1.1.0/tests/resources/enrich/spec_scenario_steps/expected.md +8 -0
  50. reqstool-1.1.0/tests/resources/enrich/spec_scenario_steps/input.md +3 -0
  51. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/enrich/test_enrich.py +7 -0
  52. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status_verbosity.py +0 -1
  53. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/validate/test_validate.py +51 -0
  54. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/enrichment/test_enricher.py +59 -1
  55. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_filter_parser.py +0 -1
  56. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_utils.py +64 -0
  57. reqstool-1.1.0/tests/unit/reqstool/locations/test_local_location.py +72 -0
  58. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_annotation_parser.py +0 -1
  59. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_completion.py +0 -1
  60. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_definition.py +6 -1
  61. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_diagnostics.py +0 -1
  62. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_document_symbols.py +2 -4
  63. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_hover.py +0 -1
  64. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_project_state.py +23 -0
  65. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_workspace_manager.py +56 -1
  66. reqstool-1.1.0/tests/unit/reqstool/mcp/test_server_search.py +116 -0
  67. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_testdata_model_generator.py +24 -0
  68. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/services/test_export_service.py +0 -1
  69. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/services/test_statistics_service.py +0 -1
  70. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_requirements_repository.py +29 -1
  71. reqstool-1.1.0/tests/unit/reqstool/storage/test_search_index.py +131 -0
  72. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/test_command.py +129 -1
  73. reqstool-1.1.0/tests/unit/reqstool/test_default_encoding.py +132 -0
  74. reqstool-1.0.0/.github/workflows/build.yml +0 -70
  75. reqstool-1.0.0/.github/workflows/lint.yml +0 -32
  76. reqstool-1.0.0/.github/workflows/publish-image.yml +0 -75
  77. reqstool-1.0.0/tests/unit/reqstool/locations/test_local_location.py +0 -14
  78. {reqstool-1.0.0 → reqstool-1.1.0}/.claude/settings.json +0 -0
  79. {reqstool-1.0.0 → reqstool-1.1.0}/.gitignore +0 -0
  80. {reqstool-1.0.0 → reqstool-1.1.0}/.reqstool-ai.yaml +0 -0
  81. {reqstool-1.0.0 → reqstool-1.1.0}/LICENSE +0 -0
  82. {reqstool-1.0.0 → reqstool-1.1.0}/PLAN.md +0 -0
  83. {reqstool-1.0.0 → reqstool-1.1.0}/README.md +0 -0
  84. {reqstool-1.0.0 → reqstool-1.1.0}/TEST_MATRIX.md +0 -0
  85. {reqstool-1.0.0 → reqstool-1.1.0}/docs/DESIGN.md +0 -0
  86. {reqstool-1.0.0 → reqstool-1.1.0}/docs/antora-playbook.yml +0 -0
  87. {reqstool-1.0.0 → reqstool-1.1.0}/docs/antora.yml +0 -0
  88. {reqstool-1.0.0 → reqstool-1.1.0}/docs/lsp-server-plan.md +0 -0
  89. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json +0 -0
  90. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/nav.adoc +0 -0
  91. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/how_it_works.adoc +0 -0
  92. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/index.adoc +0 -0
  93. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/installation.adoc +0 -0
  94. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/ROOT/pages/lsp.adoc +0 -0
  95. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/manual_verification_results.yml +0 -0
  96. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/reqstool_config.yml +0 -0
  97. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_external.yml +0 -0
  98. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_microservice.yml +0 -0
  99. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_system.yml +0 -0
  100. {reqstool-1.0.0 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/software_verification_cases.yml +0 -0
  101. {reqstool-1.0.0 → reqstool-1.1.0}/docs/reqstool/reqstool_config.yml +0 -0
  102. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/.openspec.yaml +0 -0
  103. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/design.md +0 -0
  104. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/proposal.md +0 -0
  105. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/specs/mcp/spec.md +0 -0
  106. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/tasks.md +0 -0
  107. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/.openspec.yaml +0 -0
  108. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/design.md +0 -0
  109. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/proposal.md +0 -0
  110. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/specs/mcp/spec.md +0 -0
  111. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/tasks.md +0 -0
  112. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/config.yaml +0 -0
  113. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/openspecui.hooks.ts +0 -0
  114. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/data-sources/spec.md +0 -0
  115. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/enrich/spec.md +0 -0
  116. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/export/spec.md +0 -0
  117. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/imports-and-filtering/spec.md +0 -0
  118. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/ingestion/spec.md +0 -0
  119. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/lifecycle/spec.md +0 -0
  120. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/lsp/spec.md +0 -0
  121. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/mcp/spec.md +0 -0
  122. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/parse-validation/spec.md +0 -0
  123. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/report/spec.md +0 -0
  124. {reqstool-1.0.0 → reqstool-1.1.0}/openspec/specs/status/spec.md +0 -0
  125. {reqstool-1.0.0 → reqstool-1.1.0}/renovate.json5 +0 -0
  126. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/__init__.py +0 -0
  127. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/enrich/__init__.py +0 -0
  128. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/enrich/enrich.py +0 -0
  129. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/exit_codes.py +0 -0
  130. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/generate_json/generate_json.py +0 -0
  131. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/criterias/group_by.py +0 -0
  132. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/criterias/sort_by.py +0 -0
  133. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/report.py +0 -0
  134. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/annotation_impls.j2 +0 -0
  135. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/annotation_tests.j2 +0 -0
  136. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/mvrs.j2 +0 -0
  137. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/report.j2 +0 -0
  138. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/req_references.j2 +0 -0
  139. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/requirements.j2 +0 -0
  140. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/svcs.j2 +0 -0
  141. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/total_statistics.j2 +0 -0
  142. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/annotation_impls.j2 +0 -0
  143. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/annotation_tests.j2 +0 -0
  144. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/mvrs.j2 +0 -0
  145. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/req_references.j2 +0 -0
  146. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/requirements.j2 +0 -0
  147. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/svcs.j2 +0 -0
  148. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/total_statistics.j2 +0 -0
  149. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/commands/validate/__init__.py +0 -0
  150. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/enrichment/__init__.py +0 -0
  151. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/exceptions.py +0 -0
  152. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/filter_parser.py +0 -0
  153. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/jinja2.py +0 -0
  154. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/models/lifecycle.py +0 -0
  155. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/models/urn_id.py +0 -0
  156. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/queries/__init__.py +0 -0
  157. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/queries/details.py +0 -0
  158. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/queries/list.py +0 -0
  159. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/snapshot_fingerprint.py +0 -0
  160. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/validator_error_holder.py +0 -0
  161. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/common/validators/lifecycle_validator.py +0 -0
  162. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/expression_languages/generic_el_transformer.py +0 -0
  163. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/filters/id_filters.py +0 -0
  164. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/filters/requirements_filters.py +0 -0
  165. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/filters/svcs_filters.py +0 -0
  166. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/location_resolver/location_resolver.py +0 -0
  167. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/git_location.py +0 -0
  168. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/local_maven_location.py +0 -0
  169. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/local_npm_location.py +0 -0
  170. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/local_pypi_location.py +0 -0
  171. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/location.py +0 -0
  172. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/maven_location.py +0 -0
  173. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/npm_location.py +0 -0
  174. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/locations/pypi_location.py +0 -0
  175. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/__init__.py +0 -0
  176. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/annotation_parser.py +0 -0
  177. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/__init__.py +0 -0
  178. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/code_actions.py +0 -0
  179. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/codelens.py +0 -0
  180. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/completion.py +0 -0
  181. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/details.py +0 -0
  182. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/diagnostics.py +0 -0
  183. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/hover.py +0 -0
  184. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/implementation.py +0 -0
  185. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/inlay_hints.py +0 -0
  186. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/list.py +0 -0
  187. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/references.py +0 -0
  188. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/semantic_tokens.py +0 -0
  189. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/lsp/features/workspace_symbols.py +0 -0
  190. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/mcp/__init__.py +0 -0
  191. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/annotations_model_generator.py +0 -0
  192. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/mvrs_model_generator.py +0 -0
  193. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/parsing_config.py +0 -0
  194. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/requirements_model_generator.py +0 -0
  195. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/model_generators/svcs_model_generator.py +0 -0
  196. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/annotations.py +0 -0
  197. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/__init__.py +0 -0
  198. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/manual_verification_results_schema.py +0 -0
  199. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/reqstool_config_schema.py +0 -0
  200. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/requirements_schema.py +0 -0
  201. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/generated/software_verification_cases_schema.py +0 -0
  202. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/implementations.py +0 -0
  203. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/imports.py +0 -0
  204. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/mvrs.py +0 -0
  205. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/raw_datasets.py +0 -0
  206. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/requirements.py +0 -0
  207. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/svcs.py +0 -0
  208. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/models/test_data.py +0 -0
  209. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/reqstool_config/reqstool_config.py +0 -0
  210. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/requirements_indata/requirements_indata.py +0 -0
  211. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/requirements_indata/requirements_indata_paths.py +0 -0
  212. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/annotations.schema.json +0 -0
  213. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/common.schema.json +0 -0
  214. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/export_output.schema.json +0 -0
  215. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/manual_verification_results.schema.json +0 -0
  216. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/reqstool_config.schema.json +0 -0
  217. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/requirements.schema.json +0 -0
  218. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/software_verification_cases.schema.json +0 -0
  219. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/status_output.schema.json +0 -0
  220. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/services/__init__.py +0 -0
  221. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/services/export_service.py +0 -0
  222. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/services/statistics_service.py +0 -0
  223. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/__init__.py +0 -0
  224. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/database.py +0 -0
  225. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/el_to_sql_compiler.py +0 -0
  226. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/pipeline.py +0 -0
  227. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/populator.py +0 -0
  228. {reqstool-1.0.0 → reqstool-1.1.0}/src/reqstool/storage/schema.py +0 -0
  229. {reqstool-1.0.0 → reqstool-1.1.0}/tests/e2e/__init__.py +0 -0
  230. {reqstool-1.0.0 → reqstool-1.1.0}/tests/e2e/test_generate_command.py +0 -0
  231. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/.reqstoolignore +0 -0
  232. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/README.md +0 -0
  233. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/annotations.yml +0 -0
  234. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/manual_verification_results.yml +0 -0
  235. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/reqstool_config.yml +0 -0
  236. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/requirements.yml +0 -0
  237. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/software_verification_cases.yml +0 -0
  238. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/src/requirements_example.py +0 -0
  239. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/src/test_svcs.py +0 -0
  240. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/test_results/failsafe/TEST-py_demo.test_svcs_it.xml +0 -0
  241. {reqstool-1.0.0 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/test_results/surefire/TEST-py_demo.test_svcs.xml +0 -0
  242. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/lsp/__init__.py +0 -0
  243. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/lsp/conftest.py +0 -0
  244. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/lsp/test_lsp_integration.py +0 -0
  245. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/mcp/conftest.py +0 -0
  246. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_autodetect.py +0 -0
  247. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_integration.py +0 -0
  248. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_reload_integration.py +0 -0
  249. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/_regression_shared.py +0 -0
  250. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/conftest.py +0 -0
  251. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_included_models_generator.py +0 -0
  252. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_regression_monorepo.py +0 -0
  253. {reqstool-1.0.0 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_regression_structure.py +0 -0
  254. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/inline_code_spans/expected.md +0 -0
  255. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/inline_code_spans/input.md +0 -0
  256. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/inline_title_only/expected.md +0 -0
  257. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/inline_title_only/input.md +0 -0
  258. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/mvr/expected.md +0 -0
  259. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/mvr/input.md +0 -0
  260. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/no_ids/expected.md +0 -0
  261. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/no_ids/input.md +0 -0
  262. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_all_fields/expected.md +0 -0
  263. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_all_fields/input.md +0 -0
  264. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_multiline_description/expected.md +0 -0
  265. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_multiline_description/input.md +0 -0
  266. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_no_description/expected.md +0 -0
  267. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/enrich/spec_no_description/input.md +0 -0
  268. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/.reqstoolignore +0 -0
  269. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/annotations.yml +0 -0
  270. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/manual_verification_results.yml +0 -0
  271. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/reqstool_config.yml +0 -0
  272. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/requirements.yml +0 -0
  273. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/software_verification_cases.yml +0 -0
  274. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  275. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  276. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/annotations.yml +0 -0
  277. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/manual_verification_results.yml +0 -0
  278. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/reqstool_config.yml +0 -0
  279. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/requirements.yml +0 -0
  280. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/software_verification_cases.yml +0 -0
  281. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  282. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  283. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/validation_error/requirements.yml +0 -0
  284. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/annotations.yml +0 -0
  285. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/manual_verification_results.yml +0 -0
  286. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/reqstool_config.yml +0 -0
  287. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/requirements.yml +0 -0
  288. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/software_verification_cases.yml +0 -0
  289. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  290. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  291. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/annotations.yml +0 -0
  292. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/manual_verification_results.yml +0 -0
  293. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/reqstool_config.yml +0 -0
  294. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/requirements.yml +0 -0
  295. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/software_verification_cases.yml +0 -0
  296. {reqstool-1.0.0 → reqstool-1.1.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
  297. {reqstool-1.0.0 → reqstool-1.1.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
  298. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/README.md +0 -0
  299. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/ms-101/reqstool_config.yml +0 -0
  300. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_impl/lib-a/requirements.yml +0 -0
  301. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_impl/lib-b/requirements.yml +0 -0
  302. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_import/node-a/requirements.yml +0 -0
  303. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_import/node-b/requirements.yml +0 -0
  304. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/manual_verification_results.yml +0 -0
  305. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/requirements.yml +0 -0
  306. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/software_verification_cases.yml +0 -0
  307. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/requirements.yml +0 -0
  308. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/software_verification_cases.yml +0 -0
  309. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/annotations.yml +0 -0
  310. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/errors.adoc +0 -0
  311. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/manual_verification_results.yml +0 -0
  312. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/reqstool_config.yml +0 -0
  313. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/requirements.yml +0 -0
  314. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/software_verification_cases.yml +0 -0
  315. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
  316. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
  317. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-a/requirements.yml +0 -0
  318. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-b/requirements.yml +0 -0
  319. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-c/requirements.yml +0 -0
  320. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/root/requirements.yml +0 -0
  321. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/annotations.yml +0 -0
  322. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/manual_verification_results.yml +0 -0
  323. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/reqstool_config.yml +0 -0
  324. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/requirements.yml +0 -0
  325. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/software_verification_cases.yml +0 -0
  326. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
  327. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
  328. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-001/requirements.yml +0 -0
  329. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-002/requirements.yml +0 -0
  330. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/requirements.yml +0 -0
  331. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/software_verification_cases.yml +0 -0
  332. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/visualization.adoc +0 -0
  333. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/annotations.yml +0 -0
  334. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/reqstool_config.yml +0 -0
  335. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/requirements.yml +0 -0
  336. {reqstool-1.0.0 → reqstool-1.1.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
  337. {reqstool-1.0.0 → reqstool-1.1.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
  338. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-001/requirements.yml +0 -0
  339. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-002/requirements.yml +0 -0
  340. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/manual_verification_results.yml +0 -0
  341. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/requirements.yml +0 -0
  342. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/software_verification_cases.yml +0 -0
  343. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/annotations.yml +0 -0
  344. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/manual_verification_results.yml +0 -0
  345. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/reqstool_config.yml +0 -0
  346. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/requirements.yml +0 -0
  347. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/software_verification_cases.yml +0 -0
  348. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/requirements.yml +0 -0
  349. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/software_verification_cases.yml +0 -0
  350. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_annotations_model_generator/test_annotations_model_generator/annotations.yml +0 -0
  351. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_mvrs_model_generator/test_mvrs_model_generator/manual_verification_results.yml +0 -0
  352. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_external_requirements_model_generator/requirements.yml +0 -0
  353. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_lifecycle_variable_model_generator/requirements.yml +0 -0
  354. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_microservice_requirements_model_generator/requirements.yml +0 -0
  355. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_npm_requirements_model_generator/requirements.yml +0 -0
  356. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_rational_optional_model_generator/requirements.yml +0 -0
  357. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_interpolates_env_vars/requirements.yml +0 -0
  358. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_unset_env_var_raises/requirements.yml +0 -0
  359. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_system_requirements_model_generator/requirements.yml +0 -0
  360. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_lifecycle_variable_model_generator/software_verification_cases.yml +0 -0
  361. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_default_is_build/software_verification_cases.yml +0 -0
  362. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_post_build_model_generator/software_verification_cases.yml +0 -0
  363. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_svcs_model_generator/software_verification_cases.yml +0 -0
  364. {reqstool-1.0.0 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_testdata_model_generator/test_parameterized_testdata_model_generator/TEST-com.example.StatusServiceTest.xml +0 -0
  365. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/conftest.py +0 -0
  366. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/enrich/__init__.py +0 -0
  367. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/generate_json/test_generate_json.py +0 -0
  368. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/report/criterias/test_criterias.py +0 -0
  369. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/report/test_report.py +0 -0
  370. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status.py +0 -0
  371. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status_presentation.py +0 -0
  372. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/commands/validate/__init__.py +0 -0
  373. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/__init__.py +0 -0
  374. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/enrichment/__init__.py +0 -0
  375. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/models/test_lifecycle.py +0 -0
  376. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/__init__.py +0 -0
  377. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/test_details.py +0 -0
  378. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/test_list.py +0 -0
  379. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_locations.py +0 -0
  380. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_project_session.py +0 -0
  381. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_project_session_freshness.py +0 -0
  382. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_reqstool_ai_config.py +0 -0
  383. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_snapshot_fingerprint.py +0 -0
  384. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_temp_directory_manager.py +0 -0
  385. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/test_urn_id.py +0 -0
  386. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/validators/test_lifecycle_validator.py +0 -0
  387. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/common/validators/test_semantic_validator.py +0 -0
  388. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/expression_languages/test_requirements_el_transformer.py +0 -0
  389. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/expression_languages/test_svcs_el_transformer.py +0 -0
  390. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/filters/test_requirements_filters.py +0 -0
  391. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/filters/test_software_verification_cases_filters.py +0 -0
  392. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/location_resolver/test_location_resolver.py +0 -0
  393. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_git_location.py +0 -0
  394. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_maven_location.py +0 -0
  395. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_npm_location.py +0 -0
  396. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_pypi_location.py +0 -0
  397. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_maven_location.py +0 -0
  398. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_npm_location.py +0 -0
  399. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_pypi_location.py +0 -0
  400. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/__init__.py +0 -0
  401. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_code_actions.py +0 -0
  402. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_codelens.py +0 -0
  403. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_details.py +0 -0
  404. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_inlay_hints.py +0 -0
  405. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_references.py +0 -0
  406. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_root_discovery.py +0 -0
  407. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_semantic_tokens.py +0 -0
  408. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_server_details.py +0 -0
  409. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_server_startup.py +0 -0
  410. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_workspace_symbols.py +0 -0
  411. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_yaml_schema.py +0 -0
  412. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/mcp/test_server_freshness.py +0 -0
  413. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/mcp/test_server_startup.py +0 -0
  414. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_annotations_model_generator.py +0 -0
  415. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_combined_raw_datasets_generator.py +0 -0
  416. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_mvrs_model_generator.py +0 -0
  417. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_requirements_model_generator.py +0 -0
  418. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_svcs_model_generator.py +0 -0
  419. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_annotations.py +0 -0
  420. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_implementations.py +0 -0
  421. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_imports.py +0 -0
  422. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_mvrs.py +0 -0
  423. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_requirements.py +0 -0
  424. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/models/test_svcs.py +0 -0
  425. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/reqstool_config/test_reqstool_config.py +0 -0
  426. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/requirements_indata/test_requirements_indata_paths.py +0 -0
  427. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/resources/schemas/v1/test_json_schemas.py +0 -0
  428. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/schemas/__init__.py +0 -0
  429. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/schemas/test_output_schemas.py +0 -0
  430. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/services/__init__.py +0 -0
  431. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/__init__.py +0 -0
  432. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_authorizer.py +0 -0
  433. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_database.py +0 -0
  434. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_database_filter_processor.py +0 -0
  435. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_el_to_sql_compiler.py +0 -0
  436. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_pipeline.py +0 -0
  437. {reqstool-1.0.0 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_populator.py +0 -0
@@ -0,0 +1,27 @@
1
+ # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2
+ inheritance: true
3
+
4
+ reviews:
5
+ path_filters:
6
+ - "!tests/resources/**"
7
+
8
+ path_instructions:
9
+ - path: "src/reqstool/**/*.py"
10
+ instructions: |
11
+ Flag a second derivation of the requirement "complete" verdict outside
12
+ StatisticsService, an `if variant == ...` gate in ingestion, an MCP tool
13
+ that captures `session.repo` instead of resolving it per request, and
14
+ LSP lookups that pass a bare `entity.id.id` instead of routing by urn.
15
+ - path: "src/reqstool/storage/**"
16
+ instructions: |
17
+ Data flows one way: parse, populate, filter, read-only queries. Commands
18
+ never mutate the database, and implementation-child requirements are
19
+ removed by DatabaseFilterProcessor, not at ingest.
20
+ - path: "tests/**"
21
+ instructions: |
22
+ Tests must not be weakened or deleted to make a change pass.
23
+ - path: "src/reqstool/**/server.py"
24
+ instructions: |
25
+ An LSP feature added or removed here needs matching edits to
26
+ docs/modules/ROOT/pages/lsp.adoc and
27
+ docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json.
@@ -0,0 +1,91 @@
1
+ """Run the installed reqstool CLI over the reqstool-regression fixtures and record normalised output.
2
+
3
+ Usage: smoke_regression.py <reqstool-regression checkout> <output dir>
4
+
5
+ One ``<fixture>-<command>.txt`` per run holds stdout, stderr and the exit code, with ANSI codes stripped and
6
+ line endings normalised so the files from different operating systems can be compared byte for byte. A
7
+ separate job diffs them against the Linux run. Exits non-zero only if the CLI produced no output at all.
8
+ """
9
+
10
+ import json
11
+ import locale
12
+ import re
13
+ import subprocess
14
+ import sys
15
+ from pathlib import Path
16
+
17
+ ANSI = re.compile(r"\x1b\[[0-9;]*m")
18
+ FIXTURES = ["parent", "ecosystems/java", "ecosystems/python", "ecosystems/typescript"]
19
+ COMMANDS = {
20
+ "status": ["status"],
21
+ "report-asciidoc": ["report", "--format", "asciidoc"],
22
+ "report-markdown": ["report", "--format", "markdown"],
23
+ "export": ["export"],
24
+ }
25
+
26
+
27
+ def decode(raw: bytes) -> str:
28
+ """Decode CLI output as the user would see it: UTF-8, else the console/locale code page.
29
+
30
+ On Windows the CLI writes redirected ``status`` output in cp1252 (``·`` is 0xB7), while ``report`` is UTF-8.
31
+ """
32
+ try:
33
+ return raw.decode("utf-8")
34
+ except UnicodeDecodeError:
35
+ return raw.decode(locale.getpreferredencoding(False), errors="replace")
36
+
37
+
38
+ def normalise(text: str) -> str:
39
+ return ANSI.sub("", text).replace("\r\n", "\n")
40
+
41
+
42
+ def canonical(value):
43
+ """Order-insensitive form of parsed JSON: ``export`` emits sets in an unstable order from run to run."""
44
+ if isinstance(value, dict):
45
+ return {k: canonical(v) for k, v in sorted(value.items())}
46
+ if isinstance(value, list):
47
+ return sorted((canonical(v) for v in value), key=lambda v: json.dumps(v, sort_keys=True))
48
+ return value
49
+
50
+
51
+ def normalise_export(text: str) -> str:
52
+ try:
53
+ return json.dumps(canonical(json.loads(text)), indent=2, sort_keys=True, ensure_ascii=False) + "\n"
54
+ except ValueError:
55
+ return normalise(text)
56
+
57
+
58
+ def main() -> int:
59
+ regression, out_dir = Path(sys.argv[1]).resolve(), Path(sys.argv[2])
60
+ out_dir.mkdir(parents=True, exist_ok=True)
61
+ empty = []
62
+ for fixture in FIXTURES:
63
+ for name, args in COMMANDS.items():
64
+ # Same entry point as the installed `reqstool` script, without depending on PATH.
65
+ cmd = [
66
+ sys.executable,
67
+ "-m",
68
+ "reqstool.command",
69
+ *args,
70
+ "local",
71
+ "-p",
72
+ str(regression / "fixtures" / fixture),
73
+ ]
74
+ p = subprocess.run(cmd, capture_output=True)
75
+ out, err = decode(p.stdout), decode(p.stderr)
76
+ key = f"{fixture.replace('/', '_')}-{name}"
77
+ stdout = normalise_export(out) if name == "export" else normalise(out)
78
+ body = f"{stdout}\n--- stderr ---\n{normalise(err)}\nexit={p.returncode}\n"
79
+ (out_dir / f"{key}.txt").write_text(body, encoding="utf-8", newline="\n")
80
+ print(f"{key:45} exit={p.returncode}")
81
+ if not out.strip():
82
+ empty.append(key)
83
+ lines = [line for line in normalise(err).splitlines() if line.strip()]
84
+ print(f" no output; last stderr line: {lines[-1] if lines else '(none)'}")
85
+ if empty:
86
+ print(f"No output from: {', '.join(empty)}", file=sys.stderr)
87
+ return 1 if empty else 0
88
+
89
+
90
+ if __name__ == "__main__":
91
+ sys.exit(main())
@@ -15,4 +15,4 @@ permissions:
15
15
 
16
16
  jobs:
17
17
  build:
18
- uses: reqstool/.github/.github/workflows/common-build-docs.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
18
+ uses: reqstool/.github/.github/workflows/common-build-docs.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
@@ -0,0 +1,192 @@
1
+ name: Build PyPI
2
+ on:
3
+ workflow_call:
4
+ inputs:
5
+ ref:
6
+ description: "Branch, tag or SHA to build. Empty = the caller's ref."
7
+ required: false
8
+ type: string
9
+ default: ""
10
+ artifact-name:
11
+ description: >
12
+ Name to upload the build output under. The release flow runs this
13
+ workflow twice in one run -- once on the branch, once on the tag -- and
14
+ upload-artifact rejects a duplicate name.
15
+ required: false
16
+ type: string
17
+ default: "dist"
18
+ workflow_dispatch:
19
+ push:
20
+ branches:
21
+ - main
22
+ pull_request:
23
+ types:
24
+ - opened
25
+ - reopened
26
+ - synchronize
27
+
28
+ permissions:
29
+ contents: read
30
+
31
+ jobs:
32
+ lint:
33
+ uses: reqstool/.github/.github/workflows/python-lint.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
34
+
35
+ schema-checks:
36
+ name: Schema and codegen checks
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - name: Check out source repository
40
+ uses: actions/checkout@v7.0.1
41
+ with:
42
+ persist-credentials: false
43
+ - name: Set up Python
44
+ uses: actions/setup-python@v7.1.0
45
+ with:
46
+ python-version: "3.15.2"
47
+ - name: Install pip package(s)
48
+ # renovate: datasource=pypi depName=hatch
49
+ run: pip install hatch==1.18.2
50
+ - name: Install pip package check-jsonschema
51
+ # renovate: datasource=pypi depName=check-jsonschema
52
+ run: pip install check-jsonschema==0.39.0
53
+ - name: Validate JSON Schemas
54
+ run: check-jsonschema --verbose --schemafile "https://json-schema.org/draft/2020-12/schema" src/reqstool/resources/schemas/*/*
55
+ - name: Validate generated Pydantic models are up to date
56
+ run: hatch run dev:codegen-check
57
+
58
+ build:
59
+ needs: [lint, schema-checks]
60
+ uses: reqstool/.github/.github/workflows/python-build-hatch.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
61
+ with:
62
+ coverage-source: reqstool
63
+ ref: ${{ inputs.ref }}
64
+ artifact-name: ${{ inputs.artifact-name || 'dist' }}
65
+
66
+ reqstool:
67
+ needs: build
68
+ uses: reqstool/.github/.github/workflows/common-reqstool-verify.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
69
+ with:
70
+ build-artifact: ${{ inputs.artifact-name || 'dist' }}-build
71
+
72
+ # Installs the wheel built above (on Linux) on every supported OS and runs the CLI over the
73
+ # reqstool-regression fixtures, so platform-specific breakage (e.g. #457 on Windows) turns CI red.
74
+ smoke:
75
+ name: Smoke (${{ matrix.os }})
76
+ needs: build
77
+ strategy:
78
+ fail-fast: false
79
+ matrix:
80
+ os: [ubuntu-latest, macos-latest, windows-latest]
81
+ runs-on: ${{ matrix.os }}
82
+ defaults:
83
+ run:
84
+ shell: bash
85
+ steps:
86
+ - name: Check out source repository
87
+ uses: actions/checkout@v7.0.1
88
+ with:
89
+ persist-credentials: false
90
+ ref: ${{ inputs.ref || github.ref }}
91
+ - name: Check out reqstool-regression fixtures
92
+ uses: actions/checkout@v7.0.1
93
+ with:
94
+ persist-credentials: false
95
+ repository: reqstool/reqstool-regression
96
+ path: regression
97
+ - name: Set up Python
98
+ uses: actions/setup-python@v7.1.0
99
+ with:
100
+ python-version: "3.15.2"
101
+ - name: Download built wheel
102
+ uses: actions/download-artifact@v8.0.2
103
+ with:
104
+ name: ${{ inputs.artifact-name || 'dist' }}
105
+ path: dist
106
+ - name: Install wheel
107
+ run: pip install dist/*.whl
108
+ - name: reqstool --help
109
+ run: reqstool -h
110
+ - name: Run fixtures
111
+ # Run from outside the checkout so the installed package is the one under test.
112
+ run: python .github/scripts/smoke_regression.py regression "$RUNNER_TEMP/smoke-out"
113
+ working-directory: ${{ github.workspace }}
114
+ - name: Upload outputs
115
+ if: always()
116
+ uses: actions/upload-artifact@v7.0.2
117
+ with:
118
+ name: smoke-${{ matrix.os }}-${{ inputs.artifact-name || 'dist' }}
119
+ path: ${{ runner.temp }}/smoke-out
120
+
121
+ smoke-compare:
122
+ name: Smoke (outputs identical across OSes)
123
+ needs: smoke
124
+ runs-on: ubuntu-latest
125
+ steps:
126
+ - name: Download outputs
127
+ uses: actions/download-artifact@v8.0.2
128
+ with:
129
+ pattern: smoke-*-${{ inputs.artifact-name || 'dist' }}
130
+ path: out
131
+ - name: Compare macOS and Windows against Linux
132
+ run: |
133
+ status=0
134
+ for os in macos-latest windows-latest; do
135
+ echo "::group::diff ubuntu-latest vs $os"
136
+ diff -ru "out/smoke-ubuntu-latest-${{ inputs.artifact-name || 'dist' }}" "out/smoke-$os-${{ inputs.artifact-name || 'dist' }}" | head -100 || true
137
+ diff -rq "out/smoke-ubuntu-latest-${{ inputs.artifact-name || 'dist' }}" "out/smoke-$os-${{ inputs.artifact-name || 'dist' }}" || status=1
138
+ echo "::endgroup::"
139
+ done
140
+ exit $status
141
+
142
+ # Builds the Dockerfile from the wheel built above (the version is not on PyPI yet) and runs it, so
143
+ # a broken base image or an unsatisfiable dependency on Alpine turns CI red before release.
144
+ docker:
145
+ name: Docker image
146
+ needs: build
147
+ runs-on: ubuntu-latest
148
+ steps:
149
+ - name: Check out source repository
150
+ uses: actions/checkout@v7.0.1
151
+ with:
152
+ persist-credentials: false
153
+ ref: ${{ inputs.ref || github.ref }}
154
+ - name: Download built wheel
155
+ uses: actions/download-artifact@v8.0.2
156
+ with:
157
+ name: ${{ inputs.artifact-name || 'dist' }}
158
+ path: dist
159
+ - name: Read wheel version
160
+ id: wheel
161
+ run: |
162
+ whl=$(basename dist/reqstool-*.whl)
163
+ version=${whl#reqstool-}
164
+ echo "version=${version%%-*}" >> "$GITHUB_OUTPUT"
165
+ - name: Set up Docker Buildx
166
+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
167
+ - name: Build image
168
+ uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
169
+ with:
170
+ context: .
171
+ push: false
172
+ load: true
173
+ tags: reqstool:ci
174
+ build-contexts: wheels=dist
175
+ - name: Smoke test image
176
+ env:
177
+ EXPECTED: ${{ steps.wheel.outputs.version }}
178
+ run: |
179
+ actual=$(docker run --rm reqstool:ci reqstool --version | head -n 1)
180
+ echo "reqstool --version: $actual (expected $EXPECTED)"
181
+ test "$actual" = "$EXPECTED"
182
+
183
+ ci:
184
+ if: ${{ always() }}
185
+ needs: [lint, schema-checks, build, reqstool, smoke, smoke-compare, docker]
186
+ runs-on: ubuntu-latest
187
+ steps:
188
+ - name: Fail unless every needed job succeeded
189
+ env:
190
+ NEEDS: ${{ toJSON(needs) }}
191
+ run: |
192
+ echo "$NEEDS" | python3 -c 'import json,sys; r={k:v["result"] for k,v in json.load(sys.stdin).items()}; print(r); sys.exit(0 if all(v=="success" for v in r.values()) else 1)'
@@ -9,4 +9,4 @@ permissions:
9
9
 
10
10
  jobs:
11
11
  check:
12
- uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
12
+ uses: reqstool/.github/.github/workflows/common-check-semantic-pr.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
@@ -0,0 +1,62 @@
1
+ name: Publish image to GHCR
2
+
3
+ on:
4
+ workflow_call:
5
+ inputs:
6
+ version:
7
+ description: "reqstool version on PyPI to build the image for"
8
+ required: true
9
+ type: string
10
+ dry-run:
11
+ description: "Build the image but do not push it."
12
+ required: false
13
+ type: boolean
14
+ default: false
15
+ workflow_dispatch:
16
+ inputs:
17
+ version:
18
+ description: "reqstool version on PyPI to build the image for (e.g. 0.9.0)"
19
+ required: true
20
+ type: string
21
+ dry-run:
22
+ description: "Build the image but do not push it."
23
+ required: false
24
+ type: boolean
25
+ default: false
26
+
27
+ permissions:
28
+ contents: read
29
+
30
+ jobs:
31
+ wait-for-pypi:
32
+ runs-on: ubuntu-latest
33
+ permissions: {}
34
+ steps:
35
+ - name: Wait for PyPI availability
36
+ env:
37
+ VERSION: ${{ inputs.version }}
38
+ run: |
39
+ echo "Waiting for reqstool==${VERSION} to become installable from PyPI..."
40
+ for i in $(seq 1 90); do
41
+ if python3 -m pip download --quiet --disable-pip-version-check --no-deps --no-cache-dir \
42
+ --dest "${RUNNER_TEMP}/pypi-probe" "reqstool==${VERSION}"; then
43
+ echo "reqstool==${VERSION} is available on PyPI"
44
+ exit 0
45
+ fi
46
+ echo "Attempt ${i}/90 - not yet available, waiting 10s..."
47
+ sleep 10
48
+ done
49
+ echo "::error::reqstool==${VERSION} not found on PyPI after 15 minutes"
50
+ exit 1
51
+
52
+ publish-image-to-ghcr:
53
+ needs: wait-for-pypi
54
+ uses: reqstool/.github/.github/workflows/common-publish-to-docker.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
55
+ permissions:
56
+ contents: read
57
+ packages: write
58
+ id-token: write
59
+ with:
60
+ version: ${{ inputs.version }}
61
+ image-name: ${{ github.repository_owner }}/reqstool
62
+ dry-run: ${{ inputs.dry-run }}
@@ -12,7 +12,7 @@ on:
12
12
  required: false
13
13
  type: string
14
14
  prerelease:
15
- description: "Publish as a release candidate instead of a release: verified like any release, but never promoted to latest. The number is chosen for you (0.2.0 -> 0.2.0rc1, then the next)."
15
+ description: "Publish as a release candidate instead of a release: verified like any release, but never marked as latest. The number is chosen for you (0.2.0 -> 0.2.0rc1, then the next)."
16
16
  required: false
17
17
  type: choice
18
18
  options: [none, rc, b, a]
@@ -41,7 +41,7 @@ permissions:
41
41
 
42
42
  jobs:
43
43
  prepare:
44
- uses: reqstool/.github/.github/workflows/common-release-prepare.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
44
+ uses: reqstool/.github/.github/workflows/common-release-prepare.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
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@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
70
+ uses: reqstool/.github/.github/workflows/common-release-tag.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
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@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
91
+ uses: reqstool/.github/.github/workflows/common-release-assets.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
92
92
  permissions:
93
93
  contents: write
94
94
  with:
@@ -109,7 +109,7 @@ jobs:
109
109
  permissions:
110
110
  id-token: write
111
111
  steps:
112
- - uses: reqstool/.github/.github/actions/download-dists@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
112
+ - uses: reqstool/.github/.github/actions/download-dists@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
113
113
  with:
114
114
  artifact: dist-tagged
115
115
  # Inline, not inside download-dists: nesting this Docker action in a
@@ -132,17 +132,20 @@ jobs:
132
132
 
133
133
  # Last, deliberately. Everything above can fail, and until this runs nothing
134
134
  # resolving "the latest release" can see what was built -- the release is still
135
- # a prerelease. Promotion itself is one API call against a release that already
135
+ # a prerelease. Marking it latest is one API call against a release that already
136
136
  # has its artifacts.
137
137
  #
138
138
  # The guard is `no job failed`, not the default `every job succeeded`: on a dry
139
139
  # run every job above is skipped, which would make plain success() false too --
140
140
  # `!inputs.dry-run` is what actually gates this job then, and `no job failed`
141
141
  # is what confirms nothing above it errored on a real run.
142
- promote:
142
+ #
143
+ # `publish-image-to-ghcr` must also have succeeded: a failure upstream leaves it skipped,
144
+ # not failed, and a skip alone does not trip `no job failed`.
145
+ finalize:
143
146
  needs: [prepare, assets, publish-to-pypi, publish-image-to-ghcr]
144
- if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
145
- uses: reqstool/.github/.github/workflows/common-release-promote.yml@a4203a58cec87861655512b6b277a859db385796 # 1.1.0
147
+ if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && needs.publish-image-to-ghcr.result == 'success' }}
148
+ uses: reqstool/.github/.github/workflows/common-release-finalize.yml@ea3dbab0d008dc916896835d211f9238d0a4b113 # 1.3.2
146
149
  permissions:
147
150
  contents: write
148
151
  with:
@@ -173,3 +173,4 @@ Full rationale in `docs/DESIGN.md`.
173
173
  - `assert` statements are used for invariant checks in the generators (not for user-facing validation).
174
174
  - Tests under `tests/unit` use file-based fixtures from `tests/resources/`.
175
175
  - After code changes, also verify scenarios in `TEST_MATRIX.md`.
176
+ - Changes to the risk paths listed in `CONTRIBUTING.md` need a mutation or property test; commit the failing test before the fix.
@@ -56,6 +56,21 @@ hatch run dev:black src tests
56
56
  hatch run dev:flake8
57
57
  ```
58
58
 
59
+ ## Risk paths
60
+
61
+ Changes to these paths need a mutation or property test in addition to the usual tests, and the
62
+ PR's Checks section says whether it ran:
63
+
64
+ | Path | Why |
65
+ |------|-----|
66
+ | `src/reqstool/services/statistics_service.py` | the single requirement "complete" verdict (#411) |
67
+ | `src/reqstool/model_generators/testdata_model_generator.py` | JUnit status mapping (#494) |
68
+ | `src/reqstool/common/utils.py` (`to_file_uri`, `uri_to_path`, `strip_windows_extended_length_prefix`), `src/reqstool/lsp/workspace_manager.py` | path and URI normalisation (#457) |
69
+ | `src/reqstool/storage/el_to_sql_compiler.py` | filter expressions compiled into SQL |
70
+
71
+ Neither Hypothesis nor a mutation tool is a project dependency yet. Install one ad hoc in the dev
72
+ environment (for example `hatch run dev:pip install hypothesis mutmut`) and say which one you used.
73
+
59
74
  ## Model Generation
60
75
 
61
76
  Pydantic data models in `src/reqstool/models/generated/` are auto-generated from the JSON Schemas
@@ -1,8 +1,9 @@
1
+ FROM scratch AS wheels
1
2
 
2
- FROM python:3.13.7-alpine
3
+ FROM python:3.15.2-alpine
3
4
 
4
5
  ENV PYTHONUNBUFFERED=1
5
- ARG REQSTOOL_VERSION
6
+ ARG VERSION
6
7
 
7
8
  LABEL org.opencontainers.image.title="reqstool"
8
9
  LABEL org.opencontainers.image.description="This is custom Docker Image for reqstool."
@@ -12,5 +13,9 @@ LABEL org.opencontainers.image.documentation="https://github.com/reqstool/reqsto
12
13
  LABEL org.opencontainers.image.source="https://github.com/reqstool/reqstool-client"
13
14
  LABEL org.opencontainers.image.url="https://github.com/reqstool/reqstool-client"
14
15
 
15
- RUN pip install --no-cache-dir "reqstool==${REQSTOOL_VERSION}"
16
+ RUN --mount=type=bind,from=wheels,target=/wheels \
17
+ set -- /wheels/reqstool-*.whl; \
18
+ if [ ! -e "$1" ]; then set -- "reqstool==${VERSION}"; fi; \
19
+ test $# -eq 1 || { echo "expected exactly one reqstool wheel in /wheels" >&2; exit 1; }; \
20
+ pip install --no-cache-dir "$1"
16
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reqstool
3
- Version: 1.0.0
3
+ Version: 1.1.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
@@ -11,6 +11,9 @@ License-File: LICENSE
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Operating System :: OS Independent
13
13
  Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Python :: 3.15
14
17
  Requires-Python: >=3.13
15
18
  Requires-Dist: beautifulsoup4==4.15.0
16
19
  Requires-Dist: defusedxml==0.7.1
@@ -21,12 +24,12 @@ Requires-Dist: lark==1.3.1
21
24
  Requires-Dist: lsprotocol==2025.0.0
22
25
  Requires-Dist: maven-artifact==0.3.5
23
26
  Requires-Dist: mcp==2.3.0
24
- Requires-Dist: packaging==26.3
25
- Requires-Dist: pydantic==2.14.1
26
- Requires-Dist: pygit2==1.20.1
27
+ Requires-Dist: packaging==26.4
28
+ Requires-Dist: pydantic==2.14.4
29
+ Requires-Dist: pygit2==1.21.0
27
30
  Requires-Dist: pygls==2.1.1
28
31
  Requires-Dist: referencing==0.37.0
29
- Requires-Dist: reqstool-python-decorators==0.2.0
32
+ Requires-Dist: reqstool-python-decorators==1.0.0
30
33
  Requires-Dist: requests-file==3.0.1
31
34
  Requires-Dist: requests==2.34.2
32
35
  Requires-Dist: rich==15.0.0
@@ -91,6 +91,50 @@ Returns a lightweight list of all manual verification results.
91
91
 
92
92
  *Returns:* array of `{ id, passed }`
93
93
 
94
+ ==== `search`
95
+
96
+ Full-text search over requirement IDs, titles, descriptions and rationale, SVC IDs, titles,
97
+ descriptions and instructions, and MVR comments. Backed by an SQLite FTS5 index built with the
98
+ snapshot, so results always match the loaded data. Terms are ANDed; stems and prefixes match
99
+ (`erase` finds _erased_ and _erasure_). Title matches outrank description and rationale matches.
100
+
101
+ IDs are indexed as single tokens, so ID search is prefix-only: `REQ_PRIV` finds `REQ_PRIV_001`, but
102
+ `PRIV_001` and `REQ-PRIV-001` do not. Search an ID by its leading part, or use `get_requirement` /
103
+ `get_svc` / `get_mvr` for an exact ID.
104
+
105
+ *Parameters:*
106
+
107
+ [cols="1,1,3"]
108
+ |===
109
+ |Name |Type |Description
110
+
111
+ |`query`
112
+ |string
113
+ |Free text. Punctuation is ignored; it is never interpreted as search syntax.
114
+
115
+ |`kinds`
116
+ |string[] (optional)
117
+ |`requirement`, `svc`, `mvr`
118
+
119
+ |`urn`
120
+ |string (optional)
121
+ |Restrict to one URN. An unknown URN is an error.
122
+
123
+ |`lifecycle_state`
124
+ |string (optional)
125
+ |`draft`, `effective`, `deprecated`, `obsolete` (anything else is an error). Excludes MVRs, which have no lifecycle.
126
+
127
+ |`limit`
128
+ |integer (default 20, max 100)
129
+ |Maximum hits
130
+ |===
131
+
132
+ *Returns:* `{ query, results: [{ kind, id, urn, title, lifecycle_state, snippet, completed }] }`.
133
+ `completed` is present for requirements only, from the same verdict computation as `status`
134
+ (build-phase scope, the default of `get_requirements_status`).
135
+ `title` and `lifecycle_state` are omitted for MVRs. A `note` field appears if the Python build lacks
136
+ FTS5 and results are unranked substring matches.
137
+
94
138
  ==== `list_annotations`
95
139
 
96
140
  Returns all `@Requirements` implementation annotations found in source code.
@@ -136,8 +136,9 @@ Checks performed:
136
136
  * Every requirement has at least one SVC defined.
137
137
  * Every manual SVC has at least one MVR defined.
138
138
  * All SVC/MVR/annotation cross-references point to existing IDs (referential integrity via `SemanticValidator`).
139
+ * Every `references.requirement_ids` entry on a requirement points to an existing requirement (reported as a warning; it will become an error in the next major version).
139
140
 
140
- Referential errors are always fatal (exit 1). Coverage gaps are warnings by default; use `--strict` to promote them to errors (CI gate for spec completeness).
141
+ Referential errors are always fatal (exit 1). Coverage gaps and dangling requirement references are warnings by default; use `--strict` to promote them to errors (CI gate for spec completeness).
141
142
 
142
143
  *Usage:*
143
144
  [source,bash]
@@ -164,6 +164,12 @@ requirements:
164
164
  description: The system shall summarize the outcome with counts of errors and warnings and an overall pass/fail result, signalling failure through its exit code.
165
165
  categories: ["interaction-capability"]
166
166
  revision: "0.11.0"
167
+ - id: VALIDATE_0006
168
+ title: Dangling requirement reference check
169
+ significance: shall
170
+ description: The system shall report every requirement whose references name a requirement that does not exist, as a warning by default and as an error when strict mode is enabled.
171
+ categories: ["reliability"]
172
+ revision: "1.1.0"
167
173
 
168
174
  # --- enrich capability (derived from openspec/specs/enrich) ---
169
175
  - id: ENRICH_0001
@@ -266,6 +272,12 @@ requirements:
266
272
  description: The system shall report when the served snapshot was parsed, and shall explicitly report configured test result patterns that match no files, so that absent build artifacts are distinguishable from an absence of tests.
267
273
  categories: ["interaction-capability"]
268
274
  revision: "0.11.0"
275
+ - id: MCP_0009
276
+ title: MCP full-text search
277
+ significance: shall
278
+ description: The system shall provide an MCP search tool that ranks free-text matches over requirements, SVCs and MVRs, filterable by kind, URN and lifecycle state, reporting for requirement hits the completion verdict from the shared status computation, from an index that always reflects the loaded snapshot.
279
+ categories: ["interaction-capability"]
280
+ revision: "1.1.0"
269
281
 
270
282
  # --- data-sources capability (derived from openspec/specs/data-sources) ---
271
283
  - id: SOURCE_0001
@@ -158,6 +158,12 @@ cases:
158
158
  description: "GIVEN no referential errors and no coverage gaps WHEN validate runs THEN it reports all checks passed and exits successfully"
159
159
  verification: automated-test
160
160
  revision: "0.11.0"
161
+ - id: SVC_VALIDATE_0006
162
+ requirement_ids: ["VALIDATE_0006"]
163
+ title: "Dangling requirement references reported"
164
+ description: "GIVEN a requirement whose references name a non-existent requirement WHEN validate runs THEN a warning is reported, and WHEN strict mode is enabled THEN validation fails"
165
+ verification: automated-test
166
+ revision: "1.1.0"
161
167
 
162
168
  # --- enrich ---
163
169
  - id: SVC_ENRICH_0001
@@ -260,6 +266,12 @@ cases:
260
266
  description: "GIVEN a running MCP server WHEN get_status is called THEN it reports when its data was parsed, and WHEN a configured test results pattern matches no files THEN that is reported as a warning rather than as zero tests"
261
267
  verification: automated-test
262
268
  revision: "0.11.0"
269
+ - id: SVC_MCP_0009
270
+ requirement_ids: ["MCP_0009"]
271
+ title: "MCP search returns ranked, filtered hits with the shared verdict"
272
+ description: "GIVEN a running MCP server WHEN search is called THEN hits are ranked, honour kind/URN/lifecycle filters, carry the same completed verdict as get_requirements_status, and follow the snapshot after a reload"
273
+ verification: automated-test
274
+ revision: "1.1.0"
263
275
 
264
276
  # --- data-sources ---
265
277
  - id: SVC_SOURCE_0001