Skip to content

docs: fix e2e write-path prompt and changelog resync guidance - #319

Merged
somanshreddy merged 1 commit into
mainfrom
08-28-fix_release_gate_skill_defects
Aug 30, 2026
Merged

somanshreddy merged 1 commit into
mainfrom
08-28-fix_release_gate_skill_defects

Conversation

@somanshreddy

Copy link
Copy Markdown
Collaborator

Scope

Surfaces: repo tooling only, no change to the shipped binary | Module: Release process

Summary

Two agent-run release checklists carried defects that surfaced while cutting v0.8.1. The E2E
write-path phase used a prompt the video agent answers conversationally, so it timed out and
reported FAIL against a healthy CLI. The changelog skill filed every codegen resync under
Internal, which hid a release's entire user-facing surface change. This fixes both.

Root cause

E2E Phase 7. The phase created a video with --prompt "Say hello world". That reads as
conversation rather than as a video request, so the agent replied in chat ("Hello world! I'm
Orby, your HeyGen AI assistant. How can I help you create something amazing today?") and the
session sat at status: thinking. No video was ever produced. --wait spent its full 20 minute
timeout, exited 4, and the video stayed pending through a further 10 minutes of polling. The
phase's failure signal therefore carried no information about CLI health.

The same block also told the operator to read video_id from stdout, "present in both cases".
It is present in neither. Under --wait the CLI prints the polled video object rather than the
create response, so the field is id.

Changelog. The rule was "collapse codegen resyncs, CI changes, and doc updates into the
Internal section". On a release whose commits are all resyncs, that routes the entire changelog
into Internal. The user-visible additions, for v0.8.1 two new commands and two new flags, cannot
be recovered from git log either, because every resync commit subject reads
codegen: resync gen/ from EF <sha>.

Fix

The prompt is now phrased as a video request, with a comment recording why it has to stay that
way so it is not shortened back. The id instruction reads .data.id and states why no
.data.video_id exists on the wait path.

The changelog's Internal category becomes "changes with no user-visible effect", with two rules
added: a resync that added a command or flag is a New entry naming it, and Internal must
never restate an entry above it. Since the commit subject cannot distinguish the two cases, the
skill now points at the resync PR body and scripts/release-surface.sh diff as the sources for
what actually changed. The step 4 template no longer shows a resync line under Internal, which
was teaching the pattern the rules now forbid.

Testing

make lint reports 0 issues and make test passes all 12 packages.

Both files are instruction documents, so the real validation was executing them. The new prompt
was exercised against the live API during the v0.8.1 cut and completed in 128 seconds, through
the full create, poll to completed, download and delete path, against the 30 minutes the old
prompt spent never generating. The revised changelog rules produced the published v0.8.1 release
notes.

Both defects surfaced while cutting v0.8.1.

The e2e write-path prompt read as conversation, so the video agent answered it
in chat and never generated. The phase spent the full 20-minute --wait and
reported FAIL against a healthy CLI. The same block also told the operator to
read .data.video_id, which --wait never prints -- under --wait stdout carries
the polled video object, whose id is .data.id.

The changelog skill filed every codegen resync under Internal. On a release
whose only commits are resyncs that added commands, that hid the entire
user-facing surface change behind a line naming a spec sha.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@somanshreddy
somanshreddy merged commit e34b4c6 into main Aug 30, 2026
10 checks passed
@somanshreddy
somanshreddy deleted the 08-28-fix_release_gate_skill_defects branch August 30, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant