opencomplai-cli 0.13.2__tar.gz → 0.14.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/PKG-INFO +8 -3
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/README.md +1 -1
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/pyproject.toml +15 -2
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/__init__.py +1 -1
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/checker.py +12 -1
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/data/checker-local.html +5 -5
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/main.py +58 -9
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_nist_artifact.json +291 -305
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_nist_stdout.json +291 -305
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/gaps_credit_nist.json +289 -303
- opencomplai_cli-0.14.0/tests/golden/gaps_credit_nist.txt +176 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/recommend_files.txt +1 -1
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_checker_roles.py +3 -3
- opencomplai_cli-0.14.0/tests/test_docs_generate_cybersecurity.py +130 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_truth.py +1 -1
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_multi_target.py +2 -2
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_nist_rmf_target.py +15 -15
- opencomplai_cli-0.13.2/tests/golden/gaps_credit_nist.txt +0 -205
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/.gitignore +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/_encoding.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/acceptance_gate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/agent_inventory_payload.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/ai_status.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/check_signing.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/__init__.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/accept.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/agents.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/agents_attest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/agents_runtime.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/agents_verify_log.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/checker_manifest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/controls.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/dashboard.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/deployer_pack.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/diff.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/export.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/halt.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/incident.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/instructions.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/interactive_init.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/oversight_log.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/portfolio.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/proposal.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/push.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/qms.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/rules.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/serve.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/snippet.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/verify.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/commands/verify_dossier.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/connectors/__init__.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/connectors/_check_args.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/connectors/github_actions.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/connectors/gitlab_ci.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/coverage_notice.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/exit_codes.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/inputs.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/leads.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/mapped_view.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/oidc_client.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/oversight_payload.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/proposal_gate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/provenance.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/publish.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/report_outputs.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/signing_identity.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/summaries_emit.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/__init__.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/conftest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/fixtures/agents/sample-manifest.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/fixtures/agents/sample-scan-report.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/fixtures/check_reports_artifact.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/fixtures/sarif-2.1.0.subset.schema.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/fixtures/trap/trap-manifest.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_eu_artifact.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_eu_stdout.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_reports.junit.xml +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_reports.sarif.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/check_reports.summary.md +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/gaps_chatbot.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/gaps_chatbot.txt +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/gaps_credit.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/gaps_credit.txt +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/init_manifest.json +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/golden/report.html +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_accept_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agent_inventory_payload.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agents_attest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agents_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agents_expiry.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agents_import_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_agents_verify_log.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ai_docs_claims.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ai_preload.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ai_status.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ai_status_cache.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_candidate_tier_invariants.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_changelog_newest_block.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_changelog_unreleased.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_acceptance.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_acceptance_matrix.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_accepted_real_rows.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_evidence_inputs.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_exemption_gate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_gate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_output_dir.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_portfolio.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_proposal.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_report_exit_codes.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_reports.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_roles.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_sign_gate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_signing.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_check_summaries.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_checker_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ci_integration_guide.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ci_recipes_guide.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ci_strict_reading.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_ci_templates.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_cli.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_cli_docs_pages.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_connector_check_args.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_connectors.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_controls_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_controls_sync.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_dashboard_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_dead_code_nits.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_default_scan_coverage_notice.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_deployer_pack_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_diff_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_diff_tool_changes.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_anchors.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_closeout_guards.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_default_scan_coverage.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_generate_push.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_generate_render.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_generate_wiring.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_golive_wording.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_proposal_wording.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_python_snippets.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_release_notes_0130.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_signing_claims.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_wording_guards.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_docs_works_alongside.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_encoding.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_eu_ai_scan_golden.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_eval_provider_base_url.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_eval_seed_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_evidence_provenance.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_exit_codes.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_export_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_export_sign.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_fria_generate.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gap_report_input.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_applicability.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_gpai.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_map_to.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gaps_mapped_column.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_gate_demo.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_github_action.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_golden_eu_output.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_halt_wire.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_homebrew_formula.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_homebrew_release_script.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_incident_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_incident_log_cli.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_init_model_card.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_input_robustness.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_install_scripts.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_instructions_generate_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_iso_42001_target.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_leads_area_policy.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_no_direct_click.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_oidc_client.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_oss_sync_gates.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_oversight_log.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_oversight_payload.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_precommit_hooks_pin.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_proposal_gate_manifest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_proposal_leads.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_proposal_leads_exit_neutrality.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_provenance_stamp.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_public_tree_safety.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_publish.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_push_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_push_cmd_dossier.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_qms_generate_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_qms_generate_manifest.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_qms_scaffold_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_readme_command_table.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_readme_quickstart_pin.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_recommend_gpai.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_recommend_qms_clauses.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_regulatory_timeline_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_release_pins_parity.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_release_runbook_docs.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_report_files_keep_confirmed.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_rules_changelog_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_candidates_render.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_import_candidates.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_propose.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_quick.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_scan_snippet_root.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_schema_violation_hint.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_security_claims.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_serve_docs.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_service_check.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_signing_secret_script.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_sort_priority.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_summaries_emit.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_validate_manifest_agents.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_validate_manifest_oversight.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_verify_cmd.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_verify_dossier_kind.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_verify_kinds.py +0 -0
- {opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/tests/test_verify_sbom.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: opencomplai-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Summary: Opencomplai command-line interface for AI compliance: the EU AI Act, and NIST AI RMF derived from the same evidence
|
|
5
5
|
Project-URL: Homepage, https://opencomplai.com
|
|
6
6
|
Project-URL: Documentation, https://docs.opencomplai.com
|
|
@@ -9,21 +9,26 @@ Project-URL: Issues, https://github.com/Opencomplai/opencomplai/issues
|
|
|
9
9
|
Project-URL: Changelog, https://github.com/Opencomplai/opencomplai/blob/main/CHANGELOG.md
|
|
10
10
|
Author-email: Opencomplai <hello@opencomplai.com>
|
|
11
11
|
License: AGPL-3.0-only
|
|
12
|
+
Keywords: ai-governance,ci-cd,cli,compliance-as-code,eu-ai-act,nist-ai-rmf,risk-assessment
|
|
12
13
|
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
13
15
|
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Information Technology
|
|
14
17
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
18
|
Classifier: Operating System :: OS Independent
|
|
16
19
|
Classifier: Programming Language :: Python :: 3
|
|
17
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Security
|
|
19
23
|
Classifier: Topic :: Software Development :: Quality Assurance
|
|
20
24
|
Requires-Python: >=3.11
|
|
21
|
-
Requires-Dist: opencomplai-core[reports]>=0.
|
|
25
|
+
Requires-Dist: opencomplai-core[reports]>=0.14.0
|
|
22
26
|
Requires-Dist: questionary>=2.0.0
|
|
23
27
|
Requires-Dist: rich>=13.0.0
|
|
24
28
|
Requires-Dist: typer>=0.9.0
|
|
25
29
|
Provides-Extra: dev
|
|
26
30
|
Requires-Dist: jsonschema>=4.21; extra == 'dev'
|
|
31
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
|
|
27
32
|
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
28
33
|
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
29
34
|
Provides-Extra: serve
|
|
@@ -40,7 +45,7 @@ Description-Content-Type: text/markdown
|
|
|
40
45
|
The `opencomplai` command-line tool for AI compliance assessment. It scans your
|
|
41
46
|
repository, classifies your AI system against the EU AI Act, reports gaps for every
|
|
42
47
|
framework your manifest targets (NIST AI RMF 1.0 is derived from the EU AI Act evidence),
|
|
43
|
-
and produces an auditable, CI-gateable compliance artifact. EU AI Act evaluated; NIST AI RMF derived
|
|
48
|
+
and produces an auditable, CI-gateable compliance artifact. EU AI Act evaluated; NIST AI RMF derived per subcategory, attested where EU AI Act evidence is silent (unreviewed); ISO 42001, ISO 27090, ISO 27001, ISO 42005, ISO 23894, SOC 2, NIS2, DORA, EBA, EIOPA, GDPR, CRA and ETSI EN 304 223 native packs, attestation-led (unreviewed).
|
|
44
49
|
|
|
45
50
|
Built on [`opencomplai-core`](https://pypi.org/project/opencomplai-core/) — the same
|
|
46
51
|
deterministic, rule-based risk engine, with a rich terminal UX.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
The `opencomplai` command-line tool for AI compliance assessment. It scans your
|
|
8
8
|
repository, classifies your AI system against the EU AI Act, reports gaps for every
|
|
9
9
|
framework your manifest targets (NIST AI RMF 1.0 is derived from the EU AI Act evidence),
|
|
10
|
-
and produces an auditable, CI-gateable compliance artifact. EU AI Act evaluated; NIST AI RMF derived
|
|
10
|
+
and produces an auditable, CI-gateable compliance artifact. EU AI Act evaluated; NIST AI RMF derived per subcategory, attested where EU AI Act evidence is silent (unreviewed); ISO 42001, ISO 27090, ISO 27001, ISO 42005, ISO 23894, SOC 2, NIS2, DORA, EBA, EIOPA, GDPR, CRA and ETSI EN 304 223 native packs, attestation-led (unreviewed).
|
|
11
11
|
|
|
12
12
|
Built on [`opencomplai-core`](https://pypi.org/project/opencomplai-core/) — the same
|
|
13
13
|
deterministic, rule-based risk engine, with a rich terminal UX.
|
|
@@ -1,23 +1,35 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "opencomplai-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.14.0"
|
|
4
4
|
description = "Opencomplai command-line interface for AI compliance: the EU AI Act, and NIST AI RMF derived from the same evidence"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "AGPL-3.0-only" }
|
|
7
7
|
authors = [{ name = "Opencomplai", email = "hello@opencomplai.com" }]
|
|
8
8
|
requires-python = ">=3.11"
|
|
9
|
+
keywords = [
|
|
10
|
+
"ai-governance",
|
|
11
|
+
"ci-cd",
|
|
12
|
+
"cli",
|
|
13
|
+
"compliance-as-code",
|
|
14
|
+
"eu-ai-act",
|
|
15
|
+
"nist-ai-rmf",
|
|
16
|
+
"risk-assessment",
|
|
17
|
+
]
|
|
9
18
|
classifiers = [
|
|
10
19
|
"Development Status :: 4 - Beta",
|
|
20
|
+
"Environment :: Console",
|
|
11
21
|
"Intended Audience :: Developers",
|
|
22
|
+
"Intended Audience :: Information Technology",
|
|
12
23
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
13
24
|
"Operating System :: OS Independent",
|
|
14
25
|
"Programming Language :: Python :: 3",
|
|
15
26
|
"Programming Language :: Python :: 3.11",
|
|
16
27
|
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Topic :: Security",
|
|
17
29
|
"Topic :: Software Development :: Quality Assurance",
|
|
18
30
|
]
|
|
19
31
|
dependencies = [
|
|
20
|
-
"opencomplai-core[reports]>=0.
|
|
32
|
+
"opencomplai-core[reports]>=0.14.0",
|
|
21
33
|
"typer>=0.9.0",
|
|
22
34
|
"rich>=13.0.0",
|
|
23
35
|
"questionary>=2.0.0",
|
|
@@ -42,6 +54,7 @@ opencomplai-gitlab-connector = "opencomplai_cli.connectors.gitlab_ci:main"
|
|
|
42
54
|
[project.optional-dependencies]
|
|
43
55
|
dev = [
|
|
44
56
|
"pytest>=7.0",
|
|
57
|
+
"pytest-cov>=5.0.0",
|
|
45
58
|
"ruff>=0.1.0",
|
|
46
59
|
# Only used by test_publish.py's structural schema-validation test (an
|
|
47
60
|
# end-to-end proof that the real repo-root compliance-artifact.json,
|
|
@@ -23,7 +23,10 @@ from opencomplai_core.compliance_checker import (
|
|
|
23
23
|
render_pdf,
|
|
24
24
|
)
|
|
25
25
|
from opencomplai_core.compliance_checker.bridge import derogation_grounds
|
|
26
|
-
from opencomplai_core.compliance_checker.catalog import
|
|
26
|
+
from opencomplai_core.compliance_checker.catalog import (
|
|
27
|
+
load_help_content,
|
|
28
|
+
load_questions,
|
|
29
|
+
)
|
|
27
30
|
from opencomplai_core.compliance_checker.merge import (
|
|
28
31
|
MergedCheckerResult,
|
|
29
32
|
merge_role_results,
|
|
@@ -270,6 +273,14 @@ def run_interactive_wizard(
|
|
|
270
273
|
"Does the system require transparency obligations (chatbot, deepfake, synthetic content)?",
|
|
271
274
|
default=False,
|
|
272
275
|
)
|
|
276
|
+
if answers["r4_transparency"]:
|
|
277
|
+
answers["r4_transparency_items"] = [
|
|
278
|
+
value
|
|
279
|
+
for value, label in load_questions()["r4_transparency_items"][
|
|
280
|
+
"options"
|
|
281
|
+
].items()
|
|
282
|
+
if _confirm(f"Art. 50: {label}?", default=False)
|
|
283
|
+
]
|
|
273
284
|
|
|
274
285
|
if entity == EntityType.DEPLOYER.value:
|
|
275
286
|
answers["r5_fria"] = _confirm(
|
{opencomplai_cli-0.13.2 → opencomplai_cli-0.14.0}/src/opencomplai_cli/data/checker-local.html
RENAMED
|
@@ -139,19 +139,19 @@
|
|
|
139
139
|
<p>
|
|
140
140
|
Answer a short questionnaire to find out whether the EU AI Act applies to
|
|
141
141
|
your AI system, in what operator role, at what risk tier, and which
|
|
142
|
-
obligations follow. Engine version <strong>checker-2026-10-
|
|
142
|
+
obligations follow. Engine version <strong>checker-2026-10-26</strong>.
|
|
143
143
|
</p>
|
|
144
144
|
</div>
|
|
145
145
|
<div id="ococ-checker"></div>
|
|
146
146
|
</main>
|
|
147
147
|
|
|
148
148
|
<footer>
|
|
149
|
-
Opencomplai · checker checker-2026-10-
|
|
149
|
+
Opencomplai · checker checker-2026-10-26 ·
|
|
150
150
|
<a href="https://opencomplai.com" target="_blank" rel="noopener">opencomplai.com</a><br>
|
|
151
151
|
Not legal advice — informational only. Seek qualified legal counsel.
|
|
152
152
|
</footer>
|
|
153
153
|
|
|
154
|
-
<script>"use strict";var OcocChecker=(()=>{var O=Object.defineProperty;var re=Object.getOwnPropertyDescriptor;var ne=Object.getOwnPropertyNames;var se=Object.prototype.hasOwnProperty;var ae=(e,t)=>{for(var i in t)O(e,i,{get:t[i],enumerable:!0})},ce=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ne(t))!se.call(e,n)&&n!==i&&O(e,n,{get:()=>t[n],enumerable:!(o=re(t,n))||o.enumerable});return e};var le=e=>ce(O({},"__esModule",{value:!0}),e);var ze={};ae(ze,{mount:()=>L});var K={ai_literacy:{title:"AI literacy",body:"Providers and deployers of AI systems must take measures to support the development of AI literacy of their staff and other persons dealing with the operation and use of AI systems on their behalf, taking into account their technical knowledge, experience, education and training and the context the AI systems are to be used in, and considering the persons or groups of persons on whom the AI systems are to be used, according to Article 4 of the AI Act. This obligation does not require providers or deployers to guarantee any specific level of AI literacy of any individual.",article_ref:"Art. 4"},authorised_representative:{title:"Authorised representative obligations",body:"An authorised representative must receive a written mandate from a provider to perform specified tasks on its behalf. The authorised representative must keep contact details available, verify that the EU declaration of conformity and technical documentation have been drawn up, and cooperate with competent authorities. Upon termination of the mandate, the authorised representative must inform the market surveillance authority.",article_ref:"Art. 22"},provider_high_risk:{title:"Provider obligations for high-risk AI systems",body:"Providers of high-risk AI systems must establish a risk management system, ensure data governance, draw up technical documentation, design for record-keeping, provide instructions for use, enable human oversight, ensure accuracy, robustness and cybersecurity, establish a quality management system, and draw up an EU declaration of conformity before placing the system on the market or putting it into service.",article_ref:"Art. 16\u201321, Art. 43"},deployer_high_risk:{title:"Deployer obligations for high-risk AI systems",body:"Deployers of high-risk AI systems must take appropriate technical and organisational measures, ensure human oversight, monitor operation, keep automatically generated logs, and inform the provider or distributor where they consider that use may constitute a risk. Deployers that are bodies governed by public law or private entities providing public services, and deployers of Annex III point 5(b) and 5(c) systems, must perform a fundamental rights impact assessment before first use of the system.",article_ref:"Art. 26, Art. 27"},deployer_general:{title:"General deployer obligations",body:"Deployers must use AI systems in accordance with the instructions for use, assign human oversight, and ensure that input data is relevant in view of the intended purpose. Where applicable, deployers must inform workers' representatives and affected persons that they are subject to the use of a high-risk AI system, as required by the Regulation.",article_ref:"Art. 26"},distributor:{title:"Distributor obligations",body:"Before making a high-risk AI system available on the market, distributors must verify that it bears the required CE marking, is accompanied by the EU declaration of conformity and instructions for use, and that the provider and importer have complied with their obligations. Distributors must not make available systems they know or should have known are not in conformity.",article_ref:"Art. 24"},importer:{title:"Importer obligations",body:"Before placing a high-risk AI system on the market, importers must ensure that the provider has drawn up the required technical documentation, that the system bears the CE marking and is accompanied by required documents, and that the provider has complied with registration obligations. Importers must indicate their name, registered trade name or trademark and contact address on the system or its packaging.",article_ref:"Art. 23"},product_manufacturer:{title:"Product manufacturer obligations",body:"Where a product manufacturer places on the market or puts into service an AI system together with its product under its own name or trademark, it shall be considered the provider of that AI system and shall be subject to the obligations of the provider under this Regulation, in accordance with Article 25(1).",article_ref:"Art. 25(1), Art. 16"},gpai_provider:{title:"General-purpose AI model provider obligations",body:"Providers of general-purpose AI models must draw up and keep technical documentation, provide information and documentation to downstream providers, put in place a policy to respect Union copyright law, and publish a sufficiently detailed summary about the content used for training. Providers must cooperate with the AI Office and national competent authorities.",article_ref:"Art. 53"},gpai_systemic_risk:{title:"GPAI model with systemic risk obligations",body:"Providers of general-purpose AI models with systemic risk must perform model evaluations, assess and mitigate possible systemic risks, track and report serious incidents, and ensure adequate cybersecurity protection. They must also comply with additional obligations set out in Article 55.",article_ref:"Art. 55"},transparency:{title:"Transparency obligations",body:"Providers must ensure that AI systems intended to interact directly with natural persons are designed and developed so that the persons concerned are informed that they are interacting with an AI system. Providers of AI systems that generate synthetic audio, image, video or text content must ensure outputs are marked in a machine-readable format and detectable as artificially generated.",article_ref:"Art. 50"},prohibited:{title:"Prohibited AI practices",body:"The following AI practices are prohibited: harmful subliminal techniques, exploitation of vulnerabilities, social scoring of natural persons, individual predictive policing based solely on profiling, untargeted scraping of facial images, emotion recognition in workplaces and education, biometric categorisation inferring sensitive attributes, and real-time remote biometric identification in publicly accessible spaces for law enforcement except in strictly defined circumstances. Two further practices, Article 5(1) points (ba) and (bb), apply from 2 December 2026: (ba) non-consensual intimate imagery, meaning an AI system that generates or manipulates realistic images, videos, audio or similar material of an identifiable natural person's intimate parts, or of an identifiable natural person engaged in sexually explicit activities, without that person's freely-given, specific, informed, unambiguous and explicit consent; and (bb) an AI system that generates or manipulates material or performance within the meaning of Article 2, points (c) and (e), of Directive 2011/93/EU, except where a 'without right' defence applies under national law. Article 5(1a) and (1b) set conditions for these two points.",article_ref:"Art. 5"},provider_art_6_4_registration:{title:"Documentation and registration for Annex III systems assessed as not high-risk",body:"A provider that considers an Annex III system not high-risk under Article 6(3) must document that assessment before placing it on the market or putting it into service, register itself and the system in the EU database, and give the documentation to national competent authorities on request.",article_ref:"Art. 6(4), Art. 49(2)"},fria:{title:"Fundamental rights impact assessment",body:"Deployers that are bodies governed by public law or private entities providing public services, and deployers of Annex III point 5(b) and 5(c) systems, must, prior to the first use of a high-risk AI system, perform an assessment of the impact on fundamental rights that the use of such system may produce in the specific context of use.",article_ref:"Art. 27"}};var q={out_of_scope:{title:"Out of scope",body:"Based on your answers, the EU AI Act does not apply to your situation, or your system is not considered an AI system within the meaning of Article 3(1)."},become_provider:{title:"You become a provider",body:"Because you substantially modify an AI system, you are considered a provider under Article 25(1)(b) and must comply with provider obligations rather than your original operator role."},handover:{title:"Handover to new provider",body:"As a provider who has substantially modified a high-risk AI system, you must hand over documentation and information to the new provider so they can comply with their obligations under Article 25(2)."},high_risk:{title:"High-risk AI system",body:"Your AI system is classified as high-risk under Article 6. Additional obligations under Chapter III, Section 2 apply before placing the system on the market or putting it into service."},high_risk_exception:{title:"High-risk exception for deployers",body:"As a deployer operating in the EU, certain high-risk classification pathways (Annex III use cases) may not impose full provider obligations on you, but deployer obligations under Chapter III, Section 3 still apply."},prohibited:{title:"Prohibited AI practice",body:"Your AI system appears to fall within a prohibited practice under Article 5. Such systems must not be placed on the market, put into service, or used in the Union."},gpai:{title:"General-purpose AI model",body:"Your system is a general-purpose AI model subject to Chapter V obligations in addition to any system-level requirements."},transparency_only:{title:"Limited risk \u2014 transparency obligations",body:"Your AI system is not high-risk but is subject to transparency obligations under Article 50."}};var B={entity_definitions:{title:"Operator roles under the AI Act",body:"Article 3(3) defines operators: a provider develops an AI system or has it developed and places it on the market or puts it into service under its own name or trademark; a deployer uses an AI system under its authority; a distributor makes an AI system available on the Union market; an importer places an AI system from a third country on the Union market; a product manufacturer places on the market an AI system together with its product under its own name or trademark; an authorised representative is a natural or legal person established in the Union who has received a written mandate from a provider."},entity_roles:{provider:{title:"Provider",description:"You develop an AI system (or have it developed) and place it on the market or put it into service under your own name or trademark. In short: you build and ship it."},deployer:{title:"Deployer",description:"You use an AI system under your own authority in a professional capacity \u2014 you are not an affected end-user. In short: you bought it and run it on people or data."},distributor:{title:"Distributor",description:"You make an AI system available on the EU market in the supply chain, without being its provider or importer. In short: you are a reseller or sales channel."},importer:{title:"Importer",description:"You are established in the EU and place on the market an AI system carrying the name or trademark of a provider established outside the EU. In short: you bring a non-EU system into the EU."},product_manufacturer:{title:"Product manufacturer",description:"You place on the market or put into service an AI system together with your product and under your own name or trademark. In short: AI is built into a product you sell."},authorised_rep:{title:"Authorised representative",description:"You are a person or entity in the EU holding a written mandate from a non-EU provider to act on its behalf for AI Act obligations."}},ai_system_definition:{title:"Definition of an AI system",body:"An AI system is a machine-based system designed to operate with varying levels of autonomy, that may exhibit adaptiveness after deployment and that, for explicit or implicit objectives, infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions that can influence physical or virtual environments (Article 3(1))."},high_risk_overview:{title:"High-risk classification",body:"An AI system is high-risk if it is a product covered by Union harmonisation legislation listed in Annex I with a required third-party conformity assessment, and the product includes an AI system as a safety component; or if it is listed in Annex III and none of the Article 6(3) exceptions apply. An Annex III system that performs profiling of natural persons is always high-risk, regardless of whether any exception would otherwise apply."},scope_overview:{title:"Scope of the AI Act",body:"The AI Act applies to providers placing AI systems on the Union market or putting them into service, deployers with a place of establishment or located in the Union, and to providers and deployers in third countries where the output is used in the Union. Certain exclusions apply under Article 2 for military, national security, research, and personal non-professional activities."},modifications_overview:{title:"Substantial modifications",body:"A substantial modification of an AI system is a change that affects compliance with the AI Act and requires a new conformity assessment. A deployer, distributor, importer, or product manufacturer that substantially modifies a system becomes a provider under Article 25(1)(b)."},gpai_overview:{title:"General-purpose AI models",body:"A general-purpose AI model is an AI model, including where trained with a large amount of data using self-supervision at scale, that displays significant generality and is capable of competently performing a wide range of distinct tasks. Chapter V sets obligations for GPAI model providers distinct from high-risk AI system obligations."},gpai_systemic_risk_threshold:{title:"GPAI systemic risk \u2014 the Article 51 test",body:"This is not a subjective judgement call. Under Article 51(1)(a), a GPAI model is presumed to have systemic risk when the cumulative compute used for its training exceeds 10^25 floating point operations (FLOPs). Separately, under Article 51(1)(b) the Commission may designate a model as having systemic risk based on the Annex XIII criteria (reach, number of registered business users, market impact, and similar factors), or acting on a qualified alert from the scientific panel under Article 90 \u2014 regardless of the compute figure. A provider whose model meets or is likely to meet the compute threshold must notify the Commission under Article 52(1) without undue delay and in any event within two weeks of the criteria being met."},disclaimer:{title:"Not legal advice",body:"This tool automates EU AI Act compliance checker logic for educational and planning purposes. It does not constitute legal advice. Seek qualified legal counsel and follow national guidance for formal compliance decisions."}};var he=K,me=q,G=B,U=B.entity_roles??{};function Q(e){let t=he[e];if(!t)throw new Error(`Unknown obligation id: ${e}`);return{id:e,...t}}function F(e){let t=me[e];if(!t)throw new Error(`Unknown status_change id: ${e}`);return{id:e,...t}}var V="checker-2026-10-14";function l(e,t,i=!1){let o=e[t];return o==null?i:typeof o=="boolean"?o:typeof o=="string"?["true","yes","1"].includes(o.toLowerCase()):!!o}function fe(e){let t=e.e1_entity_type;return typeof t=="string"?t:"provider"}function ge(e){let t=l(e,"hr1_annex_i")&&l(e,"hr8_conformity_assessment"),i=l(e,"hr2_annex_iii");return!t&&!i?!1:i&&l(e,"hr7_profiling")?!0:!(i&&!t&&(l(e,"hr3_art_6_3")||l(e,"hr4_narrow_task")||l(e,"hr5_no_significant_risk")||l(e,"hr6_accessory")))}function ye(e){let t=l(e,"hr1_annex_i")&&l(e,"hr8_conformity_assessment");return l(e,"hr2_annex_iii")&&!t&&!l(e,"hr7_profiling")&&["hr3_art_6_3","hr4_narrow_task","hr5_no_significant_risk","hr6_accessory"].some(i=>l(e,i))}function E(e){let t=new Set;return e.filter(i=>t.has(i)?!1:(t.add(i),!0))}function be(e){let t=new Set;return e.filter(i=>t.has(i.id)?!1:(t.add(i.id),!0))}function _e(e){let t=new Set;return e.filter(i=>t.has(i.id)?!1:(t.add(i.id),!0))}function x(e){return{checker_version:V,in_scope:e.in_scope,is_high_risk:e.is_high_risk??!1,is_prohibited:e.is_prohibited??!1,effective_entity:e.effective_entity??null,status_changes:_e(e.statusIds.map(t=>F(t))),obligations:be(e.obligationIds.map(t=>Q(t))),determination_path:e.path,answers:e.answers,session_id:null}}function ve(e,t){let i=[];return e==="provider"?t&&i.push("provider_high_risk"):e==="deployer"?t?i.push("deployer_high_risk","deployer_general"):i.push("deployer_general"):e==="distributor"?t&&i.push("distributor"):e==="importer"?t&&i.push("importer"):e==="product_manufacturer"&&(i.push("product_manufacturer"),t&&i.push("provider_high_risk")),i}function H(e){let t=[],i=[],o=[];if(!l(e,"gate_is_ai_system",!0))return t.push("gate:no"),x({in_scope:!1,path:t,statusIds:["out_of_scope"],obligationIds:[],answers:e});t.push("gate:yes");let n=fe(e),s=n;if(t.push(`e1:${n}`),n==="authorised_rep")return x({in_scope:!0,path:t,statusIds:[],obligationIds:["authorised_representative"],effective_entity:s,answers:e});if(l(e,"e2_modifications")&&(n==="provider"?(i.push("handover"),t.push("e2:handover")):(i.push("become_provider"),s="provider",t.push("e2:become_provider"))),n==="product_manufacturer"&&(e.e3_product_integration??"none")==="none")return t.push("e3:none"),x({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],effective_entity:n,answers:e});let a=ge(e);if(a&&(i.push("high_risk"),t.push("hr:high_risk")),!l(e,"s1_in_scope",!0))return t.push("s1:none"),x({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],is_high_risk:a,effective_entity:s,answers:e});t.push("s1:in_scope");let d=e.s1_scope_region??"eu",k=l(e,"hr1_annex_i"),v=l(e,"hr2_annex_iii");if(s==="deployer"&&d==="eu"&&v&&!k&&a&&(i.push("high_risk_exception"),t.push("s1:high_risk_exception")),l(e,"r2_excluded"))return t.push("r2:excluded"),x({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],is_high_risk:a,effective_entity:s,answers:e});if(l(e,"r3_prohibited"))return t.push("r3:prohibited"),x({in_scope:!0,path:t,statusIds:E([...i,"prohibited"]),obligationIds:["prohibited"],is_high_risk:a,is_prohibited:!0,effective_entity:s,answers:e});if((s==="provider"||s==="deployer")&&(o.push("ai_literacy"),t.push("e1:ai_literacy")),l(e,"s1_gpai")&&(i.push("gpai"),o.push("gpai_provider"),t.push("r1:gpai"),l(e,"s1_gpai_systemic_risk")&&(o.push("gpai_systemic_risk"),t.push("r1:gpai_systemic_risk"))),o.push(...ve(s,a)),s==="provider"&&ye(e)&&(o.push("provider_art_6_4_registration"),t.push("hr:derogation_registration")),l(e,"r4_transparency")&&(o.push("transparency"),t.push("r4:transparency"),!a)){let h=o.filter(b=>b!=="ai_literacy");(o.length===2&&o[0]==="ai_literacy"&&o[1]==="transparency"||h.length===1&&h[0]==="transparency")&&i.push("transparency_only")}return l(e,"r5_fria")&&a&&l(e,"hr2_annex_iii")&&s==="deployer"&&(o.push("fria"),t.push("r5:fria")),x({in_scope:!0,path:t,statusIds:E(i),obligationIds:o,is_high_risk:a,effective_entity:s,answers:e})}var D="This tool automates EU AI Act compliance checker logic for educational and planning purposes. It does not constitute legal advice. Seek qualified legal counsel and follow national guidance for formal compliance decisions.",ke="\u{1F512} Runs entirely in your browser. Your answers are never transmitted.",we=["provider","deployer","distributor","importer","product_manufacturer","authorised_rep"],Ae={provider:"Provider",deployer:"Deployer",distributor:"Distributor",importer:"Importer",product_manufacturer:"Product manufacturer",authorised_rep:"Authorised representative"},xe=we.map(e=>{var t,i;return{value:e,label:((t=U[e])==null?void 0:t.title)??Ae[e]??e,description:(i=U[e])==null?void 0:i.description}}),N=[{key:"gate_is_ai_system",label:"Is this an AI system under Article 3(1)?",type:"confirm",section:"AI system",defaultBool:!0,helpKey:"ai_system_definition"},{key:"e1_entity_type",label:"Which kind of entity is your organisation?",type:"select",section:"Operator role",options:xe,helpKey:"entity_definitions",skip:e=>e.gate_is_ai_system===!1},{key:"e2_modifications",label:"Do you (or a downstream operator) make substantial modifications to the system?",type:"confirm",section:"Operator role",defaultBool:!1,helpKey:"modifications_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"},{key:"e3_product_integration",label:"Does your product integrate an AI system placed on the market under your name?",type:"select",section:"Operator role",options:[{value:"integrated",label:"Yes \u2014 placed on market under my name / trademark",description:"The AI system ships as part of your product, under your brand."},{value:"none",label:"No",description:"Your product does not place an AI system on the market under your name."}],skip:e=>e.e1_entity_type!=="product_manufacturer"},{key:"hr1_annex_i",label:"Is the system a product with AI as a safety component under Annex I harmonisation law?",type:"confirm",section:"Risk classification",defaultBool:!1,helpKey:"high_risk_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"hr8_conformity_assessment",label:"Is that Annex I product required to undergo a third-party conformity assessment by a notified body (Art 6(1)(b))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr1_annex_i},{key:"hr2_annex_iii",label:"Does the system fall within an Annex III high-risk use case?",type:"confirm",section:"Risk classification",defaultBool:!1,helpKey:"high_risk_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"hr7_profiling",label:"Does the system perform profiling of natural persons (automated processing of personal data to evaluate, analyse, or predict aspects such as behaviour, preferences, location, or performance)?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii},{key:"hr3_art_6_3",label:"Is the AI system intended only to improve the result of a previously completed human activity (Art 6(3)(b))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr4_narrow_task",label:"Is the AI intended only for a narrow procedural task (Art 6(3)(a))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr5_no_significant_risk",label:"Is the AI system intended only to detect decision-making patterns or deviations from prior decisions, without replacing or influencing the prior human assessment and without proper human review (Art 6(3)(c))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr6_accessory",label:"Is the AI system intended only to perform a preparatory task for an assessment relevant to the Annex III use case (Art 6(3)(d))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"s1_in_scope",label:"Are you placing, deploying, or using the system's output in the EU?",type:"confirm",section:"Scope",defaultBool:!0,helpKey:"scope_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"s1_scope_region",label:"Where is your organisation established?",type:"select",section:"Scope",options:[{value:"eu",label:"Established or located in the EU",description:"Your organisation has a place of establishment inside the Union."},{value:"third_country",label:"Outside the EU",description:"Your organisation is established in a third country."}],skip:e=>!e.s1_in_scope},{key:"s1_gpai",label:"Are you placing a General-Purpose AI model on the EU market?",type:"confirm",section:"Scope",defaultBool:!1,helpKey:"gpai_overview",skip:e=>!e.s1_in_scope},{key:"s1_gpai_systemic_risk",label:"Does the GPAI model have systemic risk (high-impact capabilities)?",type:"confirm",section:"Scope",defaultBool:!1,helpKey:"gpai_systemic_risk_threshold",skip:e=>!e.s1_gpai},{key:"r2_excluded",label:"Is the system excluded (military, R&D only, open-source not yet placed, personal use)?",type:"confirm",section:"Scope",defaultBool:!1,skip:e=>!e.s1_in_scope},{key:"r3_prohibited",label:"Does the system perform prohibited practices under Article 5?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded},{key:"r4_transparency",label:"Does the system require transparency obligations (chatbot, deepfake, synthetic content)?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded||!!e.r3_prohibited},{key:"r5_fria",label:"Are you a body governed by public law, a private entity providing public services, or a deployer of an Annex III 5(b) or 5(c) system (credit scoring or life/health insurance pricing) (FRIA under Art 27)?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded||!!e.r3_prohibited||e.e1_entity_type!=="deployer"}],Ie=`
|
|
154
|
+
<script>"use strict";var OcocChecker=(()=>{var L=Object.defineProperty;var ne=Object.getOwnPropertyDescriptor;var se=Object.getOwnPropertyNames;var ae=Object.prototype.hasOwnProperty;var ce=(e,t)=>{for(var i in t)L(e,i,{get:t[i],enumerable:!0})},le=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of se(t))!ae.call(e,n)&&n!==i&&L(e,n,{get:()=>t[n],enumerable:!(o=ne(t,n))||o.enumerable});return e};var de=e=>le(L({},"__esModule",{value:!0}),e);var Fe={};ce(Fe,{mount:()=>O});var K={ai_literacy:{title:"AI literacy",body:"Providers and deployers of AI systems must take measures to support the development of AI literacy of their staff and other persons dealing with the operation and use of AI systems on their behalf, taking into account their technical knowledge, experience, education and training and the context the AI systems are to be used in, and considering the persons or groups of persons on whom the AI systems are to be used, according to Article 4 of the AI Act. This obligation does not require providers or deployers to guarantee any specific level of AI literacy of any individual.",article_ref:"Art. 4"},authorised_representative:{title:"Authorised representative obligations",body:"An authorised representative must receive a written mandate from a provider to perform specified tasks on its behalf. The authorised representative must keep contact details available, verify that the EU declaration of conformity and technical documentation have been drawn up, and cooperate with competent authorities. Upon termination of the mandate, the authorised representative must inform the market surveillance authority.",article_ref:"Art. 22"},provider_high_risk:{title:"Provider obligations for high-risk AI systems",body:"Providers of high-risk AI systems must establish a risk management system, ensure data governance, draw up technical documentation, design for record-keeping, provide instructions for use, enable human oversight, ensure accuracy, robustness and cybersecurity, establish a quality management system, and draw up an EU declaration of conformity before placing the system on the market or putting it into service.",article_ref:"Art. 16\u201321, Art. 43"},deployer_high_risk:{title:"Deployer obligations for high-risk AI systems",body:"Deployers of high-risk AI systems must use them in accordance with the instructions for use and take appropriate technical and organisational measures to do so, assign human oversight to natural persons who have the necessary competence, training and authority, ensure that input data under their control is relevant and sufficiently representative in view of the intended purpose, monitor the operation of the system, keep the automatically generated logs, and inform the provider or distributor where they consider that use may present a risk. Where the Regulation requires it, deployers must inform workers' representatives and the natural persons concerned that they are subject to the use of a high-risk AI system.",article_ref:"Art. 26"},deployer_general:{title:"General deployer obligations",body:"Deployers must use AI systems in accordance with the instructions for use, assign human oversight, and ensure that input data is relevant in view of the intended purpose. Where applicable, deployers must inform workers' representatives and affected persons that they are subject to the use of a high-risk AI system, as required by the Regulation.",article_ref:"Art. 26"},distributor:{title:"Distributor obligations",body:"Before making a high-risk AI system available on the market, distributors must verify that it bears the required CE marking, is accompanied by the EU declaration of conformity and instructions for use, and that the provider and importer have complied with their obligations. Distributors must not make available systems they know or should have known are not in conformity.",article_ref:"Art. 24"},importer:{title:"Importer obligations",body:"Before placing a high-risk AI system on the market, importers must ensure that the provider has drawn up the required technical documentation, that the system bears the CE marking and is accompanied by required documents, and that the provider has complied with registration obligations. Importers must indicate their name, registered trade name or trademark and contact address on the system or its packaging.",article_ref:"Art. 23"},product_manufacturer:{title:"Product manufacturer obligations",body:"Where a product manufacturer places on the market or puts into service an AI system together with its product under its own name or trademark, it shall be considered the provider of that AI system and shall be subject to the obligations of the provider under this Regulation, in accordance with Article 25(1).",article_ref:"Art. 25(1), Art. 16"},gpai_provider:{title:"General-purpose AI model provider obligations",body:"Providers of general-purpose AI models must draw up and keep technical documentation, provide information and documentation to downstream providers, put in place a policy to respect Union copyright law, and publish a sufficiently detailed summary about the content used for training. Providers must cooperate with the AI Office and national competent authorities.",article_ref:"Art. 53"},gpai_systemic_risk:{title:"GPAI model with systemic risk obligations",body:"Providers of general-purpose AI models with systemic risk must perform model evaluations, assess and mitigate possible systemic risks, track and report serious incidents, and ensure adequate cybersecurity protection. They must also comply with additional obligations set out in Article 55.",article_ref:"Art. 55"},transparency:{title:"Transparency obligations",body:"Providers must ensure that AI systems intended to interact directly with natural persons are designed and developed so that the persons concerned are informed that they are interacting with an AI system. Providers of AI systems that generate synthetic audio, image, video or text content must ensure outputs are marked in a machine-readable format and detectable as artificially generated.",article_ref:"Art. 50"},transparency_interaction:{title:"Transparency: AI systems that interact with people",body:"Providers must ensure that AI systems intended to interact directly with natural persons are designed and developed so that the persons concerned are informed that they are interacting with an AI system, unless this is obvious to a reasonably well-informed person from the circumstances and the context of use.",article_ref:"Art. 50(1)"},transparency_synthetic:{title:"Transparency: synthetic content",body:"Providers of AI systems that generate synthetic audio, image, video or text content must ensure that the outputs are marked in a machine-readable format and detectable as artificially generated or manipulated.",article_ref:"Art. 50(2)"},transparency_emotion_biometric:{title:"Transparency: emotion recognition and biometric categorisation",body:"Deployers of an emotion recognition system or a biometric categorisation system must inform the natural persons exposed to it of the operation of the system, and process personal data in accordance with the applicable data protection law.",article_ref:"Art. 50(3)"},transparency_deepfake:{title:"Transparency: deep fakes",body:"Deployers of an AI system that generates or manipulates image, audio or video content constituting a deep fake must disclose that the content has been artificially generated or manipulated. For evidently artistic, creative, satirical or fictional work, the disclosure is limited to the existence of such content, in a way that does not hamper the display or enjoyment of the work.",article_ref:"Art. 50(4)"},transparency_public_text:{title:"Transparency: text published on matters of public interest",body:"Deployers of an AI system that generates or manipulates text published to inform the public on matters of public interest must disclose that the text has been artificially generated or manipulated, unless the content has undergone human review or editorial control and a natural or legal person holds editorial responsibility for its publication.",article_ref:"Art. 50(4)"},prohibited:{title:"Prohibited AI practices",body:"The following AI practices are prohibited: harmful subliminal techniques, exploitation of vulnerabilities, social scoring of natural persons, individual predictive policing based solely on profiling, untargeted scraping of facial images, emotion recognition in workplaces and education, biometric categorisation inferring sensitive attributes, and real-time remote biometric identification in publicly accessible spaces for law enforcement except in strictly defined circumstances. Two further practices, Article 5(1) points (ba) and (bb), apply from 2 December 2026: (ba) non-consensual intimate imagery, meaning an AI system that generates or manipulates realistic images, videos, audio or similar material of an identifiable natural person's intimate parts, or of an identifiable natural person engaged in sexually explicit activities, without that person's freely-given, specific, informed, unambiguous and explicit consent; and (bb) an AI system that generates or manipulates material or performance within the meaning of Article 2, points (c) and (e), of Directive 2011/93/EU, except where a 'without right' defence applies under national law. Article 5(1a) and (1b) set conditions for these two points.",article_ref:"Art. 5"},provider_art_6_4_registration:{title:"Documentation and registration for Annex III systems assessed as not high-risk",body:"A provider that considers an Annex III system not high-risk under Article 6(3) must document that assessment before placing it on the market or putting it into service, register itself and the system in the EU database, and give the documentation to national competent authorities on request.",article_ref:"Art. 6(4), Art. 49(2)"},fria:{title:"Fundamental rights impact assessment",body:"Deployers that are bodies governed by public law or private entities providing public services, and deployers of Annex III point 5(b) and 5(c) systems, must, prior to the first use of a high-risk AI system, perform an assessment of the impact on fundamental rights that the use of such system may produce in the specific context of use.",article_ref:"Art. 27"}};var q={out_of_scope:{title:"Out of scope",body:"Based on your answers, the EU AI Act does not apply to your situation, or your system is not considered an AI system within the meaning of Article 3(1)."},become_provider:{title:"You become a provider",body:"Because you substantially modify an AI system, you are considered a provider under Article 25(1)(b) and must comply with provider obligations rather than your original operator role."},handover:{title:"Handover to new provider",body:"As a provider who has substantially modified a high-risk AI system, you must hand over documentation and information to the new provider so they can comply with their obligations under Article 25(2)."},high_risk:{title:"High-risk AI system",body:"Your AI system is classified as high-risk under Article 6. Additional obligations under Chapter III, Section 2 apply before placing the system on the market or putting it into service."},high_risk_exception:{title:"High-risk exception for deployers",body:"As a deployer operating in the EU, certain high-risk classification pathways (Annex III use cases) may not impose full provider obligations on you, but deployer obligations under Chapter III, Section 3 still apply."},prohibited:{title:"Prohibited AI practice",body:"Your AI system appears to fall within a prohibited practice under Article 5. Such systems must not be placed on the market, put into service, or used in the Union."},gpai:{title:"General-purpose AI model",body:"Your system is a general-purpose AI model subject to Chapter V obligations in addition to any system-level requirements."},transparency_only:{title:"Limited risk \u2014 transparency obligations",body:"Your AI system is not high-risk but is subject to transparency obligations under Article 50."}};var B={entity_definitions:{title:"Operator roles under the AI Act",body:"Article 3(3) defines operators: a provider develops an AI system or has it developed and places it on the market or puts it into service under its own name or trademark; a deployer uses an AI system under its authority; a distributor makes an AI system available on the Union market; an importer places an AI system from a third country on the Union market; a product manufacturer places on the market an AI system together with its product under its own name or trademark; an authorised representative is a natural or legal person established in the Union who has received a written mandate from a provider."},entity_roles:{provider:{title:"Provider",description:"You develop an AI system (or have it developed) and place it on the market or put it into service under your own name or trademark. In short: you build and ship it."},deployer:{title:"Deployer",description:"You use an AI system under your own authority in a professional capacity \u2014 you are not an affected end-user. In short: you bought it and run it on people or data."},distributor:{title:"Distributor",description:"You make an AI system available on the EU market in the supply chain, without being its provider or importer. In short: you are a reseller or sales channel."},importer:{title:"Importer",description:"You are established in the EU and place on the market an AI system carrying the name or trademark of a provider established outside the EU. In short: you bring a non-EU system into the EU."},product_manufacturer:{title:"Product manufacturer",description:"You place on the market or put into service an AI system together with your product and under your own name or trademark. In short: AI is built into a product you sell."},authorised_rep:{title:"Authorised representative",description:"You are a person or entity in the EU holding a written mandate from a non-EU provider to act on its behalf for AI Act obligations."}},ai_system_definition:{title:"Definition of an AI system",body:"An AI system is a machine-based system designed to operate with varying levels of autonomy, that may exhibit adaptiveness after deployment and that, for explicit or implicit objectives, infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions that can influence physical or virtual environments (Article 3(1))."},high_risk_overview:{title:"High-risk classification",body:"An AI system is high-risk if it is a product covered by Union harmonisation legislation listed in Annex I with a required third-party conformity assessment, and the product includes an AI system as a safety component; or if it is listed in Annex III and none of the Article 6(3) exceptions apply. An Annex III system that performs profiling of natural persons is always high-risk, regardless of whether any exception would otherwise apply."},scope_overview:{title:"Scope of the AI Act",body:"The AI Act applies to providers placing AI systems on the Union market or putting them into service, deployers with a place of establishment or located in the Union, and to providers and deployers in third countries where the output is used in the Union. Certain exclusions apply under Article 2 for military, national security, research, and personal non-professional activities."},modifications_overview:{title:"Substantial modifications",body:"A substantial modification of an AI system is a change that affects compliance with the AI Act and requires a new conformity assessment. A deployer, distributor, importer, or product manufacturer that substantially modifies a system becomes a provider under Article 25(1)(b)."},gpai_overview:{title:"General-purpose AI models",body:"A general-purpose AI model is an AI model, including where trained with a large amount of data using self-supervision at scale, that displays significant generality and is capable of competently performing a wide range of distinct tasks. Chapter V sets obligations for GPAI model providers distinct from high-risk AI system obligations."},gpai_systemic_risk_threshold:{title:"GPAI systemic risk \u2014 the Article 51 test",body:"This is not a subjective judgement call. Under Article 51(1)(a), a GPAI model is presumed to have systemic risk when the cumulative compute used for its training exceeds 10^25 floating point operations (FLOPs). Separately, under Article 51(1)(b) the Commission may designate a model as having systemic risk based on the Annex XIII criteria (reach, number of registered business users, market impact, and similar factors), or acting on a qualified alert from the scientific panel under Article 90 \u2014 regardless of the compute figure. A provider whose model meets or is likely to meet the compute threshold must notify the Commission under Article 52(1) without undue delay and in any event within two weeks of the criteria being met."},disclaimer:{title:"Not legal advice",body:"This tool automates EU AI Act compliance checker logic for educational and planning purposes. It does not constitute legal advice. Seek qualified legal counsel and follow national guidance for formal compliance decisions."}};var me=K,fe=q,G=B,U=B.entity_roles??{};function F(e){let t=me[e];if(!t)throw new Error(`Unknown obligation id: ${e}`);return{id:e,...t}}function Q(e){let t=fe[e];if(!t)throw new Error(`Unknown status_change id: ${e}`);return{id:e,...t}}var W="checker-2026-10-26";function c(e,t,i=!1){let o=e[t];return o==null?i:typeof o=="boolean"?o:typeof o=="string"?["true","yes","1"].includes(o.toLowerCase()):!!o}function ye(e){let t=e.e1_entity_type;return typeof t=="string"?t:"provider"}function ge(e){let t=c(e,"hr1_annex_i")&&c(e,"hr8_conformity_assessment"),i=c(e,"hr2_annex_iii");return!t&&!i?!1:i&&c(e,"hr7_profiling")?!0:!(i&&!t&&(c(e,"hr3_art_6_3")||c(e,"hr4_narrow_task")||c(e,"hr5_no_significant_risk")||c(e,"hr6_accessory")))}function be(e){let t=c(e,"hr1_annex_i")&&c(e,"hr8_conformity_assessment");return c(e,"hr2_annex_iii")&&!t&&!c(e,"hr7_profiling")&&["hr3_art_6_3","hr4_narrow_task","hr5_no_significant_risk","hr6_accessory"].some(i=>c(e,i))}function E(e){let t=new Set;return e.filter(i=>t.has(i)?!1:(t.add(i),!0))}function _e(e){let t=new Set;return e.filter(i=>t.has(i.id)?!1:(t.add(i.id),!0))}function ve(e){let t=new Set;return e.filter(i=>t.has(i.id)?!1:(t.add(i.id),!0))}function A(e){return{checker_version:W,in_scope:e.in_scope,is_high_risk:e.is_high_risk??!1,is_prohibited:e.is_prohibited??!1,effective_entity:e.effective_entity??null,status_changes:ve(e.statusIds.map(t=>Q(t))),obligations:_e(e.obligationIds.map(t=>F(t))),determination_path:e.path,answers:e.answers,session_id:null,obligation_basis:e.obligation_basis??{}}}function ke(e,t){let i=[];return e==="provider"?t&&i.push("provider_high_risk"):e==="deployer"?t&&i.push("deployer_high_risk"):e==="distributor"?t&&i.push("distributor"):e==="importer"?t&&i.push("importer"):e==="product_manufacturer"&&(i.push("product_manufacturer"),t&&i.push("provider_high_risk")),i}function H(e){let t=[],i=[],o=[];if(!c(e,"gate_is_ai_system",!0))return t.push("gate:no"),A({in_scope:!1,path:t,statusIds:["out_of_scope"],obligationIds:[],answers:e});t.push("gate:yes");let n=ye(e),s=n;if(t.push(`e1:${n}`),n==="authorised_rep")return A({in_scope:!0,path:t,statusIds:[],obligationIds:["authorised_representative"],effective_entity:s,answers:e,obligation_basis:{authorised_representative:["e1_entity_type"]}});if(c(e,"e2_modifications")&&(n==="provider"?(i.push("handover"),t.push("e2:handover")):(i.push("become_provider"),s="provider",t.push("e2:become_provider"))),n==="product_manufacturer"&&(e.e3_product_integration??"none")==="none")return t.push("e3:none"),A({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],effective_entity:n,answers:e});let a=ge(e);if(a&&(i.push("high_risk"),t.push("hr:high_risk")),!c(e,"s1_in_scope",!0))return t.push("s1:none"),A({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],is_high_risk:a,effective_entity:s,answers:e});t.push("s1:in_scope");let d=e.s1_scope_region??"eu",w=c(e,"hr1_annex_i"),k=c(e,"hr2_annex_iii");if(s==="deployer"&&d==="eu"&&k&&!w&&a&&(i.push("high_risk_exception"),t.push("s1:high_risk_exception")),c(e,"r2_excluded"))return t.push("r2:excluded"),A({in_scope:!1,path:t,statusIds:E([...i,"out_of_scope"]),obligationIds:[],is_high_risk:a,effective_entity:s,answers:e});if(c(e,"r3_prohibited"))return t.push("r3:prohibited"),A({in_scope:!0,path:t,statusIds:E([...i,"prohibited"]),obligationIds:["prohibited"],is_high_risk:a,is_prohibited:!0,effective_entity:s,answers:e,obligation_basis:{prohibited:["r3_prohibited"]}});(s==="provider"||s==="deployer"||s==="product_manufacturer")&&(o.push("ai_literacy"),t.push("e1:ai_literacy")),c(e,"s1_gpai")&&(i.push("gpai"),o.push("gpai_provider"),t.push("r1:gpai"),c(e,"s1_gpai_systemic_risk")&&(o.push("gpai_systemic_risk"),t.push("r1:gpai_systemic_risk"))),o.push(...ke(s,a)),n==="product_manufacturer"&&s!==n&&o.push("product_manufacturer"),s==="provider"&&be(e)&&(o.push("provider_art_6_4_registration"),t.push("hr:derogation_registration"));let m=xe(e,n,s);return m.length&&(o.push(...m),t.push("r4:transparency"),a||o.filter(_=>_!=="ai_literacy").every(_=>_.startsWith("transparency"))&&i.push("transparency_only")),c(e,"r5_fria")&&a&&c(e,"hr2_annex_iii")&&s==="deployer"&&(o.push("fria"),t.push("r5:fria")),A({in_scope:!0,path:t,statusIds:E(i),obligationIds:o,is_high_risk:a,effective_entity:s,answers:e,obligation_basis:Object.fromEntries(o.map(b=>[b,Ae(b,e,n,s)]))})}var we=[["interaction","transparency_interaction","provider"],["synthetic_content","transparency_synthetic","provider"],["emotion_biometric","transparency_emotion_biometric","deployer"],["deepfake","transparency_deepfake","deployer"],["public_interest_text","transparency_public_text","deployer"]];function xe(e,t,i){let o=e.r4_transparency_items;if(!Array.isArray(o))return c(e,"r4_transparency")?["transparency"]:[];let n=i==="provider"||t==="product_manufacturer",s=t==="deployer";return we.filter(a=>o.includes(a[0])&&(a[2]==="provider"?n:s)).map(a=>a[1])}var V=["hr3_art_6_3","hr4_narrow_task","hr5_no_significant_risk","hr6_accessory"];function Ae(e,t,i,o){let n=["e1_entity_type"];o!==i&&n.push("e2_modifications"),i==="product_manufacturer"&&n.push("e3_product_integration");let s=c(t,"hr1_annex_i")&&c(t,"hr8_conformity_assessment"),a=s?["hr1_annex_i","hr8_conformity_assessment"]:[];return c(t,"hr2_annex_iii")&&(a.push("hr2_annex_iii","hr7_profiling"),!s&&!c(t,"hr7_profiling")&&a.push(...V)),e==="gpai_provider"?["s1_gpai"]:e==="gpai_systemic_risk"?["s1_gpai","s1_gpai_systemic_risk"]:e==="transparency"?["r4_transparency"]:e.startsWith("transparency_")?[...n,"r4_transparency_items"]:e==="ai_literacy"||e==="product_manufacturer"?n:e==="provider_art_6_4_registration"?[...n,"hr2_annex_iii","hr7_profiling",...V]:e==="fria"?[...n,...a,"r5_fria"]:[...n,...a]}var D="This tool automates EU AI Act compliance checker logic for educational and planning purposes. It does not constitute legal advice. Seek qualified legal counsel and follow national guidance for formal compliance decisions.",Ie="\u{1F512} Runs entirely in your browser. Your answers are never transmitted.",Ce=["provider","deployer","distributor","importer","product_manufacturer","authorised_rep"],Ee={provider:"Provider",deployer:"Deployer",distributor:"Distributor",importer:"Importer",product_manufacturer:"Product manufacturer",authorised_rep:"Authorised representative"},Ne=Ce.map(e=>{var t,i;return{value:e,label:((t=U[e])==null?void 0:t.title)??Ee[e]??e,description:(i=U[e])==null?void 0:i.description}}),N=[{key:"gate_is_ai_system",label:"Is this an AI system under Article 3(1)?",type:"confirm",section:"AI system",defaultBool:!0,helpKey:"ai_system_definition"},{key:"e1_entity_type",label:"Which kind of entity is your organisation?",type:"select",section:"Operator role",options:Ne,helpKey:"entity_definitions",skip:e=>e.gate_is_ai_system===!1},{key:"e2_modifications",label:"Do you (or a downstream operator) make substantial modifications to the system?",type:"confirm",section:"Operator role",defaultBool:!1,helpKey:"modifications_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"},{key:"e3_product_integration",label:"Does your product integrate an AI system placed on the market under your name?",type:"select",section:"Operator role",options:[{value:"integrated",label:"Yes \u2014 placed on market under my name / trademark",description:"The AI system ships as part of your product, under your brand."},{value:"none",label:"No",description:"Your product does not place an AI system on the market under your name."}],skip:e=>e.e1_entity_type!=="product_manufacturer"},{key:"hr1_annex_i",label:"Is the system a product with AI as a safety component under Annex I harmonisation law?",type:"confirm",section:"Risk classification",defaultBool:!1,helpKey:"high_risk_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"hr8_conformity_assessment",label:"Is that Annex I product required to undergo a third-party conformity assessment by a notified body (Art 6(1)(b))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr1_annex_i},{key:"hr2_annex_iii",label:"Does the system fall within an Annex III high-risk use case?",type:"confirm",section:"Risk classification",defaultBool:!1,helpKey:"high_risk_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"hr7_profiling",label:"Does the system perform profiling of natural persons (automated processing of personal data to evaluate, analyse, or predict aspects such as behaviour, preferences, location, or performance)?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii},{key:"hr3_art_6_3",label:"Is the AI system intended only to improve the result of a previously completed human activity (Art 6(3)(b))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr4_narrow_task",label:"Is the AI intended only for a narrow procedural task (Art 6(3)(a))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr5_no_significant_risk",label:"Is the AI system intended only to detect decision-making patterns or deviations from prior decisions, without replacing or influencing the prior human assessment and without proper human review (Art 6(3)(c))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"hr6_accessory",label:"Is the AI system intended only to perform a preparatory task for an assessment relevant to the Annex III use case (Art 6(3)(d))?",type:"confirm",section:"Risk classification",defaultBool:!1,skip:e=>!e.hr2_annex_iii||!!e.hr1_annex_i&&!!e.hr8_conformity_assessment},{key:"s1_in_scope",label:"Are you placing, deploying, or using the system's output in the EU?",type:"confirm",section:"Scope",defaultBool:!0,helpKey:"scope_overview",skip:e=>!e.gate_is_ai_system||e.e1_entity_type==="authorised_rep"||e.e1_entity_type==="product_manufacturer"&&e.e3_product_integration==="none"},{key:"s1_scope_region",label:"Where is your organisation established?",type:"select",section:"Scope",options:[{value:"eu",label:"Established or located in the EU",description:"Your organisation has a place of establishment inside the Union."},{value:"third_country",label:"Outside the EU",description:"Your organisation is established in a third country."}],skip:e=>!e.s1_in_scope},{key:"s1_gpai",label:"Are you placing a General-Purpose AI model on the EU market?",type:"confirm",section:"Scope",defaultBool:!1,helpKey:"gpai_overview",skip:e=>!e.s1_in_scope},{key:"s1_gpai_systemic_risk",label:"Does the GPAI model have systemic risk (high-impact capabilities)?",type:"confirm",section:"Scope",defaultBool:!1,helpKey:"gpai_systemic_risk_threshold",skip:e=>!e.s1_gpai},{key:"r2_excluded",label:"Is the system excluded (military, R&D only, open-source not yet placed, personal use)?",type:"confirm",section:"Scope",defaultBool:!1,skip:e=>!e.s1_in_scope},{key:"r3_prohibited",label:"Does the system perform prohibited practices under Article 5?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded},{key:"r4_transparency",label:"Does the system require transparency obligations (chatbot, deepfake, synthetic content)?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded||!!e.r3_prohibited},{key:"r4_transparency_items",label:"Which of these does the system do? (Art. 50)",type:"multi",section:"Obligations",options:[{value:"interaction",label:"Interacts directly with people (for example a chatbot)"},{value:"synthetic_content",label:"Generates synthetic audio, images, video or text"},{value:"emotion_biometric",label:"Emotion recognition or biometric categorisation"},{value:"deepfake",label:"Generates or manipulates deep fake image, audio or video"},{value:"public_interest_text",label:"Generates text published to inform the public on matters of public interest"}],skip:e=>!e.s1_in_scope||!!e.r2_excluded||!!e.r3_prohibited||!e.r4_transparency},{key:"r5_fria",label:"Are you a body governed by public law, a private entity providing public services, or a deployer of an Annex III 5(b) or 5(c) system (credit scoring or life/health insurance pricing) (FRIA under Art 27)?",type:"confirm",section:"Obligations",defaultBool:!1,skip:e=>!e.s1_in_scope||!!e.r2_excluded||!!e.r3_prohibited||e.e1_entity_type!=="deployer"}],Se=`
|
|
155
155
|
#ococ-checker {
|
|
156
156
|
--ococ-accent: var(--color-electric-blue, var(--md-primary-fg-color, #3B5BEB));
|
|
157
157
|
--ococ-accent-dark: var(--color-primary-dark, var(--md-primary-fg-color--dark, #2d46c7));
|
|
@@ -493,8 +493,8 @@
|
|
|
493
493
|
@media (prefers-reduced-motion: reduce) {
|
|
494
494
|
.ococ-progress-fill, .ococ-option, .ococ-btn { transition: none; }
|
|
495
495
|
}
|
|
496
|
-
`;function Ce(){if(document.getElementById("ococ-styles"))return;let e=document.createElement("style");e.id="ococ-styles",e.textContent=Ie,document.head.appendChild(e)}function W(e){return N.filter(t=>{var i;return!((i=t.skip)!=null&&i.call(t,e))})}function Ee(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((i,o)=>i===t[o]):e===t}function Ne(e,t){let i=N.findIndex(o=>o.key===t);if(!(i<0))for(let o=i+1;o<N.length;o++)delete e[N[o].key]}function S(e,t,i){let o=!Ee(e.answers[t.key],i);e.answers[t.key]=i,o&&Ne(e.answers,t.key)}function r(e,t={},...i){let o=document.createElement(e);for(let n of Object.entries(t)){let s=n[0],a=n[1];s==="className"?o.className=a:o.setAttribute(s,a)}for(let n of i)typeof n=="string"?o.appendChild(document.createTextNode(n)):o.appendChild(n);return o}var Se='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M20 6L9 17l-5-5" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>';function T(e){let t=document.createElement("button");t.type="button",t.className="ococ-option"+(e.multi?" ococ-option--multi":""),t.setAttribute("role",e.multi?"checkbox":"radio"),t.setAttribute("aria-checked",String(e.checked));let i=r("span",{className:"ococ-option-marker"});i.innerHTML=Se,t.appendChild(i);let o=r("span",{className:"ococ-option-body"});return o.appendChild(r("span",{className:"ococ-option-title"},e.title)),e.description&&o.appendChild(r("span",{className:"ococ-option-desc"},e.description)),t.appendChild(o),t}function M(e){e.addEventListener("keydown",t=>{if(t.key!=="ArrowDown"&&t.key!=="ArrowUp")return;let i=Array.from(e.querySelectorAll(".ococ-option")),o=document.activeElement,n=i.indexOf(o);if(n<0)return;t.preventDefault();let s=t.key==="ArrowDown"?1:-1;i[(n+s+i.length)%i.length].focus()})}function R(e,t){let i=W(e.answers);if(e.step>=i.length){e.result=H(e.answers),te(e,t);return}let o=i[e.step],n=i.length,s=Math.round((e.step+1)/n*100);t.innerHTML="";let a=r("div",{className:"ococ-frame"});Z(a);let d=r("div",{className:"ococ-rail"});d.appendChild(r("span",{className:"ococ-rail-label"},o.section??"EU AI Act Checker")),d.appendChild(r("span",{className:"ococ-rail-count"},`Step ${e.step+1} of ${n}`)),a.appendChild(d);let k=r("div",{className:"ococ-progress-track"}),v=r("div",{className:"ococ-progress-fill"});v.style.width=`${s}%`,k.appendChild(v),a.appendChild(k);let h=r("div",{className:"ococ-card"});if(e.step===0&&h.appendChild(r("p",{className:"ococ-privacy"},ke)),o.section&&h.appendChild(r("div",{className:"ococ-eyebrow"},o.section)),h.appendChild(r("div",{className:"ococ-question"},o.label)),o.helpKey){let c=G[o.helpKey];if(c){let p=r("div",{className:"ococ-help"}),u=document.createElement("details");u.appendChild(r("summary",{},"Learn more"));let _=r("p",{});_.textContent=c.body,u.appendChild(_),p.appendChild(u),h.appendChild(p)}}let b=e.answers[o.key],w=()=>Te(e,t,o.key);if(o.type==="confirm"){let c=r("div",{className:"ococ-options ococ-yesno"}),p=T({title:"Yes",checked:b===!0,multi:!1}),u=T({title:"No",checked:b===!1,multi:!1});p.onclick=()=>{S(e,o,!0),w()},u.onclick=()=>{S(e,o,!1),w()},c.appendChild(p),c.appendChild(u),M(c),h.appendChild(c)}else if(o.type==="select"&&o.options){let c=r("div",{className:"ococ-options",role:"radiogroup"});c.setAttribute("aria-label",o.label);for(let p of o.options){let u=T({title:p.label,description:p.description,checked:b===p.value,multi:!1});u.onclick=()=>{S(e,o,p.value),w()},c.appendChild(u)}M(c),h.appendChild(c)}else if(o.type==="multi"&&o.options){let c=new Set(Array.isArray(b)?b:[]),p=r("div",{className:"ococ-options",role:"group"});p.setAttribute("aria-label",o.label);for(let u of o.options){let _=T({title:u.label,description:u.description,checked:c.has(u.value),multi:!0});_.onclick=()=>{c.has(u.value)?c.delete(u.value):c.add(u.value),_.setAttribute("aria-checked",String(c.has(u.value))),e.answers[o.key]=[...c]},p.appendChild(_)}M(p),h.appendChild(p)}let A=r("div",{className:"ococ-actions"});if(e.step>0){let c=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"\u2190 Back");c.onclick=()=>Re(e,t),A.appendChild(c)}if(o.type==="multi"){A.appendChild(r("span",{className:"ococ-spacer"}));let c=e.step>=i.length-1,p=r("button",{className:"ococ-btn ococ-btn-primary",type:"button"},c?"See results \u2192":"Next \u2192");p.onclick=()=>{S(e,o,[...Array.isArray(e.answers[o.key])?e.answers[o.key]:[]]),w()},A.appendChild(p)}h.appendChild(A),h.appendChild(r("p",{className:"ococ-disclaimer"},D)),a.appendChild(h),t.appendChild(a);let I=h.querySelector(".ococ-option");I&&e.step>0&&I.focus()}function Te(e,t,i){let o=W(e.answers),n=o.findIndex(a=>a.key===i),s=(n<0?e.step:n)+1;if(s>=o.length){e.result=H(e.answers),te(e,t);return}e.step=s,R(e,t)}function Re(e,t){e.step>0&&(e.step-=1,R(e,t))}function Le(e){return e.is_prohibited?"ococ-result-prohibited":e.is_high_risk?"ococ-result-high":e.in_scope?"ococ-result-in-scope":"ococ-result-out"}function Oe(e){return e.is_prohibited?"Prohibited practice":e.is_high_risk?"High risk":e.in_scope?"In scope":"Out of scope"}function Be(e){let t=e.effective_entity?e.effective_entity.replace(/_/g," "):null;return e.is_prohibited?"This system may not be placed on the market or put into service.":e.is_high_risk?t?`High-risk obligations apply to you as ${t}.`:"High-risk obligations apply under the AI Act.":e.in_scope?t?`The AI Act applies to you as ${t}.`:"The AI Act applies to this system.":"The AI Act does not apply to this system as described."}var Ue={"ococ-result-prohibited":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M6 6l12 12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',"ococ-result-high":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 3.5l9.5 16.5H2.5L12 3.5z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M12 10v4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="17.2" r="0.9" fill="currentColor"/></svg>',"ococ-result-in-scope":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M8 12.5l2.5 2.5L16 9.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',"ococ-result-out":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M12 8v5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="16" r="0.9" fill="currentColor"/></svg>'};function J(e,t,i){let o=new Blob([t],{type:i}),n=URL.createObjectURL(o),s=document.createElement("a");s.href=n,s.download=e,s.click(),URL.revokeObjectURL(n)}function X(){return new URLSearchParams(window.location.search).get("local")==="1"}function Z(e){if(!X())return;let t=r("div",{className:"ococ-local-bar"}),i=r("span",{},"Running locally via opencomplai checker --web --local."),o=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Stop local server");o.onclick=()=>{o.disabled=!0,o.textContent="Stopping\u2026",fetch("/__ococ_shutdown",{method:"POST"}).catch(()=>{}),window.setTimeout(()=>{t.innerHTML="",t.appendChild(r("span",{},"Server stopped \u2014 you can close this tab."))},300)},t.appendChild(i),t.appendChild(o),e.appendChild(t)}function He(e,t){if(typeof e=="boolean")return e?"Yes":"No";if(Array.isArray(e))return t.options?e.map(i=>{var o;return((o=t.options.find(n=>n.value===i))==null?void 0:o.label)??String(i)}).join(", "):e.map(String).join(", ");if(t.options){let i=t.options.find(o=>o.value===e);if(i)return i.label}return e==null?"(no answer)":String(e)}function ee(e){let t=[],i=new Set;for(let o of N)o.key in e&&(i.add(o.key),t.push({section:o.section??"",label:o.label,value:He(e[o.key],o)}));for(let o of Object.keys(e)){if(i.has(o))continue;let n=o.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase());t.push({section:"",label:n,value:String(e[o])})}return t}var Me="http://localhost:8001";function De(){if(typeof window>"u")return!1;let e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"||e==="::1"||e==="[::1]"}function Pe(){if(typeof window>"u")return null;let e=window.OCOC_RISK_ENGINE_URL;return typeof e=="string"&&e.trim()!==""?e.trim().replace(/\/+$/,""):De()?Me:null}async function Ye(e,t,i){var n;let o=await fetch(`${e}/v1/checker/email`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({answers:t,to_email:i})});if(!o.ok){let s="Could not send the email.";try{let a=await o.json();(n=a==null?void 0:a.detail)!=null&&n.message&&(s=a.detail.message)}catch{}throw new Error(s)}}function je(e){let t={checker_version:e.checker_version,in_scope:e.in_scope,is_high_risk:e.is_high_risk,is_prohibited:e.is_prohibited,effective_entity:e.effective_entity,status_changes:e.status_changes,obligations:e.obligations,determination_path:e.determination_path,answers:e.answers};return e.session_id!==null&&(t.session_id=e.session_id),JSON.stringify(t,null,2)}function $e(e){let t=["# EU AI Act Compliance Checker Result","",`**Checker version:** ${e.checker_version}`,`**In scope:** ${e.in_scope?"Yes":"No"}`,`**High risk:** ${e.is_high_risk?"Yes":"No"}`,`**Prohibited:** ${e.is_prohibited?"Yes":"No"}`];e.effective_entity&&t.push(`**Effective operator role:** ${e.effective_entity}`),t.push("","## Your answers","");let i=ee(e.answers);if(i.length){let o="";for(let n of i)n.section&&n.section!==o&&(t.push(`**${n.section}**`),o=n.section),t.push(`- ${n.label} \u2014 ${n.value}`)}else t.push("None.");if(t.push("","## Status changes",""),e.status_changes.length)for(let o of e.status_changes)t.push(`### ${o.title}`,"",o.body,"");else t.push("None.","");if(t.push("## Obligations",""),e.obligations.length)for(let o of e.obligations)t.push(`### ${o.title} (${o.article_ref})`,"",o.body,"");else t.push("None.","");t.push("## Determination path","");for(let o of e.determination_path)t.push(`- \`${o}\``);return t.push("","## Disclaimer","",D,""),t.join(`
|
|
497
|
-
`)}function
|
|
496
|
+
`;function Te(){if(document.getElementById("ococ-styles"))return;let e=document.createElement("style");e.id="ococ-styles",e.textContent=Se,document.head.appendChild(e)}function X(e){return N.filter(t=>{var i;return!((i=t.skip)!=null&&i.call(t,e))})}function Re(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((i,o)=>i===t[o]):e===t}function Oe(e,t){let i=N.findIndex(o=>o.key===t);if(!(i<0))for(let o=i+1;o<N.length;o++)delete e[N[o].key]}function S(e,t,i){let o=!Re(e.answers[t.key],i);e.answers[t.key]=i,o&&Oe(e.answers,t.key)}function r(e,t={},...i){let o=document.createElement(e);for(let n of Object.entries(t)){let s=n[0],a=n[1];s==="className"?o.className=a:o.setAttribute(s,a)}for(let n of i)typeof n=="string"?o.appendChild(document.createTextNode(n)):o.appendChild(n);return o}var Le='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M20 6L9 17l-5-5" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>';function T(e){let t=document.createElement("button");t.type="button",t.className="ococ-option"+(e.multi?" ococ-option--multi":""),t.setAttribute("role",e.multi?"checkbox":"radio"),t.setAttribute("aria-checked",String(e.checked));let i=r("span",{className:"ococ-option-marker"});i.innerHTML=Le,t.appendChild(i);let o=r("span",{className:"ococ-option-body"});return o.appendChild(r("span",{className:"ococ-option-title"},e.title)),e.description&&o.appendChild(r("span",{className:"ococ-option-desc"},e.description)),t.appendChild(o),t}function M(e){e.addEventListener("keydown",t=>{if(t.key!=="ArrowDown"&&t.key!=="ArrowUp")return;let i=Array.from(e.querySelectorAll(".ococ-option")),o=document.activeElement,n=i.indexOf(o);if(n<0)return;t.preventDefault();let s=t.key==="ArrowDown"?1:-1;i[(n+s+i.length)%i.length].focus()})}function R(e,t){let i=X(e.answers);if(e.step>=i.length){e.result=H(e.answers),oe(e,t);return}let o=i[e.step],n=i.length,s=Math.round((e.step+1)/n*100);t.innerHTML="";let a=r("div",{className:"ococ-frame"});ee(a);let d=r("div",{className:"ococ-rail"});d.appendChild(r("span",{className:"ococ-rail-label"},o.section??"EU AI Act Checker")),d.appendChild(r("span",{className:"ococ-rail-count"},`Step ${e.step+1} of ${n}`)),a.appendChild(d);let w=r("div",{className:"ococ-progress-track"}),k=r("div",{className:"ococ-progress-fill"});k.style.width=`${s}%`,w.appendChild(k),a.appendChild(w);let m=r("div",{className:"ococ-card"});if(e.step===0&&m.appendChild(r("p",{className:"ococ-privacy"},Ie)),o.section&&m.appendChild(r("div",{className:"ococ-eyebrow"},o.section)),m.appendChild(r("div",{className:"ococ-question"},o.label)),o.helpKey){let l=G[o.helpKey];if(l){let p=r("div",{className:"ococ-help"}),u=document.createElement("details");u.appendChild(r("summary",{},"Learn more"));let v=r("p",{});v.textContent=l.body,u.appendChild(v),p.appendChild(u),m.appendChild(p)}}let b=e.answers[o.key],_=()=>Be(e,t,o.key);if(o.type==="confirm"){let l=r("div",{className:"ococ-options ococ-yesno"}),p=T({title:"Yes",checked:b===!0,multi:!1}),u=T({title:"No",checked:b===!1,multi:!1});p.onclick=()=>{S(e,o,!0),_()},u.onclick=()=>{S(e,o,!1),_()},l.appendChild(p),l.appendChild(u),M(l),m.appendChild(l)}else if(o.type==="select"&&o.options){let l=r("div",{className:"ococ-options",role:"radiogroup"});l.setAttribute("aria-label",o.label);for(let p of o.options){let u=T({title:p.label,description:p.description,checked:b===p.value,multi:!1});u.onclick=()=>{S(e,o,p.value),_()},l.appendChild(u)}M(l),m.appendChild(l)}else if(o.type==="multi"&&o.options){let l=new Set(Array.isArray(b)?b:[]),p=r("div",{className:"ococ-options",role:"group"});p.setAttribute("aria-label",o.label);for(let u of o.options){let v=T({title:u.label,description:u.description,checked:l.has(u.value),multi:!0});v.onclick=()=>{l.has(u.value)?l.delete(u.value):l.add(u.value),v.setAttribute("aria-checked",String(l.has(u.value))),e.answers[o.key]=[...l]},p.appendChild(v)}M(p),m.appendChild(p)}let x=r("div",{className:"ococ-actions"});if(e.step>0){let l=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"\u2190 Back");l.onclick=()=>Ue(e,t),x.appendChild(l)}if(o.type==="multi"){x.appendChild(r("span",{className:"ococ-spacer"}));let l=e.step>=i.length-1,p=r("button",{className:"ococ-btn ococ-btn-primary",type:"button"},l?"See results \u2192":"Next \u2192");p.onclick=()=>{S(e,o,[...Array.isArray(e.answers[o.key])?e.answers[o.key]:[]]),_()},x.appendChild(p)}m.appendChild(x),m.appendChild(r("p",{className:"ococ-disclaimer"},D)),a.appendChild(m),t.appendChild(a);let I=m.querySelector(".ococ-option");I&&e.step>0&&I.focus()}function Be(e,t,i){let o=X(e.answers),n=o.findIndex(a=>a.key===i),s=(n<0?e.step:n)+1;if(s>=o.length){e.result=H(e.answers),oe(e,t);return}e.step=s,R(e,t)}function Ue(e,t){e.step>0&&(e.step-=1,R(e,t))}function He(e){return e.is_prohibited?"ococ-result-prohibited":e.is_high_risk?"ococ-result-high":e.in_scope?"ococ-result-in-scope":"ococ-result-out"}function Me(e){return e.is_prohibited?"Prohibited practice":e.is_high_risk?"High risk":e.in_scope?"In scope":"Out of scope"}function De(e){let t=e.effective_entity?e.effective_entity.replace(/_/g," "):null;return e.is_prohibited?"This system may not be placed on the market or put into service.":e.is_high_risk?t?`High-risk obligations apply to you as ${t}.`:"High-risk obligations apply under the AI Act.":e.in_scope?t?`The AI Act applies to you as ${t}.`:"The AI Act applies to this system.":"The AI Act does not apply to this system as described."}var Pe={"ococ-result-prohibited":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M6 6l12 12" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',"ococ-result-high":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 3.5l9.5 16.5H2.5L12 3.5z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M12 10v4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="17.2" r="0.9" fill="currentColor"/></svg>',"ococ-result-in-scope":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M8 12.5l2.5 2.5L16 9.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',"ococ-result-out":'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M12 8v5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="16" r="0.9" fill="currentColor"/></svg>'};function J(e,t,i){let o=new Blob([t],{type:i}),n=URL.createObjectURL(o),s=document.createElement("a");s.href=n,s.download=e,s.click(),URL.revokeObjectURL(n)}function Z(){return new URLSearchParams(window.location.search).get("local")==="1"}function ee(e){if(!Z())return;let t=r("div",{className:"ococ-local-bar"}),i=r("span",{},"Running locally via opencomplai checker --web --local."),o=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Stop local server");o.onclick=()=>{o.disabled=!0,o.textContent="Stopping\u2026",fetch("/__ococ_shutdown",{method:"POST"}).catch(()=>{}),window.setTimeout(()=>{t.innerHTML="",t.appendChild(r("span",{},"Server stopped \u2014 you can close this tab."))},300)},t.appendChild(i),t.appendChild(o),e.appendChild(t)}function Ye(e,t){if(typeof e=="boolean")return e?"Yes":"No";if(Array.isArray(e))return t.options?e.map(i=>{var o;return((o=t.options.find(n=>n.value===i))==null?void 0:o.label)??String(i)}).join(", "):e.map(String).join(", ");if(t.options){let i=t.options.find(o=>o.value===e);if(i)return i.label}return e==null?"(no answer)":String(e)}function te(e){let t=[],i=new Set;for(let o of N)o.key in e&&(i.add(o.key),t.push({section:o.section??"",label:o.label,value:Ye(e[o.key],o)}));for(let o of Object.keys(e)){if(i.has(o))continue;let n=o.replace(/_/g," ").replace(/\b\w/g,s=>s.toUpperCase());t.push({section:"",label:n,value:String(e[o])})}return t}var je="http://localhost:8001";function $e(){if(typeof window>"u")return!1;let e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"||e==="::1"||e==="[::1]"}function ze(){if(typeof window>"u")return null;let e=window.OCOC_RISK_ENGINE_URL;return typeof e=="string"&&e.trim()!==""?e.trim().replace(/\/+$/,""):$e()?je:null}async function Ke(e,t,i){var n;let o=await fetch(`${e}/v1/checker/email`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({answers:t,to_email:i})});if(!o.ok){let s="Could not send the email.";try{let a=await o.json();(n=a==null?void 0:a.detail)!=null&&n.message&&(s=a.detail.message)}catch{}throw new Error(s)}}function qe(e){let t={checker_version:e.checker_version,in_scope:e.in_scope,is_high_risk:e.is_high_risk,is_prohibited:e.is_prohibited,effective_entity:e.effective_entity,status_changes:e.status_changes,obligations:e.obligations,determination_path:e.determination_path,answers:e.answers};return e.session_id!==null&&(t.session_id=e.session_id),JSON.stringify(t,null,2)}function Ge(e){let t=["# EU AI Act Compliance Checker Result","",`**Checker version:** ${e.checker_version}`,`**In scope:** ${e.in_scope?"Yes":"No"}`,`**High risk:** ${e.is_high_risk?"Yes":"No"}`,`**Prohibited:** ${e.is_prohibited?"Yes":"No"}`];e.effective_entity&&t.push(`**Effective operator role:** ${e.effective_entity}`),t.push("","## Your answers","");let i=te(e.answers);if(i.length){let o="";for(let n of i)n.section&&n.section!==o&&(t.push(`**${n.section}**`),o=n.section),t.push(`- ${n.label} \u2014 ${n.value}`)}else t.push("None.");if(t.push("","## Status changes",""),e.status_changes.length)for(let o of e.status_changes)t.push(`### ${o.title}`,"",o.body,"");else t.push("None.","");if(t.push("## Obligations",""),e.obligations.length)for(let o of e.obligations)t.push(`### ${o.title} (${o.article_ref})`,"",o.body,"");else t.push("None.","");t.push("## Determination path","");for(let o of e.determination_path)t.push(`- \`${o}\``);return t.push("","## Disclaimer","",D,""),t.join(`
|
|
497
|
+
`)}function oe(e,t){let i=e.result;t.innerHTML="";let o=r("div",{className:"ococ-frame"});ee(o);let n=r("div",{className:"ococ-rail"});n.appendChild(r("span",{className:"ococ-rail-label"},"EU AI Act Checker")),n.appendChild(r("span",{className:"ococ-rail-count"},"Result")),o.appendChild(n);let s=r("div",{className:"ococ-progress-track"}),a=r("div",{className:"ococ-progress-fill"});a.style.width="100%",s.appendChild(a),o.appendChild(s);let d=r("div",{className:"ococ-card"}),w=He(i),k=r("div",{className:`ococ-result-banner ${w}`}),m=r("span",{className:"ococ-result-banner-icon"});m.innerHTML=Pe[w]??"",k.appendChild(m);let b=r("div",{className:"ococ-result-banner-text"});b.appendChild(r("div",{className:"ococ-result-headline"},Me(i))),b.appendChild(r("div",{className:"ococ-result-sub"},De(i))),k.appendChild(b),d.appendChild(k);let _=te(e.answers);if(_.length){d.appendChild(r("div",{className:"ococ-section-title"},"Your answers"));let y="";for(let f of _){f.section&&f.section!==y&&(d.appendChild(r("div",{className:"ococ-eyebrow"},f.section)),y=f.section);let h=r("div",{className:"ococ-answer-row"});h.appendChild(r("span",{className:"ococ-answer-label"},f.label)),h.appendChild(r("span",{className:"ococ-answer-value"},f.value)),d.appendChild(h)}}if(i.status_changes.length){d.appendChild(r("div",{className:"ococ-section-title"},"Status changes"));for(let y of i.status_changes){let f=r("strong",{},y.title),h=document.createElement("p");h.textContent=y.body,h.style.marginTop="0.2rem",d.appendChild(f),d.appendChild(h)}}if(i.obligations.length){d.appendChild(r("div",{className:"ococ-section-title"},"Your obligations"));let y=r("table",{className:"ococ-table"}),f=document.createElement("thead");f.appendChild(r("tr",{},r("th",{},"Obligation"),r("th",{},"Reference"),r("th",{},"Summary"))),y.appendChild(f);let h=document.createElement("tbody");for(let g of i.obligations){let C=g.body.length>140?g.body.slice(0,140)+"\u2026":g.body;h.appendChild(r("tr",{},r("td",{},r("strong",{},g.title)),r("td",{},g.article_ref),r("td",{},C)))}y.appendChild(h),d.appendChild(y)}let x=r("div",{className:"ococ-path"}),I=document.createElement("details");I.appendChild(r("summary",{},"Determination path"));let l=document.createElement("div");l.style.paddingTop="0.4rem";for(let y of i.determination_path)l.appendChild(r("code",{},y));I.appendChild(l),x.appendChild(I),d.appendChild(x),d.appendChild(r("div",{className:"ococ-section-title"},"Export"));let p=r("div",{className:"ococ-export"}),u=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Download JSON");u.onclick=()=>J("eu-ai-act-result.json",qe(i),"application/json");let v=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Download Markdown");v.onclick=()=>J("eu-ai-act-result.md",Ge(i),"text/markdown");let P=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Print / Save PDF");P.onclick=()=>window.print(),p.appendChild(u),p.appendChild(v),p.appendChild(P),d.appendChild(p);let Y=ze();if(!Z()&&Y){d.appendChild(r("div",{className:"ococ-section-title"},"Email a copy"));let y=r("div",{className:"ococ-email"}),f=r("input",{type:"email",placeholder:"you@example.com","aria-label":"Email address to send a copy of your result"}),h=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"Send"),g=r("p",{className:"ococ-email-status"});h.onclick=()=>{let C=f.value.trim();if(!C.includes("@")||!C.includes(".")){g.textContent="Enter a valid email address.",g.className="ococ-email-status ococ-email-error";return}let ie=h.textContent??"Send";h.disabled=!0,f.disabled=!0,h.textContent="Sending\u2026",g.textContent="",g.className="ococ-email-status",Ke(Y,e.answers,C).then(()=>{g.textContent="Sent \u2014 check your inbox.",g.className="ococ-email-status ococ-email-success"}).catch(z=>{let re=z instanceof Error?z.message:"Could not send the email.";g.textContent=`${re} Try one of the downloads above instead.`,g.className="ococ-email-status ococ-email-error"}).finally(()=>{h.disabled=!1,f.disabled=!1,h.textContent=ie})},y.appendChild(f),y.appendChild(h),d.appendChild(y),d.appendChild(g)}let j=r("div",{className:"ococ-actions"}),$=r("button",{className:"ococ-btn ococ-btn-secondary",type:"button"},"\u2190 Start over");$.onclick=()=>{e.step=0,e.answers={},e.result=null,R(e,t)},j.appendChild($),d.appendChild(j),d.appendChild(r("p",{className:"ococ-disclaimer"},D)),o.appendChild(d),t.appendChild(o)}function O(e="#ococ-checker"){let t=document.querySelector(e);if(!t||t.dataset.ococMounted==="true")return;t.dataset.ococMounted="true",Te(),R({step:0,answers:{},result:null},t)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>O()):O();return de(Fe);})();
|
|
498
498
|
</script>
|
|
499
499
|
<script>
|
|
500
500
|
/* Theme toggle: flip the explicit choice, persist it, update the label. */
|
|
@@ -53,6 +53,7 @@ from opencomplai_core.evaluators.seed_corpus import seed_sample_set
|
|
|
53
53
|
from opencomplai_core.exemption_gap import apply_exemption_gate
|
|
54
54
|
from opencomplai_core.frameworks import (
|
|
55
55
|
EU_AI_ACT,
|
|
56
|
+
ISO_27090,
|
|
56
57
|
evaluate_targets,
|
|
57
58
|
gate_failures,
|
|
58
59
|
requirement_title,
|
|
@@ -68,6 +69,7 @@ from opencomplai_core.models import (
|
|
|
68
69
|
DISCLAIMER_V1,
|
|
69
70
|
DISCLAIMER_V2,
|
|
70
71
|
AssessmentInput,
|
|
72
|
+
Attestation,
|
|
71
73
|
ControlInstance,
|
|
72
74
|
ControlState,
|
|
73
75
|
CorroborationReport,
|
|
@@ -1505,10 +1507,16 @@ def gaps_cmd(
|
|
|
1505
1507
|
"Framework to assess; repeat for several. Replaces the manifest's "
|
|
1506
1508
|
"compliance_targets (else its compliance_target). EU_AI_ACT is "
|
|
1507
1509
|
"evaluated natively; NIST_AI_RMF by re-projecting the EU_AI_ACT "
|
|
1508
|
-
"evidence
|
|
1509
|
-
"docs/src/concepts/nist-ai-rmf.md.
|
|
1510
|
-
"ISO/IEC 42001 pack, attestation-led
|
|
1511
|
-
"certification."
|
|
1510
|
+
"evidence per subcategory, with attestations where that evidence "
|
|
1511
|
+
"holds nothing — see docs/src/concepts/nist-ai-rmf.md. "
|
|
1512
|
+
"ISO_IEC_42001 is the native ISO/IEC 42001 pack, attestation-led "
|
|
1513
|
+
"(unreviewed), not a certification. ISO_IEC_27090 is the native "
|
|
1514
|
+
"ISO/IEC 27090 AI security guidance pack, attestation-led "
|
|
1515
|
+
"(unreviewed); guidance, not a certification. ISO_IEC_27001, SOC_2, "
|
|
1516
|
+
"NIS2, DORA, EBA, EIOPA_AI, GDPR, CRA, ETSI_EN_304_223, ISO_IEC_42005 "
|
|
1517
|
+
"and ISO_IEC_23894 are further native packs, attestation-led "
|
|
1518
|
+
"(unreviewed): no audit, certification or legal assessment — see "
|
|
1519
|
+
"docs/src/frameworks/more-packs.md."
|
|
1512
1520
|
),
|
|
1513
1521
|
),
|
|
1514
1522
|
map_to: list[str] | None = typer.Option(
|
|
@@ -1541,7 +1549,11 @@ def gaps_cmd(
|
|
|
1541
1549
|
`--target NIST_AI_RMF` re-projects the same evidence into a per-subcategory
|
|
1542
1550
|
NIST AI RMF 1.0 profile — no new scanner or evaluator involved.
|
|
1543
1551
|
`--target ISO_IEC_42001` reports the native ISO/IEC 42001 pack,
|
|
1544
|
-
attestation-led (
|
|
1552
|
+
attestation-led (unreviewed); it certifies nothing.
|
|
1553
|
+
`--target ISO_IEC_27090` reports the ISO/IEC 27090 AI security guidance
|
|
1554
|
+
pack, attestation-led (unreviewed); it certifies nothing.
|
|
1555
|
+
Eleven further packs (ISO_IEC_27001, SOC_2, NIS2, DORA, EBA, EIOPA_AI, GDPR,
|
|
1556
|
+
CRA, ETSI_EN_304_223, ISO_IEC_42005, ISO_IEC_23894) work the same way.
|
|
1545
1557
|
"""
|
|
1546
1558
|
if not manifest_file.exists():
|
|
1547
1559
|
err_console.print(f"[red]Error:[/red] manifest file not found: {manifest_file}")
|
|
@@ -1617,7 +1629,11 @@ def gaps_cmd(
|
|
|
1617
1629
|
extra=[reports[fw] for fw in targets if fw != EU_AI_ACT],
|
|
1618
1630
|
)
|
|
1619
1631
|
|
|
1620
|
-
nist_report =
|
|
1632
|
+
nist_report = (
|
|
1633
|
+
build_nist_rmf_report(report, _nist_attested(manifest))
|
|
1634
|
+
if "NIST_AI_RMF" in targets
|
|
1635
|
+
else None
|
|
1636
|
+
)
|
|
1621
1637
|
# Exactly one EU AI Act or NIST AI RMF target keeps today's output.
|
|
1622
1638
|
legacy = targets in ([EU_AI_ACT], ["NIST_AI_RMF"])
|
|
1623
1639
|
|
|
@@ -1708,6 +1724,12 @@ def _resolve_gate(
|
|
|
1708
1724
|
return frameworks, fail_on
|
|
1709
1725
|
|
|
1710
1726
|
|
|
1727
|
+
def _nist_attested(manifest: SystemManifest) -> dict[str, Attestation] | None:
|
|
1728
|
+
"""The manifest's NIST AI RMF attestations, validated by evaluate_targets."""
|
|
1729
|
+
inputs = manifest.framework_inputs.get("NIST_AI_RMF")
|
|
1730
|
+
return inputs.attested if inputs else None
|
|
1731
|
+
|
|
1732
|
+
|
|
1711
1733
|
def _evaluate_targets_or_exit(
|
|
1712
1734
|
manifest: SystemManifest, targets: list[str], **kwargs: Any
|
|
1713
1735
|
) -> dict[str, FrameworkReport]:
|
|
@@ -1734,8 +1756,9 @@ def _print_nist_gaps(
|
|
|
1734
1756
|
) -> None:
|
|
1735
1757
|
console.print(f"\n[bold]Opencomplai NIST AI RMF Gap Report[/bold] — {system_id}\n")
|
|
1736
1758
|
console.print(
|
|
1737
|
-
"[dim]Re-projected from EU AI Act evidence via
|
|
1738
|
-
"(data/
|
|
1759
|
+
"[dim]Re-projected from EU AI Act evidence via each subcategory's mapping "
|
|
1760
|
+
"(data/nist_ai_rmf_subcategories.json), or attested where that evidence "
|
|
1761
|
+
"is silent — heuristic estimates, not a legal "
|
|
1739
1762
|
"determination. See docs/src/concepts/nist-ai-rmf.md for the "
|
|
1740
1763
|
"methodology; no new scanner or evaluator backs this.[/dim]\n"
|
|
1741
1764
|
)
|
|
@@ -3665,7 +3688,9 @@ def check_cmd(
|
|
|
3665
3688
|
else None
|
|
3666
3689
|
)
|
|
3667
3690
|
nist_rmf_report = (
|
|
3668
|
-
build_nist_rmf_report(gap_report)
|
|
3691
|
+
build_nist_rmf_report(gap_report, _nist_attested(manifest))
|
|
3692
|
+
if "NIST_AI_RMF" in targets
|
|
3693
|
+
else None
|
|
3669
3694
|
)
|
|
3670
3695
|
# Exactly one EU AI Act or NIST AI RMF target keeps today's artifact.
|
|
3671
3696
|
legacy = targets in ([EU_AI_ACT], ["NIST_AI_RMF"])
|
|
@@ -4826,6 +4851,15 @@ def docs_generate_cmd(
|
|
|
4826
4851
|
"[yellow]Warning:[/yellow] --render needs local mode (unset "
|
|
4827
4852
|
"OPENCOMPLAI_API_URL); no Markdown or PDF was written."
|
|
4828
4853
|
)
|
|
4854
|
+
if loaded_manifest is not None and ISO_27090 in (
|
|
4855
|
+
loaded_manifest.compliance_targets or []
|
|
4856
|
+
):
|
|
4857
|
+
err_console.print(
|
|
4858
|
+
f"[yellow]Warning:[/yellow] {ISO_27090} is a target, but the "
|
|
4859
|
+
"cybersecurity section needs local mode (unset "
|
|
4860
|
+
"OPENCOMPLAI_API_URL); the dossier made by the service has no such "
|
|
4861
|
+
"section."
|
|
4862
|
+
)
|
|
4829
4863
|
sys.exit(0)
|
|
4830
4864
|
except ConnectionError:
|
|
4831
4865
|
pass
|
|
@@ -4859,12 +4893,27 @@ def docs_generate_cmd(
|
|
|
4859
4893
|
)
|
|
4860
4894
|
)
|
|
4861
4895
|
)
|
|
4896
|
+
# The cybersecurity section is built from the ISO_IEC_27090 report, so
|
|
4897
|
+
# evaluate that target only when the manifest asks for it.
|
|
4898
|
+
framework_reports = (
|
|
4899
|
+
_evaluate_targets_or_exit(
|
|
4900
|
+
manifest,
|
|
4901
|
+
[ISO_27090],
|
|
4902
|
+
commit_ref=commit_ref,
|
|
4903
|
+
risk_result=risk_result,
|
|
4904
|
+
corroboration_report=scan_report,
|
|
4905
|
+
eval_report=eval_report,
|
|
4906
|
+
)
|
|
4907
|
+
if ISO_27090 in (manifest.compliance_targets or [])
|
|
4908
|
+
else None
|
|
4909
|
+
)
|
|
4862
4910
|
dossier = generate_dossier(
|
|
4863
4911
|
manifest,
|
|
4864
4912
|
risk_result,
|
|
4865
4913
|
provider_name=provider_name,
|
|
4866
4914
|
eval_report=eval_report,
|
|
4867
4915
|
corroboration_report=scan_report,
|
|
4916
|
+
framework_reports=framework_reports,
|
|
4868
4917
|
)
|
|
4869
4918
|
# A declared high_risk_presumption must gate schema validation the
|
|
4870
4919
|
# same way the doc-generator service does (see its main.py) — the
|