reqstool 1.0.1__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.
- reqstool-1.1.0/.coderabbit.yaml +27 -0
- reqstool-1.1.0/.github/scripts/smoke_regression.py +91 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/.github/workflows/build-docs.yml +1 -1
- reqstool-1.1.0/.github/workflows/build.yml +192 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/.github/workflows/check-semantic-pr.yml +1 -1
- reqstool-1.1.0/.github/workflows/publish-image.yml +62 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/.github/workflows/release.yml +12 -9
- {reqstool-1.0.1 → reqstool-1.1.0}/CLAUDE.md +1 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/CONTRIBUTING.md +15 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/Dockerfile +8 -3
- {reqstool-1.0.1 → reqstool-1.1.0}/PKG-INFO +6 -3
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/mcp.adoc +44 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/usage.adoc +2 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/reqstool/requirements.yml +12 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/reqstool/software_verification_cases.yml +12 -0
- reqstool-1.1.0/openspec/changes/mcp-search/proposal.md +36 -0
- reqstool-1.1.0/openspec/changes/mcp-search/specs/mcp/spec.md +7 -0
- reqstool-1.1.0/openspec/changes/mcp-search/tasks.md +22 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/validate/spec.md +6 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/pyproject.toml +9 -6
- {reqstool-1.0.1 → reqstool-1.1.0}/reqstool_config.yml +1 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/command.py +17 -2
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/status/status.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/validate/validate.py +9 -2
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/project_session.py +2 -0
- reqstool-1.1.0/src/reqstool/common/queries/search.py +51 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/reqstool_ai_config.py +1 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/utils.py +27 -3
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/validators/semantic_validator.py +14 -32
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/validators/syntax_validator.py +1 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/local_location.py +11 -8
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/definition.py +4 -4
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/document_symbols.py +2 -5
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/project_state.py +7 -5
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/root_discovery.py +2 -2
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/server.py +8 -4
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/workspace_manager.py +31 -29
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/yaml_schema.py +1 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/mcp/server.py +21 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/combined_raw_datasets_generator.py +3 -2
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/testdata_model_generator.py +2 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/annotations_schema.py +8 -7
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/common_schema.py +3 -3
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/authorizer.py +7 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/database_filter_processor.py +2 -4
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/requirements_repository.py +36 -4
- reqstool-1.1.0/src/reqstool/storage/search_index.py +168 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status_verbosity.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/validate/test_validate.py +51 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/enrichment/test_enricher.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_filter_parser.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_utils.py +64 -0
- reqstool-1.1.0/tests/unit/reqstool/locations/test_local_location.py +72 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_annotation_parser.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_completion.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_definition.py +6 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_diagnostics.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_document_symbols.py +2 -4
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_hover.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_project_state.py +23 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_workspace_manager.py +56 -1
- reqstool-1.1.0/tests/unit/reqstool/mcp/test_server_search.py +116 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_testdata_model_generator.py +24 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/services/test_export_service.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/services/test_statistics_service.py +0 -1
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_requirements_repository.py +29 -1
- reqstool-1.1.0/tests/unit/reqstool/storage/test_search_index.py +131 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/test_command.py +129 -1
- reqstool-1.1.0/tests/unit/reqstool/test_default_encoding.py +132 -0
- reqstool-1.0.1/.github/workflows/build.yml +0 -70
- reqstool-1.0.1/.github/workflows/lint.yml +0 -32
- reqstool-1.0.1/.github/workflows/publish-image.yml +0 -79
- reqstool-1.0.1/tests/unit/reqstool/locations/test_local_location.py +0 -14
- {reqstool-1.0.1 → reqstool-1.1.0}/.claude/settings.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/.gitignore +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/.reqstool-ai.yaml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/LICENSE +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/PLAN.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/README.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/TEST_MATRIX.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/DESIGN.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/antora-playbook.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/antora.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/lsp-server-plan.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/nav.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/how_it_works.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/index.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/installation.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/ROOT/pages/lsp.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_external.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_microservice.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/requirements_system.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/modules/examples/partials/requirements/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/docs/reqstool/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/.openspec.yaml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/design.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/proposal.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/specs/mcp/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/consolidate-requirement-verdict/tasks.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/.openspec.yaml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/design.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/proposal.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/specs/mcp/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/changes/mcp-snapshot-freshness/tasks.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/config.yaml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/openspecui.hooks.ts +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/data-sources/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/enrich/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/export/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/imports-and-filtering/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/ingestion/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/lifecycle/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/lsp/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/mcp/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/parse-validation/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/report/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/openspec/specs/status/spec.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/renovate.json5 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/enrich/enrich.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/exit_codes.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/generate_json/generate_json.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/criterias/group_by.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/criterias/sort_by.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/report.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/annotation_impls.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/annotation_tests.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/mvrs.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/report.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/req_references.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/requirements.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/svcs.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/asciidoc/total_statistics.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/annotation_impls.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/annotation_tests.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/mvrs.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/req_references.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/requirements.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/svcs.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/report/templates/markdown/total_statistics.j2 +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/enrichment/enricher.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/exceptions.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/filter_parser.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/jinja2.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/models/lifecycle.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/models/urn_id.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/queries/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/queries/details.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/queries/list.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/snapshot_fingerprint.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/validator_error_holder.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/common/validators/lifecycle_validator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/expression_languages/generic_el_transformer.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/filters/id_filters.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/filters/requirements_filters.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/filters/svcs_filters.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/location_resolver/location_resolver.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/git_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/local_maven_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/local_npm_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/local_pypi_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/maven_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/npm_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/locations/pypi_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/annotation_parser.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/code_actions.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/codelens.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/completion.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/details.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/diagnostics.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/hover.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/implementation.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/inlay_hints.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/list.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/references.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/semantic_tokens.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/lsp/features/workspace_symbols.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/mcp/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/annotations_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/mvrs_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/parsing_config.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/requirements_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/model_generators/svcs_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/annotations.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/manual_verification_results_schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/reqstool_config_schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/requirements_schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/generated/software_verification_cases_schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/implementations.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/imports.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/mvrs.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/raw_datasets.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/requirements.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/svcs.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/models/test_data.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/reqstool_config/reqstool_config.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/requirements_indata/requirements_indata.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/requirements_indata/requirements_indata_paths.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/annotations.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/common.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/export_output.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/manual_verification_results.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/reqstool_config.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/requirements.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/software_verification_cases.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/resources/schemas/v1/status_output.schema.json +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/services/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/services/export_service.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/services/statistics_service.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/database.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/el_to_sql_compiler.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/pipeline.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/populator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/src/reqstool/storage/schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/e2e/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/e2e/test_generate_command.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/.reqstoolignore +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/README.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/src/requirements_example.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/src/test_svcs.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/test_results/failsafe/TEST-py_demo.test_svcs_it.xml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/fixtures/reqstool-regression-python/test_results/surefire/TEST-py_demo.test_svcs.xml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/lsp/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/lsp/conftest.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/lsp/test_lsp_integration.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/mcp/conftest.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_autodetect.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_integration.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/mcp/test_mcp_reload_integration.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/_regression_shared.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/conftest.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_included_models_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_regression_monorepo.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/integration/reqstool/model_generators/test_regression_structure.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/inline_code_spans/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/inline_code_spans/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/inline_title_only/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/inline_title_only/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/mvr/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/mvr/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/no_ids/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/no_ids/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_all_fields/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_all_fields/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_multiline_description/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_multiline_description/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_no_description/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_no_description/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_scenario_steps/expected.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/enrich/spec_scenario_steps/input.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/.reqstoolignore +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/lifecycle/validation_error/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/README.md +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_basic/with_requirements_config/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_impl/lib-a/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_impl/lib-b/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_import/node-a/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_circular_import/node-b/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/errors.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-a/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-b/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/lib-c/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_recursive_impl/root/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/baseline/visualization.adoc +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/requirements.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/reqstool_config.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_annotations_model_generator/test_annotations_model_generator/annotations.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_mvrs_model_generator/test_mvrs_model_generator/manual_verification_results.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_external_requirements_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_lifecycle_variable_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_microservice_requirements_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_npm_requirements_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_rational_optional_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_system_requirements_model_generator/requirements.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_svcs_model_generator/software_verification_cases.yml +0 -0
- {reqstool-1.0.1 → 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
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/conftest.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/enrich/test_enrich.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/generate_json/test_generate_json.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/report/criterias/test_criterias.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/report/test_report.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/status/test_status_presentation.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/models/test_lifecycle.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/test_details.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/queries/test_list.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_locations.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_project_session.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_project_session_freshness.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_reqstool_ai_config.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_snapshot_fingerprint.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_temp_directory_manager.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/test_urn_id.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/validators/test_lifecycle_validator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/common/validators/test_semantic_validator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/expression_languages/test_requirements_el_transformer.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/expression_languages/test_svcs_el_transformer.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/filters/test_requirements_filters.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/filters/test_software_verification_cases_filters.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/location_resolver/test_location_resolver.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_git_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_maven_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_npm_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_local_pypi_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_maven_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_npm_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/locations/test_pypi_location.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_code_actions.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_codelens.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_details.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_inlay_hints.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_references.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_root_discovery.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_semantic_tokens.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_server_details.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_server_startup.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_workspace_symbols.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/lsp/test_yaml_schema.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/mcp/test_server_freshness.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/mcp/test_server_startup.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_annotations_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_combined_raw_datasets_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_mvrs_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_requirements_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/model_generators/test_svcs_model_generator.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_annotations.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_implementations.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_imports.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_mvrs.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_requirements.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/models/test_svcs.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/reqstool_config/test_reqstool_config.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/requirements_indata/test_requirements_indata_paths.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/resources/schemas/v1/test_json_schemas.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/schemas/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/schemas/test_output_schemas.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/services/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/__init__.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_authorizer.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_database.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_database_filter_processor.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_el_to_sql_compiler.py +0 -0
- {reqstool-1.0.1 → reqstool-1.1.0}/tests/unit/reqstool/storage/test_pipeline.py +0 -0
- {reqstool-1.0.1 → 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())
|
|
@@ -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@
|
|
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
|
|
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@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
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
|
-
|
|
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-
|
|
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.
|
|
3
|
+
FROM python:3.15.2-alpine
|
|
3
4
|
|
|
4
5
|
ENV PYTHONUNBUFFERED=1
|
|
5
|
-
ARG
|
|
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
|
|
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
|
|
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,8 +24,8 @@ 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.
|
|
25
|
-
Requires-Dist: pydantic==2.14.
|
|
27
|
+
Requires-Dist: packaging==26.4
|
|
28
|
+
Requires-Dist: pydantic==2.14.4
|
|
26
29
|
Requires-Dist: pygit2==1.21.0
|
|
27
30
|
Requires-Dist: pygls==2.1.1
|
|
28
31
|
Requires-Dist: referencing==0.37.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
|