verify-research-shelf
Verify the Research Shelf example's delivery, persistence, acknowledgement, same-grant refresh and recovery. Use for contributor browser checks, failure controls or explicitly authorized live acceptance.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- verify-research-shelf
- description
- Verify the Research Shelf example's delivery, persistence, acknowledgement, same-grant refresh and recovery. Use for contributor browser checks, failure controls or explicitly authorized live acceptance.
02 资源文件 12
- 参考文档features/first-delivery.md1.2 KB
- 参考文档features/iteration.md1.3 KB
- 参考文档features/README.md1.3 KB
- 参考文档features/recovery.md1.5 KB
- 参考文档references/live-acceptance.md8.6 KB
- 脚本scripts/doctor.test.mjs1.4 KB
- 脚本scripts/fixture-preload.mjs4.8 KB
- 脚本scripts/motel.mjs21.1 KB
- 脚本scripts/motel.test.mjs8.3 KB
- 脚本scripts/observe-collection.mjs7.0 KB
- 脚本scripts/observe-collection.test.mjs1.3 KB
- 脚本scripts/verify.mjs30.7 KB
03 SKILL.md 正文
Verify Research Shelf
Read the feature map. Select the requested claim and lane
before launching. This contributor skill owns the example's runtime, browser
driver and example-specific acceptance checks. The public Builder skill owns
the delivery and evidence rules.
All required instructions and scripts are in this repository. Product behavior
remains in examples/perplexity-demo.
For ordinary data use, follow the installed public Connect Data and Builder
skills. This example verifier is optional development tooling, not part of
the vana skills install catalog. It does not require private app repositories.
Select the proof
- Controlled consumer proof drives the actual Next app, SDK, storage and browser with synthetic service responses and a public test identity. It proves consumer behavior. Real collection and Account/Web approval remain blocked clauses, even when this lane passes.
- Live acceptance follows the live procedure. It needs the intended account, provider session, app, server, consent and an explicit read budget. Missing inputs produce a blocked result.
Step 5's current trigger is connector rerun followed by Read latest. Measure those actions and duration. Automatic propagation, native delivery and the PRD's undefined immediacy target are separate claims.
Launch
Run from the vana-cli checkout with already-installed Node and dependencies.
Inspect git status --short and preserve other chats' work. Use the repo's pinned
runtime when available. Report missing prerequisites rather than installing.
Choose a new absolute evidence directory outside the checkout. The helper owns its scratch app, loopback port, fresh browser and private store. Its copied app has a separate build directory and does not share the user's running example.
node .agents/skills/verify-research-shelf/scripts/verify.mjs --evidence /private/tmp/research-shelf-proof
The command starts an isolated real Motel collector before the app, then owns readiness, browser actions, observations, OTLP export/query, assertions and cleanup. The installed Motel binary is required; it never installs a collector. Use --motel-endpoint http://127.0.0.1:27686 only to reuse a doctor-checked shared collector, which cleanup preserves.
The command owns launch, readiness, browser actions, assertions and cleanup. A failed assertion returns nonzero and retains its evidence. Read the report before retrying in a new directory. Keep success expectations unchanged when diagnosing.
Doctor
Run this read-only check before a drive or after an unexpected result:
node .agents/skills/verify-research-shelf/scripts/verify.mjs --doctor
A usable instance needs app source, compiled CLI exports, installed Next, SDK and
browser driver, an installed Chromium executable and the installed Motel CLI. A listening port alone is
insufficient. The helper also checks its launched app before driving.
Use SHELF_VERIFY_CHROMIUM for an installed Chromium path and
SHELF_MOTEL_BINARY for an installed Motel path outside ~/.local/bin/motel.
Doctor and launch use that same Motel setting. Missing dependencies are a
setup blocker; they are not a reason to read private app repositories.
Drive
Select first delivery, iteration, or recovery. The controlled command covers their consumer clauses in one serial browser run. Every substituted external dependency is identified in the result. One agent drives an instance at a time.
Run the unchanged success assertions against an isolated storage fault:
node .agents/skills/verify-research-shelf/scripts/verify.mjs --evidence /private/tmp/research-shelf-missing-save --negative-control missing-save
Require nonzero at the named persistence or acknowledgement clause, the matching diagnosis from actual Motel query results, evidence that the fault ran, and successful cleanup. Then run the ordinary command in a new directory and require success. Startup failure is not sensitivity proof.
Run the other cross-boundary controls in separate new evidence directories by replacing missing-save with save-failure, ack-failure, or read-interrupted. The diagnoses must be save-failed-after-read, ack-failed-after-save-and-render, and read-interrupted-before-save, respectively. The original missing-save control is ack-refused-missing-save. A startup or collector failure is not a successful control. Then repeat the ordinary command and require product and Motel assertions to pass.
A fifth control, missing-observations, drops the observation stream after the app assertions pass. Require an overall failure with unknown Motel coverage. This is an observation failure, not evidence that the product operation failed.
Motel observations
The app-owned contract defines the opt-in local sink. The app emits actual approval-client, read/payment, save and acknowledgement outcomes. The browser driver supplies render and reload observations after checking the actual DOM and private store. Shared per-run aliases link request, grant, revision and attempt without exporting raw identifiers. These are client-boundary observations, not instrumentation inside remote services.
The adapter exports only validated metadata and queries the real collector back. motel/motel-result.json and motel/motel-query.json retain the returned evidence, coverage and diagnoses. Missing observations remain unknown. Product assertions and observation completeness must both pass; a successful export alone cannot pass the run. The automated lane does not collect from a real provider. Collection and ingestion are recorded only when their existing CLI events are actually observed in an authorized live collection.
For the live collection wrapper and shared context, read live acceptance. Adapter self-tests run with:
node --test .agents/skills/verify-research-shelf/scripts/doctor.test.mjs .agents/skills/verify-research-shelf/scripts/motel.test.mjs .agents/skills/verify-research-shelf/scripts/observe-collection.test.mjs
Evidence
Keep one result per attempt with source and verifier fingerprints, runtime versions, lane, actions, timestamps, assertions, durable side effects, screenshots and cleanup. Preserve failed control and restored success. Live payloads, keys, cookies and payment headers stay outside publishable reports. Controlled records are synthetic.
Report passed, failed, blocked and reused per claim. Controlled success is
not full PRD acceptance. Compare source, verifier, lockfile, installed runtime and
service inputs before reusing proof. A changed verifier needs its affected claims
rerun. The live procedure names the required
external evidence and safe stop conditions.
Cleanup
The helper closes only its browser, owned app and isolated collector processes, removes its scratch app and retains evidence, including the isolated Motel database. An explicitly reused shared collector remains running. Inspect cleanup on every exit. Preserve the user's app, server, account sessions and other chats' changes. Live runs restore only their own temporary connector edit and configuration, preserving payment history.
Helpers
node .agents/skills/verify-research-shelf/scripts/verify.mjs --help lists driver
modes. Keep helper invocations and feature recipes aligned with the app and SDK.
Update these instructions alongside their scripts and example. Re-exercise
changed claims and negative controls before carrying forward evidence. For an
instructions-only change, check links and commands and have a fresh agent follow
the affected procedure using only this public checkout and declared prerequisites.
04 同仓库更多 Skills
verify-setup-resume
Verify BUI-936 setup/resume identities, funding readiness and overlapping resumes. Use when changing app request, test-credit transport or the request journal. Runs bounded TLA+ checks and offline real-code replays without live funding or paid reads.
verify-server-supervision
Verify the local Personal Server stop and restart boundary. Use when changing the supervisor's backoff, port probing, replacement launch or Stop handling.
verify-paid-read-recovery
Verify interrupted and overlapping CLI paid reads, receipt-file writers and dead-owner recovery. Use when changing src/cli/app/read.ts, src/core/receipts.ts or src/core/receipts-lock.ts. Runs TLA+ models and offline real-code replays without live paid reads.
verify-mainnet-registration
Verify mainnet app registration and Account association recovery. Use for the registration journal, gateway confirmation, retry, or ownership check.
verify-hosted-provisioning
Verify hosted Personal Server resource ownership across create and delete. Use for Connect's server API, provisioning-row updates, or deprovisioning admission.
verify-export-settlement
Verify queued export owner binding and generation settlement. Use for result publication, pending upload receipts, or retry and sync changes.