fhidalgodev/dsh-odoo-sdd 预览 preview

fhidalgodev/dsh-odoo-sdd

Turn DeepSeek Harness into a closed-loop Odoo workshop:spec → architecture → code → verify, against a real instance

catalog descriptioncatalog 简介 / catalog description:Odoo SDD - Plugin DeepSeek Harness (DSH)

Project Overview项目介绍

dsh-odoo-sdd is a native plugin published on npm as dsh-odoo-sdd under the MIT license, and its entire purpose is to turn DeepSeek Harness into a closed-loop, specification-driven development pipeline for Odoo modules. It mounts into DSH as a Cordis bundle and consumes the host's tools service, so the runtime requires DSH ≥ 0.1.2-rc.1 sitting on Node ≥ 20. The plugin never starts Docker, never spawns odoo-bin, and never invents credentials: instead it points at an Odoo instance the developer already runs (dev or staging) through a gitignored .env and speaks plain JSON-RPC against it.

The workflow is a five-phase SDD protocol with fail-closed gates: CLARIFY holds an interview plus security questions, READ_SPEC freezes an immutable spec.md, ARCHITECTURE drafts models, views, security rules and a test plan, WRITE_CODE emits module sources plus OCA-style docs, and VERIFY installs the module on the live server, reads the real traceback, and iterates fixes. Each transition requires an explicit APPROVED marker, three consecutive failures force a root-cause diagnosis, verify/fix loops are capped, a stop.md halts everything, and a failed verification is persisted as FAILED so it can never silently turn into success. The target users are Odoo developers, architects and reviewers who want spec, architecture, code and verification traced end-to-end on a real server.

Hard dependencies are DSH ≥ 0.1.2-rc.1, Node ≥ 20, an existing Odoo instance reachable over HTTP(S), and a disposable dev/staging database that verification is allowed to write into; an optional Playwright browser tool covers only the UI layer of verification, and without it those scenarios are simply marked for manual checking. The plugin never writes a git commit and never asks for a password over chat. Releases are immutable on npm, built automatically by the prepack hook, and after the first manual npm publish they are driven by GitHub Releases through .github/workflows/publish.yml, which validates tag, version and provenance, refuses a duplicate version, and uses npm's OIDC trusted publishing so no NPM_TOKEN has to live in the repository.

dsh-odoo-sdd 是面向 DeepSeek Harness 的原生插件(MIT 协议),把 DSH 改造成针对 Odoo 的规范驱动开发(SDD)流水线。它以 npm 包 dsh-odoo-sdd 形式发布,挂载为 Cordis bundle,使用 DSH 的 tools 服务;要求 DSH ≥ 0.1.2-rc.1、Node ≥ 20,并通过 gitignored 的 .env 指向用户既有的 Odoo 实例(开发或预发布环境),采用明文 JSON-RPC 通信,绝不启动 Docker 或 odoo-bin。

典型工作流为五段闭环:CLARIFY(澄清与安全访谈)→ READ_SPEC(生成不可变 spec.md)→ ARCHITECTURE(模型、视图、安全与测试方案)→ WRITE_CODE(模块源码与 OCA 文档)→ VERIFY(对照真实服务器回读 traceback 并迭代修复),每一步均需显式 APPROVED 标记才放行。它面向需要在真实 Odoo 实例上做可追溯规范交付的 Odoo 开发者与团队,尤其是遵循 OCA 规范的社区贡献者,以及希望把需求、架构、代码与验证串成闭环的架构师与审稿人。

依赖与限制:DSH ≥ 0.1.2-rc.1、Node ≥ 20、一个可 HTTP(S) 访问的 Odoo 实例,以及一个可丢弃的开发或预发布数据库;可选 Playwright 仅用于 UI 验证场景。流水线失败封闭,连续三次失败强制根因分析,verify/fix 迭代设上限,stop.md 一键终止;插件不写提交,也不要求输入密码。首次发布为手动 npm publish,之后通过 GitHub Release 触发 .github/workflows/publish.yml,借助 npm OIDC trusted publishing 生成 provenance,不再在仓库中保存 NPM_TOKEN。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-odoo-sdd

把 fhidalgodev/dsh-odoo-sdd 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ui-outline 下一个 Next dsh-workflow-isolate →