Repository navigation
REQ 005
New-HumanEscalation.ps1 shall be idempotent for a given -EscalationId: re-invoking it against the same repo and ID updates the existing open issue in place rather than creating a duplicate, verifying the match against the real issue body client-side (not trusting GitHub's search index alone), and surfacing (not silently swallowing) a search failure.
Lets an agent re-confirm a blocker is still unresolved without accumulating duplicate issues, and without a flaky/eventually-consistent search silently producing a false match or a hidden duplicate.
A second invocation with the same -Repo/-EscalationId but different -Context results in exactly one open issue, with the updated body and the original title preserved; a search failure emits a visible warning rather than silently falling through.
Live-verified this round: real create (VITechnologies/projectbuddy#83) then real update-in-place with the same -EscalationId (same issue number, body content genuinely changed, confirmed via gh issue view), test issue closed after. Builds on an earlier session's svelderrainruiz/projectbuddy#18 verification (title preserved, assignee added).
Software-Requirements-Specification
High
Live smoke test, svelderrainruiz/projectbuddy#18
New-HumanEscalation.ps1 module
Verified (live)