npx skills add ...
npx skills add wanshuiyin/auto-claude-code-research-in-sleep --skill integrity-forensics
Run the Anti-Autoresearch integrity-forensics DETERMINISTIC slice (numeric core + rules-only reporter) against a paper via a SHA-pinned thin launcher, then convert the verdict into a typed policy gate (BLOCK/WARN/NO_NEW_BLOCKER) and an append-only obligations ledger. Codex-native limitation: upstream ships no Codex-native auditor pack, so the full nine-dimension semantic sweep requires a Claude Code session — this pack runs the honestly-scoped deterministic-only mode (it can flag, it can never say CLEAN). Use when user says \"integrity forensics\", \"forensic audit this paper\", \"投稿前自查诚信\".
npx skills add wanshuiyin/auto-claude-code-research-in-sleep --skill integrity-forensics
Audit target: $ARGUMENTS
Same launcher doctrine as the mainline skill: SHA-pin, upstream eval-gate validation per pin, delegate unchanged, no vendoring, no forking, no reviewer knobs. The one Codex-native difference: upstream's nine auditor skills are Claude-Code contracts, so this pack runs upstream's deterministic-only mode — the numeric forensic core (GRIM / GRIMMER / statcheck / delta arithmetic) plus the rules-only reporter with an all-
review_unavailablecoverage map. That mode is honestly scoped by upstream: it can raise HARD/SOFT flags; it can NEVER returnCLEAN_GIVEN_EVIDENCE. Translating upstream's reviewer calls intospawn_agentwould REWRITE an upstream contract — forbidden.
https://github.com/wanshuiyin/Anti-Autoresearch.gitb47af6f983b38347b6d2110379e266400597cf66 — never
tracks HEAD; bumping is a reviewed change (mainline Pin-bump checklist).~/.aris/anti-autoresearch — host-neutral. An older clone at
~/.claude/anti-autoresearch is unused; move it and its .aris_eval_ok_*
receipt to keep an offline deterministic-only run working — this pack's own
mode — otherwise delete it whenever convenient.— effort: mapping onto upstream settings.Open $CLONE_DIR/workflows/anti-autoresearch/SKILL.md and follow its
deterministic-only path (its own documented degraded mode): Step 0 ingest →
Step 1 evidence ledger → deterministic auditors → adjudication with the
generated all-review_unavailable coverage map. Wrapper rules: run every
upstream bash block with cd "$CLONE_DIR" (upstream self-locates via
git rev-parse --show-toplevel); refer to the paper by ABSOLUTE path; never
rewrite upstream outputs.
Expected outcome: report.json whose verdict is HARD_FLAGS / SOFT_FLAGS /
REVIEW_UNAVAILABLE — by construction never CLEAN_GIVEN_EVIDENCE.
Resolve forensics_gate.py via the canonical helper chain
(shared-references/integration-contract.md §2, Policy A), then:
Policy: HARD_FLAGS → BLOCK · REVIEW_UNAVAILABLE → BLOCK (which a
deterministic-only run reports whenever it found no flags — the semantic
dimensions never ran, so nothing may wave the paper through) · SOFT_FLAGS →
WARN. The gate records same-family proposal provenance for a Codex
executor — informational: this gate only raises flags, it grants nothing.
The downstream preflight is ONE command:
python3 "$GATE_HELPER" fresh --paper-dir "$PAPER_DIR" --anti-ar-commit "$ANTI_AR_COMMIT"
— exit 0 ⟺ produced at the current pin ∧ gate
exists ∧ paper unchanged since ∧ gate matches the current ledger ∧ decision
pass-capable (WARN/NO_NEW_BLOCKER), where the decision is RE-computed from
the sha-verified archived report + live ledger (the stored token is display,
not authority). Any ledger mutation deletes the standing gate.json, and
evaluate refuses a report older than any paper file — neither a stale pass
nor a stale report can be replayed.
Identical obligations discipline to the mainline skill: append-only ledger,
UNRESOLVED_DISAPPEARANCE on vanished-but-unresolved findings, typed + hashed
resolve receipts (corrected-from-results | claim-narrowed | claim-withdrawn | citation-replaced; --verified-by must be typed provenance —
human:<name> / checker:<tool> / cross-family-review:<thread-id> — and
the evidence file is RE-hashed on every later gate), human-only waive
(never a resolution), and The One Forbidden Loop: never "edit → re-sweep
→ repeat until it stops flagging".
Numeric obligations route to the result files; the rest to the matching audit
skill or the human.
python3 "$GATE_HELPER" evaluate --report "$PAPER_DIR/report.json" --paper-dir "$PAPER_DIR" \
--anti-ar-commit "$ANTI_AR_COMMIT" --executor-model "codex-gpt-6-astra"