refactor(policy_engine): shorten attachment priority field descriptions

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-09-17 06:00:25 +00:00
parent 21ffbdc7ea
commit f5dea4de76
2 changed files with 3 additions and 3 deletions

View file

@ -290,7 +290,7 @@ class PolicyAttachment(BaseModel):
)
priority: int | None = Field(
default=None,
description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",
description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",
)
model_config = ConfigDict(extra="forbid")

View file

@ -307,7 +307,7 @@ class PolicyAttachmentCreateRequest(BaseModel):
)
priority: int | None = Field(
default=None,
description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",
description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",
)
@ -323,7 +323,7 @@ class PolicyAttachmentDBResponse(BaseModel):
tags: list[str] = Field(default_factory=list, description="Tag patterns.")
priority: int | None = Field(
default=None,
description="Explicit execution order. Attachments with a priority run before those without, lower first; ties fall back to scope specificity.",
description="Explicit execution order, lower runs first. Prioritised attachments run before those without one.",
)
created_at: datetime | None = Field(default=None, description="When the attachment was created.")
updated_at: datetime | None = Field(default=None, description="When the attachment was last updated.")