feat(A14): Vertex AI parser spec — Vertex artifacts → IR#17
Closed
ogkranthi wants to merge 4 commits into
Closed
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
Deploying agentshift with
|
| Latest commit: |
0f076e3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b06895dd.agentshift.pages.dev |
| Branch Preview URL: | https://agent-dev-d22-d25.agentshift.pages.dev |
Owner
Author
|
Spec cherry-picked to main directly due to BACKLOG rebase conflict. Merged as commit 48f4838. |
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
Adds
specs/vertex-parser-spec.md— the specification for the Vertex AI → IR parser (reverse of the Vertex emitter). Implements the design contract for D23.What's covered
Input formats
agent.json(required — AgentShift-generated or Vertex AI API export)tools.json(optional — additional tool declarations from Vertex API)Field mapping
displayName→ slugifiednamegoal+instructions→persona.system_promptreconstruction"SectionName:\ncontent"patternsir.tools/ir.knowledgeGovernance extraction
instructionsarray (shared pattern with Bedrock parser)"Restrictions:"instruction prefix →sections["guardrails"]Round-trip fidelity
Documents what survives (name, system_prompt, sections, language, tools) and what is lossy (triggers, constraints, tool_permissions).
Shared utilities
Documents
src/agentshift/parsers/utils.py— shared with Bedrock parser:slugify,extract_guardrails_from_text,infer_guardrail_category/severity, tool kind detection.CLI contract
agentshift convert ./vertex-output/ --from vertex --to openclawand variants.Closes
A14 (Week 7 backlog)