Skip to content

feat(A15+A16): Copilot parser spec + A2A Agent Card spec#21

Merged
ogkranthi merged 6 commits into
mainfrom
agent/architect/A15-A16
Apr 1, 2026
Merged

feat(A15+A16): Copilot parser spec + A2A Agent Card spec#21
ogkranthi merged 6 commits into
mainfrom
agent/architect/A15-A16

Conversation

@ogkranthi
Copy link
Copy Markdown
Owner

Summary

  • A15 — Copilot parser spec (specs/copilot-parser-spec.md): Documents the reverse-direction parser for .agent.md files → IR. Covers YAML frontmatter parsing, tool ID → IR tool mapping (all known Copilot tool IDs), MCP comment extraction, governance section recovery (including reversal of elevation templates from L2/L3 back to structured governance), edge cases (missing frontmatter, multiple files, non-AgentShift-generated agents), and round-trip fidelity analysis.

  • A16 — A2A Agent Card spec (specs/a2a-agent-card-spec.md): Documents the A2A Agent Card JSON structure (v1.0.0, Linux Foundation/Google) and IR → Agent Card field mapping. Covers AgentCapabilities, AgentSkill, AgentProvider, all 5 security scheme types, governance-via-extension pattern, and complete example outputs for weather and pregnancy-companion agents.

Unblocks D26 (Copilot parser implementation) and D27 (A2A emitter implementation).

Test plan

  • Verify spec field mappings match existing emitter code in src/agentshift/emitters/copilot.py
  • Verify A2A spec field types match the upstream proto definitions
  • Confirm round-trip fidelity notes are consistent with Bedrock/Vertex parser specs
  • Use specs as implementation guides for D26 and D27

🤖 Generated with Claude Code

ogkranthi and others added 3 commits March 30, 2026 22:11
Document the reverse-direction parser for GitHub Copilot .agent.md files
back into AgentShift IR. Covers frontmatter/body parsing, tool ID mapping,
MCP comment extraction, governance section recovery (including elevation
template reversal), edge cases, and round-trip fidelity notes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document the A2A (Agent-to-Agent) Agent Card JSON structure for the emitter.
Covers AgentCapabilities, AgentSkill, AgentProvider, security schemes,
IR-to-A2A field mapping, governance via custom extensions, and complete
examples for weather and pregnancy-companion agents.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 31, 2026

Deploying agentshift with  Cloudflare Pages  Cloudflare Pages

Latest commit: 316f7b6
Status: ✅  Deploy successful!
Preview URL: https://b07283b2.agentshift.pages.dev
Branch Preview URL: https://agent-architect-a15-a16.agentshift.pages.dev

View logs

@ogkranthi ogkranthi enabled auto-merge April 1, 2026 05:02
@ogkranthi ogkranthi merged commit 65edff9 into main Apr 1, 2026
6 of 7 checks passed
@ogkranthi ogkranthi deleted the agent/architect/A15-A16 branch April 1, 2026 05:02
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