Record clean security workplan cutoff
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a0260c-4067-7052-9647-ad000d576e38
This commit is contained in:
parent
6f81bba332
commit
92f23e690b
7 changed files with 111 additions and 3 deletions
|
|
@ -37,6 +37,8 @@ class Engagement:
|
|||
return engagement
|
||||
|
||||
def validate(self, *, now: datetime | None = None) -> None:
|
||||
if self.raw.get("status") == "cancelled":
|
||||
raise AuthorizationError("engagement is cancelled")
|
||||
current = now or datetime.now(UTC)
|
||||
start = _timestamp(self.raw["window_start"])
|
||||
end = _timestamp(self.raw["window_end"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue