feat(D22-D25): Bedrock + Vertex AI parsers, governance utils, CLI updates, v0.3.0#19
Closed
ogkranthi wants to merge 4 commits into
Closed
feat(D22-D25): Bedrock + Vertex AI parsers, governance utils, CLI updates, v0.3.0#19ogkranthi wants to merge 4 commits into
ogkranthi wants to merge 4 commits into
Conversation
… experiments) + clean up duplicate files - Add Governance, Guardrail, ToolPermission, PlatformAnnotation to IR model - Add governance extraction to OpenClaw parser (SOUL.md + tool permissions + L3 annotations) - Add elevation engine (elevate_governance) for L2/L3 → L1 promotion - Add governance_audit module with GPR/CFS scoring, CSV/JSON export, Rich tables - Add `agentshift audit` and `agentshift audit-batch` CLI commands - Integrate elevation into claude_code + copilot emitters - Add experiments/ directory with 12 domain agents for research paper - Remove duplicate sections 2.py and persona-sections-schema 2.md - Mark T13 as merged in BACKLOG.md
…pping, CLI, round-trip fidelity
Owner
Author
|
Implementation cherry-picked to main directly (commit 44c01ab). D22-D25 merged. |
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.
Summary
Week 7 implementation — v0.3.0 Governance + Cloud Parsers.
Tasks completed
D22 — AWS Bedrock parser (
src/agentshift/parsers/bedrock.py)bedrock-agent.json,cloudformation.yaml,instruction.txt,openapi.json,guardrail-config.jsonbedrock-agent.json>cloudformation.yaml>instruction.txtPersonawith section extractionAWS::Bedrock::KnowledgeBaseCFN resourcesguardrail-config.jsontopic policiesbedrockformat keyD23 — Vertex AI parser (
src/agentshift/parsers/vertex.py)agent.json(required) + optionaltools.jsonandREADME.mdsystem_promptfromgoal+instructionsfieldspersona.sectionsfrom linearized"SectionName:\ncontent"patternsir.knowledgeToolAuthfrom Vertexauthenticationblocks (API key, OAuth2, service account)vertexformat keyShared utilities (
src/agentshift/parsers/utils.py)slugify,title_case_to_slug,is_todo_placeholderinfer_guardrail_category,infer_guardrail_severityextract_guardrails_from_text(used by both parsers)D24 — CLI updates (
src/agentshift/cli.py)bedrockandvertexto_PARSERSregistryconvert,diff,auditnow support--from bedrockand--from vertex_parse_with_errorswith parser-specific error hintsD25 — Version bump to 0.3.0
pyproject.tomlversion:0.3.0__init__.py __version__:0.3.0CHANGELOG.md: v0.3.0 section addedREADME.md: governance layer docs + cloud parser usage examplesTest results
All 782 existing tests pass — no regressions.