ops-bridge/tests
tegwick bd169a07e2 feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment
- ActorType enum (adm/agt/atm) replaces actor_class string; config validates
  naming convention (adm-*/agt-*/atm-*) with hard ConfigError on mismatch;
  legacy 'human'/'automation' values accepted with DeprecationWarning
- cert_command: pluggable shell string run before each SSH launch; cert written
  to state dir; -i cert appended to SSH command alongside -i key
- TTL-aware cert refresh: parses Valid-to via ssh-keygen -L; pre-emptive restart
  5 min before expiry (no backoff, no attempt increment); CERT_EXPIRING logged
- CertAcquisitionError: cert failures trigger normal backoff/retry loop
- cert_identity: Key ID parsed from cert and recorded in BRIDGE_CONNECTED event
- bridge cert-status: new CLI command; exit 1 on expired cert; --json flag
- 233 tests passing, ruff clean

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 09:38:29 +02:00
..
__init__.py feat: implement OpsBridge CLI (BRIDGE-WP-0001) 2026-03-12 01:40:08 +00:00
conftest.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_audit.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_catalog_cli.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_catalog_integration.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_catalog_loader.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_catalog_models.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_catalog_resolver.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_catalog_validator.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_cli.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_config.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_coverage_completeness.py test(BRIDGE-WP-0003): add sentinel self-validation for meta-test + MCP section in README 2026-03-12 21:19:58 +01:00
test_diagnostics.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_health.py feat: implement OpsBridge CLI (BRIDGE-WP-0001) 2026-03-12 01:40:08 +00:00
test_integration.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_manager.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_mcp.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_models.py feat(directive): implement BRIDGE-WP-0004 AccessManagementDirective alignment 2026-05-15 09:38:29 +02:00
test_skill.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00
test_state.py feat(BRIDGE-WP-0003): MCP server, /bridge-status skill, cross-mode coverage enforcement 2026-03-12 11:33:16 +01:00