validate-session-adherence

validate-session-adherence is a command for coding agents from bacchus-labs/wrangler. It costs 34 tokens per session (6,286 once invoked), scanned A, original, MIT.

A review of an AI coding session against the workflows and guidelines it was expected to follow. It examines actions such as tests, code changes, skill use, and subagent work.

In plain words
What is it for?
Use it to audit a recent coding session for missed steps, incomplete verification, testing gaps, or incorrect use of required workflows.
Why use it?
It helps verify whether the agent actually followed the required process instead of relying on claims that the work was completed correctly.

Command

Part of the wrangler plugin — 25 skills, 16 commands, 16 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/bacchus-labs/wrangler/validate-session-adherence
Clone the repo
git clone --depth 1 https://github.com/bacchus-labs/wrangler

Or install wrangler, the plugin that ships this one along with the rest of its 25 skills, 16 commands, 16 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validate-session-adherence

README.md
[![agentmods](https://agentmods.dev/badge/commands/bacchus-labs/wrangler/validate-session-adherence.svg)](https://agentmods.dev/commands/bacchus-labs/wrangler/validate-session-adherence)
Your own site
<a href="https://agentmods.dev/commands/bacchus-labs/wrangler/validate-session-adherence"><img src="https://agentmods.dev/badge/commands/bacchus-labs/wrangler/validate-session-adherence.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.06286
Opus 5 $0.00017 $0.03143
Sonnet 5 $0.00007 $0.01257
Haiku 4.5 $0.00003 $0.00629

Measured 4d ago against content hash 4823675593ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

validate-session-adherence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.wrangler/memory/knowledge-base/reference-prompts/commands/validate-session-adherence.md · 933 lines

How it starts

The opening of the file, as written. The whole thing — 933 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are conducting a compliance audit of the AI agent's adherence to wrangler workflows and skill guidelines during this session.

Purpose: Trust but verify - validate that wrangler's systematic processes were actually followed.

This is NOT gap analysis (that's /wrangler:analyze-session-gaps). This is compliance auditing: Did we follow the processes we said we would?

Input

User suspicion (optional): "{user's specific concern or focus area}"

If user provided suspicion, focus analysis there while still covering all areas.

Your Task

Phase 1: Conversation Analysis (Scope and Context)

Analyze last 30-50 messages to understand what work was done:

  1. Identify Tasks Performed:

    • Feature implementations
    • Bug fixes
    • Refactoring
    • Code reviews
    • Planning activities
    • Documentation work
    • Testing activities
  2. Extract Key Events:

    • File modifications (code, tests, specs)
    • Completion claims ("done", "ready", "works")
    • Skill announcements (🔧 Using Skill: ...)
    • Test executions
    • Build commands
    • Commit operations
    • Subagent dispatches
  3. Build Timeline:

    Message #N: User requested feature X
    Message #N+2: Agent modified file.ts
    Message #N+5: Agent claimed "tests pass"
    Message #N+7: Agent committed changes
    
  4. Note User Feedback:

    • Corrections requested
    • Concerns raised
    • Questions asked
    • Skepticism expressed

Phase 2: Skill Invocation Compliance

Reference: docs/skill-invocation-patterns.md

For each task identified, determine:

2.1 Expected Skills

Based on task pattern, which skills SHOULD have been invoked?

Use skill-invocation-patterns.md mappings:

  • Feature implementation → check-constitutional-alignment, test-driven-development, requesting-code-review, verification-before-completion
  • Bug fix → systematic-debugging, test-driven-development, requesting-code-review, verification-before-completion
  • Code changes → test-driven-development (ALWAYS), requesting-code-review (ALWAYS except 3 exceptions)
  • Multiple failures → dispatching-parallel-agents (if 3+ independent)
  • Complex implementation → writing-plans

Read the full file on GitHub · 933 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 933 lines · 34 tokens per session scan A 4823675593ae

Subscribe to this mod's changes

validate-session-adherence is a command published in the GitHub repository bacchus-labs/wrangler (4 stars, last pushed 6mo ago), licensed MIT. It adds 34 tokens to every session and 6,286 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.