novel-doomsday-resurgence/INKOS_CONFIG.md
唐天洛 7388a99955 feat(novel): 同步《末日重生-开局囤货十亿物资》完整内容
📚 小说内容:
- 完整33章内容 (第1-33章)
- 所有状态文件、记忆索引、钩子系统
- 章节快照和摘要文件

🛠️ 系统配置:
- README.md - 项目说明文档
- INKOS_CONFIG.md - inkos创作系统配置
- sync-to-gitea.sh - 同步脚本

📊 数据统计:
- 章节数量: 307章
- 总文件数: 383个
- 同步时间: 2026-03-30 16:36

🎯 同步目的:
- 数据持久化备份
- 版本控制管理
- 创作状态固化
- 灾难恢复准备

🔗 仓库信息:
- Gitea仓库: novel-doomsday-resurgence
- 访问地址: http://192.168.3.71:8418/liyuchen/novel-doomsday-resurgence
- 权限设置: 私有仓库

💾 数据完整性:
 章节内容完整
 状态文件完整
 记忆索引完整
 钩子系统完整
 配置文档完整
2026-03-30 16:36:57 +08:00

200 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

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.

# inkos 创作系统配置
## 🖥️ 系统环境
### 运行状态
- **进程ID**: 1433309
- **启动时间**: 2026-03-30 10:15
- **运行时长**: 6+小时
- **工作目录**: /root/.openclaw/workspace/tomato-novel
### 资源使用
- **CPU使用率**: 0.2%
- **内存使用率**: 2.5%
- **日志文件**: inkos.log (333KB)
## 📁 文件关联
### 核心文件位置
```
/root/.openclaw/workspace/tomato-novel/
├── books/末日重生-开局囤货十亿物资/ # 本仓库内容
├── inkos.log # 运行日志
├── inkos.json # 配置文件
└── node_modules/ # 依赖模块
```
### 状态文件说明
1. `current_state.md` - 当前故事状态
2. `chapter_summaries.md` - 章节摘要
3. `pending_hooks.md` - 待处理钩子
4. `memory.db` - 记忆数据库
5. 各种JSON状态文件
## 🔧 启动命令
### 标准启动
```bash
cd /root/.openclaw/workspace/tomato-novel
node /usr/bin/inkos up
```
### 使用启动脚本
```bash
cd /root/.openclaw/workspace
./scripts/start_inkos_final.sh
```
### 监控命令
```bash
# 查看进程状态
ps aux | grep inkos
# 查看实时日志
tail -f tomato-novel/inkos.log
# 运行监控脚本
./inkos_monitor.sh
```
## ⚙️ 配置参数
### 关键配置项
```json
{
"book": "末日重生-开局囤货十亿物资",
"genre": "urban/tomato",
"status": "active",
"chapters": 33,
"target_chapter_length": 3500,
"style": "番茄小说快节奏爽文"
}
```
### 质量要求
- **章节字数**: 2,182-3,818字硬区间
- **段落长度**: 建议35字以上
- **对话比例**: 30%-40%(适合听书)
- **爽点密度**: 每章2-3个核心爽点
## 🐛 常见问题
### 1. 字数超限
```
问题: 第33章超出硬区间实际5,406字
解决: 删除冗余内容,精炼表达
```
### 2. 段落过碎
```
问题: 165个段落中105个不足35字
解决: 合并相邻短段落
```
### 3. 状态不一致
```
问题: 状态卡与文本内容矛盾
解决: 统一财务记录和状态描述
```
### 4. 钩子未解决
```
问题: H062钩子状态未标记为resolved
解决: 明确威胁状态,更新钩子系统
```
## 📈 监控指标
### 实时监控
```bash
# CPU/内存使用
ps -p 1433309 -o pcpu,pmem,etime
# 日志监控
tail -20 tomato-novel/inkos.log
# 章节进度
ls -lt tomato-novel/books/末日重生-开局囤货十亿物资/chapters/*.md
```
### 质量检查
```bash
# 运行质量监控
./inkos_quality_monitor.sh
# 检查段落问题
./inkos_comprehensive_monitor.sh
# 生成质量报告
cat inkos_quality_report_20260330.md
```
## 🔄 同步机制
### 本地备份
```bash
# 自动备份脚本
./scripts/auto-backup.sh
# Git版本控制
./scripts/git-daily.sh
# 本地快照
./scripts/git-backup-system.sh
```
### 远程同步
```bash
# 推送到Gitea
git push origin master
# 从Gitea拉取
git pull origin master
# 强制同步
git push -f origin master
```
## 🚨 故障恢复
### inkos进程异常
```bash
# 1. 检查进程
ps aux | grep inkos
# 2. 重启inkos
pkill -f "node /usr/bin/inkos"
cd /root/.openclaw/workspace/tomato-novel
node /usr/bin/inkos up
# 3. 验证状态
tail -f inkos.log
```
### 数据损坏
```bash
# 1. 从Git恢复
git checkout -- .
# 2. 从备份恢复
tar -xzf git-backups/git-backup-*.tar.gz
# 3. 从Gitea恢复
git clone http://192.168.3.71:8418/liyuchen/novel-doomsday-resurgence.git
```
### 配置丢失
```bash
# 恢复配置文件
cp -r /root/.openclaw/workspace/tomato-novel/books/末日重生-开局囤货十亿物资/ .
```
---
> **重要**: 此配置文档用于inkos创作系统的维护和恢复。
> 保持inkos进程稳定运行是持续创作的关键。
**配置版本**: 1.0.0
**适用环境**: inkos v1.x
**最后验证**: 2026-03-30 16:35