Implementation Plan: Agent Society Runtime

Make governed multi-agent participation a first-class runtime capability: agent registry (roles/capabilities/boundaries), tool execution via safe transports (MCP/LSP/A2A), human-in-the-loop escalations, and auditable handoffs.

This plan spans documentation artifacts (SKILL.md, AGENTS.md, .github/agents/**) and governance constraints; runtime execution should remain generated or tool-driven (no handwritten runtime logic).

Provenance & Traceability

Architectural Decisions (ADRs)

ADR ID Decision Title Impact on This Plan
ADR-017 MCP-LSP Integration Architecture Defines safe tool exposure for agents via LSP/MCP (now consolidated in SDS-052).
ADR-011 Internal Federated Ledger (IFL) Agent actions and approvals require attestable provenance.

Product Requirements (PRDs)

PRD ID Requirement Title Satisfied By (SDS) Acceptance Criteria
PRD-020 VibesPro™ Foundation Platform Requirements SDS-045 FR-004 Context-Kit Manifest; skill/agent routing

Software Design Specifications (SDS)

SDS ID Service/Component Bounded Context SEA-DSL Spec File Implementation Status
SDS-045 VibesPro™ Foundation Integration shared N/A Proposed
SDS-031 Authority & Ownership Boundaries shared N/A Draft
SDS-052 Semantic Tooling & IDE Integration shared N/A Draft

Note: ADR-017 (MCP-LSP Integration) is now consolidated in SDS-052 (Semantic Tooling & IDE Integration).


Architecture and Design

Design Principles Applied

Dependency Justification

Expected Filetree

1
2
3
4
5
/
├── .github/agents/**                      # agent definitions
├── .github/skills/**                      # skill definitions
├── docs/specs/shared/adr/017-mcp-lsp-integration-architecture.md
└── docs/specs/shared/sds/031-authority-ownership-boundaries.md

Proposed Cycles

Cycle Branch Wave Files Modified Files Created Specs Implemented
C1A cycle/p015-c1a-agent-registry 1 docs/specs/shared/sds/045-vibespro-foundation-integration.md (if needed) .github/agents/**, .github/skills/** Registry + routing manifest
C1B cycle/p015-c1b-hitl-protocol 1 docs/specs/shared/sds/031-authority-ownership-boundaries.md HITL approvals + SoD
C2A cycle/p015-c2a-safe-tool-surface 2 docs/specs/shared/sds/052-semantic-tooling-ide-integration.sds.yaml Safe tool exposure contract

Task Breakdown

Wave 1 (Parallel)

Wave 2 (Depends on Wave 1)


Validation & Verification

Spec Validation

Implementation Validation


Open Questions

  1. Where is the canonical “agent routing manifest” stored in this repo (SDS-045 mentions ce.manifest.jsonc, but this repo currently uses .github/agents/** and .github/skills/**)? .github/agents/** (current)
  2. Which transports are in-scope for MVP: VS Code LSP only, MCP server, A2A, or all? VS Code LSP + MCP + HTTP
  3. What is the expected on-disk schema for SKILL.md beyond the system skills in your Codex home? Frontmatter + structured markdown

Risks & Mitigation

Risk Likelihood Impact Mitigation Strategy
Excessive tool surface increases attack surface Medium High Deny-by-default; restrict to read-only probes; require approvals for side effects.
Agent proliferation becomes ungovernable Medium Medium Registry + capabilities + tags; periodic review; enforce invariants via CI.

Rollback Strategy

  1. Disable non-essential agents and retain only “read-only” tooling until governance is stable.

Linked Specifications

Type ID/Doc Document
ADR ADR-017 docs/specs/shared/adr/017-mcp-lsp-integration-architecture.md
PRD PRD-020 docs/specs/shared/prd/020-vibespro-foundation-platform.md
SDS SDS-045 docs/specs/shared/sds/045-vibespro-foundation-integration.md
SDS SDS-031 docs/specs/shared/sds/031-authority-ownership-boundaries.md
SDS SDS-052 docs/specs/shared/sds/052-semantic-tooling-ide-integration.sds.yaml

Consolidation Note: ADR-017 (MCP-LSP Integration) and SDS-041 (Ultimate LSP Hover) are now consolidated in SDS-052.