修改备注没有带入的问题

This commit is contained in:
andy
2026-09-29 15:43:15 +08:00
parent c2c71d35af
commit 2f0e6582d5
25 changed files with 5104 additions and 30 deletions

View File

@@ -0,0 +1,20 @@
# 酒店新增默认备注本地验证
此目录保存 2026-09-29 修复的不可变本地证据,不定义当前业务规则,也不是运行时输入。
## 结果
- 酒店原生选择后、资源/日期/数量事件前冻结所选行备注;省略备注继承该值,明确填写覆盖。其他行保持,已有酒店变更未填备注保持原记录。
- 默认备注保存前校验,v2 创建证据绑定原操作与备注摘要,fresh GET/只读回查验证持久值;缺失证据或保存后变化不报成功。历史 v1 回查保持原语义。单条与批量逐条均覆盖。
- 控制面 299/299 通过;插件/兼容测试共 452 项,沙箱中 450 项通过,2 项仅因本机监听 `EPERM` 失败,经批准解除该限制后定向重跑 2/2 通过。完整日志和定向结果均保留,没有隐藏失败日志。
- 类型检查、构建通过;同内容干净源码副本仓库检查 10/10 通过,ZIP 的 21 个文件已与当前插件源码逐字节比对。
- 原工作目录的仓库检查有两项既有卫生失败:`.idea/`、`.DS_Store`、历史日志。均保留不动;干净副本只排除这些已有杂项及秘密配置,未读取 `.env`。
- 发布插件/平台最低版本/mapping/ZIP 为 0.5.191。无 Schema、解析器、Skill、运营模板/DOCX 或数据库迁移变更。
- 未访问/写入真实 ERP,未部署、重启、扩展重载或外部发送。生产验收仍需更新后执行。
## 日志
- [控制面](control-plane-tests.txt)
- [插件/兼容完整沙箱结果](legacy-tests-sandbox.txt)、[HTTP 两项定向重跑](http-tests.txt)
- [干净副本仓库检查](repository-clean-tests.txt)、[原目录既有残留](repository-local-residue.txt)
- [类型检查](typecheck.txt)、[构建](build.txt)(成功时无输出)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
▶ business-system HTTP boundary
✔ returns the real AI connectivity probe from /api/status (19.389709ms)
✔ exposes /api/parse and no longer exposes /api/agent routes (4.931792ms)
✔ business-system HTTP boundary (25.077166ms)
ℹ tests 2
ℹ suites 1
ℹ pass 2
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 135.24725

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,70 @@
TAP version 13
# Subtest: root contains only governed long-lived entries
ok 1 - root contains only governed long-lived entries
---
duration_ms: 92.746625
type: 'test'
...
# Subtest: project docs are the sole active project memory
ok 2 - project docs are the sole active project memory
---
duration_ms: 19.769834
type: 'test'
...
# Subtest: temporary residue and report outputs do not pollute the repository
ok 3 - temporary residue and report outputs do not pollute the repository
---
duration_ms: 338.834166
type: 'test'
...
# Subtest: dist is an exact versioned release set with valid hashes
ok 4 - dist is an exact versioned release set with valid hashes
---
duration_ms: 21.956
type: 'test'
...
# Subtest: extension and release baselines agree
ok 5 - extension and release baselines agree
---
duration_ms: 5.963541
type: 'test'
...
# Subtest: packaged Skills and extension runtime match their project sources
ok 6 - packaged Skills and extension runtime match their project sources
---
duration_ms: 1081.545417
type: 'test'
...
# Subtest: active Markdown links resolve and current docs do not depend on rolling history
ok 7 - active Markdown links resolve and current docs do not depend on rolling history
---
duration_ms: 347.337041
type: 'test'
...
# Subtest: archive README indexes remain navigable
ok 8 - archive README indexes remain navigable
---
duration_ms: 145.497375
type: 'test'
...
# Subtest: single-source and generated-output boundaries remain explicit
ok 9 - single-source and generated-output boundaries remain explicit
---
duration_ms: 39.299333
type: 'test'
...
# Subtest: runtime image includes both LibreOffice document converters
ok 10 - runtime image includes both LibreOffice document converters
---
duration_ms: 1.320125
type: 'test'
...
1..10
# tests 10
# suites 0
# pass 10
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2460.424584

View File

