Skip to content

Proposal: intent verification layer before destructive agent operations #36

Description

@Rodrigo-Ichaso

Background

On April 24, 2026 an AI agent deleted a production database on Railway in 9 seconds. The agent confessed it "guessed instead of verifying."

That incident directly motivated building IRL.

The gap

railway-skills gives agents powerful capabilities — deploy, release, environment config, recovery. But there's no layer that asks *should this

What IRL adds

Intent Record Language is a pre-execution layer. Before any destructive operation the agent emits a structured record:

  • operation_type: delete / deploy / env-change…
  • target_resource: exact service or DB
  • goal: declared intent in natural language
  • risk_level: LOW / MED / HIGH / CRIT
  • reversible: boolean
  • verdict: ALLOW / LOG+ALLOW / GATE / DENY

A deterministic engine evaluates it. The Railway incident scores CRIT + irreversible → auto-denied.

Relevance to railway-skills

A verify_intent skill could wrap any destructive railway-skill call before execution. Zero changes to existing skills — just a guard layer.

Demo → https://rodrigo-ichaso.github.io/irl/demo.html
Spec → https://rodrigo-ichaso.github.io/irl/spec.html
MCP discussion → modelcontextprotocol/modelcontextprotocol#2693

Open to feedback or collaboration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions