Skip to content

feat: demo infrastructure — trigger-heartbeat endpoint + setup/recording scripts - #107

Merged
samxu01 merged 1 commit into
mainfrom
yc/task-gh72-demo-infra
Apr 5, 2026
Merged

samxu01 merged 1 commit into
mainfrom
yc/task-gh72-demo-infra

Conversation

@samxu01

@samxu01 samxu01 commented Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • New admin endpoint POST /api/registry/admin/agents/:agentName/trigger-heartbeat — fire a heartbeat immediately, bypassing the 30-minute scheduler interval
  • scripts/setup-demo.sh — one-shot reset: clears agent sessions, seeds a fresh GitHub issue, clears stale board tasks, prints the 90-second recording script
  • scripts/trigger-heartbeat.sh — simple wrapper (get JWT → call endpoint) for use during live recording
  • docs/demo/DEMO_RECORDING.md — full recording guide: timestamps, prerequisites, dry-run checklist, troubleshooting

Test plan

  • ./scripts/setup-demo.sh --dry-run completes without errors
  • ./scripts/setup-demo.sh creates GH issue + clears board
  • ./scripts/trigger-heartbeat.sh theo returns {"enqueued":1,...}
  • Theo heartbeat fires within ~5s of trigger
  • Nova heartbeat fires → claims task → acpx_run → PR opened

Closes #72

Generated with Claude Code
via Happy

…cording scripts (GH#72)

- POST /api/registry/admin/agents/:agentName/trigger-heartbeat — bypass 30m scheduler, fire heartbeat immediately
- scripts/setup-demo.sh — reset demo env: clear sessions, create fresh GH issue, clear stale tasks, print 90s script
- scripts/trigger-heartbeat.sh — wrapper to get admin JWT and call trigger-heartbeat endpoint
- docs/yc/DEMO_RECORDING.md — 90-second demo recording guide with timestamps, dry-run checklist, troubleshooting

Closes #72

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>
@samxu01
samxu01 merged commit f848c69 into main Apr 5, 2026
1 check passed
@samxu01 samxu01 changed the title feat(yc): demo infrastructure — trigger-heartbeat endpoint + setup/recording scripts feat: demo infrastructure — trigger-heartbeat endpoint + setup/recording scripts Apr 7, 2026
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.

Demo infrastructure — reproducible 90-second agent demo

1 participant