Skip to content

feat(runtime): emit sandbox run hook events#181

Merged
drewstone merged 1 commit into
mainfrom
feat/runtime-sandbox-run-hooks
Jun 6, 2026
Merged

feat(runtime): emit sandbox run hook events#181
drewstone merged 1 commit into
mainfrom
feat/runtime-sandbox-run-hooks

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Summary

  • add passive hooks, runId, scenarioId, and deterministic now support to openSandboxRun
  • emit factual agent.run / agent.turn lifecycle events with prompt hashes, event counts, session/box ids, deliverable metadata, and error/read status
  • record runtime hook events into benchmark corpus rows via a bench-local structural recorder, without importing agent-eval or adding runtime analysis claims
  • cover lifecycle emission and hook-error isolation in sandbox-run tests

Verification

  • pnpm typecheck
  • pnpm lint (passes; existing tests/profiles/coder.test.ts template-literal warnings remain)
  • pnpm exec vitest run tests/runtime/sandbox-run.test.ts
  • pnpm typecheck:examples
  • pnpm test
  • pnpm build
  • pnpm verify:package

@drewstone drewstone merged commit 848e37e into main Jun 6, 2026
1 check passed
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