跳到正文
cccskills
免费在 GitHub 公开

anti-deception-checklist

Verification checklist to prevent fake success. Detects test deletion/disabling, coverage regression, lint bypass, secret exposure. Triggered by "deception", "fake" ("가짜"), "fake success", "verification" ("검증"), "checklist" ("체크리스트"), "deletion detection" ("삭제 탐지"), "regression" keywords.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Anti-Deception Verification Checklist

Use this checklist after code changes to detect "fake success." Even if the build turns green, it may be hiding problems rather than solving them.

Sensitive-Data Handling Contract

This skill detects possible exposure; it never needs the secret value. Do not read credential files or .env content to validate a finding. Detection output must contain only a file path and rule class, never the matching line, token, password, private key, PII, or surrounding context. Test fixtures must be obviously non-live and must not match a provider-valid credential format.

If a real secret may have entered Git history or CI output:

  1. stop the gate and avoid reproducing the value in an issue, PR, prompt, or log;
  2. identify the provider and owner from metadata, not by printing the secret;
  3. revoke or rotate it first;
  4. coordinate history and cache cleanup separately; deleting the current line is not remediation.

PII and user content are not secret-scanning test material. Minimize them, retain them only in their approved private store, and report an opaque ID or redacted aggregate.

Check 1: Test Deletion/Disabling Detection

# Deleted test files
git diff --name-status HEAD~1 | grep "^D.*test_"

# Newly added @pytest.mark.skip / skipIf
git diff HEAD~1 -- "*.py" | grep -E "^\+.*@pytest\.mark\.(skip|skipIf|xfail)"

# Test exclusion patterns (pyproject.toml)
git diff HEAD~1 -- pyproject.toml | grep -E "^\+.*(ignore|exclude|deselect)"

Verdict: Test deletion/disabling without legitimate justification = FAIL

Check 2: Lint/Type Check Bypass Detection

# type: ignore overuse
git diff HEAD~1 -- "*.py" | grep -E "^\+.*# type: ignore"

# noqa overuse
git diff HEAD~1 -- "*.py" | grep -E "^\+.*# noqa"

# Rule disabling in ruff/mypy config
git diff HEAD~1 -- pyproject.toml | grep -E "^\+.*(ignore|exclude|per-file-ignores)"

Verdict: 3+ new type: ignore additions = WARNING, rule disabling = FAIL

Check 3: Coverage Regression Detection

# Coverage threshold lowered in config
git diff HEAD~1 -- pyproject.toml | grep -E "^\+.*(fail_under|min_coverage)"

# Run the selected non-live suite without hiding its exit status.
uv run pytest tests/ -m "not live" -q

Use the coverage command in .github/workflows/ci.yml and the threshold in pyproject.toml (tool.coverage.report.fail_under); plain pytest output does not measure coverage. A failing coverage gate or an unjustified threshold, omit, or test exclusion change is FAIL. Compare coverage on the same scope and review regressions even when the configured threshold still passes.

Check 4: Secret Exposure Detection

# Candidate files only; -l reports paths without echoing matched content.
git grep -IlE '(sk-ant-|sk-proj-|sk-[[:alnum:]_-]{20,}|Bearer[[:space:]]+[[:alnum:]_.-]{20,})' -- ':(glob)**/*.py' || true
git grep -IlE 'token[^=]*=[[:space:]]*[^[:space:]]{20,}' -- ':(glob)**/*.py' || true

# .env file committed
git diff --name-status HEAD~1 | grep -E "^A.*\.env$"

Verdict: candidate path = FAIL until an authorized local review classifies it as revoked/test-only/false-positive without copying the value into output.

Check 5: Dependency Downgrade Detection

# Version changes in pyproject.toml
git diff HEAD~1 -- pyproject.toml | grep -E "^\+.*(version|requires-python)"

# Package version downgrade via uv.lock changes
git diff HEAD~1 -- uv.lock | grep -E "^-.*version" | head -10

Verdict: Dependency downgrade without explicit justification = WARNING

GEODE-Specific Checks

ItemCurrent authorityReview requirement
Testsuv run pytest tests/ -m "not live" and uv run pytest tests/ --collect-onlyExplain removed cases and identify surviving behavior checks; a count decrease alone is not a regression verdict
CLI surfaceuv run geode version plus targeted command testsPreserve the current CLI contract; the retired geode analyze domain fixture is not a runtime gate
Tool/module inventoryuv run python scripts/architecture_baseline.py --checkReview inventory and parity changes; do not regenerate the baseline merely to hide drift
Prompt ratchetverify_prompt_integrity(raise_on_drift=True) in core.llm.promptsPreserve pinned prompt hashes or update them with the reviewed prompt change

Use verification gates for executable checks and the deletion gate before removing code or tests. Inventory counts and source scans discover candidates; they do not establish behavior, authorize deletion, or replace CI.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit agent runtimes and their tests for lifecycle inference, capability overload, context pollution, correlated verification, prompt-only control, false success, dead compatibility paths, test-only seams, and complexity without contribution. Use for whole-repository agent audits, slop or dead-code triage, test contribution reviews, large refactors, tool/context simplification, and cleanup requests that need proof before deleting code or tests.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

Diagnose agent operational failures through default-policy checks, multi-gap analysis, explicit service ownership, request-context lifetime, and degradation-versus-correctness checks.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

Align, run, audit, and publish GEODE benchmark comparisons against Agent-World arXiv 2604.18292v1 across MCP-Mark, BFCL V4, and tau2-bench. Use for Agent-World or AgentWorld comparison requests, cross-suite agent benchmark design, Tau2 comparator/profile diagnosis, paired thin-runtime-versus-GEODE experiments, mean-accuracy@8 replication, or benchmark comparability and artifact reviews.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

Auto-search and summarize latest AI/agent papers.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

Content-addressed baseline-archive epoch partitioning. Partition baseline_archive.jsonl + the self-improving hub's baseline serving by a HASH of the full baseline-production+measurement spec — when the spec (margin_rule, fitness/margin logic version, the 4 roles' model+source, rubric/dim-set, bench, seed-pool identity) changes, the hash changes → a new epoch series (like seed-gen gen-*). Triggered by "baseline epoch", "baseline 아카이빙", "epoch partition", "spec hash", "content-addressed", "margin_rule namespace", "production logic 구분", "baseline 하위 서빙" keywords.

中文简介正在准备中。当前显示原文说明。

mangowhoiscloud/geode152026年10月22日 更新

查看 mangowhoiscloud 的全部技能

报告此技能的问题