HSLG Media

check_history.py

check_history.py

Source file: tools/governance/check_history.py

Module: tools-governance

Size: 132 lines

SHA-256: 9c46cbba02f09f207ae587463a9a9b881b826333f4d7c1ddfdcb927706dabd4f

Responsibility

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

Declared entry points

  • sha — source line 24.
  • source_fingerprint — source line 28.
  • validate — source line 42.
  • main — source line 84.

Imports and dependencies

  • Line 9: import argparse
  • Line 10: import csv
  • Line 11: import hashlib
  • Line 12: import json
  • Line 15: import re
  • Line 16: import sys

Behaviour and audit locations

Review control flow and returned values in the named source file; no special integration marker was detected.

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.