Commit Graph

3 Commits

Author SHA1 Message Date
Chiguyong c429851c97 docs: 沉淀 PEP 562 re-export 架构模式 + 方案文档
ce-compound (Full mode) 沉淀本次架构修复经验:
- docs/solutions/architecture-patterns/circular-import-pep562-lazy-reexport.md
  knowledge track 文档,覆盖 Context/Guidance/Why This Matters/When to Apply/
  Examples,记录 PEP 562 模块级 __getattr__ 延迟 re-export 打破循环依赖的
  模式、一次性缓存机制、27 调用方兼容性保护、__module__ 取舍。

同时提交:
- docs/plans/2026-07-06-003-fix-architecture-smell-and-test-gaps-plan.md
  ce-plan 产出的方案文档(4 个 Implementation Units)
- docs/solutions/logic-errors/gate-without-caller-silently-disables-feature.md
  之前会话沉淀的 gate-without-caller 经验
2026-07-06 23:51:20 +08:00
chiguyong 826b766af0 docs(solutions): record bitable agent tool parity patterns + final review findings
Add docs/solutions/architecture-patterns/bitable-agent-tool-parity-patterns.md
capturing three architecture patterns from U6 (R15a):
- Dual-sync action registration (KTD10): handlers dict + input_schema.enum
- 404-before-403 ownership check (KTD9): prevent existence leak via DELETE
- 409 last-view protection: prevent invalid zero-view table state

Update residual findings with DR-4 (TOCTOU race in delete_view) and DR-5
(_update_field silent type drop) surfaced in final pre-merge ce-code-review
pass. Both P2, neither blocks merge. Documented in the solutions doc under
Known Limitations with concrete fix paths.
2026-07-04 01:04:46 +08:00
chiguyong 71eaf8dc7c docs: add bitable security/reliability patterns solution doc + CONCEPTS.md
Deploy to Production / deploy (push) Has been cancelled Details
- docs/solutions/architecture-patterns/bitable-companion-service-security-reliability-patterns.md
  Knowledge-track doc capturing 10 security/reliability patterns from the
  bitable companion service (SSRF prevention, SQL injection, IDOR, atomic
  task claiming, cache invalidation, composite cursor, batch ops, async
  I/O safety, OOM prevention, internal token auth)

- CONCEPTS.md
  Seeded with 3 core domain nouns: Bitable, Field Ownership, Recalc

- AGENTS.md
  Added discoverability tips for docs/solutions/ and CONCEPTS.md
2026-06-25 01:25:06 +08:00