HSLG Media

check_library_policy.py

check_library_policy.py

Source file: tools/governance/check_library_policy.py

Module: tools-governance

Size: 40 lines

SHA-256: 4705cb7ee89e988255ac06042cbcc498b82fcb4f55a42dbf99930153a29262c8

Responsibility

Verifies dependency, documentation, source and release boundaries without suppressing failures.

Declared entry points

  • check — source line 14.

Imports and dependencies

  • Line 9: import json
  • Line 10: import sys

Behaviour and audit locations

  • Line 6: at export time. No network lookup or permission to install is hidden in this tool.

Relationship to the system

This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.

Change verification

Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.