HSLG Media

agents.py

agents.py

Source file: tools/governance/agents.py

Module: tools-governance

Size: 204 lines

SHA-256: 276b7b8defb04ee58f4d09fc842e4ea6d1bff341bfb81e336f19c35f7069bb0e

Responsibility

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

Declared entry points

  • sha — source line 30.
  • registry — source line 34.
  • strip_stamp — source line 39.
  • validate_prose — source line 43.
  • check — source line 53.
  • check_git_changes — source line 94.
  • git — source line 100.
  • review — source line 129.
  • main — source line 179.

Imports and dependencies

  • Line 13: import argparse
  • Line 14: import hashlib
  • Line 15: import json
  • Line 17: import re
  • Line 18: import subprocess
  • Line 19: 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.