feat(usable): integrate current dbtool implementation snapshot
Some checks failed
release-smoke / macos-13 / x86_64-apple-darwin (push) Has been cancelled
release-smoke / ubuntu-latest / x86_64-unknown-linux-gnu (push) Has been cancelled
release-smoke / windows-latest / x86_64-pc-windows-msvc (push) Has been cancelled

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Paperclip CTO
2026-04-02 08:26:18 +00:00
parent a28dab4cd9
commit d5f69462b0
73 changed files with 5895 additions and 322 deletions

View File

@@ -18,6 +18,19 @@ scripts/tui/smoke-tty.sh ./target/debug/dbtool-tui 20 90 /tmp/dbtool-tui-small.l
`dbtool-tui` 需要 TTY不要用 `cargo run -p dbtool-tui -- --help` 替代交互 smoke。详细口径见 `TUI_SMOKE_RUNBOOK.md`
failure-path 证据 helper / sidecar wrapper 的离线回归入口:
```bash
scripts/qa/test-failure-path-fixtures.sh
```
需要缩小范围时可改跑:
```bash
scripts/qa/test-failure-path-fixtures.sh format
scripts/qa/test-failure-path-fixtures.sh sidecar
```
Git 仓库、branch、commit、push 与 agent 认证规范见 `GIT_WORKFLOW.md`
如果当前 Linux 环境没有 `cc` / `ar`,改用 `zig cc` + `zig ar`。对 bundled SQLite 路径linker 包装器需要兼容 Cargo 传入的 GNU target flag
@@ -87,6 +100,7 @@ export RUSTDOC="$(rustup which --toolchain stable rustdoc)"
- `cargo run -p dbtool-cli -- query ... --file <sql>` 验证 SQL 文件读取入口
- `cargo run -p dbtool-cli -- export ... --format <csv|json> --output <path>` 验证导出路径
- `./examples/scripts/bootstrap-sqlite.sh` + SQLite CLI happy path 验证本地样例数据库闭环
- `scripts/qa/test-failure-path-fixtures.sh` 验证 failure-path evidence helper 与 sidecar wrapper 的离线契约
- 无系统 linker 的 Linux 环境使用兼容 Cargo target flag 的 `zig cc` 包装器与 `zig ar` 验证路径
## 发布 smoke