decomposer: fix validation failure for Migrate the kab_ingestion domain models, ports, GitHub SCM connector, and SharePoint CMS connector into the repository's app/ package.; Wire the migrated ingestion components into the agent application entry point, card, settings, triggers, governance, publication, and validation layers.; Populate every remaining placeholder file with working application, package, test, dependency, and Kubernetes content.; Verify the migrated agent and completed repository end to end.
Some checks failed
quality-gates / verify (push) Failing after 7s
Some checks failed
quality-gates / verify (push) Failing after 7s
This commit is contained in:
20
app/card.py
20
app/card.py
@@ -1,10 +1,24 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class AgentSkill:
|
||||
id: str
|
||||
name: str
|
||||
description: str
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class AgentCard:
|
||||
name: str
|
||||
description: str
|
||||
skills: tuple[str, ...]
|
||||
version: str = "1.0.0"
|
||||
version: str
|
||||
skills: tuple[AgentSkill, ...]
|
||||
|
||||
CARD = AgentCard("content-ingestion-agent", "Ingest governed content from SCM into SharePoint CMS.", ("ingest_github", "publish_sharepoint", "validate_content"))
|
||||
|
||||
AGENT_CARD = AgentCard(
|
||||
name="content-ingestion-agent",
|
||||
description="Ingest governed knowledge content from source control and publish it to a CMS.",
|
||||
version="1.0.0",
|
||||
skills=(AgentSkill("ingest", "Ingest content", "Fetch and validate source documents."), AgentSkill("publish", "Publish content", "Apply governance and publish approved documents.")),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user