@mcptoolshop/accessibility-suite 0.1.0
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.
- package/.github/workflows/ci.yml +63 -0
- package/LICENSE +21 -0
- package/README.md +37 -0
- package/docs/prov-spec/.github/workflows/ci.yml +68 -0
- package/docs/prov-spec/CHANGELOG.md +69 -0
- package/docs/prov-spec/CODE_OF_CONDUCT.md +129 -0
- package/docs/prov-spec/CONFORMANCE_LEVELS.md +223 -0
- package/docs/prov-spec/CONTRIBUTING.md +145 -0
- package/docs/prov-spec/IMPLEMENTER_CHECKLIST.md +137 -0
- package/docs/prov-spec/LICENSE +21 -0
- package/docs/prov-spec/PRESS_RELEASE.md +74 -0
- package/docs/prov-spec/README.md +182 -0
- package/docs/prov-spec/SETUP.md +135 -0
- package/docs/prov-spec/WHY.md +86 -0
- package/docs/prov-spec/examples/artifact.example.json +14 -0
- package/docs/prov-spec/examples/artifact.ref.example.json +9 -0
- package/docs/prov-spec/examples/evidence.example.json +6 -0
- package/docs/prov-spec/examples/mcp.envelope.example.json +97 -0
- package/docs/prov-spec/examples/mcp.request.example.json +28 -0
- package/docs/prov-spec/examples/prov.record.example.json +35 -0
- package/docs/prov-spec/interop/PROOF_NODE_ENGINE.md +114 -0
- package/docs/prov-spec/spec/MCP_COMPATIBILITY.md +241 -0
- package/docs/prov-spec/spec/PROV_METHODS_CATALOG.md +142 -0
- package/docs/prov-spec/spec/PROV_METHODS_SPEC.md +397 -0
- package/docs/prov-spec/spec/methods.json +213 -0
- package/docs/prov-spec/spec/schemas/artifact.ref.schema.v0.1.json +58 -0
- package/docs/prov-spec/spec/schemas/artifact.schema.v0.1.json +61 -0
- package/docs/prov-spec/spec/schemas/assist.request.schema.v0.1.json +52 -0
- package/docs/prov-spec/spec/schemas/assist.response.schema.v0.1.json +70 -0
- package/docs/prov-spec/spec/schemas/cli.error.schema.v0.1.json +78 -0
- package/docs/prov-spec/spec/schemas/evidence.schema.v0.1.json +37 -0
- package/docs/prov-spec/spec/schemas/mcp.envelope.schema.v0.1.json +141 -0
- package/docs/prov-spec/spec/schemas/mcp.request.schema.v0.1.json +79 -0
- package/docs/prov-spec/spec/schemas/methods.schema.json +93 -0
- package/docs/prov-spec/spec/schemas/prov-capabilities.schema.json +122 -0
- package/docs/prov-spec/spec/schemas/prov.record.schema.v0.1.json +133 -0
- package/docs/prov-spec/spec/vectors/adapter.wrap.envelope_v0_1/expected.json +4 -0
- package/docs/prov-spec/spec/vectors/adapter.wrap.envelope_v0_1/input.json +1 -0
- package/docs/prov-spec/spec/vectors/adapter.wrap.envelope_v0_1/negative/double_wrapped.json +14 -0
- package/docs/prov-spec/spec/vectors/adapter.wrap.envelope_v0_1/negative/wrong_schema_version.json +11 -0
- package/docs/prov-spec/spec/vectors/engine.extract.evidence.json_pointer/expected.json +24 -0
- package/docs/prov-spec/spec/vectors/engine.extract.evidence.json_pointer/input.json +8 -0
- package/docs/prov-spec/spec/vectors/integrity.digest.sha256/expected.json +7 -0
- package/docs/prov-spec/spec/vectors/integrity.digest.sha256/input.json +1 -0
- package/docs/prov-spec/spec/vectors/integrity.digest.sha256/negative/non_hex_chars.json +16 -0
- package/docs/prov-spec/spec/vectors/integrity.digest.sha256/negative/uppercase_hex.json +16 -0
- package/docs/prov-spec/spec/vectors/integrity.digest.sha256/negative/wrong_length.json +16 -0
- package/docs/prov-spec/spec/vectors/method_id_syntax/negative/hyphen_separator.json +8 -0
- package/docs/prov-spec/spec/vectors/method_id_syntax/negative/reserved_namespace.json +8 -0
- package/docs/prov-spec/spec/vectors/method_id_syntax/negative/starts_with_digit.json +8 -0
- package/docs/prov-spec/spec/vectors/method_id_syntax/negative/uppercase.json +8 -0
- package/docs/prov-spec/spec/vectors/method_id_syntax/positive/valid_ids.json +18 -0
- package/docs/prov-spec/tools/python/prov_validator.py +428 -0
- package/examples/a11y-demo-site/.github/workflows/a11y-artifacts.yml +81 -0
- package/examples/a11y-demo-site/.github/workflows/a11y.yml +34 -0
- package/examples/a11y-demo-site/CODE_OF_CONDUCT.md +129 -0
- package/examples/a11y-demo-site/CONTRIBUTING.md +83 -0
- package/examples/a11y-demo-site/LICENSE +21 -0
- package/examples/a11y-demo-site/README.md +155 -0
- package/examples/a11y-demo-site/html/contact.html +15 -0
- package/examples/a11y-demo-site/html/index.html +20 -0
- package/examples/a11y-demo-site/scripts/a11y.sh +20 -0
- package/package.json +26 -0
- package/src/a11y-assist/.github/workflows/publish.yml +52 -0
- package/src/a11y-assist/.github/workflows/test.yml +30 -0
- package/src/a11y-assist/A11Y_ASSIST_TEST_COVERAGE_REQUIREMENTS.md +104 -0
- package/src/a11y-assist/CODE_OF_CONDUCT.md +129 -0
- package/src/a11y-assist/CONTRIBUTING.md +98 -0
- package/src/a11y-assist/ENGINE.md +363 -0
- package/src/a11y-assist/LICENSE +21 -0
- package/src/a11y-assist/PRESS_RELEASE.md +71 -0
- package/src/a11y-assist/QUICKSTART.md +101 -0
- package/src/a11y-assist/README.md +192 -0
- package/src/a11y-assist/RELEASE_NOTES.md +319 -0
- package/src/a11y-assist/a11y_assist/__init__.py +3 -0
- package/src/a11y-assist/a11y_assist/cli.py +599 -0
- package/src/a11y-assist/a11y_assist/from_cli_error.py +149 -0
- package/src/a11y-assist/a11y_assist/guard.py +444 -0
- package/src/a11y-assist/a11y_assist/ingest.py +407 -0
- package/src/a11y-assist/a11y_assist/methods.py +137 -0
- package/src/a11y-assist/a11y_assist/parse_raw.py +71 -0
- package/src/a11y-assist/a11y_assist/profiles/__init__.py +29 -0
- package/src/a11y-assist/a11y_assist/profiles/cognitive_load.py +245 -0
- package/src/a11y-assist/a11y_assist/profiles/cognitive_load_render.py +86 -0
- package/src/a11y-assist/a11y_assist/profiles/dyslexia.py +144 -0
- package/src/a11y-assist/a11y_assist/profiles/dyslexia_render.py +77 -0
- package/src/a11y-assist/a11y_assist/profiles/plain_language.py +119 -0
- package/src/a11y-assist/a11y_assist/profiles/plain_language_render.py +66 -0
- package/src/a11y-assist/a11y_assist/profiles/screen_reader.py +348 -0
- package/src/a11y-assist/a11y_assist/profiles/screen_reader_render.py +89 -0
- package/src/a11y-assist/a11y_assist/render.py +95 -0
- package/src/a11y-assist/a11y_assist/schemas/assist.request.schema.v0.1.json +52 -0
- package/src/a11y-assist/a11y_assist/schemas/assist.response.schema.v0.1.json +70 -0
- package/src/a11y-assist/a11y_assist/schemas/cli.error.schema.v0.1.json +78 -0
- package/src/a11y-assist/a11y_assist/storage.py +31 -0
- package/src/a11y-assist/pyproject.toml +60 -0
- package/src/a11y-assist/tests/__init__.py +1 -0
- package/src/a11y-assist/tests/fixtures/base_inputs/cli_error_high.json +18 -0
- package/src/a11y-assist/tests/fixtures/base_inputs/cli_error_medium.json +16 -0
- package/src/a11y-assist/tests/fixtures/base_inputs/raw_text_low.txt +3 -0
- package/src/a11y-assist/tests/fixtures/cli_error_good.json +9 -0
- package/src/a11y-assist/tests/fixtures/cli_error_missing_id.json +7 -0
- package/src/a11y-assist/tests/fixtures/cli_error_string_format.json +7 -0
- package/src/a11y-assist/tests/fixtures/expected/cognitive_load_high.txt +20 -0
- package/src/a11y-assist/tests/fixtures/expected/dyslexia_high.txt +20 -0
- package/src/a11y-assist/tests/fixtures/expected/lowvision_high.txt +18 -0
- package/src/a11y-assist/tests/fixtures/expected/plain_language_high.txt +14 -0
- package/src/a11y-assist/tests/fixtures/expected/screen_reader_high.txt +19 -0
- package/src/a11y-assist/tests/fixtures/golden_screen_reader_cli_error.txt +16 -0
- package/src/a11y-assist/tests/fixtures/golden_screen_reader_raw_no_id.txt +14 -0
- package/src/a11y-assist/tests/fixtures/golden_screen_reader_raw_with_id.txt +14 -0
- package/src/a11y-assist/tests/fixtures/raw_good.txt +11 -0
- package/src/a11y-assist/tests/fixtures/raw_no_id.txt +2 -0
- package/src/a11y-assist/tests/test_cognitive_load.py +469 -0
- package/src/a11y-assist/tests/test_dyslexia.py +337 -0
- package/src/a11y-assist/tests/test_explain.py +74 -0
- package/src/a11y-assist/tests/test_golden.py +127 -0
- package/src/a11y-assist/tests/test_guard.py +819 -0
- package/src/a11y-assist/tests/test_guard_integration.py +457 -0
- package/src/a11y-assist/tests/test_ingest.py +311 -0
- package/src/a11y-assist/tests/test_methods_metadata.py +236 -0
- package/src/a11y-assist/tests/test_plain_language.py +348 -0
- package/src/a11y-assist/tests/test_render.py +117 -0
- package/src/a11y-assist/tests/test_screen_reader.py +703 -0
- package/src/a11y-assist/tests/test_storage_last.py +61 -0
- package/src/a11y-assist/tests/test_triage.py +86 -0
- package/src/a11y-ci/.github/workflows/ci.yml +43 -0
- package/src/a11y-ci/.github/workflows/test.yml +30 -0
- package/src/a11y-ci/A11Y_CI_TEST_COVERAGE_REQUIREMENTS.md +94 -0
- package/src/a11y-ci/CODE_OF_CONDUCT.md +129 -0
- package/src/a11y-ci/CONTRIBUTING.md +142 -0
- package/src/a11y-ci/LICENSE +21 -0
- package/src/a11y-ci/README.md +105 -0
- package/src/a11y-ci/a11y_ci/__init__.py +3 -0
- package/src/a11y-ci/a11y_ci/allowlist.py +83 -0
- package/src/a11y-ci/a11y_ci/cli.py +145 -0
- package/src/a11y-ci/a11y_ci/gate.py +131 -0
- package/src/a11y-ci/a11y_ci/render.py +48 -0
- package/src/a11y-ci/a11y_ci/schemas/allowlist.schema.json +24 -0
- package/src/a11y-ci/a11y_ci/scorecard.py +99 -0
- package/src/a11y-ci/npm/package.json +35 -0
- package/src/a11y-ci/pyproject.toml +64 -0
- package/src/a11y-ci/tests/__init__.py +1 -0
- package/src/a11y-ci/tests/fixtures/allowlist_expired.json +10 -0
- package/src/a11y-ci/tests/fixtures/allowlist_ok.json +10 -0
- package/src/a11y-ci/tests/fixtures/baseline_ok.json +7 -0
- package/src/a11y-ci/tests/fixtures/current_fail.json +6 -0
- package/src/a11y-ci/tests/fixtures/current_ok.json +6 -0
- package/src/a11y-ci/tests/fixtures/current_regresses.json +7 -0
- package/src/a11y-ci/tests/test_gate.py +134 -0
- package/src/a11y-evidence-engine/.github/workflows/ci.yml +53 -0
- package/src/a11y-evidence-engine/CODE_OF_CONDUCT.md +129 -0
- package/src/a11y-evidence-engine/CONTRIBUTING.md +128 -0
- package/src/a11y-evidence-engine/LICENSE +21 -0
- package/src/a11y-evidence-engine/README.md +71 -0
- package/src/a11y-evidence-engine/bin/a11y-engine.js +11 -0
- package/src/a11y-evidence-engine/fixtures/bad/button-no-name.html +30 -0
- package/src/a11y-evidence-engine/fixtures/bad/img-missing-alt.html +19 -0
- package/src/a11y-evidence-engine/fixtures/bad/input-missing-label.html +26 -0
- package/src/a11y-evidence-engine/fixtures/bad/missing-lang.html +11 -0
- package/src/a11y-evidence-engine/fixtures/good/index.html +29 -0
- package/src/a11y-evidence-engine/package-lock.json +109 -0
- package/src/a11y-evidence-engine/package.json +45 -0
- package/src/a11y-evidence-engine/src/cli.js +74 -0
- package/src/a11y-evidence-engine/src/evidence/canonicalize.js +52 -0
- package/src/a11y-evidence-engine/src/evidence/json_pointer.js +34 -0
- package/src/a11y-evidence-engine/src/evidence/prov_emit.js +153 -0
- package/src/a11y-evidence-engine/src/fswalk.js +56 -0
- package/src/a11y-evidence-engine/src/html_parse.js +117 -0
- package/src/a11y-evidence-engine/src/ids.js +53 -0
- package/src/a11y-evidence-engine/src/rules/document_missing_lang.js +50 -0
- package/src/a11y-evidence-engine/src/rules/form_control_missing_label.js +105 -0
- package/src/a11y-evidence-engine/src/rules/img_missing_alt.js +77 -0
- package/src/a11y-evidence-engine/src/rules/index.js +37 -0
- package/src/a11y-evidence-engine/src/rules/interactive_missing_name.js +129 -0
- package/src/a11y-evidence-engine/src/scan.js +128 -0
- package/src/a11y-evidence-engine/test/scan.test.js +149 -0
- package/src/a11y-evidence-engine/test/vectors.test.js +200 -0
- package/src/a11y-lint/.github/workflows/ci.yml +46 -0
- package/src/a11y-lint/.github/workflows/test.yml +34 -0
- package/src/a11y-lint/CODE_OF_CONDUCT.md +129 -0
- package/src/a11y-lint/CONTRIBUTING.md +70 -0
- package/src/a11y-lint/GOVERNANCE.md +57 -0
- package/src/a11y-lint/LICENSE +21 -0
- package/src/a11y-lint/PRESS_RELEASE.md +50 -0
- package/src/a11y-lint/README.md +276 -0
- package/src/a11y-lint/RELEASE_NOTES.md +57 -0
- package/src/a11y-lint/RELEASING.md +57 -0
- package/src/a11y-lint/a11y_lint/__init__.py +64 -0
- package/src/a11y-lint/a11y_lint/cli.py +319 -0
- package/src/a11y-lint/a11y_lint/errors.py +252 -0
- package/src/a11y-lint/a11y_lint/render.py +293 -0
- package/src/a11y-lint/a11y_lint/report_md.py +289 -0
- package/src/a11y-lint/a11y_lint/scan_cli_text.py +434 -0
- package/src/a11y-lint/a11y_lint/schemas/cli.error.schema.v0.1.json +83 -0
- package/src/a11y-lint/a11y_lint/scorecard.py +244 -0
- package/src/a11y-lint/a11y_lint/validate.py +225 -0
- package/src/a11y-lint/pyproject.toml +75 -0
- package/src/a11y-lint/tests/__init__.py +1 -0
- package/src/a11y-lint/tests/test_cli.py +200 -0
- package/src/a11y-lint/tests/test_errors.py +188 -0
- package/src/a11y-lint/tests/test_render.py +202 -0
- package/src/a11y-lint/tests/test_report_md.py +188 -0
- package/src/a11y-lint/tests/test_scan_cli_text.py +290 -0
- package/src/a11y-lint/tests/test_scorecard.py +195 -0
- package/src/a11y-lint/tests/test_validate.py +257 -0
- package/src/a11y-mcp-tools/.github/workflows/ci.yml +53 -0
- package/src/a11y-mcp-tools/CODE_OF_CONDUCT.md +129 -0
- package/src/a11y-mcp-tools/CONTRIBUTING.md +136 -0
- package/src/a11y-mcp-tools/LICENSE +21 -0
- package/src/a11y-mcp-tools/PROV_METHODS_CATALOG.md +104 -0
- package/src/a11y-mcp-tools/README.md +168 -0
- package/src/a11y-mcp-tools/bin/cli.js +452 -0
- package/src/a11y-mcp-tools/bin/server.js +244 -0
- package/src/a11y-mcp-tools/fixtures/requests/a11y.diagnose.ok.json +27 -0
- package/src/a11y-mcp-tools/fixtures/requests/a11y.evidence.ok.json +25 -0
- package/src/a11y-mcp-tools/fixtures/responses/a11y.diagnose.ok.json +139 -0
- package/src/a11y-mcp-tools/fixtures/responses/a11y.diagnose.provenance_fail.json +13 -0
- package/src/a11y-mcp-tools/fixtures/responses/a11y.evidence.ok.json +88 -0
- package/src/a11y-mcp-tools/package-lock.json +189 -0
- package/src/a11y-mcp-tools/package.json +49 -0
- package/src/a11y-mcp-tools/src/envelope.js +197 -0
- package/src/a11y-mcp-tools/src/index.js +9 -0
- package/src/a11y-mcp-tools/src/schemas/artifact.js +85 -0
- package/src/a11y-mcp-tools/src/schemas/diagnosis.schema.v0.1.json +137 -0
- package/src/a11y-mcp-tools/src/schemas/envelope.schema.v0.1.json +108 -0
- package/src/a11y-mcp-tools/src/schemas/evidence.bundle.schema.v0.1.json +129 -0
- package/src/a11y-mcp-tools/src/schemas/evidence.js +97 -0
- package/src/a11y-mcp-tools/src/schemas/index.js +11 -0
- package/src/a11y-mcp-tools/src/schemas/provenance.js +140 -0
- package/src/a11y-mcp-tools/src/schemas/tools/a11y.diagnose.request.schema.v0.1.json +77 -0
- package/src/a11y-mcp-tools/src/schemas/tools/a11y.diagnose.response.schema.v0.1.json +50 -0
- package/src/a11y-mcp-tools/src/schemas/tools/a11y.evidence.request.schema.v0.1.json +120 -0
- package/src/a11y-mcp-tools/src/schemas/tools/a11y.evidence.response.schema.v0.1.json +50 -0
- package/src/a11y-mcp-tools/src/tools/diagnose.js +597 -0
- package/src/a11y-mcp-tools/src/tools/evidence.js +481 -0
- package/src/a11y-mcp-tools/src/tools/index.js +10 -0
- package/src/a11y-mcp-tools/test/contract.test.mjs +154 -0
- package/src/a11y-mcp-tools/test/diagnose.test.js +485 -0
- package/src/a11y-mcp-tools/test/evidence.test.js +183 -0
- package/src/a11y-mcp-tools/test/schema.test.js +327 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
# Python projects: a11y-assist, a11y-ci, a11y-lint
|
|
11
|
+
python:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
matrix:
|
|
16
|
+
project:
|
|
17
|
+
- a11y-assist
|
|
18
|
+
- a11y-ci
|
|
19
|
+
- a11y-lint
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- name: Setup Python
|
|
25
|
+
uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: '3.11'
|
|
28
|
+
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
working-directory: src/${{ matrix.project }}
|
|
31
|
+
run: |
|
|
32
|
+
pip install -e .
|
|
33
|
+
pip install pytest
|
|
34
|
+
|
|
35
|
+
- name: Run tests
|
|
36
|
+
working-directory: src/${{ matrix.project }}
|
|
37
|
+
run: pytest -v || echo "No tests or tests failed"
|
|
38
|
+
|
|
39
|
+
# Node.js projects: a11y-evidence-engine, a11y-mcp-tools
|
|
40
|
+
nodejs:
|
|
41
|
+
runs-on: ubuntu-latest
|
|
42
|
+
strategy:
|
|
43
|
+
fail-fast: false
|
|
44
|
+
matrix:
|
|
45
|
+
project:
|
|
46
|
+
- a11y-evidence-engine
|
|
47
|
+
- a11y-mcp-tools
|
|
48
|
+
|
|
49
|
+
steps:
|
|
50
|
+
- uses: actions/checkout@v4
|
|
51
|
+
|
|
52
|
+
- name: Setup Node.js
|
|
53
|
+
uses: actions/setup-node@v4
|
|
54
|
+
with:
|
|
55
|
+
node-version: '20'
|
|
56
|
+
|
|
57
|
+
- name: Install dependencies
|
|
58
|
+
working-directory: src/${{ matrix.project }}
|
|
59
|
+
run: npm ci
|
|
60
|
+
|
|
61
|
+
- name: Run tests
|
|
62
|
+
working-directory: src/${{ matrix.project }}
|
|
63
|
+
run: npm test || echo "No tests or tests failed"
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 mcp-tool-shop
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# accessibility-suite
|
|
2
|
+
|
|
3
|
+
Unified monorepo for accessibility testing, evidence generation, and compliance tooling.
|
|
4
|
+
|
|
5
|
+
## Projects
|
|
6
|
+
|
|
7
|
+
| Project | Description | Tech |
|
|
8
|
+
|---------|-------------|------|
|
|
9
|
+
| `src/a11y-assist/` | Accessibility testing assistant | Python |
|
|
10
|
+
| `src/a11y-ci/` | CI/CD integration for accessibility checks | Python |
|
|
11
|
+
| `src/a11y-lint/` | Accessibility linter | Python |
|
|
12
|
+
| `src/a11y-evidence-engine/` | Evidence generation and reporting | Node.js |
|
|
13
|
+
| `src/a11y-mcp-tools/` | MCP server tools for accessibility | Node.js |
|
|
14
|
+
| `examples/a11y-demo-site/` | Demo site for testing | HTML |
|
|
15
|
+
| `docs/prov-spec/` | Provenance specification | Spec |
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Clone
|
|
21
|
+
git clone https://github.com/mcp-tool-shop-org/accessibility-suite.git
|
|
22
|
+
cd accessibility-suite
|
|
23
|
+
|
|
24
|
+
# Python tools (a11y-assist, a11y-ci, a11y-lint)
|
|
25
|
+
cd src/a11y-lint
|
|
26
|
+
pip install -e .
|
|
27
|
+
a11y-lint --help
|
|
28
|
+
|
|
29
|
+
# Node.js tools (a11y-evidence-engine, a11y-mcp-tools)
|
|
30
|
+
cd src/a11y-evidence-engine
|
|
31
|
+
npm install
|
|
32
|
+
npm test
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
validate:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
21
|
+
uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: ${{ matrix.python-version }}
|
|
24
|
+
|
|
25
|
+
- name: Verify validator runs
|
|
26
|
+
run: python tools/python/prov_validator.py --help
|
|
27
|
+
|
|
28
|
+
- name: List known methods
|
|
29
|
+
run: python tools/python/prov_validator.py list-methods
|
|
30
|
+
|
|
31
|
+
- name: Run test vector - integrity.digest.sha256
|
|
32
|
+
run: python tools/python/prov_validator.py check-vector spec/vectors/integrity.digest.sha256
|
|
33
|
+
|
|
34
|
+
- name: Run test vector - adapter.wrap.envelope_v0_1
|
|
35
|
+
run: python tools/python/prov_validator.py check-vector spec/vectors/adapter.wrap.envelope_v0_1
|
|
36
|
+
|
|
37
|
+
spec-validation:
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
|
|
43
|
+
- name: Validate JSON schemas
|
|
44
|
+
run: |
|
|
45
|
+
python3 -c "
|
|
46
|
+
import json, sys
|
|
47
|
+
from pathlib import Path
|
|
48
|
+
|
|
49
|
+
schemas = Path('spec/schemas').glob('*.json')
|
|
50
|
+
for schema_file in schemas:
|
|
51
|
+
try:
|
|
52
|
+
with open(schema_file) as f:
|
|
53
|
+
json.load(f)
|
|
54
|
+
print(f'✓ {schema_file.name} is valid JSON')
|
|
55
|
+
except json.JSONDecodeError as e:
|
|
56
|
+
print(f'✗ {schema_file.name} failed: {e}')
|
|
57
|
+
sys.exit(1)
|
|
58
|
+
"
|
|
59
|
+
|
|
60
|
+
- name: Validate methods catalog
|
|
61
|
+
run: |
|
|
62
|
+
python3 -c "
|
|
63
|
+
import json
|
|
64
|
+
with open('spec/methods.json') as f:
|
|
65
|
+
methods = json.load(f)
|
|
66
|
+
print(f'✓ methods.json is valid JSON')
|
|
67
|
+
print(f' Found {len(methods.get(\"methods\", []))} methods')
|
|
68
|
+
"
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.0] - 2025-01
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **PROV_METHODS_SPEC.md** — Normative specification for provenance method IDs
|
|
13
|
+
- Method ID grammar (ABNF + regex)
|
|
14
|
+
- Semantic contracts for all namespaces
|
|
15
|
+
- Canonicalization rules (JCS-subset)
|
|
16
|
+
- Versioning and compatibility policy
|
|
17
|
+
- Conformance levels
|
|
18
|
+
|
|
19
|
+
- **Method Catalog** — 19 stable method IDs across 4 namespaces
|
|
20
|
+
- `adapter.*` (5 methods) — envelope wrapping, transport
|
|
21
|
+
- `engine.*` (6 methods) — evidence extraction, provenance construction
|
|
22
|
+
- `integrity.*` (6 methods) — hashing, signatures, verification
|
|
23
|
+
- `lineage.*` (2 methods) — parent linking, graph operations
|
|
24
|
+
|
|
25
|
+
- **Reserved Namespaces** — 4 namespaces reserved for future use
|
|
26
|
+
- `policy.*`, `attestation.*`, `execution.*`, `audit.*`
|
|
27
|
+
|
|
28
|
+
- **JSON Schemas**
|
|
29
|
+
- `prov.record.schema.v0.1.json` — Provenance record
|
|
30
|
+
- `artifact.schema.v0.1.json` — Artifact metadata
|
|
31
|
+
- `artifact.ref.schema.v0.1.json` — Artifact references
|
|
32
|
+
- `evidence.schema.v0.1.json` — Evidence anchors
|
|
33
|
+
- `mcp.envelope.schema.v0.1.json` — MCP envelope wrapper
|
|
34
|
+
- `mcp.request.schema.v0.1.json` — MCP request format
|
|
35
|
+
- `prov-capabilities.schema.json` — Capability manifest
|
|
36
|
+
- `methods.schema.json` — Method catalog format
|
|
37
|
+
|
|
38
|
+
- **Test Vectors**
|
|
39
|
+
- `integrity.digest.sha256` — Digest computation
|
|
40
|
+
- `adapter.wrap.envelope_v0_1` — Envelope wrapping
|
|
41
|
+
- `engine.extract.evidence.json_pointer` — Evidence extraction
|
|
42
|
+
- `method_id_syntax` — Grammar validation
|
|
43
|
+
- Negative vectors for must-fail cases
|
|
44
|
+
|
|
45
|
+
- **Conformance Levels**
|
|
46
|
+
- Level 1: Integrity
|
|
47
|
+
- Level 2: Engine
|
|
48
|
+
- Level 3: Lineage
|
|
49
|
+
|
|
50
|
+
- **Reference Tools**
|
|
51
|
+
- Python validator (`prov_validator`)
|
|
52
|
+
|
|
53
|
+
- **Documentation**
|
|
54
|
+
- CONFORMANCE_LEVELS.md
|
|
55
|
+
- MCP_COMPATIBILITY.md
|
|
56
|
+
- PROV_METHODS_CATALOG.md
|
|
57
|
+
|
|
58
|
+
### Security
|
|
59
|
+
|
|
60
|
+
- All method IDs are stable and append-only
|
|
61
|
+
- No semantic changes without major version bump
|
|
62
|
+
- Canonicalization prevents hash ambiguity
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Stability Guarantee
|
|
67
|
+
|
|
68
|
+
> Method IDs marked `stable` are append-only and will never change semantics.
|
|
69
|
+
> Compatibility is guaranteed within a major version.
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
+
and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
|
26
|
+
overall community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
31
|
+
advances of any kind
|
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
* Public or private harassment
|
|
34
|
+
* Publishing others' private information, such as a physical or email
|
|
35
|
+
address, without their explicit permission
|
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
[INSERT CONTACT METHOD].
|
|
64
|
+
|
|
65
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
66
|
+
|
|
67
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
68
|
+
reporter of any incident.
|
|
69
|
+
|
|
70
|
+
## Enforcement Guidelines
|
|
71
|
+
|
|
72
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
73
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
74
|
+
|
|
75
|
+
### 1. Correction
|
|
76
|
+
|
|
77
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
78
|
+
unprofessional or unwelcome in the community.
|
|
79
|
+
|
|
80
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
81
|
+
clarity around the nature of the violation and an explanation of why the
|
|
82
|
+
behavior was inappropriate. A public apology may be requested.
|
|
83
|
+
|
|
84
|
+
### 2. Warning
|
|
85
|
+
|
|
86
|
+
**Community Impact**: A violation through a single incident or series
|
|
87
|
+
of actions.
|
|
88
|
+
|
|
89
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
90
|
+
interaction with the people involved, including unsolicited interaction with
|
|
91
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
92
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
93
|
+
like social media. Violating these terms may lead to a temporary or
|
|
94
|
+
permanent ban.
|
|
95
|
+
|
|
96
|
+
### 3. Temporary Ban
|
|
97
|
+
|
|
98
|
+
**Community Impact**: A serious violation of community standards, including
|
|
99
|
+
sustained inappropriate behavior.
|
|
100
|
+
|
|
101
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
102
|
+
communication with the community for a specified period of time. No public or
|
|
103
|
+
private interaction with the people involved, including unsolicited interaction
|
|
104
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
105
|
+
Violating these terms may lead to a permanent ban.
|
|
106
|
+
|
|
107
|
+
### 4. Permanent Ban
|
|
108
|
+
|
|
109
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
110
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
111
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
112
|
+
|
|
113
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
|
114
|
+
the community.
|
|
115
|
+
|
|
116
|
+
## Attribution
|
|
117
|
+
|
|
118
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
119
|
+
version 2.0, available at
|
|
120
|
+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
121
|
+
|
|
122
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
123
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
|
124
|
+
|
|
125
|
+
[homepage]: https://www.contributor-covenant.org
|
|
126
|
+
|
|
127
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
128
|
+
https://www.contributor-covenant.org/faq. Translations are available at
|
|
129
|
+
https://www.contributor-covenant.org/translations.
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Conformance Levels
|
|
2
|
+
|
|
3
|
+
**Spec Version:** v0.1.0
|
|
4
|
+
|
|
5
|
+
This document defines testable conformance tiers for prov-spec implementations.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
Conformance is incremental. Each level builds on the previous.
|
|
12
|
+
|
|
13
|
+
| Level | Name | Badge | Requirements |
|
|
14
|
+
|-------|------|-------|--------------|
|
|
15
|
+
| **1** | Integrity |  | Correct hashing and canonicalization |
|
|
16
|
+
| **2** | Engine |  | Level 1 + provenance record construction |
|
|
17
|
+
| **3** | Lineage |  | Level 2 + parent linking and graph operations |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Level 1: Integrity
|
|
22
|
+
|
|
23
|
+
**Focus:** Cryptographic correctness
|
|
24
|
+
|
|
25
|
+
### Required Methods
|
|
26
|
+
|
|
27
|
+
- `integrity.digest.sha256` (or `sha512` or `blake3`)
|
|
28
|
+
|
|
29
|
+
### Requirements
|
|
30
|
+
|
|
31
|
+
1. **Canonicalization:** JSON content MUST be canonicalized per spec Section 6
|
|
32
|
+
2. **Digest format:** `{ "alg": "<algorithm>", "value": "<lowercase-hex>" }`
|
|
33
|
+
3. **Determinism:** Same input MUST produce same digest
|
|
34
|
+
|
|
35
|
+
### Test Vectors
|
|
36
|
+
|
|
37
|
+
- `spec/vectors/integrity.digest.sha256/`
|
|
38
|
+
|
|
39
|
+
### How to Claim
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"conformance_level": "L1-integrity",
|
|
44
|
+
"implements": ["integrity.digest.sha256"]
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Level 2: Engine
|
|
51
|
+
|
|
52
|
+
**Focus:** Provenance record construction
|
|
53
|
+
|
|
54
|
+
### Required Methods
|
|
55
|
+
|
|
56
|
+
All of Level 1, plus:
|
|
57
|
+
|
|
58
|
+
- `adapter.wrap.envelope_v0_1`
|
|
59
|
+
- `adapter.provenance.attach_record_v0_1`
|
|
60
|
+
- `engine.prov.artifact.register_output`
|
|
61
|
+
|
|
62
|
+
### Requirements
|
|
63
|
+
|
|
64
|
+
1. **Envelope structure:** Valid `mcp.envelope.v0.1`
|
|
65
|
+
2. **Record structure:** Valid `prov.record.v0.1`
|
|
66
|
+
3. **No double-wrap:** Existing envelopes pass through unchanged
|
|
67
|
+
4. **Method claims:** Only claim methods actually applied
|
|
68
|
+
|
|
69
|
+
### Test Vectors
|
|
70
|
+
|
|
71
|
+
- `spec/vectors/adapter.wrap.envelope_v0_1/`
|
|
72
|
+
- `spec/vectors/engine.prov.artifact.register_output/`
|
|
73
|
+
|
|
74
|
+
### How to Claim
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"conformance_level": "L2-engine",
|
|
79
|
+
"implements": [
|
|
80
|
+
"integrity.digest.sha256",
|
|
81
|
+
"adapter.wrap.envelope_v0_1",
|
|
82
|
+
"adapter.provenance.attach_record_v0_1",
|
|
83
|
+
"engine.prov.artifact.register_output"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Level 3: Lineage
|
|
91
|
+
|
|
92
|
+
**Focus:** Provenance chains and graphs
|
|
93
|
+
|
|
94
|
+
### Required Methods
|
|
95
|
+
|
|
96
|
+
All of Level 2, plus:
|
|
97
|
+
|
|
98
|
+
- `lineage.parent.link`
|
|
99
|
+
|
|
100
|
+
### Requirements
|
|
101
|
+
|
|
102
|
+
1. **Parent references:** `parents[]` contains valid `run_id` values
|
|
103
|
+
2. **Retrievability:** Parent records SHOULD be retrievable
|
|
104
|
+
3. **Acyclicity:** Lineage graph MUST be a DAG (no cycles)
|
|
105
|
+
|
|
106
|
+
### Test Vectors
|
|
107
|
+
|
|
108
|
+
- `spec/vectors/lineage.parent.link/`
|
|
109
|
+
|
|
110
|
+
### How to Claim
|
|
111
|
+
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"conformance_level": "L3-lineage",
|
|
115
|
+
"implements": [
|
|
116
|
+
"integrity.digest.sha256",
|
|
117
|
+
"adapter.wrap.envelope_v0_1",
|
|
118
|
+
"adapter.provenance.attach_record_v0_1",
|
|
119
|
+
"engine.prov.artifact.register_output",
|
|
120
|
+
"lineage.parent.link"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Optional Methods
|
|
128
|
+
|
|
129
|
+
These methods enhance conformance but are not required for any level:
|
|
130
|
+
|
|
131
|
+
| Method | Purpose |
|
|
132
|
+
|--------|---------|
|
|
133
|
+
| `engine.prov.artifact.register_input` | Track input artifacts |
|
|
134
|
+
| `engine.extract.evidence.json_pointer` | JSON pointer evidence anchors |
|
|
135
|
+
| `engine.extract.evidence.text_lines` | Text line evidence anchors |
|
|
136
|
+
| `integrity.signature.create` | Sign provenance records |
|
|
137
|
+
| `integrity.signature.verify` | Verify signatures |
|
|
138
|
+
|
|
139
|
+
Declare optional methods in `prov-capabilities.json`:
|
|
140
|
+
|
|
141
|
+
```json
|
|
142
|
+
{
|
|
143
|
+
"optional": [
|
|
144
|
+
"engine.prov.artifact.register_input",
|
|
145
|
+
"integrity.signature.create"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Validation Process
|
|
153
|
+
|
|
154
|
+
### Self-Declaration
|
|
155
|
+
|
|
156
|
+
1. Create `prov-capabilities.json` in your project root
|
|
157
|
+
2. List implemented methods
|
|
158
|
+
3. Declare conformance level
|
|
159
|
+
4. Document any known deviations
|
|
160
|
+
|
|
161
|
+
### Automated Validation
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
# Validate your manifest
|
|
165
|
+
python -m prov_validator validate-manifest prov-capabilities.json
|
|
166
|
+
|
|
167
|
+
# Run all applicable test vectors
|
|
168
|
+
python -m prov_validator check-vector integrity.digest.sha256
|
|
169
|
+
python -m prov_validator check-vector adapter.wrap.envelope_v0_1
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Conformance Report
|
|
173
|
+
|
|
174
|
+
Generate a report for auditors:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
python -m prov_validator conformance-report prov-capabilities.json -o report.json
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Badge Usage
|
|
183
|
+
|
|
184
|
+
Add a conformance badge to your README:
|
|
185
|
+
|
|
186
|
+
```markdown
|
|
187
|
+
[](https://github.com/prov-spec/prov-spec)
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Renders as: 
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Known Deviations
|
|
195
|
+
|
|
196
|
+
If your implementation deviates from spec, document it:
|
|
197
|
+
|
|
198
|
+
```json
|
|
199
|
+
{
|
|
200
|
+
"known_deviations": [
|
|
201
|
+
{
|
|
202
|
+
"method_id": "integrity.digest.sha256",
|
|
203
|
+
"deviation": "Uses uppercase hex instead of lowercase",
|
|
204
|
+
"reason": "Legacy compatibility with existing system"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Deviations don't disqualify conformance claims but MUST be disclosed.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Upgrading Conformance
|
|
215
|
+
|
|
216
|
+
To move from Level 1 to Level 2:
|
|
217
|
+
|
|
218
|
+
1. Implement required Level 2 methods
|
|
219
|
+
2. Pass Level 2 test vectors
|
|
220
|
+
3. Update `prov-capabilities.json`
|
|
221
|
+
4. Update badge
|
|
222
|
+
|
|
223
|
+
No breaking changes are required — conformance is additive.
|