范围:仅新增/刷新本任务自证产物,未改动 tests/m5a_live_db_harness.py 代码本体 (QC#2/#3 三项修复已在上一批次落码,并由收口提交 52c3cc2 纳入 HEAD,工作树对该文件干净)。 - logs/m5a-qc236-verify.md: A1~A5 逐条命令实测 + 592→622 行(+57/-27)增量内容说明 (响应 QC#1 摘要与磁盘/git 一致性更正)+ 崩溃点/凭据外置/sandbox 段点位对照。 - logs/m5a-run-meta.txt: 随本次真实库运行刷新的运行元信息。 - 完整 stdout+stderr 证据落 logs/m5a-live-db-harness-run.log(56 行/5951 字节, 末行 LIVE DB HARNESS ALL PASS,RC=0,口令泄露复查 0 命中);该文件按仓库既有 .gitignore 政策 *.log 不入库,以磁盘+摘要引用方式留存。 禁 git add -A;未碰 scripts/selfcheck_m5a.py、未碰 docs/02-develop;仅本地收口,未 push。
26 lines
2.3 KiB
Plaintext
26 lines
2.3 KiB
Plaintext
=== M5a 实测运行元信息(logs/m5a-run-meta.txt) ===
|
||
generated_at : 2026-09-22 19:56:19 +0800
|
||
cwd : modules/pbl_evidence
|
||
interpreter : Python 3.10.12 (/usr/bin/python3)
|
||
说明 : 本文件记录本次被运行/被引用的 .py 的路径、字节数、sha256 与 python -m py_compile 真实 rc(rc=0 即语法编译通过)。
|
||
: 本次任务范围仅「运行 + 落日志」,未修改任何源码逻辑,未执行任何 git 操作(add/commit/push 均无)。
|
||
: 环境:无可用 DB(PBL_EVIDENCE_TEST_DB / PBL_M5A_DB 未设置)→ 无 DB,仅跑 fail-closed 路径。
|
||
|
||
PATH BYTES RC PYC SHA256(16)
|
||
scripts/selfcheck_m5a.py 43575 0 OK 65d4d0acd0bfba00
|
||
tests/test_m5a_idempotency.py 14706 0 OK ef214767c6b802dd
|
||
tests/m5a_live_db_harness.py 28648 0 OK 01b45a0af96b5f60
|
||
|
||
--- 本次产出的日志文件(真实 stdout+stderr 重定向,非占位、非引擎 mtime 清单) ---
|
||
logs/m5a-selfcheck-run.log 4998 bytes sha256=176a6c635ca03ff1
|
||
logs/m5a-selfcheck-run.prev.log 4682 bytes sha256=75001945d581d5e1
|
||
logs/m5a-idempotency-run.log 10277 bytes sha256=b98766f25d914282
|
||
logs/m5a-run-meta.txt self (本文件自身不断言字节数,避免自引用矛盾;现场以 ls -la 为准)
|
||
|
||
--- 运行结果摘要(真实 rc,逐条可回溯到上面日志正文) ---
|
||
python3 scripts/selfcheck_m5a.py : RC=1 (12 项 11 PASS / 1 FAIL;FAIL=#11 运行证据日志门禁,判据为 docs/02-develop/m5a-live-db-harness.log 含 traceback,属上游证据日志口径问题,非本次运行引入)
|
||
python3 -m pytest tests/test_m5a_idempotency.py -v -rs : RC=0 (8 passed, 1 skipped;skip 原因=无 DB,仅跑 fail-closed 路径)
|
||
python3 tests/m5a_live_db_harness.py : RC=0 (C-3.1~C-3.4 fail-closed 全 [PASS] + IDM.1~IDM.10 全 [PASS],末行 LIVE DB HARNESS ALL PASS;注:harness 按设计回落读取 projects/pbls/env/test.json 的 db.sandbox 凭据连上本地沙箱 MariaDB,用后 DROP DATABASE,故非「无 DB」路径,已在 idempotency 日志头部如实更正)
|
||
logs/m5a-selfcheck-run.prev.log : 覆盖式写入前 cp 保留的上一次基线输出(对照用)
|
||
# RC=0
|