Skip to content

Releases: yanzhao77/deepseek_software

DeepSeek Software Factory v0.1.0

Choose a tag to compare

@yanzhao77 yanzhao77 released this 21 Aug 07:07

DeepSeek Software Factory v0.1.0

GitHub Release v0.1.0 发布正文(2026-08-21)

Overview

DeepSeek Software Factory 是一个运行在 DeepSeek Harness / Cordis Runtime 上的 Agent Preset / Software Factory
输入自然语言软件需求,自动完成需求理解 → 产品设计 → 架构设计 → 任务拆解 → Agent 调度 → 前端/后端/AI 开发 → 自动测试 → Code Review → Security Audit → Build → Deployment → Delivery
交付真实可运行、可测试、可构建、可部署的软件项目。

这不是普通 Coding Agent,而是一个 Autonomous Software Production System。

Features

  • 🏭 Software Factory Agent Presetsoftware-factory(「软件工厂模式」),Factory Manager persona(12 条运行原则)+ 10 个技能
  • 🤖 Dynamic Role Agents:8 个角色子代理(PM/Architect/Backend/Frontend/QA/Review/Security/DevOps),动态创建、并行、复用、换人、契约注入
  • 🧩 Artifact-first workflow:15 个 Artifact 模板,阶段间靠产物交接,不靠聊天
  • ⚖️ Quality Gates:test / build / security / review 四类 Gate,独立验证(Evidence over claims)
  • 🧑‍💻 Human-in-the-loop:暂停 / 恢复 / 重定向 / 审批 / 改需求(增量执行)
  • 🔀 Requirement Change:影响分析(DAG 闭包)+ 增量执行,只重跑受影响任务
  • 🔁 Failure Recovery:Retry → 换 Agent → 拆任务 → 上报 → 问用户的失败阶梯
  • 🗄️ Project State Machineproject.json(16 状态 × 8 runStatus),重启后现场恢复

Production Trial

Evidence over claims —— 本版本已用工厂真实生产了一个可运行的 Todo SaaS(p-001):

  • Stack:React 18 + Vite · FastAPI + SQLAlchemy 2 · PostgreSQL 16 · Docker Compose · nginx
  • Sourceprojects/p-001/workspace/(backend + frontend + docker-compose.yml,独立 git 仓库)
  • Run
    cd projects/p-001/workspace
    cp .env.example .env
    docker compose up -d --build
    # web: http://localhost:8080 · api: http://localhost:8000(/docs)

Validation

验证项 结果
Tests 🟢 pytest 63 passed(QA 39 + 回归 9 + FR-6 15)
Code Review 🟢 request-changes(15 项)→ 修复 8/8 → approve
Security Audit 🟢 25 项检查 PASS(0 高/中危)
Production Smoke 🟢 注册/登录/CRUD/Web/代理/鉴权全链路 + 数据持久化(db 重启)
State Machine 🟢 PROJECT_CREATED → DELIVERED(18 revision / 17 事件)

证据文件:projects/p-001/reports/test-gate.md · projects/p-001/artifacts/security-report.md · projects/p-001/reports/smoke-evidence.md · reports/FACTORY_COMPLETION_REPORT.md

Installation

git clone https://github.com/yanzhao77/deepseek_software.git
cd deepseek_software
./scripts/install-preset.sh

安装后:DeepSeek Harness 新会话预设列表出现「软件工厂模式」(software-factory),输入需求即可开始。

Requirements:DeepSeek Harness(运行时)、Node.js、Git、Docker(生产试运行需要)。

Known Limitations

  • 无完整 Factory Dashboard UI(Roadmap V0.2)
  • 无多用户 / 组织模型(Roadmap V0.3)
  • 预算账本未联动自动暂停(机制已设计)
  • p-001 已知低危遗留:登录限流 / 时序侧信道 / localStorage token / nginx TLS(见 SECURITY.md)
  • 文档以中文为主,英文文档为贡献方向

Roadmap

  • V0.2:Factory Dashboard · 多项目 · Agent 可观测性 · 成本管理 · Agent 性能指标 · 失败恢复增强
  • V0.3:多用户 · 组织/团队 · 云端部署 · Marketplace 集成 · 插件发现 · Factory 模板

详见 docs/wiki/Roadmap.md