Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Structural Quality Gaps in Practitioner AI Governance Prompts: An Empirical Study Using a Five-Principle Evaluation Framework

Published 22 Apr 2026 in cs.SE and cs.AI | (2604.21090v1)

Abstract: AI governance programmes increasingly rely on natural language prompts to constrain and direct AI agent behaviour. These prompts function as executable specifications: they define the agent's mandate, scope, and quality criteria. Despite this role, no systematic framework exists for evaluating whether a governance prompt is structurally complete. We introduce a five-principle evaluation framework grounded in computability theory, proof theory, and Bayesian epistemology, and apply it to an empirical corpus of 34 publicly available AGENTS.md governance files sourced from GitHub. Our evaluation reveals that 37% of evaluated file-model pairs score below the structural completeness threshold, with data classification and assessment rubric criteria most frequently absent. These results suggest that practitioner-authored governance prompts exhibit consistent structural patterns that automated static analysis could detect and remediate. We discuss implications for requirements engineering practice in AI-assisted development contexts, identify a previously undocumented artefact classification gap in the AGENTS.md convention, and propose directions for tool support.

Authors (1)

Summary

  • The paper proposes a five-principle framework covering success definitions, assessment rubrics, scope boundaries, data classification, and quality gates, scored from 0 to 5.
  • The empirical study finds a mean score of 2.81/5, with 37% of file-model evaluations below the 2.5 incompleteness threshold and data classification weakest at 0.34.
  • The findings identify operational guides, constrained executors, minimal pointers, and broken references, supporting automated governance-prompt linting while highlighting unresolved scoring-calibration issues.

Motivation and problem statement

This paper addresses an evaluation gap at the intersection of requirements engineering (RE) and AI governance. Repository-level instruction files such as AGENTS.md now function as executable specifications for AI coding agents, defining mandate, scope, and quality criteria, yet no systematic framework exists for assessing whether such governance prompts are structurally complete. The author argues that failures of deployed agents are frequently specification failures rather than model capability failures: the prompt did not express organisational intent precisely enough to be enforced. The paper motivates the problem with industry data — Gartner's projection that over 40% of agentic AI projects will be cancelled by end-2027 due to inadequate risk controls, and IBM's finding that shadow AI contributes to 20% of breaches at an average premium of $670,000 per incident.

The paper makes three contributions: (1) a five-principle evaluation framework grounded in computability theory, proof theory, and Bayesian epistemology; (2) an empirical characterisation of structural gaps across 34 publicly available AGENTS.md files; and (3) implications for automated tool support and future empirical work.

The five-principle framework

Each principle is derived from a theoretical result establishing a necessary condition for verifiable governance:

Principle Theoretical basis What it requires
P1: Success Definition Rice's theorem A decidable success predicate; without one, no verification oracle can be constructed
P2: Assessment Rubric Curry–Howard correspondence Type constraints on valid outputs, not merely instructions to produce them
P3: Scope Boundary Decidability A bounded action space with explicit out-of-scope declarations and boundary behaviour
P4: Data Classification Bayesian epistemology Evidence classification enabling rational belief revision and calibrated confidence
P5: Quality Gate Curry–Howard correspondence A proof obligation: outputs must be shown to satisfy criteria, not merely claimed to

Scoring is holistic on a three-point scale per principle (0 absent, 0.5 partial, 1.0 present), yielding totals from 0.0 to 5.0. Totals below 3.0 indicate structural incompleteness. The paper is explicit that this scale was chosen for speed and interpretability rather than psychometric rigour, and that the principles are proposed as necessary but not established as sufficient conditions for completeness.

Empirical study design

The corpus comprises 34 AGENTS.md files drawn from GitHub (April 2026), filtered for substantive content (>10 non-boilerplate lines), recent commits (six-month activity proxy), human authorship, and deduplication. Redirect-only files were retained for redirect analysis. Each file was scored independently by three LLM evaluators (Claude Opus 4.6, OpenAI Codex/gpt-5.4, Google Gemini), each producing a one-sentence rationale per score as an audit trail. Evaluators saw file content only, with popularity signals withheld to prevent halo effects. The panel design is candidly framed as a diversity mechanism rather than a formal inter-rater reliability study; no kappa statistics were computed because calibration protocols were not performed.

Results

