Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Run the offline (jscpd) and online (scanoss-py) similarity scanners on demand against a diff or path — the ONLY home of this repo's detection capability; no CI gate exists or ever ran it automatically
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Gate G0 (road-to-provenance-and-license-governance, Phase 0) measured both
candidate similarity detectors against a frozen golden corpus and neither
met the pre-registered bar for a CI gate. Council resolved (2026-07-28,
Option A): no lint_code_provenance.ts in any form — not even
advisory. This skill is the result of that decision: the scan capability
that used to be a planned CI gate now exists only as something a human
invokes deliberately, so every hit gets investigated because a human
asked for it — never as a silent pipeline signal nobody reads.
origin: uncertain self-flag from
code-provenance names a residual-class
file worth a closer look.Do NOT use when:
license-compliance-borrow-check,
a targeted one-source check, not a corpus-wide scan.npx:
npx jscpd --version
The online layer (L0) is optional — check whether it is installed and
reachable:
scanoss-py --version # or: pip show scanoss
Offline-only is expected and fine in most environments; report it
honestly rather than treating it as a failure.npx jscpd <path> --min-tokens 25
--min-tokens 25 is the pre-registered shipping value — the best
false-positive-clean point of the S0.3 sweep
(internal/bench/provenance/reports/baseline-2026-07-28.md). Read every
reported clone pair as a candidate, never a verdict.scanoss-py scan <path>
Only WFP fingerprints leave the machine, never raw source (privacy by
construction, principle 7). If L0 is unreachable, rate-limited, or not
installed, report the result as partial (offline) explicitly — never
claim a full two-layer scan ran.provenance/borrows.jsonl (cleared)? Does it read like
independent convergence on a common algorithm shape, or an unattributed
real copy? Open both files side by side before deciding — a match id is
a starting point, not a conclusion.license-compliance-borrow-check
to classify and draft the entry. Never clear a hit yourself by simply
deciding it's fine.On the frozen synthetic corpus (internal/bench/provenance/, 36 files,
content-sha256 dbbc84a7…34bb3):
| layer | verbatim+rename recall | rename-only recall | false positives |
|---|---|---|---|
L-1 jscpd --min-tokens 25 | 10/16 | 4/8 | 0/12 |
| L0 scanoss | 4/16 | 0/8 | 2/12 |
| union (both layers) | 12/16 | 4/8 | 2/12 |
Full source: internal/bench/provenance/reports/baseline-2026-07-28.md.
synthetic-canonical — independently
authored implementations of well-known algorithm shapes, never fetched or
pasted from any upstream file. This measures transformation-depth
sensitivity and false-positive rate on independent code — it does
not measure recall against SCANOSS's real-OSS knowledge base. No
sample here is indexed anywhere, so a KB lookup returning zero hits says
nothing about the detector's real-world recall. Real-KB recall is
unmeasured and would need a second, real-snippet corpus.code-provenance).partial (offline)
marker (never a silent green presented as a full scan).license-compliance-borrow-check / independent convergence, no action).partial (offline).code-provenance — the rule that makes
the ledger, not this scan, the primary anti-launder control.license-compliance-borrow-check —
where an unresolved hit routes for classification + ledger drafting.internal/bench/provenance/reports/baseline-2026-07-28.md — the full
measured baseline this skill's numbers are drawn from.docs/CLAIMS.md — claim provenance-detector-transformation-sensitivity
(unbacked, carries the same scope bound).まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
日本語の概要は準備中です。原文の説明を表示しています。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
日本語の概要は準備中です。原文の説明を表示しています。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
日本語の概要は準備中です。原文の説明を表示しています。