DriftDetector

Detect implementation deviations against SPEC Card, TEST Card, world model, and governance norms.

1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/farmountain/sdlc_agent_swarm --skill driftdetector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: DriftDetector
Source: https://github.com/farmountain/sdlc_agent_swarm/tree/main/vscode-sdlc-swarm/templates/.agents/skills/drift-detector
Command: npx skills add https://github.com/farmountain/sdlc_agent_swarm --skill driftdetector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies discrepancies between implemented code or processes and their intended specifications, tests, or established norms, ensuring adherence to project requirements and quality standards.

Core Features & Use Cases

  • Spec Drift Detection: Identifies when implementation deviates from the defined SPEC Card.
  • Test Drift Detection: Flags when tests no longer align with specifications or current reality.
  • Invariant Erosion: Detects violations of core assumptions or constraints.
  • Governance Bypass: Identifies instances where quality gates are skipped without justification.
  • Use Case: Automatically flag a release candidate if its implementation drifts from the approved architecture diagram or if critical security tests are disabled.

Quick Start

Use the DriftDetector skill to analyze the attached 'implementation_v1.2.md' against the 'spec_v1.2.md' and report any deviations.

Frequently Asked Questions about DriftDetector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect spec drift in continuous integration?

Spec drift detection in continuous integration compares recent implementation records against a defined SPEC Card to identify deviations. It flags when code or processes diverge from approved architecture diagrams or project requirements during automated quality assurance runs.

What is test drift and how do I check if tests no longer align with specifications?

Test drift occurs when test cases no longer match defined specifications or current system reality. You can detect this by inputting your TEST Card and SPEC Card for analysis, which flags misaligned tests and disabled critical security checks.

How do I identify invariant erosion and governance bypass in software?

Invariant erosion and governance bypass are identified by analyzing recent metrics and experience records against world models and governance norms. This detects violations of core constraints and flags instances where quality gates are skipped without justification.

What inputs do I need to check implementation against specifications?

To check implementation against specifications, you need to provide a SPEC Card, TEST Card, World model, and recent metrics or experience records. These inputs enable the analysis of spec drift, test drift, invariant erosion, and governance bypass.

Can I automatically flag a release candidate for quality assurance deviations?

Yes, you can automatically flag a release candidate by analyzing its implementation records against approved specifications and governance norms. This identifies critical security test omissions and architectural deviations during quality assurance processes.

What is the best way to monitor spec compliance without dedicated governance tools?

Monitoring spec compliance requires analyzing your defined SPEC Card and TEST Card against recent implementation metrics. This approach catches deviations from intended specifications and detects governance bypass without relying on separate dedicated governance platforms.