scene-capability-engine 3.3.26 → 3.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,787 +3,176 @@
3
3
  [![npm version](https://badge.fury.io/js/scene-capability-engine.svg)](https://badge.fury.io/js/scene-capability-engine)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- > **⚠️ Important Clarification**: `scene-capability-engine` (`sce`) is an **npm package and CLI tool** for spec-driven development.
7
- > Primary command is `sce`. Compatibility aliases are preserved for migration.
8
-
9
- **SCE (Scene Capability Engine) is an ontology-aware scene orchestration engine for AI agents** across plan, generate, patch, verify, and release workflows.
10
-
11
- **🚀 NEW: Autonomous Control** - Let AI independently manage entire development workflows from requirements to delivery.
6
+ **SCE is a scene capability orchestration engine for AI-native software delivery.**
7
+ It provides a deterministic path from `goal -> scene -> spec -> patch -> verify -> release`.
12
8
 
13
9
  English | [简体中文](README.zh.md)
14
10
 
15
11
  ---
16
12
 
17
- ## What is sce?
18
-
19
- **SCE (Scene Capability Engine) is an ontology-aware scene orchestration engine for AI-assisted development.** It organizes project information into structured "Specs" (Requirements → Design → Tasks) and routes execution through plan → generate → patch → verify → release workflows.
20
-
21
- Think of sce as a **librarian for your AI assistant** - it organizes and presents project context so your AI tool knows exactly what you're building, why, and how.
22
-
23
- ### How it Works
24
-
25
- ```mermaid
26
- graph LR
27
- A[You create Specs] --> B[sce organizes context]
28
- B --> C[AI tool reads context]
29
- C --> D[AI generates better code]
30
- ```
31
-
32
- 1. **You create Specs** - Write requirements, design, and tasks in structured markdown files
33
- 2. **sce organizes context** - Exports formatted context optimized for AI tools
34
- 3. **AI tool reads context** - Your AI assistant understands your project structure
35
- 4. **AI generates better code** - Code that matches your design and requirements
36
-
37
- ### What sce is NOT
38
-
39
- - ❌ **Not a code generator** - sce doesn't write code; your AI tool does
40
- - ❌ **Not an IDE** - sce works alongside your existing development tools
41
- - ❌ **Not AI-specific** - Works with Claude, Cursor, Windsurf, Copilot, and any AI tool
42
- - ❌ **Not a replacement for documentation** - It's a structured way to organize project context
43
-
44
- ### Who Should Use sce?
45
-
46
- - ✅ Developers using AI coding assistants (Claude, Cursor, Copilot, etc.)
47
- - ✅ Teams wanting structured project documentation
48
- - ✅ Anyone building features that need clear requirements and design
49
- - ✅ Projects that benefit from spec-driven development
50
-
51
- ## Why sce Wins in AI Delivery
52
-
53
- | Advantage | sce Capability | Practical Impact |
54
- | --- | --- | --- |
55
- | Structure-first execution | Requirements → Design → Tasks + gate checks | Lower rework and fewer requirement drifts |
56
- | Autonomous close-loop delivery | One-command close loop (`auto close-loop`) | No step-by-step confirmation waits |
57
- | Multi-agent scale-out | DAG orchestration (`orchestrate run/status/stop`) | Parallel delivery without manual terminal juggling |
58
- | Auto portfolio decomposition | Master/Sub spec split + dependency wiring | Complex goals become executable parallel plans automatically |
59
- | Program self-healing closure | `auto close-loop-program` auto recovery + learned remediation memory | Failed/partial runs continue autonomously until bounded convergence |
60
- | Queue-driven autonomous runtime | `auto close-loop-controller` persistent queue drain | Program-scale backlogs continue without manual re-triggering |
61
- | Autonomous convergence governance | Program gate (`min-success-rate` + `max-risk-level`) + audit JSON output | Program completion is policy-verified and traceable |
62
- | Measurable outcomes | KPI automation (`value metrics snapshot/baseline/trend`) | Delivery quality can be tracked week-over-week |
63
- | Tool-agnostic adoption | Works across Claude/Cursor/Windsurf/Copilot | No lock-in to a single AI IDE |
64
- | Built-in governance | Docs governance, lock management, audit, env/workspace controls | Team collaboration stays auditable and stable |
65
-
66
- ### 90-Second Value Proof
67
-
68
- ```bash
69
- # 1) Adopt sce in current repo
70
- sce adopt
71
-
72
- # 2) Open primary scene session
73
- sce studio plan --scene scene.demo --from-chat session-demo --goal "demo workflow bootstrap" --json
13
+ ## Why SCE
74
14
 
75
- # 3) Generate Spec workflow draft
76
- sce spec bootstrap --name 01-00-demo-feature --scene scene.demo --non-interactive
15
+ SCE is designed for teams that want AI agents to deliver software end-to-end without losing control.
77
16
 
78
- # 4) Generate KPI input sample
79
- sce value metrics sample --out ./kpi-input.json --json
80
-
81
- # 5) Produce machine-readable KPI snapshot
82
- sce value metrics snapshot --input ./kpi-input.json --json
83
- ```
17
+ - Keep delivery aligned to requirements through Spec-first workflows.
18
+ - Scale from single-task execution to multi-agent program orchestration.
19
+ - Prevent silent drift with mandatory gates, ontology checks, and release evidence.
20
+ - Preserve local work history with timeline snapshots, not just Git pushes.
84
21
 
85
22
  ---
86
23
 
87
- ## Quick Start
88
-
89
- ### The Simplest Way (30 seconds) ⚡
90
-
91
- **Just tell your AI:**
24
+ ## Core Capabilities
92
25
 
93
- ```
94
- Install sce and use it to manage this project with Spec-driven development.
95
- ```
96
-
97
- **Your AI will:**
98
- 1. Install sce globally (`npm install -g scene-capability-engine`)
99
- 2. Adopt it in your project (`sce adopt`)
100
- 3. Read the methodology guide (`.sce/README.md`)
101
- 4. Start working according to Spec-driven approach
102
-
103
- **That's it!** Your AI handles everything. No manual steps needed.
26
+ | Capability | What SCE Provides | Outcome |
27
+ | --- | --- | --- |
28
+ | Scene + Spec model | Scene-governed sessions and Spec lifecycle (`requirements/design/tasks`) | Stable context across long AI runs |
29
+ | Studio workflow | `studio plan -> generate -> apply -> verify -> release` | Structured chat-to-release execution |
30
+ | Autonomous delivery | `auto close-loop`, `close-loop-program`, `close-loop-controller` | Unattended bounded convergence |
31
+ | Multi-agent orchestration | DAG scheduling, retries, 429 adaptive parallel control | Reliable parallel execution at scale |
32
+ | Domain/ontology governance | problem-domain chain + scene template + gate validation | Fewer semantic regressions |
33
+ | Problem closure loop | problem-domain map + chain + `problem-contract` + closure gate | Root-cause-first fixes with bounded convergence |
34
+ | Problem evaluation routing | Stage-level risk/evidence/readiness scoring with mandatory policy | Adaptive execution strategy with guarded apply/release |
35
+ | Local timeline safety | `timeline save/auto/list/show/restore/push` + key-event auto checkpoints | Recoverable local history |
36
+ | Errorbook-driven repair | Local + registry-backed error patterns and release gates | Faster diagnosis and safer fixes |
37
+ | Release governance | Git-managed gate, errorbook gate, handoff preflight, tag pipeline | Auditable, reproducible releases |
104
38
 
105
39
  ---
106
40
 
107
- ### Step-by-Step Guide (if you want details) 📋
108
-
109
- <details>
110
- <summary><b>Click to expand detailed steps</b></summary>
111
-
112
- #### Step 1: Install sce (30 seconds)
41
+ ## 3-Minute Quick Start
113
42
 
114
43
  ```bash
44
+ # 1) Install
115
45
  npm install -g scene-capability-engine
116
- ```
117
-
118
- Verify installation:
119
- ```bash
120
- sce --version
121
- ```
122
46
 
123
- #### Step 2: Adopt sce in Your Project (30 seconds)
124
-
125
- Navigate to your project directory and run:
126
-
127
- ```bash
128
- cd your-project
47
+ # 2) Adopt in your project
129
48
  sce adopt
130
- ```
131
-
132
- This creates a `.sce/` directory with:
133
- - `README.md` - Project development guide for AI
134
- - `specs/` - Where your Specs live
135
- - `steering/` - Development rules (optional)
136
-
137
- #### Step 3: Tell Your AI About the Methodology (30 seconds)
138
-
139
- **In your AI tool (Cursor, Claude, Windsurf, etc.), say:**
140
-
141
- ```
142
- Please read .sce/README.md to understand how this project works.
143
- ```
144
-
145
- **Your AI will learn:**
146
- - This project follows Spec-driven development
147
- - Every feature starts with a Spec (requirements + design + tasks)
148
- - How to work with this methodology
149
- - When to use sce commands
150
49
 
151
- #### Step 4: Start Building Features
152
-
153
- **Just ask your AI to implement features naturally:**
50
+ # 3) Open a primary scene session
51
+ sce studio plan --scene scene.demo --from-chat session-demo --goal "bootstrap first feature" --json
154
52
 
53
+ # 4) Bootstrap and run one Spec
54
+ sce spec bootstrap --name 01-00-first-feature --scene scene.demo --non-interactive
55
+ sce spec pipeline run --spec 01-00-first-feature --scene scene.demo
155
56
  ```
156
- I need a user login feature with email and password.
157
- ```
158
-
159
- **Your AI will automatically:**
160
- 1. Create a Spec with requirements, design, and tasks
161
- 2. Implement according to the Spec
162
- 3. Update task status as work progresses
163
- 4. Use sce commands internally (you don't need to run them)
164
-
165
- **Example conversation:**
166
- - **You**: "I need user login with email and password"
167
- - **AI**: "I'll create a Spec for this. Let me define the requirements..."
168
- - **AI**: "Here's the design... Now I'll implement task 1.1..."
169
- - **AI**: "Task 1.1 complete. Moving to task 1.2..."
170
-
171
- </details>
172
-
173
- ---
174
-
175
- **Key insight:** You don't "use sce" - your project "follows Spec-driven methodology" and sce helps enforce it. The AI handles all the sce commands for you.
176
-
177
- ### Step 5: Next Steps (30 seconds)
178
-
179
- - 📖 Read the [Quick Start Guide](docs/quick-start.md) for detailed examples
180
- - 🔧 Check your tool's integration guide: [Cursor](docs/tools/cursor-guide.md) | [Claude](docs/tools/claude-guide.md) | [Windsurf](docs/tools/windsurf-guide.md)
181
- - 💡 Learn about [Integration Modes](docs/integration-modes.md)
182
-
183
- ---
184
-
185
- ## Core Concepts
186
-
187
- ### Specs
188
57
 
189
- A **Spec** is a structured description of a feature or project component. Each Spec contains:
58
+ For autonomous execution:
190
59
 
191
- - **Requirements** (`requirements.md`) - What you're building and why
192
- - **Design** (`design.md`) - How you'll build it (architecture, APIs, components)
193
- - **Tasks** (`tasks.md`) - Step-by-step implementation checklist
194
-
195
- ### Context Export
196
-
197
- **Context export** transforms your Spec into a format optimized for AI tools. It includes:
198
- - All requirements, design decisions, and tasks
199
- - Project structure and conventions
200
- - Steering rules (optional) for AI behavior
201
-
202
- ### Integration Modes
203
-
204
- sce supports three ways to work with AI tools:
205
-
206
- 1. **Direct Workspace Integration** - AI tool directly accesses sce in your workspace
207
- 2. **Manual Export** - You export and paste context (Claude, ChatGPT, Cursor)
208
- 3. **Watch Mode** - Automatic context updates on file changes (all tools)
209
-
210
- Learn more: [Integration Modes Guide](docs/integration-modes.md)
211
-
212
- ---
213
-
214
- ## Integration with Your AI Tool
215
-
216
- sce works with any AI coding assistant. Choose your tool for specific guidance:
217
-
218
- ### Popular AI Tools
219
-
220
- - **[Cursor](docs/tools/cursor-guide.md)** - IDE with AI pair programming
221
- - **[Claude Code](docs/tools/claude-guide.md)** - Anthropic's coding assistant
222
- - **[Windsurf](docs/tools/windsurf-guide.md)** - AI agent with command execution
223
- - **[VS Code + Copilot](docs/tools/vscode-guide.md)** - GitHub Copilot integration
224
- - **[Generic AI Tools](docs/tools/generic-guide.md)** - Works with any AI assistant
225
-
226
- ### Integration Workflow
227
-
228
- ```mermaid
229
- sequenceDiagram
230
- participant You
231
- participant AI Tool
232
- participant sce
233
- You->>AI Tool: "I have a Spec for user-login, implement task 1.1"
234
- AI Tool->>sce: sce context export user-login
235
- sce->>AI Tool: Spec content (requirements, design, tasks)
236
- AI Tool->>AI Tool: Generate code following Spec
237
- AI Tool->>You: Here's the implementation
238
- AI Tool->>sce: Update tasks.md (mark task complete)
60
+ ```bash
61
+ sce auto close-loop "deliver customer + order + inventory baseline"
239
62
  ```
240
63
 
241
- **Key insight:** You stay in your AI tool. The AI reads the Spec and generates code that matches your design.
242
-
243
64
  ---
244
65
 
245
- ## Documentation
246
-
247
- ### Getting Started
248
- - 📖 **[Quick Start Guide](docs/quick-start.md)** - Detailed 5-minute tutorial
249
- - 🤔 **[FAQ](docs/faq.md)** - Frequently asked questions
250
- - 🔧 **[Troubleshooting](docs/troubleshooting.md)** - Common issues and solutions
251
-
252
- ### Core Guides
253
- - 📋 **[Spec Workflow](docs/spec-workflow.md)** - Understanding Specs in depth
254
- - 🔢 **[Spec Numbering Strategy](docs/spec-numbering-guide.md)** - How to number your Specs
255
- - 📄 **[Document Governance](docs/document-governance.md)** - Automated document management
256
- - 🌍 **[Environment Management](docs/environment-management-guide.md)** - Multi-environment configuration
257
- - 📦 **[Multi-Repository Management](docs/multi-repo-management-guide.md)** - Manage multiple Git repositories
258
- - 🎭 **[Scene Runtime](docs/scene-runtime-guide.md)** - Template engine, quality pipeline, ontology, Moqui ERP
259
- - ♻️ **[Moqui Standard Rebuild](docs/moqui-standard-rebuild-guide.md)** - Rebuild bootstrap bundle + page-copilot contract from metadata
260
- - 🤖 **[Multi-Agent Coordination](docs/multi-agent-coordination-guide.md)** - Parallel agent coordination
261
- - 📈 **[Value Observability](docs/value-observability-guide.md)** - KPI snapshot, baseline, trend, gate-ready evidence
262
- - 🔌 **[Integration Modes](docs/integration-modes.md)** - Three ways to integrate sce
263
- - 📝 **[Command Reference](docs/command-reference.md)** - All sce commands
264
-
265
- ### Tool-Specific Guides
266
- - [Cursor Integration](docs/tools/cursor-guide.md)
267
- - [Claude Code Integration](docs/tools/claude-guide.md)
268
- - [Windsurf Integration](docs/tools/windsurf-guide.md)
269
- - [VS Code + Copilot Integration](docs/tools/vscode-guide.md)
270
- - [Generic AI Tools](docs/tools/generic-guide.md)
271
-
272
- ### Examples
273
- - [API Feature Example](docs/examples/add-rest-api/) - RESTful API Spec
274
- - [UI Feature Example](docs/examples/add-user-dashboard/) - React dashboard Spec
275
- - [CLI Feature Example](docs/examples/add-export-command/) - CLI command Spec
276
-
277
- ### Advanced Topics
278
- - [Adoption Guide](docs/adoption-guide.md) - Adopting sce in existing projects
279
- - [Upgrade Guide](docs/upgrade-guide.md) - Version upgrade instructions
280
- - [Release Archive](docs/releases/README.md) - Versioned release notes and validation report index
281
- - [GitHub Releases](https://github.com/heguangyong/scene-capability-engine/releases) - Latest published versions and release assets
282
- - [Release Checklist](docs/release-checklist.md) - Repeatable pre-release verification flow
283
- - [Manual Workflows](docs/manual-workflows-guide.md) - Step-by-step workflows
284
- - [Developer Guide](docs/developer-guide.md) - Contributing and extending sce
285
-
286
- ### Complete Documentation
287
- - 📚 **[Documentation Index](docs/README.md)** - All documentation in one place
288
-
289
- ---
66
+ ## Recommended Workflows
290
67
 
291
- ## Key Features
292
-
293
- ### Current Baseline
294
- - **Default hard gate for handoff preflight**: Release flow enforces `sce auto handoff preflight-check --require-pass --json` and blocks publish on failures.
295
- - **Takeover-first execution**: Once sce is adopted, autonomous and orchestrated flows are designed to run end-to-end without per-step confirmation loops.
296
- - **Tag-driven release**: Pushing `v*` tags to GitHub triggers automated test, release evidence gates, and npm publish workflow.
297
-
298
- ### Autonomous Control 🚀
299
- - **Fully Autonomous Execution**: AI independently manages entire development workflows from requirements to delivery
300
- - **Closed-Loop Program Execution**: `sce auto close-loop "<goal>"` runs from goal decomposition to terminal orchestration state without manual confirmation gates
301
- - **Automatic Master/Sub Portfolio Split**: Large goals are auto-split into dependency-wired sub-specs and coordinated by a master spec
302
- - **Semantic Decomposition + Live Stream**: Clause/category-aware goal parsing plus live orchestration status stream (disable via `--no-stream`)
303
- - **Session Resume + Retention Hygiene**: Resume interrupted runs with `--resume interrupted` (or `--resume latest`) and maintain archives via `sce auto session list/prune`, `sce auto batch-session list/prune`, and `sce auto controller-session list/prune`
304
- - **Intelligent Error Recovery**: Automatically diagnose and fix errors with 3 retry attempts and learning system
305
- - **Strategic Checkpoints**: Pause only at meaningful milestones (phase boundaries, fatal errors, external resources)
306
- - **Continuous Task Execution**: Execute multiple tasks without interruption between individual tasks
307
- - **Learning System**: Improve over time by learning from successful and failed recovery strategies
308
- - **Safety Boundaries**: Respect workspace boundaries, require confirmation for production/external operations
309
- - **Three Execution Modes**: Conservative (safe), Balanced (default), Aggressive (fast)
310
- - **Progress Tracking**: Real-time status, estimated completion time, detailed execution reports
311
- - **Rollback Support**: Create checkpoints and rollback to previous states if needed
312
- - **CORE_PRINCIPLES Compliance**: Follows Spec-driven development, file management, and quality standards
313
-
314
- **Quick Start**:
68
+ ### 1) Feature Delivery (default)
315
69
  ```bash
316
- # Decompose one broad goal into master/sub specs and run to closure
317
- sce auto close-loop "build autonomous close-loop and master/sub multi-spec execution for sce"
318
-
319
- # Create and execute a feature autonomously
320
- sce auto create "user authentication with JWT tokens"
321
-
322
- # Run existing Spec autonomously
323
- sce auto run 33-00-ai-autonomous-control
324
-
325
- # Check status
326
- sce auto status
327
-
328
- # Resume after pause
329
- sce auto resume
70
+ sce studio plan --scene scene.customer-order --from-chat session-20260302 --goal "optimize checkout"
71
+ sce spec bootstrap --name 02-00-checkout-optimization --scene scene.customer-order --non-interactive
72
+ sce spec domain coverage --spec 02-00-checkout-optimization --json
73
+ sce spec gate run --spec 02-00-checkout-optimization --scene scene.customer-order --json
330
74
  ```
331
75
 
332
- [Learn more about Autonomous Control →](docs/autonomous-control-guide.md)
333
-
334
- ### Spec-Driven Development
335
- Structure your work with Requirements → Design → Tasks workflow
336
-
337
- ### KPI Automation & Observability 🚀
338
- - **Unified Metric Contract**: Load and validate KPI definitions from `metric-definition.yaml`
339
- - **Weekly Snapshot Pipeline**: Generate machine-readable snapshots with risk level and audit reasons
340
- - **Baseline and Trend Analysis**: Build baseline from historical data and detect worsening trends automatically
341
- - **Gate-Ready Summary**: Emit Day30/Day60-consumable summary payloads with evidence paths
342
- - **CLI Commands**: `value metrics sample`, `value metrics snapshot`, `value metrics baseline`, `value metrics trend` with `--json` support
343
-
344
- ### Multi-Workspace Management 🚀
345
- - **Workspace Registry**: Manage multiple sce projects from a single location
346
- - **Quick Switching**: Switch between projects without directory navigation
347
- - **Data Atomicity**: Single source of truth (`~/.sce/workspace-state.json`)
348
- - **Cross-Platform**: Consistent path handling across Windows/Linux/macOS
349
- - **Auto Migration**: Seamless upgrade from legacy workspace format
350
-
351
- ### Environment Configuration Management 🚀
352
- - **Environment Registry**: Manage multiple environment configurations (dev, test, staging, prod)
353
- - **Quick Switching**: Switch between environments with automatic backup
354
- - **Automatic Backup**: Create timestamped backups before each switch
355
- - **Rollback Support**: Restore previous environment configuration instantly
356
- - **Verification**: Validate environment configuration after switching
357
- - **Command Execution**: Run commands in specific environment context
358
- - **Cross-Platform**: Works seamlessly on Windows, Linux, and macOS
359
-
360
- ### Multi-Repository Management 🚀
361
- - **Unified Interface**: Manage multiple Git subrepositories from a single command
362
- - **Auto-Discovery**: Automatically scan and configure all Git repositories in your project
363
- - **Nested Repository Support**: Discover and manage Git repositories nested inside other repositories
364
- - **Parent-Child Tracking**: Track relationships between parent and nested repositories
365
- - **Batch Operations**: Execute Git commands across all repositories simultaneously
366
- - **Status Overview**: View status of all repositories in a single table with parent relationships
367
- - **Health Checks**: Verify repository configuration and connectivity
368
- - **Cross-Platform**: Consistent path handling across Windows/Linux/macOS
369
- - **Smart Exclusions**: Automatically skip common non-repository directories (node_modules, build, etc.)
370
-
371
- ### Moqui ERP Integration 🚀
372
- - **Moqui ERP Adapter**: Connect sce scene runtime to live Moqui ERP instances
373
- - `MoquiClient` — HTTP client with JWT auth lifecycle (login, refresh, re-login, logout) and retry logic
374
- - `MoquiAdapter` — Binding handler for `spec.erp.*` and `moqui.*` refs, entity CRUD, service invocation, screen discovery
375
- - **Scene Template Extractor** (v1.40.0): Analyze Moqui resources, identify business patterns, generate reusable scene templates
376
- - Entity grouping by Header/Item suffix patterns (e.g., OrderHeader + OrderItem → composite)
377
- - Pattern-based manifest generation with governance contracts
378
- - **CLI Commands**: `scene connect`, `scene discover`, `scene extract` with `--json` support
379
-
380
- ### Multi-Agent Parallel Coordination 🚀
381
- - **Agent Registry**: MachineIdentifier-based agent lifecycle with heartbeat monitoring and inactive cleanup
382
- - **Task Lock Manager**: File-based task locking with atomic operations, single-agent backward compatibility
383
- - **Task Status Store**: Concurrent-safe task status updates with exponential backoff retry
384
- - **Steering File Lock**: Write serialization with pending-file degradation fallback
385
- - **Merge Coordinator**: Git branch isolation per agent (`agent/{agentId}/{specName}`), conflict detection, auto-merge
386
- - **Central Coordinator**: Dependency-driven ready task computation, task assignment, progress tracking
387
- - **Zero Overhead**: All components are no-ops in single-agent mode (full backward compatibility)
388
-
389
- [Learn more about Multi-Agent Coordination →](docs/multi-agent-coordination-guide.md)
390
-
391
- ### Agent Orchestrator 🚀
392
- - **Automated Multi-Agent Spec Execution**: Replace manual multi-terminal workflows with a single command
393
- - **DAG-Based Scheduling**: Analyze Spec dependencies, compute execution batches via topological sort
394
- - **Parallel Execution**: Run up to N Specs simultaneously via Codex CLI sub-agents (`--max-parallel`)
395
- - **Failure Propagation**: Failed Spec's dependents automatically marked as skipped
396
- - **Retry Mechanism**: Configurable automatic retry for failed Specs
397
- - **Real-Time Monitoring**: Track per-Spec status and overall orchestration progress
398
- - **Graceful Termination**: Stop all sub-agents cleanly (SIGTERM → SIGKILL)
399
- - **Configurable**: Codex command, args, parallelism, timeout, retries via `.sce/config/orchestrator.json`
400
-
401
- **Quick Start**:
76
+ ### 2) Program-Scale Autonomous Delivery
402
77
  ```bash
403
- # Run 3 Specs in parallel via Codex CLI
404
- sce orchestrate run --specs "spec-a,spec-b,spec-c" --max-parallel 3
405
-
406
- # Check orchestration progress
407
- sce orchestrate status
408
-
409
- # Stop all sub-agents
410
- sce orchestrate stop
411
- ```
412
-
413
- Tip: `sce spec bootstrap|pipeline run|gate run --specs ...` now defaults to this orchestrate mode automatically.
414
-
415
- **Recommended Codex-Orchestrator config (`.sce/config/orchestrator.json`)**:
416
- ```json
417
- {
418
- "agentBackend": "codex",
419
- "maxParallel": 3,
420
- "timeoutSeconds": 900,
421
- "maxRetries": 2,
422
- "rateLimitMaxRetries": 8,
423
- "rateLimitBackoffBaseMs": 1500,
424
- "rateLimitBackoffMaxMs": 60000,
425
- "rateLimitAdaptiveParallel": true,
426
- "rateLimitParallelFloor": 1,
427
- "rateLimitCooldownMs": 45000,
428
- "rateLimitLaunchBudgetPerMinute": 8,
429
- "rateLimitLaunchBudgetWindowMs": 60000,
430
- "apiKeyEnvVar": "CODEX_API_KEY",
431
- "codexArgs": ["--skip-git-repo-check"],
432
- "codexCommand": "npx @openai/codex"
433
- }
78
+ sce auto close-loop-program "stabilize order lifecycle and release governance" --program-govern-until-stable --json
434
79
  ```
435
80
 
436
- If Codex CLI is globally installed, you can set `"codexCommand": "codex"`.
437
- Use the `rateLimit*` settings to absorb transient 429/too-many-requests failures without stalling orchestration.
438
-
439
- ### Spec-Level Steering & Context Sync 🚀
440
- - **Spec Steering (L4)**: Independent `steering.md` per Spec with constraints, notes, and decisions — zero cross-agent conflict
441
- - **Steering Loader**: Unified L1-L4 four-layer steering loader with priority-based merging
442
- - **Context Sync Manager**: Multi-agent friendly CURRENT_CONTEXT.md with structured Spec progress table, concurrent-safe updates
443
- - **Spec Lifecycle Manager**: State machine (planned → assigned → in-progress → completed → released) with auto-completion detection
444
- - **Sync Barrier**: Agent Spec-switch synchronization — uncommitted change check + steering reload
445
- - **Coordinator Integration**: Auto Spec completion check on task complete, SyncBarrier on task assign
446
-
447
- ### Scene Ontology Enhancement 🚀
448
- - **OntologyGraph**: Semantic relationship graph for binding refs (depends_on, composes, extends, produces)
449
- - **Action Abstraction**: Intent, preconditions, postconditions per binding for AI agent understanding
450
- - **Data Lineage**: Source → transform → sink tracking in governance_contract
451
- - **Agent-Ready Metadata**: `agent_hints` field with summary, complexity, duration, permissions, sequence
452
- - **Agent Readiness Score**: Bonus quality dimension (max +10 points)
453
- - **CLI Commands**: `scene ontology show|deps|validate|actions|lineage|agent-info` with `--json` support
454
-
455
- ### Scene Template Quality Pipeline 🚀
456
- - **Template Lint Engine**: 10-category quality checks for scene packages (manifest completeness, binding refs, governance, consistency, variables, documentation, action abstraction, data lineage, agent hints)
457
- - **Quality Score Calculator**: 4-dimension scoring + agent_readiness bonus (contract validity, lint pass rate, documentation quality, governance completeness + agent readiness max +10) with 0-100+ scale
458
- - **One-Stop Contribute Pipeline**: Validate → Lint → Score → Preview → Publish in a single command
459
- - **CLI Commands**: `scene lint`, `scene score`, `scene contribute` with `--strict`, `--dry-run`, `--skip-lint`, `--json` support
460
-
461
- ### Scene Template Engine 🚀
462
- - **Template Variable Schema**: Define typed variables (string, number, boolean, enum, array) with validation rules in scene-package.json
463
- - **Multi-File Rendering**: Recursive template processing with `{{variable}}` substitution, `{{#if}}` conditionals, `{{#each}}` loops
464
- - **Three-Layer Inheritance**: L1-Capability / L2-Domain / L3-Instance package hierarchy with schema and file merging
465
- - **CLI Commands**: `scene template-validate`, `scene template-resolve`, `scene template-render` with `--json` support
466
-
467
- ### Spec-Level Collaboration 🚀
468
- - **Parallel Development**: Enable multiple AI instances to work on different Specs simultaneously
469
- - **Dependency Management**: Define and track dependencies between Specs with circular dependency detection
470
- - **Interface Contracts**: Formal API definitions ensuring compatibility between independently developed Specs
471
- - **Status Tracking**: Monitor progress and assignments across all Specs in real-time
472
- - **Integration Testing**: Run cross-Spec integration tests to verify modules work together
473
- - **Dependency Visualization**: View dependency graphs with critical path highlighting
474
- - **Backward Compatible**: Opt-in system that doesn't affect existing single-Spec workflows
475
-
476
- [Learn more about Spec-Level Collaboration →](docs/spec-collaboration-guide.md)
477
-
478
- ### Spec Locking Mechanism 🚀
479
- - **Multi-User Coordination**: Prevent conflicts when multiple developers work on the same Spec
480
- - **Machine Identification**: Unique machine IDs for accurate lock ownership tracking
481
- - **Stale Lock Detection**: Automatic detection and cleanup of abandoned locks (default: 24h timeout)
482
- - **Lock Status Integration**: View lock status in `sce status` output
483
- - **Force Unlock**: Override locks when necessary with `--force` flag
484
- - **Backward Compatible**: Locking is optional and doesn't affect existing workflows
485
-
486
- **Quick Start**:
81
+ ### 3) Local History Safety (timeline)
487
82
  ```bash
488
- # Acquire a lock before editing
489
- sce lock acquire my-feature --reason "Implementing auth module"
490
-
491
- # Check lock status
492
- sce lock status
493
-
494
- # Release when done
495
- sce unlock my-feature
496
-
497
- # Clean up stale locks
498
- sce lock cleanup
499
-
500
- # View your machine ID
501
- sce lock whoami
83
+ sce timeline save --summary "before risky refactor"
84
+ sce timeline list --limit 20
85
+ sce timeline restore <snapshot-id>
86
+ sce timeline push origin main
502
87
  ```
503
88
 
504
- ### DevOps Integration Foundation 🚀
505
- - **Operations Spec Management**: Standardized operations documentation (deployment, monitoring, troubleshooting, etc.)
506
- - **Progressive AI Autonomy**: L1-L5 takeover levels for gradual AI operations control
507
- - **Audit Logging**: Tamper-evident audit trail with SHA-256 integrity verification
508
- - **Feedback Integration**: Automated user feedback processing and analytics
509
- - **Permission Management**: Environment-based security controls (dev, test, pre-prod, prod)
510
- - **Operations Validation**: Complete spec validation with clear error reporting
511
-
512
- ### Document Governance
513
- - Automated document lifecycle management
514
- - Clean project structure enforcement
515
- - Temporary file cleanup
516
- - Artifact organization
517
- - Git hooks for compliance
518
-
519
- ### Multi-User Collaboration
520
- - Personal workspaces for team members
521
- - Task claiming and tracking
522
- - Workspace synchronization
523
-
524
- ### Cross-Tool Compatibility
525
- Export context for Claude Code, Cursor, Windsurf, Copilot, and more
526
-
527
- ### Watch Mode Automation
528
- Automatic file monitoring and context updates
529
-
530
- ### Quality Enhancement
531
- - Document quality scoring (0-10 scale)
532
- - Intelligent improvement suggestions
533
- - Professional standards enforcement
534
-
535
- ### Multi-Language Support
536
- English and Chinese interfaces
537
-
538
- ---
539
-
540
- ## Command Overview
541
-
89
+ ### 4) Release Baseline
542
90
  ```bash
543
- # Project setup
544
- sce adopt # Adopt sce in existing project
545
- sce create-spec <name> # Legacy: create empty Spec folder only
546
-
547
- # Autonomous close-loop program (one command, no confirmation loop)
548
- sce auto close-loop "<goal>" # Auto split goal into master/sub specs and execute to closure
549
- sce auto close-loop --resume interrupted # Resume from latest non-completed close-loop session
550
- sce auto close-loop continue # Shorthand: continue latest interrupted close-loop session
551
- sce auto continue # Shortcut command: continue latest interrupted close-loop session
552
- sce auto close-loop "<goal>" --dry-run --json # Preview decomposition plan only
553
- sce auto close-loop-program "<goal>" --program-govern-until-stable --program-govern-use-action 1 --json # Program-level recovery + governance with remediation action execution
554
- sce auto close-loop-controller .sce/auto/program-queue.lines --wait-on-empty --dequeue-limit 2 --json # Queue-driven autonomous controller for broad-goal backlogs
555
- sce auto close-loop-controller --controller-resume latest --json # Resume autonomous controller from latest persisted checkpoint
556
- sce auto controller-session list --limit 50 --json # Inspect persisted close-loop-controller summary sessions
557
- sce auto controller-session prune --keep 20 --older-than-days 14 --dry-run --json # Prune old controller summaries by retention policy
558
- sce auto observability snapshot --days 14 --json # Unified autonomous observability snapshot (sessions + governance + trend)
559
- sce auto spec status 121-00-master --json # Agent-facing structured spec status interface
560
- sce auto spec instructions 121-02-sub-track --json # Agent-facing execution instructions for one spec
561
- sce auto schema check --json # Check autonomous archive schema compatibility
562
- sce auto schema migrate --apply --json # Backfill/migrate schema_version for autonomous archives
563
-
564
- # Spec workflow (recommended)
565
- sce spec bootstrap --name <spec> --scene <scene-id> --non-interactive # Generate draft and bind as scene child session
566
- sce spec pipeline run --spec <spec> --scene <scene-id> # Run pipeline and auto-archive spec child session
567
- sce spec gate run --spec <spec> --scene <scene-id> --json # Run gate and auto-archive spec child session
568
- sce spec bootstrap --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
569
- sce spec pipeline run --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
570
- sce spec gate run --specs "<spec-a,spec-b>" --max-parallel <N> # Multi-Spec defaults to orchestrate
571
-
572
- # Spec session governance default
573
- # - spec bootstrap|pipeline run|gate run must bind to an active scene primary session.
574
- # - Use --scene <scene-id> explicitly when multiple active scenes exist.
575
- # - Multi-Spec orchestrate fallback (--specs ...) keeps the same scene binding and archives per-spec child sessions.
576
-
577
- # Context management
578
- sce context export <spec-name> # Export context for AI tools
579
- sce prompt generate <spec> <task> # Generate task-specific prompt
580
-
581
- # Template registry
582
- sce templates list --type <spec-scaffold|capability-template|runtime-playbook> --compatible-with <semver> --risk <low|medium|high|critical>
583
- sce templates search <keyword> --type <spec-scaffold|capability-template|runtime-playbook> --compatible-with <semver>
584
- sce templates show <template-path> # Show template metadata and compatibility contract
585
- sce templates update [--source <name>]
586
-
587
- # KPI automation and observability
588
- sce value metrics sample --out <path> --json # Generate sample KPI input JSON
589
- sce value metrics snapshot --input <path> --json # Generate weekly KPI snapshot + gate summary
590
- sce value metrics baseline --from-history <N> --json # Build baseline from earliest N snapshots
591
- sce value metrics trend --window <N> --json # Analyze trend/risk from latest N snapshots
592
- sce auto kpi trend --weeks 8 --period week --json # Aggregate autonomous delivery KPI trend (weekly/daily buckets + anomalies)
593
- sce auto kpi trend --weeks 8 --period day --csv --out <path> # Export autonomous KPI trend as CSV
594
- sce auto kpi trend --weeks 8 --mode controller --json # Filter trend to close-loop-controller sessions only
595
-
596
- # Workspace management
597
- sce workspace create <name> [path] # Register a new workspace
598
- sce workspace list # List all workspaces
599
- sce workspace switch <name> # Switch active workspace
600
- sce workspace info [name] # Show workspace details
601
- sce workspace remove <name> # Remove workspace
602
-
603
- # Environment management
604
- sce env list # List all environments
605
- sce env switch <name> # Switch to environment (with backup)
606
- sce env info # Show active environment details
607
- sce env register <config-file> # Register new environment
608
- sce env unregister <name> # Remove environment
609
- sce env rollback # Rollback to previous environment
610
- sce env verify # Verify current environment
611
- sce env run "<command>" # Run command in environment context
612
-
613
- # Multi-repository management
614
- sce repo init [--nested] # Initialize repository configuration (nested scanning by default)
615
- sce repo init --no-nested # Initialize without nested repository scanning
616
- sce repo status [--verbose] # Show status of all repositories (including nested)
617
- sce repo exec "<command>" # Execute command in all repositories
618
-
619
- # Spec-level collaboration
620
- sce collab init <master> [options] # Initialize Master Spec with Sub-Specs
621
- sce collab status [spec] [--graph] # Display collaboration status
622
- sce collab assign <spec> <assignee> # Assign Spec to an assignee
623
- sce collab verify <spec> # Verify interface contracts
624
- sce collab integrate <specs...> # Run integration tests
625
- sce collab migrate <spec> # Convert standalone Spec to collaborative
626
- sce repo health # Check repository health
627
-
628
- # Scene template engine
629
- sce scene template-validate --package <path> # Validate template variable schema
630
- sce scene template-resolve --package <name> # Resolve inheritance chain and merged schema
631
- sce scene template-render --package <name> --values <json> --out <dir> # Render template files
632
-
633
- # Moqui ERP integration
634
- sce scene connect --config <path> # Test connectivity to Moqui ERP instance
635
- sce scene discover --config <path> # Discover entities, services, screens from Moqui
636
- sce scene extract --config <path> --out <dir> # Extract scene templates from Moqui (v1.40.0)
637
-
638
- # Scene template quality pipeline
639
- sce scene lint --package <path> # Lint scene package for quality issues
640
- sce scene score --package <path> # Calculate quality score (0-100)
641
- sce scene contribute --package <path> # One-stop validate → lint → score → publish
642
-
643
- # Scene ontology
644
- sce scene ontology show --package <path> # Show ontology graph
645
- sce scene ontology deps --ref <ref> # Query dependency chain
646
- sce scene ontology impact --ref <ref> # Analyze reverse impact radius
647
- sce scene ontology path --from <ref> --to <ref> # Query shortest ontology relation path
648
- sce scene ontology validate --package <path> # Validate graph consistency
649
- sce scene ontology actions --ref <ref> # Show action abstraction
650
- sce scene ontology lineage --ref <ref> # Show data lineage
651
- sce scene ontology agent-info --package <path> # Show agent hints
652
- sce scene contribute --package <path> # One-stop validate → lint → score → publish
653
-
654
- # Agent orchestration
655
- sce orchestrate run --specs "<spec-list>" --max-parallel <N> # Start multi-agent orchestration
656
- sce orchestrate status # View orchestration progress
657
- sce orchestrate stop # Stop all sub-agents
658
-
659
- # Release baseline (default in CI)
660
- sce auto handoff preflight-check --require-pass --json # Hard gate: block release on preflight failures
661
- git tag -a vX.Y.Z -m "vX.Y.Z" # Create release tag
662
- git push origin vX.Y.Z # Push tag to trigger GitHub release + npm publish
663
-
664
- # DevOps operations
665
- sce ops init <project-name> # Initialize operations specs
666
- sce ops validate [<project>] # Validate operations completeness
667
- sce ops audit [options] # Query audit logs
668
- sce ops takeover <action> # Manage AI takeover levels
669
- sce ops feedback <action> # Manage user feedback
670
-
671
- # Task management
672
- sce task claim <spec> <task-id> # Claim a task
673
- sce task list <spec> # List claimed tasks
674
-
675
- # Spec locking (multi-user collaboration)
676
- sce lock acquire <spec-name> # Acquire lock on a Spec
677
- sce lock release <spec-name> # Release lock (or use: sce unlock)
678
- sce lock status [spec-name] # Show lock status
679
- sce lock cleanup # Remove stale locks
680
- sce lock whoami # Show machine identifier
681
- sce unlock <spec-name> [--force] # Release lock (alias)
682
-
683
- # Document governance
684
- sce docs diagnose # Check document compliance
685
- sce docs cleanup # Remove temporary files
686
- sce docs validate # Validate document structure
687
- sce docs archive --spec <name> # Organize Spec artifacts
688
- sce docs hooks install # Install Git pre-commit hooks
689
-
690
- # Automation
691
- sce watch start # Start watch mode
692
- sce watch status # Check watch status
693
-
694
- # Project info
695
- sce status # Project status
696
- sce workflows # List available workflows
91
+ sce auto handoff preflight-check --require-pass --json
92
+ git tag -a vX.Y.Z -m "vX.Y.Z"
93
+ git push origin vX.Y.Z
697
94
  ```
698
95
 
699
- See [Command Reference](docs/command-reference.md) for complete documentation.
700
-
701
96
  ---
702
97
 
703
- ## Contributing & Support
98
+ ## Default Problem-Solving Loop
704
99
 
705
- ### Getting Help
100
+ SCE now enforces a domain-closed diagnosis and repair route by default:
706
101
 
707
- - 📖 **Documentation**: Start with the [Quick Start Guide](docs/quick-start.md)
708
- - 🐛 **Bug Reports**: [GitHub Issues](https://github.com/heguangyong/scene-capability-engine/issues)
709
- - 💬 **Discussions**: [GitHub Discussions](https://github.com/heguangyong/scene-capability-engine/discussions)
102
+ 1. Scope the problem first with scene artifacts (`problem-domain-map.md`, `scene-spec.md`, `problem-domain-chain.json`, `problem-contract.json`).
103
+ 2. Keep trial-and-error history in incident staging (`.sce/errorbook/staging/incidents/`) to avoid repeating failed attempts.
104
+ 3. Use problem evaluation to prioritize likely impact areas before applying/releasing changes.
710
105
 
711
- ### Contributing
106
+ Hard rule defaults:
107
+ - After two failed rounds on the same problem fingerprint, debug evidence is required in subsequent attempts.
108
+ - `studio verify/release` run `problem-closure-gate` by default when a spec is bound.
712
109
 
713
- We welcome contributions! See our [Contributing Guide](CONTRIBUTING.md) for:
714
- - Code contributions
715
- - Documentation improvements
716
- - Bug reports and feature requests
717
- - Translation help
110
+ ---
718
111
 
719
- ### Development Setup
112
+ ## AI Agent Compatibility
720
113
 
721
- ```bash
722
- git clone https://github.com/heguangyong/scene-capability-engine.git
723
- cd scene-capability-engine
724
- npm install
725
- npm link # For local development
726
- npm test # Run tests
727
- ```
114
+ SCE is tool-agnostic and works with Codex, Claude Code, Cursor, Windsurf, VS Code Copilot, and other CLI-capable agents.
115
+
116
+ - Runtime context is managed by `.sce/` (not IDE-specific hidden folders).
117
+ - Session governance is scene-first: `1 scene = 1 primary session`.
118
+ - Spec work is attached as child sessions and auto-archived.
119
+ - Startup now auto-detects adopted projects and aligns takeover baseline defaults automatically.
120
+ - Problem evaluation policy is enabled by default (`.sce/config/problem-eval-policy.json`) and evaluates every Studio stage.
121
+ - Problem closure policy is enabled by default (`.sce/config/problem-closure-policy.json`) and blocks verify/release bypass when required domain/problem evidence is missing.
122
+ - Error handling now follows a full incident loop by default: every record attempt is staged first and auto-closed on verified/promoted outcomes.
123
+ - You can inspect or force-align baseline explicitly:
124
+ - `sce workspace takeover-audit --json`
125
+ - `sce workspace takeover-apply --json`
728
126
 
729
127
  ---
730
128
 
731
- ## License
129
+ ## Important Version Changes
732
130
 
733
- MIT License - see [LICENSE](LICENSE) file for details.
131
+ - `3.4.6`: Added default `problem-closure-gate` + `problem-contract` baseline and strengthened mandatory problem evaluation dimensions (`problem_contract`/`ontology_alignment`/`convergence`) for verify/release convergence control.
132
+ - `3.4.5`: `git-managed-gate` now treats worktree checks as advisory in default relaxed CI mode (`CI/GITHUB_ACTIONS`, non-strict), preventing false release blocking.
133
+ - `3.4.4`: Added `SCE_GIT_MANAGEMENT_ALLOW_UNTRACKED=1` / `--allow-untracked`; release workflow uses it for npm publish after generating release evidence artifacts.
134
+ - `3.4.3`: Introduced mandatory problem evaluation across Studio stages (`plan/generate/apply/verify/release`) with policy file `.sce/config/problem-eval-policy.json` and stage report artifacts.
135
+ - `3.4.2`: Errorbook incident flow moved to full staging closed-loop (attempt history, incident inspection, resolved archive).
136
+ - `3.4.1`: Added workspace takeover baseline automation (`takeover-audit` / `takeover-apply`) and startup alignment defaults.
734
137
 
735
138
  ---
736
139
 
737
- ## Acknowledgments
140
+ ## Documentation Map
738
141
 
739
- - Inspired by the **Sisyphus** myth and the concept of noble struggle
740
- - Built on practical **Spec-driven development** methodology
741
- - Influenced by **oh-my-opencode** and the Ultrawork Manifesto
142
+ Start here:
742
143
 
743
- ---
144
+ - [Quick Start](docs/quick-start.md)
145
+ - [Command Reference](docs/command-reference.md)
146
+ - [Autonomous Control Guide](docs/autonomous-control-guide.md)
147
+ - [Scene Runtime Guide](docs/scene-runtime-guide.md)
148
+ - [Value Observability Guide](docs/value-observability-guide.md)
149
+ - [Multi-Agent Coordination Guide](docs/multi-agent-coordination-guide.md)
150
+ - [Errorbook Registry Guide](docs/errorbook-registry.md)
151
+ - [Documentation Hub](docs/README.md)
744
152
 
745
- **Ready to enhance your AI-assisted development?** 🚀
153
+ Moqui-focused:
746
154
 
747
- ```bash
748
- npm install -g scene-capability-engine
749
- sce adopt
750
- sce studio plan --scene scene.demo --from-chat session-demo --goal "bootstrap first feature" --json
751
- sce spec bootstrap --name 01-00-my-first-feature --scene scene.demo --non-interactive
752
- ```
155
+ - [Moqui Template Core Library Playbook](docs/moqui-template-core-library-playbook.md)
156
+ - [Moqui Standard Rebuild Guide](docs/moqui-standard-rebuild-guide.md)
753
157
 
754
158
  ---
755
159
 
756
- ## 💬 Community & Discussion
757
-
758
- Join our community to discuss AI-driven development, Spec workflows, and best practices.
160
+ ## Community
759
161
 
760
- ### WeChat Group
162
+ - [GitHub Discussions](https://github.com/heguangyong/scene-capability-engine/discussions)
163
+ - [GitHub Issues](https://github.com/heguangyong/scene-capability-engine/issues)
761
164
 
762
165
  <img src="docs/images/wechat-qr.png" width="200" alt="WeChat Group QR Code">
763
166
 
764
- *Scan to add WeChat, note "sce" to join the group*
167
+ Scan the QR code and note `sce` to join the WeChat group.
765
168
 
766
- ### Other Channels
767
-
768
- - **GitHub Discussions**: [Join Discussion](https://github.com/heguangyong/scene-capability-engine/discussions)
769
- - **Issues**: [Report Issues](https://github.com/heguangyong/scene-capability-engine/issues)
770
-
771
- ### Featured Article
772
-
773
- 📖 **[The Philosophy and Practice of AI-Driven Development](docs/articles/ai-driven-development-philosophy-and-practice.md)**
774
-
775
- A deep conversation about AI development trends, Neo-Confucian philosophy, and software engineering practices. Based on 2000+ hours of AI-assisted programming experience.
169
+ ---
776
170
 
777
- [Read in English](docs/articles/ai-driven-development-philosophy-and-practice.en.md) | [中文版](docs/articles/ai-driven-development-philosophy-and-practice.md)
171
+ ## License
778
172
 
779
- **Also available on:**
780
- - [WeChat Official Account (微信公众号)](https://mp.weixin.qq.com/s/GRo0XQ6GvQ03T4_FTvAsKA)
781
- - [Juejin (掘金)](https://juejin.cn/post/7598899986857377798)
782
- - [Zhihu (知乎)](https://zhuanlan.zhihu.com/p/1999164891391624163)
783
- - [X/Twitter](https://x.com/heguangyong/status/2015668235065229782)
173
+ MIT. See [LICENSE](LICENSE).
784
174
 
785
175
  ---
786
176
 
787
- **Version**: 3.3.17
788
- **Last Updated**: 2026-02-26
789
-
177
+ **Version**: 3.4.6
178
+ **Last Updated**: 2026-03-02