文件最后提交记录最后更新时间
docs: 文档链接全面修复及工具迁移至ai-dev/tools - 迁移check-doc-links.mjs从ai-tools/到ai-dev/tools/,创建工具索引README - 修复docs-for-ai BOUNDARY违规:project-context和ai-defaults去除ai-dev反引号引用 - 修复ai-dev guide文档示例引用:analysis/bugs/discussions/design指南改用已存在文件 - 修复活跃计划/design文档断链:子模块路径加组前缀(如nop-job-core→nop-job/nop-job-core) - 设计文档路径修正:nop-stream设计文档加子目录前缀 - 设计文档新增引用约束:禁止引用discussion/analysis等时效性文档 - 工具skip规则改为精确白名单SKIP_TARGETS+外部项目前缀SKIP_PREFIXES - 历史文件(logs/analysis/audits/archive/completed plans)自动跳过BROKEN_LINK - 最终验证:node ai-dev/tools/check-doc-links.mjs --strict exit code 0 8 天前
docs(design): 重组 relation writeMode 设计文档至 crud 目录 - 将 relation-write-mode-design.md 从 relation-write-mode/ 移至 crud/ 目录 1 个月前
66: nop-stream error handling hardening — fix P1 issues, unify exceptions, English ErrorCodes Phase 1 (P1 fixes): - MalformedPatternException now extends StreamRuntimeException (was RuntimeException) - TwoPhaseCommitSinkFunction.restoreFromEpoch rollback failure now LOG.warn (was silently swallowed) - GraphModelCheckpointExecutor.triggerTerminalSavepoint now throws StreamException on failure Phase 2 (ErrorCode English): - NopStreamErrors: all 10 messages translated from Chinese to English - NopCepErrors: all 3 messages translated from Chinese to English Phase 3 (IllegalStateException unified): - StreamExecutionEnvironment: 9 IllegalStateException → StreamException(ERR_STREAM_INVALID_STATE) - TaskExecutor: 3 IllegalStateException → StreamException - Task/SubtaskTask.closeOperatorChains: closing exceptions now propagate to this.error New tests: TestMalformedPatternException, TestTwoPhaseCommitSinkFunction, TestErrorCodeMessagesEnglish All 307+ tests pass. Closure audit verified. Audit: 7-dimension deep audit (01/02/09/15/16/17) — results in ai-dev/audits/2026-05-27-deep-audit-nop-stream-r1/ 1 天前
58: update design doc and daily log for round 2 work - Update nop-code README.md implementation status - Add round 2 log entries (TS call graph, Java Record, Python docstring, semantic edges) 7 天前
docs: 文档链接全面修复及工具迁移至ai-dev/tools - 迁移check-doc-links.mjs从ai-tools/到ai-dev/tools/,创建工具索引README - 修复docs-for-ai BOUNDARY违规:project-context和ai-defaults去除ai-dev反引号引用 - 修复ai-dev guide文档示例引用:analysis/bugs/discussions/design指南改用已存在文件 - 修复活跃计划/design文档断链:子模块路径加组前缀(如nop-job-core→nop-job/nop-job-core) - 设计文档路径修正:nop-stream设计文档加子目录前缀 - 设计文档新增引用约束:禁止引用discussion/analysis等时效性文档 - 工具skip规则改为精确白名单SKIP_TARGETS+外部项目前缀SKIP_PREFIXES - 历史文件(logs/analysis/audits/archive/completed plans)自动跳过BROKEN_LINK - 最终验证:node ai-dev/tools/check-doc-links.mjs --strict exit code 0 8 天前
feat(nop-nosql): implement business pattern layer with 6 patterns + primitive layer Implement Plan 23: Nop NoSQL business pattern layer Core module (nop-nosql-core): - Add 6 business pattern interfaces: INosqlQueue, INosqlLock, INosqlRateLimiter, INosqlRanking, INosqlCounter, INosqlSessionStore - Add data classes: RateLimiterConfig, RankingEntry, RateLimitResult, ZSetEntry - Expand INosqlSetOperations and INosqlZSetOperations with full method definitions - Add 6 factory methods to INosqlService - Register all 5 Lua scripts in RedisScripts Lettuce module (nop-nosql-lettuce): - Implement LettuceListOperations, LettuceSetOperations, LettuceZSetOperations, LettuceHashOperations - Implement LettuceLock (SET NX PX + Lua CAS), LettuceCounter (INCRBY + GETSET), LettuceQueue (RPUSH/LPOP) - Implement LettuceRateLimiter (rate_limit.lua token bucket), LettuceRanking (ZSet operations), LettuceSessionStore (Hash + TTL) - Fix 3 sync stubs in LettuceMessageService (putIfAbsent, getAndSet, removeIfMatch now delegate to async + join) - Fix putIfAbsentOrMatchExAsync (wire Lua script) - All factory methods now return usable implementations (no more null) - Add 30 Testcontainers tests (Docker-guarded with disabledWithoutDocker) Design docs: - Add architecture.md with full design decisions - Add README.md with module overview - Update plan status to completed 14 天前
docs: 更新开发日志和nop-stream设计文档 - 06-01和06-02开发日志 - checkpoint-design新增检查点恢复设计 - connector-design新增连接器抽象设计 - state-management-design更新状态后端设计 - window-design大幅更新窗口算子设计 1 天前
docs: 文档链接全面修复及工具迁移至ai-dev/tools - 迁移check-doc-links.mjs从ai-tools/到ai-dev/tools/,创建工具索引README - 修复docs-for-ai BOUNDARY违规:project-context和ai-defaults去除ai-dev反引号引用 - 修复ai-dev guide文档示例引用:analysis/bugs/discussions/design指南改用已存在文件 - 修复活跃计划/design文档断链:子模块路径加组前缀(如nop-job-core→nop-job/nop-job-core) - 设计文档路径修正:nop-stream设计文档加子目录前缀 - 设计文档新增引用约束:禁止引用discussion/analysis等时效性文档 - 工具skip规则改为精确白名单SKIP_TARGETS+外部项目前缀SKIP_PREFIXES - 历史文件(logs/analysis/audits/archive/completed plans)自动跳过BROKEN_LINK - 最终验证:node ai-dev/tools/check-doc-links.mjs --strict exit code 0 8 天前
docs: 文档链接全面修复及工具迁移至ai-dev/tools - 迁移check-doc-links.mjs从ai-tools/到ai-dev/tools/,创建工具索引README - 修复docs-for-ai BOUNDARY违规:project-context和ai-defaults去除ai-dev反引号引用 - 修复ai-dev guide文档示例引用:analysis/bugs/discussions/design指南改用已存在文件 - 修复活跃计划/design文档断链:子模块路径加组前缀(如nop-job-core→nop-job/nop-job-core) - 设计文档路径修正:nop-stream设计文档加子目录前缀 - 设计文档新增引用约束:禁止引用discussion/analysis等时效性文档 - 工具skip规则改为精确白名单SKIP_TARGETS+外部项目前缀SKIP_PREFIXES - 历史文件(logs/analysis/audits/archive/completed plans)自动跳过BROKEN_LINK - 最终验证:node ai-dev/tools/check-doc-links.mjs --strict exit code 0 8 天前
docs: 更新ai-dev目录结构和元数据 - 新增ai-dev/README.md(目录总览和路由入口) - 新增ai-dev/audits/README.md(审计目录规范) - logs/index.md补充05-18~05-24日志条目 - plans/00-guide修正Sources引用路径 - design/00-guide新增命名规范、推荐模板、与docs-for-ai关系 - design/README.md更新nop-code和nop-job状态 8 天前
README.md

