본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)81k · #1646

harness-drift-from-history

하는 일

이 스킬은 하네스의 새 감사를 실행하고, 가장 최근에 저장된 감사와 비교해 얼마나 드리프트되었는지 보고합니다. 예상치 못한 변화를 정기적으로 확인하는 팀을 위한 스킬입니다.

사용하는 경우

  • ✓마지막 감사 이후 하네스가 바뀌었는지 알고 싶을 때.
  • ✓주간 감사가 실행되어 무엇이 드리프트되었는지 보고 싶을 때.
  • ✓변화가 설정한 기준을 넘으면 경고를 받고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-drift-from-history/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-drift-from-history/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“마지막 감사 이후 내 하네스가 드리프트되었나요? 너무 많이 움직였다면 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 설정에 따라 매우 최근 감사를 건너뛰고, 가장 최근에 저장된 감사 기록을 고릅니다. 새 감사를 실행해 둘을 비교하고, 드리프트 보고서를 돌려주며, 유사도가 설정한 기준보다 낮으면 경고할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

The natural ops question after running oia-audit weekly is "did anything drift?" Before this skill, the answer required a three-step sequence:

npx ruflo metaharness audit-list --format json   # → pick a key by hand
npx ruflo metaharness oia-audit --format json > /tmp/curr.json
npx ruflo metaharness audit-trend \
  --baseline-key <picked-key> --current /tmp/curr.json \
  --alert-on-distance-below 0.95

This skill collapses it into one command:

npx ruflo metaharness drift-from-history --threshold 0.95

What it does

  1. Lists records from metaharness-audit namespace via audit-list.mjs
  2. Picks the most recent record by startedAt (or --baseline-since 7d skips anything newer than 7 days)
  3. Runs a fresh oia-audit against the current path
  4. Diffs the two via audit-trend, applying --alert-on-distance-below ${threshold}
  5. Returns the structured drift report

Architectural constraint inheritance (ADR-150)

Constraint How drift-from-history satisfies it
Removable Pure subprocess composition over existing scripts — no new @metaharness/* import
Optional If oia-audit reports degraded:true, this skill exits 3 with a degraded payload
Graceful Empty audit history → exit 2 with hint to seed it; never crashes
CI-gate Smoke step 17z16 anchors the dispatcher entry + subcommand listing

Exit codes

  • 0 — similarity ≥ threshold (or threshold not crossed)
  • 1 — drift detected: similarity < threshold (alert fired)
  • 2 — config error (no history, audit-list failed)
  • 3 — upstream metaharness absent (degraded payload returned)

Example

$ npx ruflo metaharness drift-from-history --threshold 0.95
# drift-from-history

Baseline:        audit-2026-06-16T22-58-47-840Z
Current:         2026-06-16T23:05:02.231Z

Structural similarity: 1 (near-identical)
Distance:              0

✓ similarity ≥ 0.95 — OK

Implementation

scripts/drift-from-history.mjs

자주 묻는 질문

기준값은 무엇을 하나요?

유사도가 이 값보다 낮아지면 스킬이 경고를 보내는 기준입니다. 소스 예시는 0.95를 씁니다.

이전 감사가 없으면 어떻게 되나요?

실패하는 대신, 먼저 감사를 만들라는 안내와 함께 종료됩니다.

하네스를 바꾸나요?

아닙니다. 감사를 실행하고 그 결과를 비교할 뿐입니다.

상세 정보

작성자의 원본 설명

One-command drift detection: run a fresh metaharness audit, diff it against the latest stored audit by ADR-152 similarity, and alert when the distance crosses `--threshold`. Use when checking whether a harness has drifted since its last audit.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1646
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