Skip to content

Document diagnostic case association trust boundary - #7

Open
JusterZhu wants to merge 2 commits into
justerzhu-bowl-outbox-lifecyclefrom
justerzhu-diagnostic-correlation-boundary
Open

JusterZhu wants to merge 2 commits into
justerzhu-bowl-outbox-lifecyclefrom
justerzhu-diagnostic-correlation-boundary

Conversation

@JusterZhu

Copy link
Copy Markdown
Contributor

Summary

  • Document that schema 2 diagnostic cases are unassociated and explain the authorization, authenticated protocol, replay protection, fencing, and first-upload prerequisites for future correlation.
  • Record the old watchdog and outbox migration boundaries without defining an unverified association protocol.
  • Guard the schema 2 manifest shape and verify unrecognized association claims in watchdog configuration do not appear in the manifest.

Scope and limitations

This change does not implement attempt-to-case association. GeneralUpdate's current producer cannot supply a protected, authorized context or authenticated version handshake, and the consumer cannot verify an association. Cases requiring correlation must not be uploaded until those prerequisites are met; existing ordinary crash cases remain unassociated. The tests exercise local writer/configuration code, not a production cross-repository end-to-end chain.

Stacked on #5.

Validation

  • dotnet test tests\Bowl.Console.Tests\Bowl.Console.Tests.csproj --filter "FullyQualifiedName~OutboxManagerTests|FullyQualifiedName~CliOptionsTests" --verbosity quiet (26 passed)
  • git diff --check

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 00:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the documentation and regression-test updates clarifying the schema 2 association trust boundary.

No open issues 🎉

What changed in this PR

This PR clarifies the trust boundary for schema 2 diagnostic cases, building on the outbox lifecycle protections. It updates documentation and regression tests without implementing attempt-to-case association.

Changes:

  • Documents authentication, authorization, replay protection, and binding requirements for future association.
  • Explains first-upload constraints and why configuration compatibility and cooperative locks do not establish trust.
  • Adds tests that enforce the manifest’s exact property set and verify that unrecognized association claims are not copied from configuration.
File Description
tests/​Bowl.Console.Tests/​OutboxManagerTests.cs Guards the schema 2 manifest shape and exclusion of unrecognized association claims.
docs/​diagnostic-outbox.md Defines the association trust boundary, future prerequisites, and compatibility limitations.

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

2 participants