Add deterministic agent widget capture - #59
Conversation
Greptile SummaryThis change adds windowless widget capture with image, semantic snapshot, receipt, actions, provider fixtures, and replay support for CI and agent workflows. The capture handoff was verified to remove live provider endpoints and artwork-cache inputs, use a fresh state root, and reject provider fixtures that omit subscribed providers or name undeclared providers. A fixed capture clock still renders different time and calendar fields in different runner timezones. This breaks reproducible screenshots and semantic snapshots for time-based widgets and should be fixed before merge. T-Rex validation blockedNative widget rendering could not run because the native runtime executable is absent and the checked-out Native SDK does not provide Confidence Score: 4/5Do not merge until fixed-clock capture uses a timezone-independent representation for time-provider fields. The time discrepancy was reproduced through the bundled SDK reconciliation path using the same fixed epoch under UTC and America/Los_Angeles. The CLI fixture-validation and environment-isolation paths were exercised with before-and-after checks. Native rendering itself remains unavailable in this environment because of the Native SDK mismatch and unsupported host platform. Files Needing Attention:
What T-Rex did
|
Summary
weaver capture <widget> --out <file.png>for deterministic, windowless widget executionStack
Depends on Native SDK #28. Merge that PR first, then this one; this branch pins Native commit
05e7e551and updates the release audit accordingly.Validation
npm test— 85 passednpm run typecheck— passednpm run build— passednpm run audit:release— passednpm run test:capture— passed: pixels, resize, semantics, actions, providers, isolation, failure health, and session replaynode cli/bin/weaver.js check examples/noro-signal— passedcd runtime && zig build test -Dplatform=null --summary all— 72 passed, 1 skippedzig build test --summary all— 1,840 passed, 2 skippedReceipts
CaptureWidgetFailedand publishes no artifactsNoro Signal dogfood
status: "ok"; capture now rejects it withCaptureWidgetFailedThe screenshots, exact reproduction commands, causal boundaries, and proposals are in the Noro Signal capture evaluation.
Known baseline gate findings
Native
scripts/gate.sh fastpasses core Zig tests, validation, frontends, and mobile. It still reports pre-existing example API drift plus four machine-sensitive benchmark overruns; this change does not alter those budgets.Implements the agent widget capture blueprint.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.