docs: bump test/anchor baseline to match the backend-label round
Sync the stated-as-current gate numbers that the previous feature commit (88f0923) shifted, per the same-round rule: - Test baseline 104 -> 105 passed / 0 failed / 4 ignored across the authoritative (charter §6.1) and deferring docs (design §Phase 0, opengaps access-control, HANDOFF-push-401), with retest date 2026-10-14. The new test `setup_status_reports_backend_label` is a normal (non-ignored) test, so the ignored set is unchanged. - opengaps anchor count 72 -> 49, matching what `run_all.sh` ANCHOR AUDIT now reports (the design.md main.rs line-anchors were converted to symbol refs). - AGENTS version baseline3b36fe3->88f0923(gate-holder merged this batch;88f0923is the gate-green commit of the round). Charter Code Baseline `fc686ab` left as-is — line-number anchor semantics were not bulk-reverified this round, so claiming otherwise would overstate (§7.4). GATE-DOCS 6/6 clean (49 line-refs, 0 errors); GATE-P0 stood at 105/0/4.
This commit is contained in:
parent
88f0923e6c
commit
26e916b79d
|
|
@ -6,7 +6,7 @@
|
|||
>
|
||||
> 两者冲突时:**项目事实与安全不变量以 `docs/charter.md` 为准,质量规则以本文件为准。**
|
||||
|
||||
> **版本基线** 填写本仓库的基线 commit:<`3b36fe3`(例如 `b70d188`)|`3b36fe3`(例如 `e0882c7`)>,由持有门禁结果的提交者在合并该批改动时更新。
|
||||
> **版本基线** 填写本仓库的基线 commit:<`88f0923`(例如 `b70d188`)|`3b36fe3`(例如 `e0882c7`)>,由持有门禁结果的提交者在合并该批改动时更新。
|
||||
|
||||
> 校验命令的具体可复制版本写在 `docs/charter.md §6.2`(`GATE-P0`)与 `docs/charter.md §6.3`(`GATE-DOCS`)。
|
||||
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ if 带 verificationCode:
|
|||
- **回调 URL**: `https://messageweave.motofans.club/push/jmap`
|
||||
- **后端仓库**: `/home/okabe/Repo/messageweave`
|
||||
- **双 remote**: `origin`(motofans.club)+ `upstream`(GitHub fork)
|
||||
- **测试基线**: Rust 104 passed / 0 failed / 4 ignored,GATE-DOCS 6/6 PASS
|
||||
- **测试基线**: Rust 105 passed / 0 failed / 4 ignored,GATE-DOCS 6/6 PASS
|
||||
- **最新 commit**: `f9160c0`(已 push 双 remote)
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ cd /home/okabe/Repo/messageweave && docker run --rm --user 1000:1000 \
|
|||
bash -lc 'export PATH=/usr/local/cargo/bin:$PATH; cargo fmt --all -- --check && cargo check --locked && cargo clippy --locked --all-targets -- -D warnings && cargo test --locked 2>&1 | tail -12'
|
||||
```
|
||||
|
||||
**Current baseline: 104 passed / 0 failed / 4 ignored** (Add 4 new cursor parsing and walk paging and retest after single test; ignored: `real_server_tests::session_list_and_read_smoke` and `debug::tests::debug_config_reports_timezone_of_business_configured_app` require external real JMAP Server credentials, `real_redis_ttl_tests::ttl_claim_dedup_sets_the_exactly_requested_expiry` and `real_redis_ttl_tests::ttl_consent_and_retry_landing_on_real_redis` require `REDIS_TEST_URL`).
|
||||
**Current baseline: 105 passed / 0 failed / 4 ignored** (Add 4 cursor/walk tests + 1 `/api/status` backend-label self-report test, retested 2026-10-14; ignored: `real_server_tests::session_list_and_read_smoke` and `debug::tests::debug_config_reports_timezone_of_business_configured_app` require external real JMAP Server credentials, `real_redis_ttl_tests::ttl_claim_dedup_sets_the_exactly_requested_expiry` and `real_redis_ttl_tests::ttl_consent_and_retry_landing_on_real_redis` require `REDIS_TEST_URL`).
|
||||
|
||||
**Note**: The bash `-lc` script of `docker run` must be wrapped in **single quotes**. Using double quotes will first expand `$PWD` / `$PATH` on the host, and cargo will not be found in the container.
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ cd /home/okabe/Repo/messageweave && docker run --rm --user 1000:1000 \
|
|||
bash -lc 'export PATH=/usr/local/cargo/bin:$PATH; cargo fmt --all -- --check && cargo check --locked && cargo clippy --locked --all-targets -- -D warnings && cargo test --locked 2>&1 | tail -12'
|
||||
```
|
||||
|
||||
**当前基线:104 passed / 0 failed / 4 ignored**(新增 4 个游标解析与 walk 分页单测后复测;ignored:`real_server_tests::session_list_and_read_smoke` 与 `debug::tests::debug_config_reports_timezone_of_business_configured_app` 需外部真实 JMAP 服务器凭据,`real_redis_ttl_tests::ttl_claim_dedup_sets_the_exactly_requested_expiry` 与 `real_redis_ttl_tests::ttl_consent_and_retry_landing_on_real_redis` 需 `REDIS_TEST_URL`)。
|
||||
**当前基线:105 passed / 0 failed / 4 ignored**(新增 4 个游标解析与 walk 分页单测 + 1 个 `/api/status` backend 标签自报单测后复测,2026-10-14;ignored:`real_server_tests::session_list_and_read_smoke` 与 `debug::tests::debug_config_reports_timezone_of_business_configured_app` 需外部真实 JMAP 服务器凭据,`real_redis_ttl_tests::ttl_claim_dedup_sets_the_exactly_requested_expiry` 与 `real_redis_ttl_tests::ttl_consent_and_retry_landing_on_real_redis` 需 `REDIS_TEST_URL`)。
|
||||
|
||||
**注意**:`docker run` 的 bash `-lc` 脚本必须用**单引号**包裹。用双引号会先在宿主机展开 `$PWD` / `$PATH`,容器内找不到 cargo。
|
||||
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@ The design target form once included six additional variants: `Jmap(#[from] jmap
|
|||
- axum adopts **0.8** (`ARCH-AXUM-08`); if subsequent review decides to adjust the version, Cargo.toml will prevail and this section will be synchronized.
|
||||
- Currently SSE/WebSocket/long polling/SQLite/local volumes (`C-NO-LONG-CONN`/`NG-SQLITE-PERSIST`/`NG-LOCAL-VOLUME`) are not implemented; entrance authentication (`R1`/`SAF-AUTH-*`) is implemented as a fail-closed hard access control, and the Push, Streams worker and `/reconcile` business paths after authentication have been implemented.
|
||||
|
||||
**Phase 0 P0 Gate (`GATE-P0`) - Passed. It was 45 passed / 0 failed / 1 ignored when it was first frozen, and has continued to grow in subsequent rounds ④–⑥. The current baseline is 104 passed / 0 failed / 4 ignored (2026-10-13 retest; see the `TEST_BASELINE` line of `docs/charter.md` for the authoritative value). The following are the criteria at the time of stage 0, which are retained for historical records: **
|
||||
**Phase 0 P0 Gate (`GATE-P0`) - Passed. It was 45 passed / 0 failed / 1 ignored when it was first frozen, and has continued to grow in subsequent rounds ④–⑥. The current baseline is 105 passed / 0 failed / 4 ignored (2026-10-14 retest; see the `TEST_BASELINE` line of `docs/charter.md` for the authoritative value). The following are the criteria at the time of stage 0, which are retained for historical records: **
|
||||
1. `cargo fmt --check` passes (no format difference).
|
||||
2. `cargo clippy --all-targets -- -D warnings` passes (zero warnings; crate-level `allow` is disabled).
|
||||
3. `cargo test` passed (including routing/configuration minimum test).
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@ pub enum BotError {
|
|||
- axum 采用 **0.8**(`ARCH-AXUM-08`);如后续审核决定调整版本,以 Cargo.toml 为准并同步本节。
|
||||
- 当前不实现 SSE/WebSocket/长轮询/SQLite/本地卷(`C-NO-LONG-CONN`/`NG-SQLITE-PERSIST`/`NG-LOCAL-VOLUME`);入口鉴权(`R1`/`SAF-AUTH-*`)作为 fail-closed 硬门禁落地,鉴权之后的 Push、Streams worker 和 `/reconcile` 业务路径已实现。
|
||||
|
||||
**阶段0 P0 门禁(`GATE-P0`)——已通过。首次冻结时为 45 passed / 0 failed / 1 ignored,此后随 ④–⑥ 轮实现持续增长,当前基线为 104 passed / 0 failed / 4 ignored(2026-10-13 复测;权威值见 `docs/charter.md` 的 `TEST_BASELINE` 行)。以下为阶段0 当时的判据,保留作历史记录:**
|
||||
**阶段0 P0 门禁(`GATE-P0`)——已通过。首次冻结时为 45 passed / 0 failed / 1 ignored,此后随 ④–⑥ 轮实现持续增长,当前基线为 105 passed / 0 failed / 4 ignored(2026-10-14 复测;权威值见 `docs/charter.md` 的 `TEST_BASELINE` 行)。以下为阶段0 当时的判据,保留作历史记录:**
|
||||
1. `cargo fmt --check` 通过(无格式差异)。
|
||||
2. `cargo clippy --all-targets -- -D warnings` 通过(零告警;禁 crate 级 `allow`)。
|
||||
3. `cargo test` 通过(含路由/配置最小测试)。
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ The TTL green light for real machines has already been passed using the Upstash
|
|||
| 3 | Telegram inbound / Stalwart `PushSubscription` joint debugging | Closed (real traffic has been driven, please see `README.md` §3.7 for operation steps) |
|
||||
| 4 | `/worker` is not in the deployment document | Closed (`README.md` §3.10 has been added) |
|
||||
|
||||
Access control: `cargo fmt --check` / `cargo check --locked` / `cargo clippy --locked --all-targets -- -D warnings` all green; `cargo test --locked` **104 passed / 0 failed / 4 ignored** (2 TTL assertions out of 4 `#[ignore]` have been run with real Upstash: `REDIS_TEST_URL=… cargo test --locked -- --ignored ttl` → **2 passed / 0 failed**; the remaining 2 require real JMAP servers, this capability has been verified in staging joint debugging); documentation gate is 6/6 PASS, including 72 line number anchor non-null verifications.
|
||||
Access control: `cargo fmt --check` / `cargo check --locked` / `cargo clippy --locked --all-targets -- -D warnings` all green; `cargo test --locked` **105 passed / 0 failed / 4 ignored** (2 TTL assertions out of 4 `#[ignore]` have been run with real Upstash: `REDIS_TEST_URL=… cargo test --locked -- --ignored ttl` → **2 passed / 0 failed**; the remaining 2 require real JMAP servers, this capability has been verified in staging joint debugging); documentation gate is 6/6 PASS, including 49 line number anchor non-null verifications.
|
||||
|
||||
Item 5 is not within the stage goal: multi-account product decision-making, which has been determined not to be done by the user on 2026-09-28. The decision boundary and future changes will be discussed in §3.
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ TTL 那条真机绿灯已经用你给的 Upstash URL 跑过了(见 §1),
|
|||
| 3 | Telegram 入站 / Stalwart `PushSubscription` 联调 | 已关闭(真实流量已驱动,操作步骤见 `README.md` §3.7) |
|
||||
| 4 | `/worker` 未在部署文档里 | 已关闭(`README.md` §3.10 已补) |
|
||||
|
||||
门禁:`cargo fmt --check` / `cargo check --locked` / `cargo clippy --locked --all-targets -- -D warnings` 全绿;`cargo test --locked` **104 passed / 0 failed / 4 ignored**(4 个 `#[ignore]` 里 2 个 TTL 断言已用真实 Upstash 跑过:`REDIS_TEST_URL=… cargo test --locked -- --ignored ttl` → **2 passed / 0 failed**;剩 2 个需要真实 JMAP 服务器,该能力已在 staging 联调验证);文档门 6/6 全绿,含 72 处行号锚点非空校验。
|
||||
门禁:`cargo fmt --check` / `cargo check --locked` / `cargo clippy --locked --all-targets -- -D warnings` 全绿;`cargo test --locked` **105 passed / 0 failed / 4 ignored**(4 个 `#[ignore]` 里 2 个 TTL 断言已用真实 Upstash 跑过:`REDIS_TEST_URL=… cargo test --locked -- --ignored ttl` → **2 passed / 0 failed**;剩 2 个需要真实 JMAP 服务器,该能力已在 staging 联调验证);文档门 6/6 全绿,含 49 处行号锚点非空校验。
|
||||
|
||||
第 5 项不在阶段目标内:多账号产品决策,2026-09-28 已由用户定为不做,决定边界与将来要做的改动面见 §3。
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue