agentleFS
DevolutionsDevolutions/IronRDP/.agents/skills/intent-drift-audit/SKILL.md

intent-drift-audit

Skill3.3k starsChanged 2 days agoApache-2.0View on GitHub

Audit code, a diff, or a PR against the applicable INTENT.md, *.intent.md, or CONTRACT*.md and report conforms, violates, partial, not-yet-realised, or cannot-verify per statement with file:line evidence, ready for a PR comment. Use once an implementation claims to realise its intent, for conformance checks, automated review, or before modifying governed code; not mid-implementation.

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a statement's span is feature-gated or build-specific, check each variant.

    line 28
  2. Very specific:

    When the human wants the mapping kept, the table becomes an EVIDENCE.md beside the intent, one row per claim with the directive, intent …

    line 55
  3. Distinctive:

    When the audit runs because you are about to change governed code, a violation you would introduce is a stop: surface the statement ID, …

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Intent files are defined in intent-files; they and contracts hold even when tests pass, so this audit reads code against each statement with evidence instead of trusting the suite. It reports; it never edits intent or contract and never silently fixes code during a review.

Scope

Paths under audit: the diff, the named component or module, or the subtree. State which revision you audited; if the checkout may be behind, fetch intent and code from the remote default branch or the PR head. Applicable intent is what intent-files Placement makes cumulative for each audited path. Where a statement says "see CONTRACT.<name>.md §<section>", the contract section is the statement; when the user names a contract, audit an implementation against it directly, treating each item contract-authoring requires per operation as a statement and the conformance suite's coverage of each as part of the evidence.

Verify

Split each file into normative statements, one per bullet or sentence, skipping purpose prose; a sentence about an external producer or environment is context for the statements that depend on it, not a statement. Classify by meaning, not position: a sentence that constrains the software is a statement wherever it sits, including a glossary definition that carries its rule ("Eject removes credential material from memory, best effort"); only purely explanatory text is context. Statements in an ancestor file that govern code outside the audited paths are out of scope: skip them and count them in the header. Give each an ID of its section's anchor, or its number or heading where it has none, plus an ordinal (CONTRACT.agent-identity.md#channel-2, xtask/INTENT.md#requirements-1), so a later audit can diff against this one even after a heading is reworded or a section renumbered. A statement is a target, not a requirement, only when it describes behaviour as not yet built ("TPM keys are wanted later"); "for now" on a present constraint ("remains a CI-only check for now") and a NOTE: stating an anti-requirement are requirements today, so read the sentence, not the marker; realising a target anyway is worth a note. It runs on a merged tree or a branch whose implementation is finished; mid-implementation, say so and stop, because every unfinished statement would read as a violation. For each: cite path:line; decide conforms, violates, partial (honoured on some paths, configurations, or the primary path and bypassed on another), not yet realised (a deferred target), or cannot verify (say what is missing); for a diff, mark introduced, fixed, or pre-existing. Statements that need design judgement rather than code reading are audited only when the diff plainly bears on them, and labelled as judgement, since they have no path:line to cite. Note INVARIANT: and UNTESTED: comments that relate; they are the code's own claims. "Probably fine" is cannot verify: a status of conforms needs path:line or a check that establishes the property, not the absence of an obvious counterexample. When a statement's span is feature-gated or build-specific, check each variant.

Also report intent rot (names, paths, sections the intent cites that no longer exist, and plan tense for behaviour that now exists) and not covered (behaviour no statement decides: in a diff, new public surface, dependency, fallback, or configuration; in a module audit, any path that looks like a design choice or a latent defect).

Report

## Intent drift audit: <scope>

Audited against: `<file>` (<n> statements, <m> out of scope), ...

| ID | Statement (abridged) | Status | Evidence | Note |
|---|---|---|---|---|
| xtask/INTENT.md#dependencies-1 | Only lexopt, anyhow, xshell, tinyjson | Violates (introduced) | `xtask/Cargo.toml:14` | adds `serde_json` |

### Violations
### Partials
<Per entry: what intent requires, what the code does, smallest conforming change as a proposal.>

### Cannot verify
### Not yet realised
### Intent rot
### Not covered by intent

Lead the table with violations and partials, then cannot verify, then not yet realised, then conforms; drop empty sections. A clean audit is two lines plus the table. When the human wants the mapping kept, the table becomes an EVIDENCE.md beside the intent, one row per claim with the directive, intent line, and code paths that realise it and [unsure] on inferred rows.

When the audit runs because you are about to change governed code, a violation you would introduce is a stop: surface the statement ID, evidence, and options to the human.

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 16 mentionsAug 2026: 1 mentionSep 2026: 15 mentionsOct 2026: 14 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Devolutions/IronRDP repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about Devolutions/IronRDP

The biggest 5 of 60 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 60

Talked about on GitHub, Bluesky and Hacker News (60 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 9

4 more on Bluesky

On Hacker News · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.