Files
MemRelay/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/curated/NextOffice – 项目概览.md
T

151 lines
7.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: NextOffice – 项目概览
type: curated
permalink: main/projects/d1932ed6-07d3-4463-a224-8534ffd69a07/curated/next-office-项目概览
stable_id: 45f43d4e-a139-46e5-ad1f-8597831830f0
scope: project
project_id: d1932ed6-07d3-4463-a224-8534ffd69a07
workspace_type: development
usage_profile_id: null
preference_context: development
document_type: overview
revision: 1
source_memory_ids: []
source_checkpoint_ids: []
source_file_ids: []
source_git_commit: 346195c0699cb8a1dbf5a9576daad945003e5d10
source_git_commits:
- 346195c0699cb8a1dbf5a9576daad945003e5d10
source_agent_sync_ids: []
model_connection: Sub2API
model_name: git-restore
source_count: 25
source_revisions: {}
source_dispositions:
processed: 25
unchanged: 0
unsupported: 0
skipped: 0
cited_source_ids:
- global_guidance_memory:7429c22e-50ff-458a-97c0-423c679904c7
- global_guidance_memory:1194be51-ee29-47e1-8957-ec2888007db6
- global_guidance_memory:bf88c265-4749-4c50-85bc-4bae25298cd5
- global_guidance_memory:105b328f-4bda-4641-90a7-7282ef156316
- global_guidance_memory:5ed86f53-b53e-4534-8e51-d3a010069d5e
- global_guidance_memory:3f91189b-11a1-45bb-8357-4f413dc1609d
- global_guidance_memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823
- global_guidance_document:d3a20d44-6001-4c88-8772-65dbfac75e6e
- global_guidance_document:8a861a5f-35c3-4f95-bd5b-6b2297888f56
- global_guidance_document:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- global_guidance_document:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- global_guidance_document:e4fc35f2-1606-4b79-9c1e-367edeea97d0
- git:README.md
- git:deploy.py
- git:docker-compose.yml
- git:manage.py
- git:.gitignore
- git:.env.example
job_cited_source_ids:
- global_guidance_memory:7429c22e-50ff-458a-97c0-423c679904c7
- global_guidance_memory:1194be51-ee29-47e1-8957-ec2888007db6
- global_guidance_memory:bf88c265-4749-4c50-85bc-4bae25298cd5
- global_guidance_memory:105b328f-4bda-4641-90a7-7282ef156316
- global_guidance_memory:5ed86f53-b53e-4534-8e51-d3a010069d5e
- global_guidance_memory:3f91189b-11a1-45bb-8357-4f413dc1609d
- global_guidance_memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823
- global_guidance_document:d3a20d44-6001-4c88-8772-65dbfac75e6e
- global_guidance_document:8a861a5f-35c3-4f95-bd5b-6b2297888f56
- global_guidance_document:2b47472d-3ac2-4394-8646-c6bf1c0fc270
- global_guidance_document:6973450e-6ecc-48e3-8cdd-4d7d7707d843
- global_guidance_document:e4fc35f2-1606-4b79-9c1e-367edeea97d0
- git:README.md
- git:deploy.py
- git:docker-compose.yml
- git:manage.py
- git:.gitignore
- git:.env.example
conflicts: []
supersedes: []
preferences:
- statement: 日常交流使用中文,包括文档、代码注释和会议沟通。
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- global_guidance_memory:7429c22e-50ff-458a-97c0-423c679904c7
- global_guidance_memory:ff34c6eb-6bba-41e5-9e43-ff80941fa823
counterexample_source_ids: []
occurrence_count: 2
explicit: true
confidence: 1.0
status: current
- statement: 遵循 KISS 与 YAGNI,优先复用已有框架,不为猜测的未来需求添加抽象。
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- global_guidance_memory:bf88c265-4749-4c50-85bc-4bae25298cd5
- global_guidance_document:2b47472d-3ac2-4394-8646-c6bf1c0fc270
counterexample_source_ids: []
occurrence_count: 2
explicit: true
confidence: 1.0
status: current
- statement: 在任何登录、SSH、数据库或 API 调用前先查询 Vaultwarden,唯一匹配时直接使用。
level: scenario
workspace_types:
- development
workspace_ids: []
source_ids:
- global_guidance_memory:105b328f-4bda-4641-90a7-7282ef156316
counterexample_source_ids: []
occurrence_count: 1
explicit: true
confidence: 1.0
status: current
source_cursor: 292
source_hash: deb30a6b83a03f25e5a91c6b2d68024ae3de216638efb5597267ac9555bb804f
prompt_version: 2026-08-12.3
schema_version: '3'
curation_job_id: null
created_at: '2026-09-02T18:36:30.282675+00:00'
updated_at: '2026-09-23T15:05:07.587899+00:00'
tags:
- development
- overview
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
---
# 项目概览
**项目名称**:NextOffice(已在 2026‑09‑01 创建)
**工作空间类型**:development
**使用概览**:离线部署包已完成收尾,所有代码检查通过,可交付。部署目录位于 `E:\\\\Data\\\\Users\\\\Administrator\\\\Desktop\\\\NextOffice`,通过 `python3 deploy.py` 完成一键安装。
## 关键交付内容
- 部署脚本 `deploy.py`(仅使用 Python 标准库)实现离线镜像导入、环境变量生成以及服务初始化。
- `docker‑compose.yml` 定义四个核心容器:PostgreSQL、Redis、OnlyOffice、Nextcloud(自定义镜像 `nextoffice/nextcloud:34.0.3‑oo10.1.2`),并提供健康检查。
- `manage.py` 提供运维子命令(status、logs、backup、reconfigure 等),默认只提交本地记忆,不自动 push。
- `README.md`、`LICENSES.md`、`versions.json` 记录使用的上游组件及许可证信息。
## 全局指导与规则(适用于本项目)
- **语言**:日常交流、文档、代码注释均使用中文(`global_guidance_memory:7429c22e‑50ff‑458a‑97c0‑423c679904c7`、`global_guidance_memory:ff34c6eb‑6bba‑41e5‑9e43‑ff80941fa823`)。
- **记忆管理**:所有项目笔记统一由 MemRelay 持久管理,禁止本地 `aidocs/` 副本(`global_guidance_memory:1194be51‑ee29‑47e1‑8957‑ec2888007db6`、`global_guidance_document:d3a20d44‑6001‑4c88‑8772‑65dbfac75e6e`)。
- **开发实施原则**:遵循 KISS & YAGNI,复用已有框架,避免为假设需求添加依赖(`global_guidance_memory:bf88c265‑4749‑4c50‑85bc‑4bae25298cd5`、`global_guidance_document:2b47472d‑3ac2‑4394‑8646‑c6bf1c0fc270`)。
- **凭证边界**:登录、SSH、数据库、API 调用前先查询 Vaultwarden,唯一匹配直接使用;新增或修改的凭证立即写入密码库,记忆仅记录名称与用途(`global_guidance_memory:105b328f‑4bda‑4641‑90a7‑7282ef156316`、`global_guidance_memory:5ed86f53‑b53e‑4534‑8e51‑d3a010069d5e`)。
- **AI 与 Git 集成**:默认关闭,系统不创建模型或 `.git` 目录(`global_guidance_memory:3f91189b‑11a1‑45bb‑8357‑4f413dc1609d`)。
- **工作流**:记忆文件 `aidocs/project_context.md` 使用固定标题、秒级时间戳、最新优先追加;`aidocs/` 已加入 `.gitignore`(`global_guidance_document:e4fc35f2‑1606‑4b79‑9c1e‑367edeea97d0`、`global_guidance_document:6973450e‑6ecc‑48e3‑8cdd‑4d7d7707d843`)。
- **环境**:统一 Windows + WSL2 + Docker Desktop,所有路径、命令兼容 Windows(`global_guidance_document:6973450e‑6ecc‑48e3‑8cdd‑4d7d7707d843`)。
## 参考文件
- `README.md`(`git:README.md`)
- `deploy.py`(`git:deploy.py`)
- `docker-compose.yml`(`git:docker-compose.yml`)
- `manage.py`(`git:manage.py`)
- `.gitignore`(`git:.gitignore`)
- `.env.example`(`git:.env.example`)
---
*本概览引用的所有来源已在 `source_ids` 中列出。*