Design Docs Index

Purpose

ai-dev/design/ is the curated home for Nop Entropy's architecture decisions, usage contracts, and requirement specs that serve as the attractor layer for AI-driven development.

This subtree carries:

  • governing principles that define the stable direction of the architecture
  • subsystem design docs that record architecture decisions, rejected alternatives, usage contracts (meter names, API naming, module boundaries), and requirement specs
  • cross-cutting constraints that apply across subsystems

This subtree does not carry execution history, migration diaries, rejected alternatives presented as historical narrative, or code-level details. Put those in ai-dev/analysis/, ai-dev/plans/, ai-dev/logs/, or ai-dev/discussions/.

Design docs must explain why the current design exists, what constraints it preserves, and what nearby misreadings it rejects. The rule is not "conclusion only". The rule is "current-design rationale only".

Hierarchy

1. Writing Guide

  • 00-design-writing-guide.md

Role: defines what belongs in design docs, what does not, and the pseudocode judgment standard.

2. Cross-Cutting Constraints

  • code-quality/checkstyle-configuration.md — static analysis rules

3. Subsystem Design

Each subsystem directory contains architecture decisions and usage contracts for a bounded area. Subsystems with a README.md define their own internal layering and reading order.

Directory Subsystem README Status
nop-ai-agent/ AI Agent DSL + Engine README active — 4-layer structure (DSL / Engine / Semantics / Strategy)
nop-job/ Job Scheduling (not yet created) active — invoker routing, block strategy, metrics
nop-code/ Code Indexing & Semantic Analysis README active — multi-language index, CRG feature gap, query API, semantic edges
nop-stream/ Stream Processing README active — architecture, core engine, CEP, Flink/SeaTunnel comparison
nop-nosql/ NoSQL Data Access README active — business-semantic NoSQL abstraction, Redis driver comparison
crud/ CRUD Relation Write Mode (not yet created) active
word-editor/ Online Word Editor Model (not yet created) active

Precedence Model

  1. Nop platform principles (reversible computation, model-first, delta customization) take top-level precedence. These are codified in docs-for-ai/00-start-here/ai-defaults.md and the platform's theoretical foundations.
  2. Subsystem design docs keep local precedence inside their own subject area. For example, nop-job/invoker-design.md owns the routing contract for job invokers.
  3. When two subsystem designs make conflicting claims about a shared boundary, the conflict must be resolved by updating the docs — the older or less precise doc yields.
  4. docs-for-ai/ owns platform usage knowledge (API, conventions, development patterns). ai-dev/design/ owns architecture decisions for platform development. When both cover the same topic, docs-for-ai/ is the usage-facing source of truth; ai-dev/design/ is the decision-facing source of truth.

Relationship to docs-for-ai/

docs-for-ai/ ai-dev/design/
Platform usage knowledge: how to use Nop to build apps Platform development decisions: how and why Nop is built this way
API, conventions, development patterns, runbooks Architecture decisions, usage contracts, requirement specs
Source of truth for app developers Source of truth for platform developers
Normative — describes what works today Normative — describes why it works this way and what it must preserve

Relationship to docs/

docs/ is human-written historical documentation (tutorials, theory, API docs). It is read-only for AI development purposes. ai-dev/design/ does not replace or duplicate docs/; it records architecture decisions that docs/ was never designed to capture.