Skip to content

chore: drop TypeScript CLI and flatten Rust crate to repo root - #114

Merged
catoncat merged 1 commit into
mainfrom
chore/drop-ts-oracle-flatten-crate
Aug 17, 2026
Merged

chore: drop TypeScript CLI and flatten Rust crate to repo root#114
catoncat merged 1 commit into
mainfrom
chore/drop-ts-oracle-flatten-crate

Conversation

@catoncat

Copy link
Copy Markdown
Owner

目标

不再保留第二套 TypeScript CLI。生产代码就是仓库根上的 Rust crate;eval/ 只 fork shlog

变更

  • 删除 src/**/*.ts 对照实现(约 -17k 行)
  • rust/srcsrcrust/teststests,去掉顶层 rust/
  • eval 默认使用 target/release/shlog(否则 debug);找不到 binary 失败
  • JSON 契约类型挪到 eval/types.ts / eval/selector.ts,只给 harness 用

验证

  • cargo test --workspace --all-targets --all-features --locked
  • cargo fmt --check / cargo clippy -D warnings
  • npx tsc --noEmit + npx vitest run(61 tests)

没有开 PR CI 前请先看路径:CI 的 npm run check 不再跑旧 TS CLI 单测。

Remove the differential oracle in src/*.ts. Production code lives at
src/*.rs. eval/ remains a TypeScript harness and now defaults to
target/release/shlog (else debug) instead of a second CLI.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@catoncat
catoncat merged commit 40d7aa0 into main Aug 17, 2026
6 checks passed
@catoncat
catoncat deleted the chore/drop-ts-oracle-flatten-crate branch August 17, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant