Skip to content

Commit 5ab1a49

Browse files
LessUpCopilot
andauthored
refactor: simplify repository surfaces (#4)
Remove residual AI workflow files, collapse duplicate docs trees, drop legacy app aliases, and keep dialogue orchestration instance-scoped. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ecc59e2 commit 5ab1a49

29 files changed

Lines changed: 80 additions & 2621 deletions

.github/copilot-instructions.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,5 @@ __pycache__/
3838
.pytest_cache/
3939
*.egg-info/
4040

41-
# AI / workflow tool state (local only)
42-
.claude/
43-
.opencode/
44-
.trellis/
45-
.omc/
46-
CLAUDE.local.md
47-
4841
# Local config
4942
*.local

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### 🧹 Repository Simplification
1313

1414
- Removed repository-scoped AI workflow frameworks and generated automation from `.trellis/`, `.claude/`, and `.opencode/`
15-
- Simplified contributor guidance to a minimal `AGENTS.md` / `CLAUDE.md` / Copilot instruction surface
15+
- Simplified contributor guidance to a minimal `AGENTS.md` / `CLAUDE.md` surface
16+
- Removed residual AI workflow docs from `docs/agents/` and deleted the repository Copilot instruction file
17+
- Dropped the duplicate root `docs/api/`, `docs/architecture/`, and `docs/guide/` trees in favor of the canonical localized docs
18+
- Removed the legacy `/advanced` and `/digital-human` app aliases so the product runtime has a single `/app` entry
19+
- Removed deprecated module-level dialogue orchestrator wrappers and kept orchestration instance-scoped
1620
- Stopped exposing changelog navigation in the landing page and docs site
1721
- Corrected stale docs and Pages copy that still claimed Docker, Render, CLI scaffolds, templates, and old backend paths
1822
- Consolidated historical notes from the removed `changelog/` directory into this file

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<a href="#features"><strong>Features</strong></a> ·
3232
<a href="#performance"><strong>Performance</strong></a> ·
3333
<a href="#architecture"><strong>Architecture</strong></a> ·
34-
<a href="docs/"><strong>Documentation</strong></a> ·
34+
<a href="docs/en/index.md"><strong>Documentation</strong></a> ·
3535
<a href="CHANGELOG.md"><strong>Changelog</strong></a> ·
3636
<a href="README.zh-CN.md"><strong>中文</strong></a>
3737
</p>
@@ -180,7 +180,7 @@ Benchmarks measured on typical devices:
180180
| **Bundle Size** | 180 KB (gzipped) | 180 KB | 180 KB |
181181
| **Memory Usage** | ~120 MB | ~80 MB | ~60 MB |
182182

183-
> Performance automatically scales based on device capabilities. See [Performance Module](docs/architecture/) for details.
183+
> Performance automatically scales based on device capabilities. See the [architecture overview](docs/en/architecture/overview.md) for details.
184184
185185
---
186186

@@ -218,7 +218,7 @@ Three focused domains minimize re-renders:
218218
| `systemStore` | Connection status, errors, performance metrics |
219219
| `digitalHumanStore` | Avatar runtime state (expression, animation, audio) |
220220

221-
**[📖 Architecture Docs →](docs/architecture/)**
221+
**[📖 Architecture Docs →](docs/en/architecture/overview.md)**
222222

223223
---
224224

@@ -260,9 +260,9 @@ src/
260260

261261
This project uses Vite path aliases configured in `vite.config.ts` and `tsconfig.json`:
262262

263-
| Alias | Maps to |
264-
| ------ | -------- |
265-
| `@/*` | `src/*` |
263+
| Alias | Maps to |
264+
| ----- | ------- |
265+
| `@/*` | `src/*` |
266266

267267
---
268268

@@ -278,7 +278,7 @@ npm run build:pages
278278
2. Push to `master` — CI auto-deploys
279279
3. Live at: `https://lessup.github.io/meta-human/`
280280

281-
**[📖 Deployment Guide →](docs/guide/installation.md)**
281+
**[📖 Deployment Guide →](docs/en/guide/installation.md)**
282282

283283
---
284284

@@ -337,10 +337,10 @@ npm run test:ui # Vitest UI mode
337337

338338
## 📚 Documentation
339339

340-
- **[Quick Start](docs/guide/)** — Get running in 5 minutes
341-
- **[API Reference](docs/api/)** — Backend API documentation
342-
- **[Architecture](docs/architecture/)** — System design
343-
- **[Configuration](docs/guide/configuration.md)** — Environment variables and settings
340+
- **[Quick Start](docs/en/guide/getting-started.md)** — Get running in 5 minutes
341+
- **[API Reference](docs/en/api/overview.md)** — Backend API documentation
342+
- **[Architecture](docs/en/architecture/overview.md)** — System design
343+
- **[Configuration](docs/en/guide/configuration.md)** — Environment variables and settings
344344
- **[Contributing](docs/contributing/)** — Contribution guidelines
345345
- **[Changelog](CHANGELOG.md)** — Version history
346346

README.zh-CN.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<a href="#features"><strong>功能</strong></a> ·
3232
<a href="#performance"><strong>性能</strong></a> ·
3333
<a href="#architecture"><strong>架构</strong></a> ·
34-
<a href="docs/"><strong>文档</strong></a> ·
34+
<a href="docs/zh/index.md"><strong>文档</strong></a> ·
3535
<a href="CHANGELOG.md"><strong>更新日志</strong></a> ·
3636
<a href="README.md"><strong>English</strong></a>
3737
</p>
@@ -180,7 +180,7 @@ const response = await dialogueService.send({
180180
| **包体积** | 180 KB (gzipped) | 180 KB | 180 KB |
181181
| **内存占用** | ~120 MB | ~80 MB | ~60 MB |
182182

183-
> 性能根据设备能力自动调节。详见[性能模块文档](docs/architecture/)
183+
> 性能根据设备能力自动调节。详见[架构概览](docs/zh/architecture/overview.md)
184184
185185
---
186186

@@ -218,7 +218,7 @@ const response = await dialogueService.send({
218218
| `systemStore` | 连接状态、错误、性能指标 |
219219
| `digitalHumanStore` | 数字人运行时状态(表情、动画、音频) |
220220

221-
**[📖 架构文档 →](docs/architecture/)**
221+
**[📖 架构文档 →](docs/zh/architecture/overview.md)**
222222

223223
---
224224

@@ -260,9 +260,9 @@ src/
260260

261261
本项目使用 Vite 路径别名,配置在 `vite.config.ts``tsconfig.json`
262262

263-
| 别名 | 映射路径 |
264-
| ------ | -------- |
265-
| `@/*` | `src/*` |
263+
| 别名 | 映射路径 |
264+
| ----- | -------- |
265+
| `@/*` | `src/*` |
266266

267267
---
268268

@@ -278,7 +278,7 @@ npm run build:pages
278278
2. 推送到 `master` — CI 自动部署
279279
3. 访问:`https://lessup.github.io/meta-human/`
280280

281-
**[📖 部署指南 →](docs/guide/installation.md)**
281+
**[📖 部署指南 →](docs/zh/guide/installation.md)**
282282

283283
---
284284

@@ -337,10 +337,10 @@ npm run test:ui # Vitest UI 模式
337337

338338
## 📚 文档
339339

340-
- **[快速开始](docs/guide/)** — 5 分钟快速上手
341-
- **[API 参考](docs/api/)** — 后端 API 文档
342-
- **[架构设计](docs/architecture/)** — 系统设计
343-
- **[配置说明](docs/guide/configuration.md)** — 环境变量与设置
340+
- **[快速开始](docs/zh/guide/getting-started.md)** — 5 分钟快速上手
341+
- **[API 参考](docs/zh/api/overview.md)** — 后端 API 文档
342+
- **[架构设计](docs/zh/architecture/overview.md)** — 系统设计
343+
- **[配置说明](docs/zh/guide/configuration.md)** — 环境变量与设置
344344
- **[贡献指南](docs/contributing/)** — 贡献指南
345345
- **[更新日志](CHANGELOG.md)** — 版本历史
346346

docs/.vitepress/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export default defineConfig({
2020
hostname: 'https://lessup.github.io/meta-human/',
2121
},
2222

23-
// 忽略本地开发链接和某些相对链接
24-
ignoreDeadLinks: [/localhost/, /\.\.\/api\//, /\.\.\/architecture\//],
23+
// 忽略本地开发链接
24+
ignoreDeadLinks: [/localhost/],
2525

2626
locales: {
2727
zh: {

docs/agents/domain.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/agents/issue-tracker.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/agents/triage-labels.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)