Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dx-agent-verify

БесплатноБез исполняемых скриптовНе проверен

DEEPX build verification checklists — dx_app, dx_stream, and cross-project.

DEEPX-AIот DEEPX-AI★ 80 звёзд на GitHub

Об этом скилле

Skill: DEEPX Build Verification Checklists

For the general verification gate function and completion report template, see dx-swe-verify. This skill covers DEEPX-specific verification checklists.

Scope

This is the top-level suite version covering all sub-projects. When working in a single sub-project, prefer the project-level version:

Working on... Use this skill
dx_app (standalone inference) dx-runtime/dx_app/.deepx/skills/dx-agent-verify/SKILL.md
dx_stream (GStreamer pipelines) dx-runtime/dx_stream/.deepx/skills/dx-agent-verify/SKILL.md
Cross-project integration dx-runtime/.deepx/skills/dx-agent-verify/SKILL.md

Verification Checklist — dx_app Python Apps

# 1. Syntax check all Python files
for f in factory/*_factory.py *_sync.py *_async.py; do
    [ -f "$f" ] && python -c "import py_compile; py_compile.compile('$f', doraise=True)" && echo "OK: $f"
done

# 2. JSON validation
python -c "import json; json.load(open('config.json')); print('OK: config.json')"
python -c "import json; json.load(open('session.json')); print('OK: session.json')"

# 3. Factory compliance (5 methods)
PYTHONPATH=<v3_dir> python -c "
from factory import <Model>Factory
f = <Model>Factory()
for m in ['create_preprocessor','create_postprocessor','create_visualizer','get_model_name','get_task_type']:
    assert hasattr(f, m), f'Missing {m}'
print(f'OK: {f.get_model_name()} / {f.get_task_type()}')
"

Verification Checklist — dx_stream Pipelines

# 1. Python syntax
python -c "import py_compile; py_compile.compile('pipeline.py', doraise=True)" && echo "OK: pipeline.py"

# 2. Shell script syntax
bash -n run_*.sh && echo "OK: shell scripts"

# 3. JSON configs
for f in config/*.json session.json; do
    [ -f "$f" ] && python -c "import json; json.load(open('$f')); print('OK: $f')"
done

# 4. Pipeline parse test
python pipeline.py --help 2>/dev/null && echo "OK: argparse"

Verification Checklist — Cross-Project Integration

# 1. Cross-project model consistency (sub-projects share .dxnn models via the registries, NOT Python imports)
python -c "
import json
app_reg = json.load(open('dx-runtime/dx_app/config/model_registry.json'))
stream_list = json.load(open('dx-runtime/dx_stream/model_list.json'))
print(f'OK: dx_app has {len(app_reg)} models, dx_stream has {len(stream_list)} models')
"

# 2. Build order verification (dx_app first, then dx_stream)
cd dx-runtime/dx_app && ./install.sh && ./build.sh && echo "OK: dx_app build"
cd dx-runtime/dx_stream && ./install.sh && echo "OK: dx_stream install"

session.log Authenticity (HARD GATE)

For ANY scenario that produces a dx-agent-dev/<sid>/session.log, the log MUST be the tee-captured stdout of real command execution — never a heredoc template or programmatic write.

✓ Allowed ✗ Prohibited
python <runner>.py ... 2>&1 | tee session.log cat << 'EOF' > session.log ... EOF
bash run.sh 2>&1 | tee session.log printf "..." > session.log
dxcom <cfg> 2>&1 | tee compile_out.log (compiler) Path("session.log").write_text(...)
gst-launch-1.0 ... 2>&1 | tee session.log (dx_stream) awk ... > session.log / base64 -d ... > session.log

Cross-project (runtime / suite) — dual session.log: Each sub-project gets its OWN session.log, each captured from its OWN command execution. Writing one sub-project's session.log from a different directory via heredoc (e.g., cat << 'EOF' > dx-runtime/dx_app/.../session.log) is a legitimate cross-project write that the analyzer recognizes (the false-positive guard checks the target path); the rule still requires real execution capture for each sub-project, not template content.

The analyzer's session_log_authentic compliance check:

  • Hard-fail for compiler / dx_app / dx_stream / dx_stream_cascaded / suite
  • Soft-warning only for runtime (multi-domain scenario where a unified top-level session.log is structurally unnatural; the underlying ExecutionTrace rubric still demands real logs in each sub-project).

Session-ID Freshness (HARD GATE)

Each agent invocation MUST produce a fresh session directory whose name starts with the current local timestamp. Reusing a previous round's session directory — even one created earlier today — is a HARD GATE violation (see AGENTS.md / CLAUDE.md: "Previous session reference PROHIBITED"). The harness now scrubs stale state-marker files between rounds AND asserts the parsed session-id timestamp falls within the current round's window. Sessions whose timestamp predates the round start by >60 s fail test_session_freshness.

Prohibited patterns (reading any of these files is forbidden — they may carry a prior round's session_id):

# ✗ Do NOT do this — these files leak prior session paths
cat .codex_current_work_dir          .codex_session_id
cat .cursor_current_session_id        .copilot_current_work_dir
cat .current_dx_session_id
Полный SKILL.md на GitHub

Установить dx-agent-verify в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dx-agent-verify?

DEEPX build verification checklists — dx_app, dx_stream, and cross-project.

Как установить скилл dx-agent-verify?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dx-agent-verify запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dx-agent-verify с