Skip to content

Guard unique public surfaces#209

Merged
kriptoburak merged 1 commit into
masterfrom
codex/guard-unique-public-surfaces
Jun 12, 2026
Merged

Guard unique public surfaces#209
kriptoburak merged 1 commit into
masterfrom
codex/guard-unique-public-surfaces

Conversation

@kriptoburak

@kriptoburak kriptoburak commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add regression coverage that the registered public-surface file list contains no duplicates
  • keep public link and safety scan inputs stable as the surface registry grows

Validation

  • uv run ruff format --check .
  • uv run ruff check .
  • uv run basedpyright
  • uv run pytest --cov=hermes_tweet --cov=tests --cov-report=term-missing --cov-fail-under=100
  • uv run bandit -q -r hermes_tweet scripts
  • uv run python scripts/check_public_safety.py
  • uv run pip-audit
  • uv run python scripts/check_public_links.py
  • uv run python scripts/check_hermes_agent_compat.py
  • uv build
  • uv run twine check dist/*
  • actionlint
  • git diff --check

Note

Add uniqueness test for PUBLIC_SURFACE_FILES entries

Adds a test in test_public_surfaces.py that asserts all entries in PUBLIC_SURFACE_FILES are unique by comparing the list length to the set length.

Macroscope summarized 608e4cb.

@kriptoburak kriptoburak merged commit d333367 into master Jun 12, 2026
5 checks passed
@kriptoburak kriptoburak deleted the codex/guard-unique-public-surfaces branch June 12, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant