JimKrider

trip-drift

Compare checked-in documentation, financial model specs, and manifests against live repository files and Git commit state using blind PROOF and SYNC agents, producing trip_drift_report.md.

JimKrider 0 Updated 13h ago
GitHub

Install

npx skillscat add jimkrider/trip-sitter/agents-skills-trip-drift

Install via the SkillsCat registry.

SKILL.md

Cross-Surface Drift Audit (/trip-drift)

Run this skill periodically or after multi-file engineering waves to detect silent drift between checked-in documentation, financial-model specifications, manifests, and live source code.

Inputs

  • Scope (optional, default entire repository): Specific directory, documentation set, or manifest list to audit.

Execution Protocol

Step 1: Key 1 — Deterministic Repository & Manifest Check

Resolve <plugin-root> (../../../ relative to this skill) and validate the target repository (<target-repo>, defaulting to .):

# Audit key repository documentation deterministically:
python3 <plugin-root>/scripts/grounding_check.py \
  --audit-doc README.md --repo-root <target-repo>
# If <target-repo>/plugin.json exists, also run strict plugin/manifest validation:
python3 <plugin-root>/scripts/grounding_check.py --strict --repo-root <target-repo>
# If <target-repo>/gemini-sync/ exists, verify zero sync bundle drift:
python3 <plugin-root>/scripts/sync_gemini_bundle.py --verify --repo-root <target-repo>

Record the target repository's Git HEAD commit SHA (git -C <target-repo> rev-parse --short HEAD) and any deterministic failures.

Step 2: Tiered Blind PROOF + SYNC Dispatch

Delegate to trip-sitter with Mode: DRIFT (or invoke trip-proof on pro/sonnet and trip-sync on flash/haiku directly in parallel fresh contexts):

  • PROOF (reasoning: pro / sonnet): Verify every file path, script name, CLI flag, schema column, and deterministic formula cited across README.md, AGENTS.md, GEMINI.md, docs/, and specs against live disk files.
  • SYNC (fast: flash / haiku): Verify parity across plugin.json, gemini-extension.json, commands/*.toml, gemini-sync/, .agents/skills.json, .agents/agents.json, .agents/skills/*, CI workflows (.github/workflows/), unit tests, and registry counts.

Step 3: Write trip_drift_report.md & Handoff

Write all findings into trip_drift_report.md grouped by BLOCKER (broken contract or missing file), MAJOR (stale count, outdated CLI flag, or missing CI hook), and NIT (minor doc polish). Include the Git HEAD SHA and exact remediation commands.