@@ -0,0 +1,132 @@
TAP version 13
# Subtest: root contains only governed long-lived entries
not ok 1 - root contains only governed long-lived entries
---
duration_ms: 5.146542
type: 'test'
location: '/Users/andy/IdeaProjects/LWLT-AIBOT/tools/repository-hygiene.test.mjs:111:1'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly deep-equal:
+ actual - expected
+ [
+ '.DS_Store',
+ '.idea'
+ ]
- []
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected:
actual:
0: '.DS_Store'
1: '.idea'
operator: 'deepStrictEqual'
stack: |-
TestContext.<anonymous> (file:///Users/andy/IdeaProjects/LWLT-AIBOT/tools/repository-hygiene.test.mjs:114:10)
async Test.run (node:internal/test_runner/test:1054:7)
async startSubtestAfterBootstrap (node:internal/test_runner/harness:296:3)
...
# Subtest: project docs are the sole active project memory
ok 2 - project docs are the sole active project memory
---
duration_ms: 3.319083
type: 'test'
...
# Subtest: temporary residue and report outputs do not pollute the repository
not ok 3 - temporary residue and report outputs do not pollute the repository
---
duration_ms: 45.544084
type: 'test'
location: '/Users/andy/IdeaProjects/LWLT-AIBOT/tools/repository-hygiene.test.mjs:149:1'
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly deep-equal:
+ actual - expected
+ [
+ '.DS_Store',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/build.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/control-plane-tests.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/focused-tests.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/legacy-tests.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/repository-clean.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/repository-local-metadata.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/runtime-layout-smoke.log',
+ 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/typecheck.log',
+ 'chrome-extension/.DS_Store'
+ ]
- []
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected:
actual:
0: '.DS_Store'
1: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/build.log'
2: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/control-plane-tests.log'
3: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/focused-tests.log'
4: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/legacy-tests.log'
5: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/repository-clean.log'
6: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/repository-local-metadata.log'
7: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/runtime-layout-smoke.log'
8: 'archive/evidence/2026-09-14/arrangement-original-date-year-01a0858b/typecheck.log'
9: 'chrome-extension/.DS_Store'
operator: 'deepStrictEqual'
stack: |-
TestContext.<anonymous> (file:///Users/andy/IdeaProjects/LWLT-AIBOT/tools/repository-hygiene.test.mjs:153:10)
async Test.run (node:internal/test_runner/test:1054:7)
async Test.processPendingSubtests (node:internal/test_runner/test:744:7)
...
# Subtest: dist is an exact versioned release set with valid hashes
ok 4 - dist is an exact versioned release set with valid hashes
---
duration_ms: 5.366667
type: 'test'
...
# Subtest: extension and release baselines agree
ok 5 - extension and release baselines agree
---
duration_ms: 2.476417
type: 'test'
...
# Subtest: packaged Skills and extension runtime match their project sources
ok 6 - packaged Skills and extension runtime match their project sources
---
duration_ms: 137.733208
type: 'test'
...
# Subtest: active Markdown links resolve and current docs do not depend on rolling history
ok 7 - active Markdown links resolve and current docs do not depend on rolling history
---
duration_ms: 48.791875
type: 'test'
...
# Subtest: archive README indexes remain navigable
ok 8 - archive README indexes remain navigable
---
duration_ms: 27.249208
type: 'test'
...
# Subtest: single-source and generated-output boundaries remain explicit
ok 9 - single-source and generated-output boundaries remain explicit
---
duration_ms: 2.113625
type: 'test'
...
# Subtest: runtime image includes both LibreOffice document converters
ok 10 - runtime image includes both LibreOffice document converters
---
duration_ms: 0.471583
type: 'test'
...
1..10
# tests 10
# suites 0
# pass 8
# fail 2
# cancelled 0
# skipped 0
# todo 0
# duration_ms 377.6575

View File

@@ -0,0 +1,5 @@
# 2026-09-29 发布归档
此处为历史资料,不定义当前业务规则。
- [酒店默认备注修复前发布物](hotel-native-remark-01a0858b/README.md)

View File

@@ -0,0 +1,3 @@
# 酒店备注修复前发布物
只读历史发布物,不定义当前业务规则。0.5.190 ZIP 在归档前核对原发布清单哈希,原字节保留。当前版本与哈希以 [发布清单](../../../../dist/release-manifest.json) 为准。