harness-oia-audit
하는 일
이 스킬은 하네스에 세 가지 정적 점검을 실행하고, 결합된 결과를 날짜가 적힌 감사 기록으로 저장합니다. 정기 감사를 시간에 따라 비교하려는 팀을 위한 스킬입니다.
사용하는 경우
- ✓하네스의 전체 감사를 한 번에 하고 싶을 때.
- ✓드리프트를 잡으려고 주간 감사를 돌리고 싶을 때.
- ✓가장 심각한 발견이 높은 수준이면 실패하는 점검을 원할 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-oia-audit/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“하네스의 전체 감사를 실행해 저장해 주세요. 다음 주에 비교할 수 있게요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 레이어 정렬, 위협 모델, 도구 스캔 점검을 실행하고, 발견된 가장 심각한 수준을 택해 감사 메모리에 기록을 저장합니다. 가장 심각한 발견이 설정한 수준에 이르면 오류로 종료할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
The 13th worker (ADR-150 Phase 2) — runs three MetaHarness static surfaces in one shot, computes a composite worst-severity signal, and persists the audit record to memory so drift over time is visible.
Algorithm
Implementation: scripts/oia-audit.mjs.
- Run
harness oia-manifest <path>— Open Infrastructure Architecture layer alignment (L1-L9). - Run
harness threat-model <path>— categorized MCP-surface threat report withworst: clean|low|medium|high. - Run
harness mcp-scan <path>— per-server/tool policy + permissions- dep findings.
- Composite worst =
max(threatModel.worst, max(mcpScan.findings.severity)). - Persist payload to memory namespace
metaharness-auditwith keyaudit-<iso-timestamp>(unless--dry-run). --alert-on-worst <severity>: exit 1 if composite worst ≥ threshold.
Graceful degradation
When ALL three components report metaharness-not-available, the script
emits the standard degraded payload and exits 0. When only some are
degraded, each individual component carries its own degraded: true
flag in the audit record — the audit still runs and persists what it
could gather.
CI / cron integration
Designed for weekly cron in .github/workflows/:
on:
schedule:
- cron: '17 4 * * 0' # Sundays at 04:17 UTC
jobs:
oia-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: node plugins/ruflo-metaharness/scripts/oia-audit.mjs --alert-on-worst high
--alert-on-worst high fails the job on any HIGH-severity finding;
drift below HIGH is logged but doesn't block.
Memory namespace
Each audit run stores under metaharness-audit:audit-<iso-ts>. To list
recent audits:
npx @claude-flow/cli@latest memory list --namespace metaharness-audit --limit 10
To diff two audits (drift detection):
A=$(npx ... memory retrieve --key audit-2026-06-01... --namespace metaharness-audit)
B=$(npx ... memory retrieve --key audit-2026-06-15... --namespace metaharness-audit)
# Compare composite.worst, components.threatModel.worst, etc.
A future ADR can wire this into a dedicated cost-diff-style diff
viewer specifically for audit drift.
Pairs with
harness-threat-model— the underlying threat-model componentharness-mcp-scan— the underlying MCP-scan componentharness-score+harness-genome— readiness metrics (orthogonal to audit)
자주 묻는 질문
어떤 점검이 포함되나요?
레이어 정렬, 도구 표면의 위협 모델, 도구 정책과 권한 스캔이 포함됩니다.
일부 점검을 쓸 수 없으면 어떻게 되나요?
감사는 여전히 실행되며, 수집할 수 있었던 부분만 기록하고 없는 부분은 저하된 상태로 표시합니다.
일정에 따라 실행할 수 있나요?
네. 소스는 CI 워크플로에서 주간 예약 실행을 보여 줍니다.
상세 정보
작성자의 원본 설명
Composite Phase-2 audit worker (ADR-150). Bundles harness oia-manifest + threat-model + mcp-scan into one timestamped audit record stored in the `metaharness-audit` memory namespace. Designed for cron-scheduled drift detection.
repo: ruvnet/ruflo
인기도
- GitHub 스타
- 81k
- 순위
- #1653
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.