Obsidian test vault smoke

From edonyzpc/personal-assistant · View interactive version

Obsidian test vault smoke is an AI agent skill from the GitHub repository edonyzpc/personal-assistant. Validate Personal Assistant runtime and UI changes in the repo-local Obsidian test vault. Use for app smoke, desktop interaction, and general mobile validation with Obsidian CLI mobile simulator. Real-device iPhone validation uses obsidian-ios-real-device-smoke only for an explicit user request or a

How to use this skill

Skill file

Obsidian Test Vault Smoke

Core Rules

skill. Use this skill for general mobile validation with CLI mobile simulator;

a tool failure does not create a real-device requirement.

Scope Freeze And Evidence Reuse

Before an expensive gate or app interaction:

  1. Classify the latest runtime delta as code-only, runtime, visual/layout,

interaction/state, or release/broad.

  1. Freeze the observable target. For screenshot-led UI work, state direction,

order, spacing, viewport, and interaction expectations in testable terms.

Ask one product question before deployment if the target is ambiguous.

  1. Map changed surfaces to the minimum evidence. Mark unaffected surfaces

SKIP; do not run full Pagelet, provider, or cross-surface flows for a

geometry-only change.

  1. Reuse automated checks under AGENTS.md Validation Planning And Reuse,

verifying relevant source/tests/fixtures/config and build inputs/results.

Reuse observed app smoke when its runtime/assets, target vault state, loaded

build, and acceptance conditions are verifiably unchanged. A new turn alone

does not invalidate it. Changed or unknown relevant state requires only the

affected proof; docs/evidence-only edits do not invalidate runtime smoke

unless they change its acceptance conditions.

  1. Freeze runtime files before make deploy. If they change afterward, rerun

only the affected validation gate and app proof.

Stop when every frozen acceptance check has current deployed evidence. Do not

add adjacent gestures, orientations, provider calls, or unrelated surfaces

solely to strengthen an already sufficient proof.

Validation Gate

Satisfy the complete Local Validation Gate from repo-root AGENTS.md

before app smoke. Reuse checks covered by the selected enclosing gate with

verified inputs/results: the production build covers type-checking and full

Jest covers the focused suites it includes. Supplement remaining checks,

including the runtime <style> / innerHTML / outerHTML source scan.

For failures, follow AGENTS.md Test Failure Diagnosis; an unavailable

app/device remains a validation gap, never a PASS.

Treat the source-scan rg exit code 1 with no output as PASS. Inspect every match manually. make deploy and the hosted community scan do not replace this local source scan.

Smoke Tiers

| Tier | Use when | Required checks |

| --- | --- | --- |

| quick | Narrow code-only or test-only change | Complete Local Validation Gate with focused suites; stop before app smoke only when no runtime/user path changed |

| app-runtime | Runtime, command, packaging, Pagelet shell, Chat/Preview/Stats mount, Memory readiness | Local Validation Gate, make deploy, plugin reload, affected CLI/DOM probes, fresh console/error capture |

| full-ui | Visible UI, CSS/layout/copy, Pagelet workflow, settings, keyboard/focus, mobile emulation | app-runtime plus real Obsidian interaction, screenshots, UX notes, and provider/write-path checks when applicable |

| release-gate | Release, broad refactor, shared infrastructure | Local Validation Gate, make deploy, broad runtime matrix, required UI surfaces, and release evidence reconciliation |

make deploy already runs lint, a production build, full Jest, and asset

deployment. If those checks already passed for the current changes, use

make deploy-current to verify and copy the current build without repeating

them. Reuse conditions and test groups live in AGENTS.md Local Deployment;

build identity alone does not prove tests passed.

Workflow

  1. Inspect git status --short, relevant diffs, and affected surfaces.
  2. Freeze the observable target and classify the runtime delta.

Before changing app modes or reloading for smoke, record the actual CLI

debug and mobile-emulation states and the commands needed to restore them;

see CLI runtime smoke.

  1. Select the deployment path below and complete or reuse its checks together

with the remaining Local Validation Gate checks from AGENTS.md.

  1. Select the smoke tier.
  2. For app smoke, deploy with make deploy below, or replace only that command

with make deploy-current when the reuse conditions above hold, then reload:

make deploy
obsidian vault=test vault info=path
obsidian vault=test plugin:reload id=personal-assistant
obsidian vault=test plugin id=personal-assistant
  1. For visible changes, perform the cheapest visual target check immediately

after reload. Stop on a direction, order, clipping, or viewport mismatch

before deeper interactions.

  1. Read only the references required by the changed surface:
  1. For historical fixtures, regression expectations, and prior evidence, consult the current Pagelet smoke checklist. Treat its verification log as provenance, not current-run evidence.
  2. Record concrete PASS, FAIL, BLOCKED, or SKIP outcomes.
  3. Restore the recorded debug/mobile states after success, failure, or

interruption; off is correct only when that was the initial state.

Restore mobile first if it triggers a reload, then restore and verify debug.

Report an unknown initial state or failed restoration without claiming

cleanup PASS.

Safety Boundaries

Output

Validation:
- Runtime delta: `<code-only/runtime/visual-layout/interaction-state/release-broad>`
- Frozen target: `<observable acceptance checks>`
- Reused evidence: `<same-state evidence or none>`
- PASS: `<check>` - `<observed result>`
- FAIL: `<path>` - `<regression or product gap>`
- BLOCKED: `<path>` - `<external blocker and residual risk>`
- SKIP: `<path>` - `<why it was outside this tier>`
- Stop point: `<why the selected tier is complete>`

CLI runtime smoke:
- Vault: `test/`
- Tier: `<quick/app-runtime/full-ui/release-gate>`
- Deployment/reload: `<result>`
- Obsidian: `<version>`
- Target: `<note/view/command>`
- Provider/model/prompt: `<if used>`
- Artifact: `<DOM output, console excerpt, runtime file>`

UI/UX smoke:
- Visible path: `<entry and interaction>`
- Observed UX: `<layout, copy, feedback, accessibility>`
- Screenshot: `<path if captured>`
- UX findings: `<UX-P0/UX-P1/UX-P2 or none>`

Cleanup:
- Initial debug/mobile states: `<observed states or unknown>`
- Restored debug/mobile states: `<observed states; PASS/FAIL/BLOCKED>`

Hosted community scan:
- Authorized and run / not authorized and not run / BLOCKED

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.