Index of every page on this site: llms.txt
All skills
ai-openshell avatar

/gator-gate

@9c3c92f
by OpenShellai-openshell/openshell22k stars
2,153
Run it yourself

Validate and monitor OpenShell GitHub issues and PRs using the gator:* state machine. Use when asked to triage issues/PRs for project validity, gate PRs, run gator, validate submissions, or monitor PRs toward merge readiness.

  • 2 files
  • 79.1 KB
  • Updated 3 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/ai-openshell/openshell/gator-gate

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesreview-findings-schema.md

≈662 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Review findings contract

Before invoking the reviewer, require JSON with this envelope:

{
  "schema_version": 1,
  "reviewed_head_sha": "<40-character head SHA>",
  "review_mode": "<initial|follow_up|critical_only>",
  "findings": []
}

Each proposed finding uses these fields:

{
  "id": "GATOR-12345678-01",
  "severity": "Critical",
  "invariant": "The complete contract shared by equivalent cases.",
  "attacker_or_operator_prerequisite": "Capability required to reach the case.",
  "supported_entry_point": "Supported API, CLI, protocol, or runtime path.",
  "sink": "Operation where the defect becomes observable.",
  "changed_location": {
    "path": "path/to/file.rs",
    "line": 123
  },
  "base_behavior": "Behavior at the reviewed base or previous reviewed tree.",
  "head_behavior": "Behavior introduced or materially worsened at this head.",
  "observable_impact": "Concrete security, data-loss, correctness, or maintainability impact.",
  "reproducer": "Minimal deterministic test or constrained reproducer.",
  "pr_ownership": "Why the pull request owns or worsens this problem.",
  "requested_change": "A proportionate fix that closes the invariant.",
  "scope": "latest_delta",
  "sibling_sites": [
    "Other known site covered by this same invariant and finding ID."
  ]
}

severity is Critical, Warning, or Suggestion. scope is:

  • latest_delta for a new issue introduced by the mode-appropriate diff.
  • carried for an existing obligation. Preserve its finding ID and do not create a replacement thread.
  • unchanged_critical only for newly evidenced Critical security, data-loss, or correctness defects in unchanged code.

Run:

validate-review-findings review-findings.raw.json \
  > review-findings.json

The validator sets blocking, classification, and validation_errors. Only entries with blocking: true may block or become inline comments. A Critical or Warning missing any evidence field becomes a non-blocking hypothesis. A second finding with the same invariant is also downgraded; list sibling sites on the first finding instead. Suggestions always remain non-blocking.

These fields are Gator's internal evidence contract, not the public comment format. After validation, render blockers using the human-first Summary/Fix/Verify card and conditional Agent context defined in the gator-gate skill. Do not expose the schema's evidence labels as prose headings.

For a finite family, put every known member in sibling_sites under one invariant and one finding ID. On later rounds, update that finding instead of creating a sibling finding.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 9c3c92f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 days ago

README badge

README badge for ai-openshell/openshell/gator-gate