rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ArmyWas/dsh-codex-compat-canary
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Detect both pinned and forward Codex App Server compatibility gaps that DeepSeek Harness cannot safely interpret.
The first real run found one concrete incompatibility between DeepSeek Harness 0.1.1-rc.2 and Codex 0.149.1: Codex added misalignmentPolicyViolation, while the pinned Harness adapter maps that value to unknown. The reproducible experiment records the baseline, failure, minimal repair, and duplicate-work check. The result is reported upstream in DeepSeek Harness Discussion #4531.
DeepSeek Harness currently pins @openai/codex inside its Codex subagent package. A dependency update can preserve startup, handshake, approval, cancellation, and process cleanup while still losing a newly added protocol value. A normal smoke test can therefore pass even though the user-facing diagnosis became less useful.
This canary reads the official adapter without executing Harness source, generates the pinned and target Codex JSON schemas through the official Codex CLI, and checks the protocol values that the adapter explicitly consumes. It is an external CLI because a compatibility diagnostic should still run when the in-process integration is the failing component.
npx dsh-codex-compat-canary@latest
The default run compares the Codex version pinned by the official DeepSeek Harness master branch with the latest published @openai/codex version. It exits with code 1 when an implemented breaking check fails.
Inspect a local checkout or a fixed target release:
npx dsh-codex-compat-canary@latest \
--dsh-source /path/to/deepseek-harness \
--codex-version 0.149.1 \
--json canary-report.json
Use --dsh-ref <branch|tag|commit> for a reproducible official-source run. Use --format json for JSON on standard output and --fail-on review when review-level drift should also fail CI.
oneOf or anyOf schemas. Open string/object fallbacks produce a review finding, because their coverage cannot be enumerated.The canary does not claim complete behavioral compatibility. It does not call a model, read Codex or DeepSeek credentials, edit Harness, install a plugin into a user profile, or automatically publish a report.
| Code | Meaning |
|---|---|
0 |
No finding met the selected --fail-on threshold. |
1 |
A compatibility finding met the threshold. |
2 |
The canary could not complete, such as a network, source, schema, or argument error. |
This repository's weekly workflow runs the repository logic against the current official Harness master and latest Codex package and preserves the JSON report as an artifact. A new, changed, or recurring-after-resolution finding opens or updates one issue and makes that run fail. An identical known finding leaves the issue untouched and the job green, so it does not send the same failure notification every week. Recovery adds one resolution comment and closes the issue.
The repository also preserves an incomplete-check JSON report when source resolution, schema generation, or analysis fails. Those reports use reportType: "execution-error", status incomplete, and the separate execution-failure schema. CLI exit code 2 is preserved even with --fail-on never. A separate execution issue tracks new or changed failures without changing the existing compatibility issue. Identical failures stay quiet with an explicit incomplete warning; any later completed comparison resolves that execution issue, including a completed comparison that still finds incompatibilities. A green deduplicated workflow is therefore not a compatibility verdict.
Version 0.2.1 includes these schema-reader and incomplete-report repairs. npm 0.2.0 does not accept the newer anyOf error representation. See the 0.162.1/0.163.0 regression and the exact-version 0.165.0 verification. The latter adds modelNotFound as a forward-drift regression; it does not patch Harness or assert that a real model task failed.
The report contains version, commit, schema, and protocol-value metadata, not prompts, session content, credentials, or absolute local source paths. Schema generation executes the selected published @openai/codex npm package; pin an exact version and review your package-source policy in sensitive environments. See SECURITY.md.
This is a compatibility canary, not a Codex bridge, alternate UI, auto-updater, general Harness doctor, or production patcher. DeepSeek Harness already provides the Codex subagent and Codex Hooks bridge. New checks are added only after an observed protocol drift demonstrates that a narrower existing check cannot catch it.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。