Skip to content

test(observability): cover Phase B audit boundaries - #6559

Open
RuroninMugen wants to merge 5 commits into
block:mainfrom
RuroninMugen:feature/hive-phase-b-observability
Open

test(observability): cover Phase B audit boundaries#6559
RuroninMugen wants to merge 5 commits into
block:mainfrom
RuroninMugen:feature/hive-phase-b-observability

Conversation

@RuroninMugen

Copy link
Copy Markdown

Summary

Adds regression coverage for the Phase B observability instrumentation in buzz-acp.

This PR is test-only and covers:

  • audit schema / serialization
  • metadata-only field shape
  • attempt semantics
  • matched/no-match filter rule attribution
  • queue accepted / dropped-in-flight / cap-eviction behavior
  • audit default-off behavior
  • fail-open path handling

Validation

  • rustup run 1.95.0 cargo check -p buzz-acp --tests — PASS
  • rustup run 1.95.0 cargo test -p buzz-acp — 838 passed, 0 failed, 0 ignored

Scope / limitations

This does not claim end-to-end runtime observability correctness. In particular, fail-closed FilterDecision emission details and B7/B8 cross-record correlation remain deferred. ResponsePublished and RecipientEvidenceObserved currently serialize as schema variants but are not wired to production emission sites in buzz-acp.

No production logic or dependencies are changed by the test commit.

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