reqstool 0.12.2__tar.gz → 1.0.1__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-0.12.2 → reqstool-1.0.1}/.github/workflows/build-docs.yml +1 -1
- {reqstool-0.12.2 → reqstool-1.0.1}/.github/workflows/build.yml +4 -4
- {reqstool-0.12.2 → reqstool-1.0.1}/.github/workflows/check-semantic-pr.yml +1 -1
- {reqstool-0.12.2 → reqstool-1.0.1}/.github/workflows/lint.yml +4 -4
- {reqstool-0.12.2 → reqstool-1.0.1}/.github/workflows/publish-image.yml +10 -6
- {reqstool-0.12.2 → reqstool-1.0.1}/.github/workflows/release.yml +6 -6
- {reqstool-0.12.2 → reqstool-1.0.1}/PKG-INFO +5 -5
- {reqstool-0.12.2 → reqstool-1.0.1}/pyproject.toml +4 -4
- {reqstool-0.12.2 → reqstool-1.0.1}/reqstool_config.yml +1 -1
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/enrichment/enricher.py +29 -6
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/mcp/server.py +18 -9
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/mcp/test_mcp_integration.py +26 -0
- reqstool-1.0.1/tests/resources/enrich/spec_scenario_steps/expected.md +8 -0
- reqstool-1.0.1/tests/resources/enrich/spec_scenario_steps/input.md +3 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/enrich/test_enrich.py +7 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/enrichment/test_enricher.py +59 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/mcp/test_server_freshness.py +5 -3
- {reqstool-0.12.2 → reqstool-1.0.1}/.claude/settings.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/.gitignore +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/.reqstool-ai.yaml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/CLAUDE.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/CONTRIBUTING.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/Dockerfile +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/LICENSE +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/PLAN.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/README.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/TEST_MATRIX.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/DESIGN.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/antora-playbook.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/antora.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/lsp-server-plan.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/lsp/reqstool-lsp.openrpc.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/nav.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/how_it_works.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/index.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/installation.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/lsp.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/mcp.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/ROOT/pages/usage.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/requirements_external.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/requirements_microservice.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/requirements_system.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/reqstool/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/reqstool/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/docs/reqstool/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/consolidate-requirement-verdict/.openspec.yaml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/consolidate-requirement-verdict/design.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/consolidate-requirement-verdict/proposal.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/consolidate-requirement-verdict/specs/mcp/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/consolidate-requirement-verdict/tasks.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/mcp-snapshot-freshness/.openspec.yaml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/mcp-snapshot-freshness/design.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/mcp-snapshot-freshness/proposal.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/mcp-snapshot-freshness/specs/mcp/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/changes/mcp-snapshot-freshness/tasks.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/config.yaml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/openspecui.hooks.ts +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/data-sources/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/enrich/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/export/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/imports-and-filtering/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/ingestion/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/lifecycle/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/lsp/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/mcp/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/parse-validation/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/report/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/status/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/openspec/specs/validate/spec.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/renovate.json5 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/command.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/enrich/enrich.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/exit_codes.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/generate_json/generate_json.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/criterias/group_by.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/criterias/sort_by.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/report.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/annotation_impls.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/annotation_tests.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/mvrs.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/report.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/req_references.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/requirements.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/svcs.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/asciidoc/total_statistics.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/annotation_impls.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/annotation_tests.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/mvrs.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/req_references.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/requirements.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/svcs.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/report/templates/markdown/total_statistics.j2 +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/status/status.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/commands/validate/validate.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/exceptions.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/filter_parser.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/jinja2.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/models/lifecycle.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/models/urn_id.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/project_session.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/queries/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/queries/details.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/queries/list.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/reqstool_ai_config.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/snapshot_fingerprint.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/utils.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/validator_error_holder.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/validators/lifecycle_validator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/validators/semantic_validator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/common/validators/syntax_validator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/expression_languages/generic_el_transformer.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/filters/id_filters.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/filters/requirements_filters.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/filters/svcs_filters.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/location_resolver/location_resolver.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/git_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/local_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/local_maven_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/local_npm_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/local_pypi_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/maven_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/npm_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/locations/pypi_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/annotation_parser.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/code_actions.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/codelens.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/completion.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/definition.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/details.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/diagnostics.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/document_symbols.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/hover.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/implementation.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/inlay_hints.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/list.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/references.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/semantic_tokens.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/features/workspace_symbols.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/project_state.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/root_discovery.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/server.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/workspace_manager.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/lsp/yaml_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/mcp/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/annotations_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/combined_raw_datasets_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/mvrs_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/parsing_config.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/requirements_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/svcs_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/model_generators/testdata_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/annotations.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/annotations_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/common_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/manual_verification_results_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/reqstool_config_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/requirements_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/generated/software_verification_cases_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/implementations.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/imports.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/mvrs.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/raw_datasets.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/requirements.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/svcs.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/models/test_data.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/reqstool_config/reqstool_config.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/requirements_indata/requirements_indata.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/requirements_indata/requirements_indata_paths.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/annotations.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/common.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/export_output.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/manual_verification_results.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/reqstool_config.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/requirements.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/software_verification_cases.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/resources/schemas/v1/status_output.schema.json +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/services/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/services/export_service.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/services/statistics_service.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/authorizer.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/database.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/database_filter_processor.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/el_to_sql_compiler.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/pipeline.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/populator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/requirements_repository.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/src/reqstool/storage/schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/e2e/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/e2e/test_generate_command.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/.reqstoolignore +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/README.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/src/requirements_example.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/src/test_svcs.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/test_results/failsafe/TEST-py_demo.test_svcs_it.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/fixtures/reqstool-regression-python/test_results/surefire/TEST-py_demo.test_svcs.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/lsp/conftest.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/lsp/test_lsp_integration.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/mcp/conftest.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/mcp/test_mcp_autodetect.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/mcp/test_mcp_reload_integration.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/model_generators/_regression_shared.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/model_generators/conftest.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/model_generators/test_included_models_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/model_generators/test_regression_monorepo.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/integration/reqstool/model_generators/test_regression_structure.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/inline_code_spans/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/inline_code_spans/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/inline_title_only/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/inline_title_only/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/mvr/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/mvr/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/no_ids/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/no_ids/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_all_fields/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_all_fields/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_multiline_description/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_multiline_description/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_no_description/expected.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/enrich/spec_no_description/input.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/.reqstoolignore +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/baseline/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/lifecycle/validation_error/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/basic/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/no_impls/with_error/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/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-0.12.2 → reqstool-1.0.1}/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-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/with_requirements_config/README.md +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_basic/with_requirements_config/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_circular_impl/lib-a/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_circular_impl/lib-b/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_circular_import/node-a/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_circular_import/node-b/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_delete_mvr/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_delete_mvr/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/errors.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/failsafe/TEST-com.example.RequirementsExampleTestsIT.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_errors/ms-101/test_results/surefire/TEST-com.example.RequirementsExampleTests.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_recursive_impl/lib-a/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_recursive_impl/lib-b/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_recursive_impl/lib-c/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_recursive_impl/root/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/failsafe/TEST-com.reqstool.example.demo.DemoApplicationTestsIT.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/ms-001/test_results/surefire/TEST-com.reqstool.example.demo.SVCsTest.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/baseline/visualization.adoc +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/ms-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/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-0.12.2 → reqstool-1.0.1}/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-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/ext-002/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/local/test_standard/empty_ms/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/reqstool_config.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/ms-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/test_data/data/remote/test_standard/test_standard_maven_git/sys-001/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_annotations_model_generator/test_annotations_model_generator/annotations.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_mvrs_model_generator/test_mvrs_model_generator/manual_verification_results.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_external_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_lifecycle_variable_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_microservice_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_npm_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_rational_optional_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_interpolates_env_vars/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_requirements_model_generator_unset_env_var_raises/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_requirements_model_generator/test_system_requirements_model_generator/requirements.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_lifecycle_variable_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_default_is_build/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_phase_post_build_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_svcs_model_generator/test_svcs_model_generator/software_verification_cases.yml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/resources/unit/reqstool/model_generators/test_testdata_model_generator/test_parameterized_testdata_model_generator/TEST-com.example.StatusServiceTest.xml +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/conftest.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/enrich/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/generate_json/test_generate_json.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/report/criterias/test_criterias.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/report/test_report.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/status/test_status.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/status/test_status_presentation.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/status/test_status_verbosity.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/validate/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/commands/validate/test_validate.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/enrichment/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/models/test_lifecycle.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/queries/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/queries/test_details.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/queries/test_list.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_filter_parser.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_locations.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_project_session.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_project_session_freshness.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_reqstool_ai_config.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_snapshot_fingerprint.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_temp_directory_manager.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_urn_id.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/test_utils.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/validators/test_lifecycle_validator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/common/validators/test_semantic_validator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/expression_languages/test_requirements_el_transformer.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/expression_languages/test_svcs_el_transformer.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/filters/test_requirements_filters.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/filters/test_software_verification_cases_filters.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/location_resolver/test_location_resolver.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_git_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_local_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_local_maven_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_local_npm_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_local_pypi_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_maven_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_npm_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/locations/test_pypi_location.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_annotation_parser.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_code_actions.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_codelens.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_completion.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_definition.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_details.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_diagnostics.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_document_symbols.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_hover.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_inlay_hints.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_project_state.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_references.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_root_discovery.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_semantic_tokens.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_server_details.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_server_startup.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_workspace_manager.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_workspace_symbols.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/lsp/test_yaml_schema.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/mcp/test_server_startup.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_annotations_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_combined_raw_datasets_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_mvrs_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_requirements_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_svcs_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/model_generators/test_testdata_model_generator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_annotations.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_implementations.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_imports.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_mvrs.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_requirements.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/models/test_svcs.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/reqstool_config/test_reqstool_config.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/requirements_indata/test_requirements_indata_paths.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/resources/schemas/v1/test_json_schemas.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/schemas/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/schemas/test_output_schemas.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/services/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/services/test_export_service.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/services/test_statistics_service.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/__init__.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_authorizer.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_database.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_database_filter_processor.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_el_to_sql_compiler.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_pipeline.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_populator.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/storage/test_requirements_repository.py +0 -0
- {reqstool-0.12.2 → reqstool-1.0.1}/tests/unit/reqstool/test_command.py +0 -0
|
@@ -47,12 +47,12 @@ jobs:
|
|
|
47
47
|
fetch-tags: true
|
|
48
48
|
ref: ${{ inputs.ref || github.ref }}
|
|
49
49
|
- name: Set up Python
|
|
50
|
-
uses: actions/setup-python@v7.
|
|
50
|
+
uses: actions/setup-python@v7.1.0
|
|
51
51
|
with:
|
|
52
|
-
python-version: "3.13.
|
|
52
|
+
python-version: "3.13.18"
|
|
53
53
|
- name: Install dependencies
|
|
54
54
|
# renovate: datasource=pypi depName=hatch
|
|
55
|
-
run: pip install hatch==1.18.
|
|
55
|
+
run: pip install hatch==1.18.2
|
|
56
56
|
- name: Run unit tests
|
|
57
57
|
run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool --cov-report=html -o junit_family=xunit2
|
|
58
58
|
- name: Build project
|
|
@@ -64,7 +64,7 @@ jobs:
|
|
|
64
64
|
reqstool status local -p docs/reqstool
|
|
65
65
|
# Upload artifacts for later use
|
|
66
66
|
- name: Upload Artifacts
|
|
67
|
-
uses: actions/upload-artifact@v7.0.
|
|
67
|
+
uses: actions/upload-artifact@v7.0.2
|
|
68
68
|
with:
|
|
69
69
|
name: ${{ inputs.artifact-name || 'dist' }}
|
|
70
70
|
path: dist/
|
|
@@ -13,19 +13,19 @@ jobs:
|
|
|
13
13
|
- name: Check out source repository
|
|
14
14
|
uses: actions/checkout@v7.0.1
|
|
15
15
|
- name: Set up Python
|
|
16
|
-
uses: actions/setup-python@v7.
|
|
16
|
+
uses: actions/setup-python@v7.1.0
|
|
17
17
|
with:
|
|
18
|
-
python-version: "3.13.
|
|
18
|
+
python-version: "3.13.18"
|
|
19
19
|
- name: Install pip package(s)
|
|
20
20
|
# renovate: datasource=pypi depName=hatch
|
|
21
|
-
run: pip install hatch==1.18.
|
|
21
|
+
run: pip install hatch==1.18.2
|
|
22
22
|
- name: Run black formatter check
|
|
23
23
|
run: hatch run dev:black --check --verbose src tests
|
|
24
24
|
- name: Run flake8 linter
|
|
25
25
|
run: hatch run dev:flake8
|
|
26
26
|
- name: Install pip package check-jsonschema
|
|
27
27
|
# renovate: datasource=pypi depName=check-jsonschema
|
|
28
|
-
run: pip install check-jsonschema==0.
|
|
28
|
+
run: pip install check-jsonschema==0.39.0
|
|
29
29
|
- name: Validate JSON Schemas
|
|
30
30
|
run: check-jsonschema --verbose --schemafile "https://json-schema.org/draft/2020-12/schema" src/reqstool/resources/schemas/*/*
|
|
31
31
|
- name: Validate generated Pydantic models are up to date
|
|
@@ -41,12 +41,16 @@ jobs:
|
|
|
41
41
|
type=sha
|
|
42
42
|
type=raw,value=latest
|
|
43
43
|
|
|
44
|
+
# Probe with pip itself: the JSON API lists a release before the /simple/
|
|
45
|
+
# index pip reads from does, and the build below failed in that gap.
|
|
44
46
|
- name: Wait for PyPI availability
|
|
47
|
+
env:
|
|
48
|
+
VERSION: ${{ inputs.version }}
|
|
45
49
|
run: |
|
|
46
|
-
|
|
47
|
-
echo "Waiting for reqstool==${VERSION} to become available on PyPI..."
|
|
50
|
+
echo "Waiting for reqstool==${VERSION} to become installable from PyPI..."
|
|
48
51
|
for i in $(seq 1 90); do
|
|
49
|
-
if
|
|
52
|
+
if python3 -m pip download --quiet --disable-pip-version-check --no-deps --no-cache-dir \
|
|
53
|
+
--dest "${RUNNER_TEMP}/pypi-probe" "reqstool==${VERSION}"; then
|
|
50
54
|
echo "reqstool==${VERSION} is available on PyPI"
|
|
51
55
|
exit 0
|
|
52
56
|
fi
|
|
@@ -57,17 +61,17 @@ jobs:
|
|
|
57
61
|
exit 1
|
|
58
62
|
|
|
59
63
|
- name: Set up Docker Buildx
|
|
60
|
-
uses: docker/setup-buildx-action@
|
|
64
|
+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
|
61
65
|
|
|
62
66
|
- name: Login to GitHub Container Registry
|
|
63
|
-
uses: docker/login-action@
|
|
67
|
+
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
|
|
64
68
|
with:
|
|
65
69
|
registry: ${{ env.REGISTRY }}
|
|
66
70
|
username: ${{ github.actor }}
|
|
67
71
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
68
72
|
|
|
69
73
|
- name: Build and push container image to GHCR
|
|
70
|
-
uses: docker/build-push-action@
|
|
74
|
+
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
|
71
75
|
with:
|
|
72
76
|
push: true
|
|
73
77
|
tags: ${{ steps.meta.outputs.tags }}
|
|
@@ -41,7 +41,7 @@ permissions:
|
|
|
41
41
|
|
|
42
42
|
jobs:
|
|
43
43
|
prepare:
|
|
44
|
-
uses: reqstool/.github/.github/workflows/common-release-prepare.yml@
|
|
44
|
+
uses: reqstool/.github/.github/workflows/common-release-prepare.yml@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
|
|
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@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
|
|
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@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
|
|
92
92
|
permissions:
|
|
93
93
|
contents: write
|
|
94
94
|
with:
|
|
@@ -109,13 +109,13 @@ jobs:
|
|
|
109
109
|
permissions:
|
|
110
110
|
id-token: write
|
|
111
111
|
steps:
|
|
112
|
-
- uses: reqstool/.github/.github/actions/download-dists@
|
|
112
|
+
- uses: reqstool/.github/.github/actions/download-dists@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
|
|
113
113
|
with:
|
|
114
114
|
artifact: dist-tagged
|
|
115
115
|
# Inline, not inside download-dists: nesting this Docker action in a
|
|
116
116
|
# composite action makes GitHub resolve its image against the wrapper's
|
|
117
117
|
# repo. See reqstool/.github#95.
|
|
118
|
-
- uses: pypa/gh-action-pypi-publish@
|
|
118
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
119
119
|
with:
|
|
120
120
|
attestations: true
|
|
121
121
|
|
|
@@ -142,7 +142,7 @@ jobs:
|
|
|
142
142
|
promote:
|
|
143
143
|
needs: [prepare, assets, publish-to-pypi, publish-image-to-ghcr]
|
|
144
144
|
if: ${{ !inputs.dry-run && !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
|
|
145
|
-
uses: reqstool/.github/.github/workflows/common-release-promote.yml@
|
|
145
|
+
uses: reqstool/.github/.github/workflows/common-release-promote.yml@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
|
|
146
146
|
permissions:
|
|
147
147
|
contents: write
|
|
148
148
|
with:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reqstool
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: A tool for managing requirements with related tests and test results.
|
|
5
5
|
Project-URL: Homepage, https://reqstool.github.io
|
|
6
6
|
Project-URL: Repository, https://github.com/reqstool/reqstool-client
|
|
@@ -20,13 +20,13 @@ Requires-Dist: jsonschema[format-nongpl]==4.26.0
|
|
|
20
20
|
Requires-Dist: lark==1.3.1
|
|
21
21
|
Requires-Dist: lsprotocol==2025.0.0
|
|
22
22
|
Requires-Dist: maven-artifact==0.3.5
|
|
23
|
-
Requires-Dist: mcp==2.
|
|
23
|
+
Requires-Dist: mcp==2.3.0
|
|
24
24
|
Requires-Dist: packaging==26.3
|
|
25
|
-
Requires-Dist: pydantic==2.
|
|
26
|
-
Requires-Dist: pygit2==1.
|
|
25
|
+
Requires-Dist: pydantic==2.14.3
|
|
26
|
+
Requires-Dist: pygit2==1.21.0
|
|
27
27
|
Requires-Dist: pygls==2.1.1
|
|
28
28
|
Requires-Dist: referencing==0.37.0
|
|
29
|
-
Requires-Dist: reqstool-python-decorators==
|
|
29
|
+
Requires-Dist: reqstool-python-decorators==1.0.0
|
|
30
30
|
Requires-Dist: requests-file==3.0.1
|
|
31
31
|
Requires-Dist: requests==2.34.2
|
|
32
32
|
Requires-Dist: rich==15.0.0
|
|
@@ -43,13 +43,13 @@ dependencies = [
|
|
|
43
43
|
"jsonschema[format-nongpl]==4.26.0",
|
|
44
44
|
"lark==1.3.1",
|
|
45
45
|
"maven-artifact==0.3.5",
|
|
46
|
-
"pydantic==2.
|
|
47
|
-
"pygit2==1.
|
|
46
|
+
"pydantic==2.14.3",
|
|
47
|
+
"pygit2==1.21.0",
|
|
48
48
|
"referencing==0.37.0",
|
|
49
49
|
"requests-file==3.0.1",
|
|
50
50
|
"rich==15.0.0",
|
|
51
51
|
"ruamel.yaml==0.19.1",
|
|
52
|
-
"reqstool-python-decorators==
|
|
52
|
+
"reqstool-python-decorators==1.0.0",
|
|
53
53
|
"packaging==26.3",
|
|
54
54
|
"requests==2.34.2",
|
|
55
55
|
"beautifulsoup4==4.15.0",
|
|
@@ -57,7 +57,7 @@ dependencies = [
|
|
|
57
57
|
"expandvars==1.1.2",
|
|
58
58
|
"pygls==2.1.1",
|
|
59
59
|
"lsprotocol==2025.0.0",
|
|
60
|
-
"mcp==2.
|
|
60
|
+
"mcp==2.3.0",
|
|
61
61
|
]
|
|
62
62
|
|
|
63
63
|
[project.urls]
|
|
@@ -151,13 +151,22 @@ def _in_backtick_span(line: str, pos: int) -> bool:
|
|
|
151
151
|
return False
|
|
152
152
|
|
|
153
153
|
|
|
154
|
+
def _matches_line(line: str, body: str) -> bool:
|
|
155
|
+
return bool(re.match(r"^\s*" + body + r"\s*$", line))
|
|
156
|
+
|
|
157
|
+
|
|
154
158
|
def _is_stub(line: str, id_str: str) -> bool:
|
|
155
|
-
return
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
return _matches_line(line, r"The system SHALL (?:implement|pass)\s+" + re.escape(id_str) + r"\.?")
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
# OpenSpec CLI 1.16+ requires WHEN and THEN steps in every scenario, so the scenario stub
|
|
163
|
+
# is the pair "- **WHEN** <ID> is run" / "- **THEN** it passes" instead of one line.
|
|
164
|
+
def _is_when_step_stub(line: str, id_str: str) -> bool:
|
|
165
|
+
return _matches_line(line, r"[-*+]\s+\*\*WHEN\*\*\s+" + re.escape(id_str) + r"\s+is run\.?")
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def _is_then_step_stub(line: str) -> bool:
|
|
169
|
+
return _matches_line(line, r"[-*+]\s+\*\*THEN\*\*\s+it passes\.?")
|
|
161
170
|
|
|
162
171
|
|
|
163
172
|
def enrich_text( # noqa: C901
|
|
@@ -175,11 +184,18 @@ def enrich_text( # noqa: C901
|
|
|
175
184
|
output = []
|
|
176
185
|
in_fenced_block = False
|
|
177
186
|
last_enriched_id: Optional[str] = None
|
|
187
|
+
held_when_step: Optional[str] = None
|
|
178
188
|
|
|
179
189
|
for line in text.splitlines(keepends=True):
|
|
180
190
|
stripped = line.rstrip("\n\r")
|
|
181
191
|
trailing = line[len(stripped) :] # noqa: E203
|
|
182
192
|
|
|
193
|
+
if held_when_step is not None:
|
|
194
|
+
when_step, held_when_step = held_when_step, None
|
|
195
|
+
if _is_then_step_stub(stripped):
|
|
196
|
+
continue
|
|
197
|
+
output.append(when_step)
|
|
198
|
+
|
|
183
199
|
# Fenced block state machine
|
|
184
200
|
if stripped.strip().startswith("```") or stripped.strip().startswith("~~~"):
|
|
185
201
|
in_fenced_block = not in_fenced_block
|
|
@@ -197,6 +213,10 @@ def enrich_text( # noqa: C901
|
|
|
197
213
|
if _is_stub(stripped, last_enriched_id):
|
|
198
214
|
last_enriched_id = None
|
|
199
215
|
continue
|
|
216
|
+
if _is_when_step_stub(stripped, last_enriched_id):
|
|
217
|
+
last_enriched_id = None
|
|
218
|
+
held_when_step = line
|
|
219
|
+
continue
|
|
200
220
|
last_enriched_id = None
|
|
201
221
|
|
|
202
222
|
matches = [m for m in pattern.finditer(stripped) if not _in_backtick_span(stripped, m.start())]
|
|
@@ -229,4 +249,7 @@ def enrich_text( # noqa: C901
|
|
|
229
249
|
result = result[: m.end()] + f" — {info.inline_text}" + result[m.end() :] # noqa: E203
|
|
230
250
|
output.append(result + trailing)
|
|
231
251
|
|
|
252
|
+
if held_when_step is not None:
|
|
253
|
+
output.append(held_when_step)
|
|
254
|
+
|
|
232
255
|
return "".join(output)
|
|
@@ -6,6 +6,7 @@ from typing import Literal
|
|
|
6
6
|
|
|
7
7
|
from reqstool_python_decorators.decorators.decorators import Requirements
|
|
8
8
|
|
|
9
|
+
from reqstool.common.exceptions import SnapshotReloadError
|
|
9
10
|
from reqstool.common.project_session import ProjectSession
|
|
10
11
|
from reqstool.common.enrichment.enricher import BUILT_IN_PRESETS, enrich_text
|
|
11
12
|
from reqstool.common.queries.details import (
|
|
@@ -32,6 +33,11 @@ def start_server( # noqa: C901
|
|
|
32
33
|
) -> None:
|
|
33
34
|
try:
|
|
34
35
|
from mcp.server.mcpserver import MCPServer
|
|
36
|
+
|
|
37
|
+
# SDK 2.1: only a ToolError's message reaches the model. Any other exception is
|
|
38
|
+
# treated as a crash and reported as a bare "Error executing tool <name>", so
|
|
39
|
+
# every anticipated failure below raises ToolError to keep its text.
|
|
40
|
+
from mcp.server.mcpserver.exceptions import ToolError
|
|
35
41
|
except ImportError as exc:
|
|
36
42
|
raise ImportError("MCP server requires extra dependencies: pip install 'mcp>=2.0'") from exc
|
|
37
43
|
|
|
@@ -51,10 +57,13 @@ def start_server( # noqa: C901
|
|
|
51
57
|
Every tool must resolve the repository through this. Binding it once at startup is
|
|
52
58
|
what let long-lived servers serve a snapshot from before the last build (#437).
|
|
53
59
|
"""
|
|
54
|
-
|
|
60
|
+
try:
|
|
61
|
+
session.ensure_fresh()
|
|
62
|
+
except SnapshotReloadError as exc:
|
|
63
|
+
raise ToolError(str(exc)) from exc
|
|
55
64
|
repo = session.repo
|
|
56
65
|
if repo is None:
|
|
57
|
-
raise
|
|
66
|
+
raise ToolError(f"reqstool project is not loaded: {session.error}")
|
|
58
67
|
return repo
|
|
59
68
|
|
|
60
69
|
@Requirements("MCP_0008")
|
|
@@ -87,7 +96,7 @@ def start_server( # noqa: C901
|
|
|
87
96
|
"""Get full details for a requirement by ID (e.g. REQ_010)."""
|
|
88
97
|
result = get_requirement_details(id, _repo(), session.urn_source_paths)
|
|
89
98
|
if result is None:
|
|
90
|
-
raise
|
|
99
|
+
raise ToolError(f"Requirement {id!r} not found")
|
|
91
100
|
return result
|
|
92
101
|
|
|
93
102
|
@mcp.tool()
|
|
@@ -109,7 +118,7 @@ def start_server( # noqa: C901
|
|
|
109
118
|
"""Get full details for an SVC by ID (e.g. SVC_010)."""
|
|
110
119
|
result = get_svc_details(id, _repo(), session.urn_source_paths)
|
|
111
120
|
if result is None:
|
|
112
|
-
raise
|
|
121
|
+
raise ToolError(f"SVC {id!r} not found")
|
|
113
122
|
return result
|
|
114
123
|
|
|
115
124
|
@mcp.tool()
|
|
@@ -122,7 +131,7 @@ def start_server( # noqa: C901
|
|
|
122
131
|
"""Get full details for an MVR by ID."""
|
|
123
132
|
result = get_mvr_details(id, _repo(), session.urn_source_paths)
|
|
124
133
|
if result is None:
|
|
125
|
-
raise
|
|
134
|
+
raise ToolError(f"MVR {id!r} not found")
|
|
126
135
|
return result
|
|
127
136
|
|
|
128
137
|
@mcp.tool()
|
|
@@ -144,7 +153,7 @@ def start_server( # noqa: C901
|
|
|
144
153
|
unconditionally — after a build, for instance — or to confirm what is being served."""
|
|
145
154
|
session.build()
|
|
146
155
|
if not session.ready:
|
|
147
|
-
raise
|
|
156
|
+
raise ToolError(f"Failed to reload reqstool project: {session.error}")
|
|
148
157
|
return _snapshot_info()
|
|
149
158
|
|
|
150
159
|
@mcp.tool()
|
|
@@ -154,7 +163,7 @@ def start_server( # noqa: C901
|
|
|
154
163
|
`status --with-post-tests` (scopes to post-build-phase SVCs too)."""
|
|
155
164
|
result = _get_requirement_status(id, _repo(), include_post_build=include_post_build)
|
|
156
165
|
if result is None:
|
|
157
|
-
raise
|
|
166
|
+
raise ToolError(f"Requirement {id!r} not found")
|
|
158
167
|
return result
|
|
159
168
|
|
|
160
169
|
@mcp.tool()
|
|
@@ -184,7 +193,7 @@ def start_server( # noqa: C901
|
|
|
184
193
|
"""Get details for a URN: variant, title, location, file paths, and entity counts."""
|
|
185
194
|
result = _get_urn_details(urn, _repo(), session.urn_source_paths)
|
|
186
195
|
if result is None:
|
|
187
|
-
raise
|
|
196
|
+
raise ToolError(f"URN {urn!r} not found")
|
|
188
197
|
return result
|
|
189
198
|
|
|
190
199
|
@mcp.tool()
|
|
@@ -198,7 +207,7 @@ def start_server( # noqa: C901
|
|
|
198
207
|
openspec:proposal, openspec:tasks
|
|
199
208
|
"""
|
|
200
209
|
if preset not in BUILT_IN_PRESETS:
|
|
201
|
-
raise
|
|
210
|
+
raise ToolError(f"Unknown preset {preset!r}. Valid: {sorted(BUILT_IN_PRESETS)}")
|
|
202
211
|
config = BUILT_IN_PRESETS[preset]
|
|
203
212
|
repo = _repo()
|
|
204
213
|
return enrich_text(content, repo.get_all_requirements(), repo.get_all_svcs(), repo.get_all_mvrs(), config)
|
|
@@ -77,6 +77,9 @@ async def test_get_requirement_known(mcp_session):
|
|
|
77
77
|
async def test_get_requirement_not_found(mcp_session):
|
|
78
78
|
result = await mcp_session.call_tool("get_requirement", {"id": "REQ_NONEXISTENT"})
|
|
79
79
|
assert result.is_error
|
|
80
|
+
# The reason has to reach the model, not just the failure: an SDK that masks it
|
|
81
|
+
# leaves a bare "Error executing tool get_requirement" and no way to spot a typo.
|
|
82
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
80
83
|
|
|
81
84
|
|
|
82
85
|
# ---------------------------------------------------------------------------
|
|
@@ -114,6 +117,7 @@ async def test_get_svc_known(mcp_session):
|
|
|
114
117
|
async def test_get_svc_not_found(mcp_session):
|
|
115
118
|
result = await mcp_session.call_tool("get_svc", {"id": "SVC_NONEXISTENT"})
|
|
116
119
|
assert result.is_error
|
|
120
|
+
assert "SVC_NONEXISTENT" in str(result.content)
|
|
117
121
|
|
|
118
122
|
|
|
119
123
|
# ---------------------------------------------------------------------------
|
|
@@ -133,6 +137,7 @@ async def test_list_mvrs(mcp_session):
|
|
|
133
137
|
async def test_get_mvr_not_found(mcp_session):
|
|
134
138
|
result = await mcp_session.call_tool("get_mvr", {"id": "MVR_NONEXISTENT"})
|
|
135
139
|
assert result.is_error
|
|
140
|
+
assert "MVR_NONEXISTENT" in str(result.content)
|
|
136
141
|
|
|
137
142
|
|
|
138
143
|
# ---------------------------------------------------------------------------
|
|
@@ -167,6 +172,7 @@ async def test_get_requirement_status(mcp_session):
|
|
|
167
172
|
async def test_get_requirement_status_not_found(mcp_session):
|
|
168
173
|
result = await mcp_session.call_tool("get_requirement_status", {"id": "REQ_NONEXISTENT"})
|
|
169
174
|
assert result.is_error
|
|
175
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
170
176
|
|
|
171
177
|
|
|
172
178
|
@pytest.mark.parametrize("include_post_build", [False, True])
|
|
@@ -176,6 +182,7 @@ async def test_get_requirement_status_not_found_with_include_post_build(mcp_sess
|
|
|
176
182
|
"get_requirement_status", {"id": "REQ_NONEXISTENT", "include_post_build": include_post_build}
|
|
177
183
|
)
|
|
178
184
|
assert result.is_error
|
|
185
|
+
assert "REQ_NONEXISTENT" in str(result.content)
|
|
179
186
|
|
|
180
187
|
|
|
181
188
|
async def test_get_requirement_status_missing_automated_test_not_met(mcp_session):
|
|
@@ -207,3 +214,22 @@ async def test_list_annotations(mcp_session):
|
|
|
207
214
|
assert "req_urn" in ann
|
|
208
215
|
assert "element_kind" in ann
|
|
209
216
|
assert "fqn" in ann
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
# ---------------------------------------------------------------------------
|
|
220
|
+
# get_urn_details / enrich_document
|
|
221
|
+
# ---------------------------------------------------------------------------
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
async def test_get_urn_details_not_found(mcp_session):
|
|
225
|
+
result = await mcp_session.call_tool("get_urn_details", {"urn": "no-such-urn"})
|
|
226
|
+
assert result.is_error
|
|
227
|
+
assert "no-such-urn" in str(result.content)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
async def test_enrich_document_unknown_preset(mcp_session):
|
|
231
|
+
"""The message has to name the valid presets, which is the only way to recover from this."""
|
|
232
|
+
result = await mcp_session.call_tool("enrich_document", {"content": "REQ_PASS", "preset": "no:such:preset"})
|
|
233
|
+
assert result.is_error
|
|
234
|
+
assert "no:such:preset" in str(result.content)
|
|
235
|
+
assert "openspec:spec" in str(result.content)
|
|
@@ -41,6 +41,13 @@ def test_spec_no_description(ms101):
|
|
|
41
41
|
assert result.result == expected
|
|
42
42
|
|
|
43
43
|
|
|
44
|
+
@SVCs("SVC_ENRICH_0002")
|
|
45
|
+
def test_spec_scenario_step_stub_dropped(ms101):
|
|
46
|
+
input_content, expected = _load("spec_scenario_steps")
|
|
47
|
+
result = EnrichCommand(location=ms101, input_content=input_content, config=BUILT_IN_PRESETS["openspec:spec"])
|
|
48
|
+
assert result.result == expected
|
|
49
|
+
|
|
50
|
+
|
|
44
51
|
@SVCs("SVC_ENRICH_0002")
|
|
45
52
|
def test_inline_title_only(ms101):
|
|
46
53
|
input_content, expected = _load("inline_title_only")
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# Copyright © LFV
|
|
2
2
|
|
|
3
|
+
from types import SimpleNamespace
|
|
4
|
+
|
|
3
5
|
from reqstool.common.enrichment.enricher import (
|
|
4
6
|
BUILT_IN_PRESETS,
|
|
7
|
+
EnrichmentConfig,
|
|
5
8
|
_block_field,
|
|
6
9
|
_format_value,
|
|
7
10
|
_in_backtick_span,
|
|
@@ -9,6 +12,7 @@ from reqstool.common.enrichment.enricher import (
|
|
|
9
12
|
_make_pattern,
|
|
10
13
|
enrich_text,
|
|
11
14
|
)
|
|
15
|
+
from reqstool.common.models.urn_id import UrnId
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
# ---------------------------------------------------------------------------
|
|
@@ -177,3 +181,58 @@ def test_enrich_text_fenced_block_skipped():
|
|
|
177
181
|
result = enrich_text(text, {}, {}, {}, BUILT_IN_PRESETS["openspec:design"])
|
|
178
182
|
assert "—" not in result
|
|
179
183
|
assert result == text
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
_TITLE_ONLY_SPEC = EnrichmentConfig("colon-header", True, True, True)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
def _enrich_spec(text: str) -> str:
|
|
190
|
+
svcs = {
|
|
191
|
+
UrnId(urn="ms-101", id="SVC_201"): SimpleNamespace(title="Scenario title"),
|
|
192
|
+
UrnId(urn="ms-101", id="SVC_202"): SimpleNamespace(title="Other title"),
|
|
193
|
+
}
|
|
194
|
+
return enrich_text(text, {}, svcs, {}, _TITLE_ONLY_SPEC)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def test_enrich_text_drops_when_then_step_stub():
|
|
198
|
+
text = "#### Scenario: SVC_201\n- **WHEN** SVC_201 is run\n- **THEN** it passes\n\nNext.\n"
|
|
199
|
+
assert _enrich_spec(text) == "#### Scenario: SVC_201 — Scenario title\n\nNext.\n"
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def test_enrich_text_drops_when_then_step_stub_crlf():
|
|
203
|
+
text = "#### Scenario: SVC_201\r\n- **WHEN** SVC_201 is run\r\n- **THEN** it passes\r\nNext.\r\n"
|
|
204
|
+
assert _enrich_spec(text) == "#### Scenario: SVC_201 — Scenario title\r\nNext.\r\n"
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def test_enrich_text_drops_when_then_step_stub_variants():
|
|
208
|
+
text = "#### Scenario: SVC_201\n * **WHEN** SVC_201 is run.\n+ **THEN**\tit passes. \n"
|
|
209
|
+
assert _enrich_spec(text) == "#### Scenario: SVC_201 — Scenario title\n"
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
def test_enrich_text_keeps_when_step_without_then_stub():
|
|
213
|
+
text = "#### Scenario: SVC_201\n- **WHEN** SVC_201 is run\n- **THEN** the report lists it\n"
|
|
214
|
+
assert _enrich_spec(text) == (
|
|
215
|
+
"#### Scenario: SVC_201 — Scenario title\n- **WHEN** SVC_201 is run\n- **THEN** the report lists it\n"
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
def test_enrich_text_keeps_when_step_at_end_of_text():
|
|
220
|
+
text = "#### Scenario: SVC_201\n- **WHEN** SVC_201 is run"
|
|
221
|
+
assert _enrich_spec(text) == "#### Scenario: SVC_201 — Scenario title\n- **WHEN** SVC_201 is run"
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
def test_enrich_text_keeps_when_step_for_another_id():
|
|
225
|
+
text = "#### Scenario: SVC_201\n- **WHEN** SVC_202 is run\n- **THEN** it passes\n"
|
|
226
|
+
assert _enrich_spec(text) == (
|
|
227
|
+
"#### Scenario: SVC_201 — Scenario title\n- **WHEN** SVC_202 is run\n- **THEN** it passes\n"
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
def test_enrich_text_released_when_step_does_not_swallow_next_header():
|
|
232
|
+
text = (
|
|
233
|
+
"#### Scenario: SVC_201\n- **WHEN** SVC_201 is run\n"
|
|
234
|
+
"#### Scenario: SVC_202\n- **WHEN** SVC_202 is run\n- **THEN** it passes\n"
|
|
235
|
+
)
|
|
236
|
+
assert _enrich_spec(text) == (
|
|
237
|
+
"#### Scenario: SVC_201 — Scenario title\n- **WHEN** SVC_201 is run\n#### Scenario: SVC_202 — Other title\n"
|
|
238
|
+
)
|
|
@@ -12,9 +12,9 @@ from unittest.mock import patch
|
|
|
12
12
|
|
|
13
13
|
import mcp.server.mcpserver
|
|
14
14
|
import pytest
|
|
15
|
+
from mcp.server.mcpserver.exceptions import ToolError
|
|
15
16
|
from reqstool_python_decorators.decorators.decorators import SVCs
|
|
16
17
|
|
|
17
|
-
from reqstool.common.exceptions import SnapshotReloadError
|
|
18
18
|
from reqstool.locations.local_location import LocalLocation
|
|
19
19
|
from reqstool.mcp import server as mcp_server
|
|
20
20
|
|
|
@@ -111,9 +111,11 @@ def test_a_tool_errors_when_the_changed_project_cannot_be_reloaded(project_copy)
|
|
|
111
111
|
async def scenario(tools):
|
|
112
112
|
(project_copy / "requirements.yml").write_text(": this is not: [ valid yaml")
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
# ToolError, not the underlying SnapshotReloadError: only a ToolError's message
|
|
115
|
+
# survives the SDK, so asserting the type is what proves the reason reaches the model.
|
|
116
|
+
with pytest.raises(ToolError, match="sources changed but reloading them failed"):
|
|
115
117
|
await tools["get_status"]()
|
|
116
|
-
with pytest.raises(
|
|
118
|
+
with pytest.raises(ToolError):
|
|
117
119
|
await tools["list_requirements"]()
|
|
118
120
|
return True
|
|
119
121
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{reqstool-0.12.2 → reqstool-1.0.1}/docs/modules/examples/partials/requirements/reqstool_config.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|