Skip to content
OpenSmartRoute
Skillv1.0.0

pre-action-gate

Pre-write safety gate — re-read targets, lock hashes, and verify the build chain before calling any change complete.

by aliatx2017(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aliatx2017/reasonix-hermes (.reasonix/skills/pre-action-gate/SKILL.md). Install upstream with npx skills add aliatx2017/reasonix-hermes --skill pre-action-gate. Copyright stays with the author.

Pre-Action Gate

Load before any write, edit, or deploy. This is a gate — it doesn't produce output; it blocks premature moves.

The gate

Before any file mutation — re-read the target area. Code drifts between reads; stale context is the #1 cause of garbled edits. Use content_hash on edit_file whenever you touch a file.

After any changego build ./... must pass before you call the step done. Not "should pass," not "probably passes" — you run it and show the output. One change → one build. Iterate.

Before claiming completion — evidence must be in the same response as the claim. complete_step enforces this structurally: the host rejects completions without verification commands. Don't fight it — feed it.

What this gate replaces

This skill encodes three constitution rules into one behavioral checkpoint. Load it instead of consulting the constitution directly — it's the distilled form:

  • go-vet-clean → build chain check
  • substantiate-every-claim → evidence-before-claim
  • never-say-fixed → only the user declares fixed

Failure modes

  • Stale edit — file changed since last read → garbled code. Re-read every time.
  • Premature "done" — claiming completion without build output. The host blocks it; don't waste the turn.
  • Batch-and-pray — 10 edits, then one build. One edit → one build. multi_edit for single-file batches only.

Related

  • ready-means-tested — evidence gate for status claims
  • evidence-first-reasoning — diagnostic verification under ambiguity
  • Constitution: .reasonix/constitution.json

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aliatx2017-reasonix-hermes-pre-action-gate/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aliatx2017-reasonix-hermes-pre-action-gate.ocm.jsonjson
{
  "ocm": "1",
  "id": "aliatx2017-reasonix-hermes-pre-action-gate",
  "kind": "skill",
  "name": "pre-action-gate",
  "description": "Pre-write safety gate — re-read targets, lock hashes, and verify the build chain before calling any change complete.",
  "publisher": "aliatx2017",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "gate",
      "verification",
      "safety",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Pre-write safety gate — re-read targets, lock hashes, and verify the build chain before calling any change complete."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/aliatx2017/reasonix-hermes",
      "path": ".reasonix/skills/pre-action-gate/SKILL.md",
      "ref": "6a84f83f13bc5026bd285ee9b57f7d98271199a4",
      "url": "https://github.com/aliatx2017/reasonix-hermes/blob/6a84f83f13bc5026bd285ee9b57f7d98271199a4/.reasonix/skills/pre-action-gate/SKILL.md",
      "key": "aliatx2017/reasonix-hermes/.reasonix/skills/pre-action-gate/SKILL.md"
    }
  },
  "instructions": "# Pre-Action Gate\n\nLoad before any write, edit, or deploy. This is a _gate_ — it doesn't produce output; it blocks premature moves.\n\n## The gate\n\n**Before any file mutation** — re-read the target area. Code drifts between reads; stale context is the #1 cause of garbled edits. Use `content_hash` on `edit_file` whenever you touch a file.\n\n**After any change** — `go build ./...` must pass before you call the step done. Not \"should pass,\" not \"probably passes\" — you run it and show the output. One change → one build. Iterate.\n\n**Before claiming completion** — evidence must be in the _same response",
  "cost": {
    "context_tokens": 397
  }
}

Fetch it by URL: GET /api/v1/registry/aliatx2017-reasonix-hermes-pre-action-gate/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.