Pstack Schema Validate

Validate pstack snapshots, verification receipts, durable handoffs, or Markdown plans against the plugin's versioned contracts. Use for "validate this pstack artifact", checking pstack JSON, or verifying a pstack plan profile. Not for general JSON schema validation.

scaryrawr a2d9be1 3 files · 7.2 KB Updated

File contents

Validate pstack contracts

Run the bundled validator rather than inspecting pstack artifacts by eye.

Commands

Resolve scripts/validate.mjs relative to this skill directory.

node scripts/validate.mjs snapshot <snapshot.json>
node scripts/validate.mjs receipt <receipt.json>
node scripts/validate.mjs handoff <handoff.json>
node scripts/validate.mjs plan <plan.md> [basic|verified-stack]

The command exits 0 on success, 1 for contract violations, and 2 for invalid invocation or unreadable input. Report every finding with its path or line number. Do not reinterpret a failed contract as a warning.

scaryrawr/scarypilot/tree/main/external_plugins/pstack/skills/pstack-schema-validate commit a2d9be1a5c

Frequently asked questions

npx skillmds@latest add scaryrawr/pstack-schema-validate