Skip to main content

Module blocked_handoff

Module blocked_handoff 

Source

Structs§

AsyncApprovalArtifacts
Artifacts produced by write_async_approval_blocker.
BlockedHandoffArtifacts
Artifacts produced by write_blocked_handoff, containing paths to the current and archived handoff files.
BlockedHandoffInfo
Parsed information from a blocked handoff file.

Enums§

BlockedHandoffResume
Resume metadata for a blocked handoff.

Functions§

clear_current_blocked_handoff
Clears .vtcode/tasks/current_blocked.md if it exists.
clear_current_blocked_handoff_for_session
Clears .vtcode/tasks/current_blocked.md only when it belongs to session_id.
find_latest_archived_blocker_for_session
Fallback when the live pointer is missing but an archived blocker exists for the session (e.g. pointer cleared by a fork or stale workspace). Returns the most recently modified matching archive, if any.
read_current_blocked_handoff
Reads .vtcode/tasks/current_blocked.md if it exists, parsing the front-matter and blocker summary.
write_async_approval_blocker
Write an async (deferred) approval blocker file.
write_blocked_handoff
Write a blocked-handoff artifact when the agent hits an unrecoverable blocker.
write_blocked_handoff_with_resume
Write a blocked handoff with resume metadata supplied through the typed archive-verification boundary.