Fix ActivityDefinition sync for daily triage canary

This commit is contained in:
2026-05-19 20:13:23 +02:00
parent 6cb0718e90
commit 1ff8b14d1b
4 changed files with 81 additions and 10 deletions

View File

@@ -120,7 +120,10 @@ class InstructionDef(BaseModel):
class ContextSource(BaseModel):
"""One external data source that the workflow queries to build the context snapshot."""
name: str = Field(description="Logical name; referenced as 'context.<name>' in templates.")
name: str = Field(
default="",
description="Logical name; referenced as 'context.<name>' in templates.",
)
type: str = Field(description="Source adapter type: 'repo-scoping' | 'state-hub' | etc.")
query: str = Field(default="", description="Named query to execute against the source.")
params: dict[str, Any] = Field(default_factory=dict)