Skip to content

docs: add typed failure and async diagnostics contract - #114

Merged
masarray merged 1 commit into
mainfrom
chore/agent-engineering-contract-v2
Sep 10, 2026
Merged

docs: add typed failure and async diagnostics contract#114
masarray merged 1 commit into
mainfrom
chore/agent-engineering-contract-v2

Conversation

@masarray

Copy link
Copy Markdown
Owner

Summary

Strengthens the existing ARIEC61850 agent contract without changing its protocol/provenance architecture.

Added failure architecture

  • expected parser/protocol/state-machine outcomes use typed Result/Try contracts instead of routine exceptions
  • coherent error taxonomy per protocol layer rather than ad-hoc Result classes
  • socket/XML/.NET/infrastructure exceptions are contained at meaningful boundaries and converted
  • high-rate GOOSE/SV/receive paths emit compact diagnostics/counters only
  • diagnostic queues must be bounded with aggregation/dedup/rate limiting
  • diagnostic sink failure must never block protocol processing or corrupt association state
  • explicit typed failure/state transition replaces throw/retry-delay workaround patterns

Documentation-only change; runtime protocol behavior is unchanged.

@masarray
masarray merged commit 3a7f73c into main Sep 10, 2026
1 check passed
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