AWS.AgentGovernance.Bedrock: project scaffold and shared guardrail client (1/5) - #43
Closed
GarrettBeatty wants to merge 1 commit into
Closed
AWS.AgentGovernance.Bedrock: project scaffold and shared guardrail client (1/5)#43GarrettBeatty wants to merge 1 commit into
GarrettBeatty wants to merge 1 commit into
Conversation
Introduces the package project (net8.0, signed, packable, 0.1.0 preview) plus the two internals shared by every feature that follows: - BedrockGuardrailClient: thin wrapper over IAmazonBedrockRuntime.ApplyGuardrailAsync that builds the request and times the round-trip. No error handling by design; callers choose fail-closed (policy) vs never-throw (audit). - GuardrailResponseMapper: pure helpers over the response (intervened flag, redacted text, detected PII types, assessment summary) so the policy and sanitizer features can't drift in how they read a guardrail assessment. Adds a xUnit v3 unit test project with mapper coverage, and registers both projects in AWS.DotNetAI.slnx and .autover/autover.json.
GarrettBeatty
force-pushed
the
gcbeatty/agent-gov-bedrock-scaffold
branch
from
August 17, 2026 18:53
6eff196 to
a5ab636
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of a stack of 5 draft PRs adding AWS.AgentGovernance.Bedrock, AWS backends for Microsoft's Agent Governance Toolkit.
Stack (merge bottom-up): 1) scaffold (this, base
dev) 2) policy 3) audit 4) sanitizer 5) setup.This PR
BedrockGuardrailClient: shared wrapper overApplyGuardrailAsyncwith timing.GuardrailResponseMapper: pure helpers (intervened, redacted text, PII types, summary).AWS.DotNetAI.slnxand.autover.