The headline findings are:

  • Three-model mean total score: 2.81/5, with 37% of file-model pairs (38/102) scoring below 2.5 — the structural incompleteness threshold.
  • No file achieved 5.0 from all three evaluators. The highest-scoring file (mean 4.67) was authored by the framework's developer; the paper discloses this and notes it followed identical selection criteria.
  • Principle ranking (three-model means): Quality Gate strongest (0.70), Scope Boundary and Assessment Rubric tied (0.60), Success Definition (0.57), and Data Classification weakest by a wide margin (0.34).

Evaluator divergence is substantial and systematic: Gemini's mean (3.68) exceeds Codex (2.51) and Claude (2.24). The paper argues this is not noise but evidence that quantification of the principles is unsettled — all three models agree on the rank ordering of principles, the dominant archetype, and the qualitative gap structure, while disagreeing on how much credit partial compliance deserves. This calibration disagreement is treated as informative rather than disqualifying, though the paper concedes it cannot determine its cause.

Three archetypes emerge consistently across evaluators:

  1. Operational guide (most common): scope plus partial quality gate (lint/test commands), lacking success definition, rubric, and data classification. Examples include Langflow, Grafana, Prisma, Biome.
  2. Constrained executor: adds a partial assessment rubric via named tools and conventions. Examples include Apache Airflow, Ansible, Next.js.
  3. Minimal pointer: sub-ten-line redirects to CLAUDE.md or CONTRIBUTING.md, scoring 0 standalone but 2.0–3.5 once resolved. Examples include VS Code and FastMCP.

A fourth case is qualitatively distinct: mark3labs/mcp-go references an openspec/AGENTS.md target returning a 404 — a confirmed broken reference where the claimed governance document does not exist.

The artefact classification gap

Beyond quality measurement, the study identifies what the paper calls a previously undocumented artefact classification gap in the AGENTS.md convention itself: files serve three architectural roles (governance document, pointer, hybrid) with no community consensus on which is intended. An open issue on the specification repository (#66, September 2025) acknowledges the redirect problem without resolving it as of April 2026. The consequence is concrete: agent tools reading only AGENTS.md find no governance even when governance content exists elsewhere in the repository, and any automated structural checker must resolve redirects before scoring. The paper positions artefact classification as a prerequisite for quality evaluation.

Discussion and implications

The pattern of absences is argued to be structural rather than random: practitioners conceptualise governance prompts as operational instructions, not specifications. Scope boundaries and quality gates have analogues in existing practice (linters, CI/CD); data classification and assessment rubrics do not, which explains their absence. The paper draws a consequential distinction between instruction-following (any plausible output satisfies it) and specification-satisfaction (output must meet explicit, verifiable criteria).

Two implications follow directly. First, the gaps are addressable with existing RE methods: each principle reduces to a structural check amenable to pattern matching, making a "linter for governance prompts" tractable and supporting a shift-left argument — catching specification gaps at authorship time rather than at misbehaviour time. Second, combined with the companion study on BDD specifications as quality gates for AI-assisted code review (Zietsman, 26 Mar 2026), the results suggest a layered specification-quality model in which the same quality-gate principle applies at both the governance and implementation-verification layers.

Limitations and open questions

The paper is unusually explicit about its limitations. On construct validity, the framework measures structural presence only: a prompt may satisfy all five principles yet produce harmful outputs if the content within each principle is wrong, and staleness over time is undetected. On external validity, GitHub public repositories may not generalise to enterprise governance prompts, which are typically inaccessible. On ecological validity, AGENTS.md is one convention within one tool ecosystem; preliminary application to other governance layers suggests recurring gaps but has not been studied systematically. Scoring subjectivity remains the primary internal threat, mitigated but not eliminated by the coarse three-point scale, rationale requirements, and multi-evaluator convergence. The central open question the paper names is calibration: whether the principles are sufficient, how they should be weighted, and how to operationalise them into a reliable, reproducible instrument — including resolution of the systematic inter-evaluator divergence.

Conclusion

This paper proposes a theoretically grounded five-principle framework for evaluating the structural completeness of AI governance prompts and demonstrates through a 34-file corpus study that practitioner-authored AGENTS.md files exhibit systematic gaps — 37% of file-model evaluations fall below the completeness threshold, with data classification and assessment rubric criteria most frequently absent. It further identifies an unresolved artefact classification gap in the AGENTS.md convention itself. The findings are actionable now at small scale and mechanisable at large scale, while the reproducible quantification of the framework remains explicitly open.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.