rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:kedamitch/open-spec-mesh
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Node.js tools and reusable Agent/Skill guidance for Quick and human-driven SDD development. Automatic SDD lifecycle commands are retired.
Public npm release 0.3.0 is published. The commands below install that version. If a mirror returns E404, verify the registry rather than treating a local pack as publication.
# 1. Install the command (does not modify host configuration).
npm install --global open-spec-mesh@0.3.0 --registry=https://registry.npmjs.org/
open-spec-mesh --version
# 2. Preview and explicitly configure Codex.
open-spec-mesh install --host codex --skip-tools --dry-run
open-spec-mesh install --host codex --skip-tools
The expected command version is 0.3.0. Start a new host session after installation so it loads the updated rules, roles and Skills.
--skip-tools installs the core toolkit without installing Research tools. It does not claim Research MCP availability and does not enable System One. npm installation has no postinstall hook that configures Home; the explicit open-spec-mesh install step is required.
# Default homes: ~/.codex, ~/.config/opencode, ~/.claude, ~/.dsh.
open-spec-mesh install --host codex --skip-tools
open-spec-mesh install --host opencode --skip-tools
open-spec-mesh install --host claude --skip-tools
open-spec-mesh install --host dsh --skip-tools
# Optional custom configuration home (quote paths containing spaces).
open-spec-mesh install --host codex --host-home "/path/to/codex home" --skip-tools
open-spec-mesh ships a DSH bundle preset. It requires DSH 0.2.1-rc.4 or newer (engines.dsh is >=0.2.1-rc.4): the preset mounts the @deepseek-ai/dsh-tool-subagent-control/list-agents subpath that this release introduces. DSH reads engines.dsh and refuses to install or activate the plugin outside that range.
# Mount the bundle into a profile. The argument is a registry package name or a path to
# a checkout; DSH forwards it to pnpm inside the profile directory.
dsh plugin --profile <profile> add open-spec-mesh
# Unmount.
dsh plugin --profile <profile> remove open-spec-mesh
Restart the profile, then choose sdd in the preset picker; it adds L0/L1/L2 complexity triage with progressive skill gating.
The two DSH entry points cover different work and do not overlap:
| Command | Writes | Does not write |
|---|---|---|
dsh plugin --profile <profile> add open-spec-mesh |
The package in the DSH profile plugin set that supplies the sdd preset | Project AGENTS.md; skills under $DSH_HOME/skills |
osm install --host dsh |
The managed section of the target project AGENTS.md; the sdd-* skills into $DSH_HOME/skills |
agents/*.md (DSH does not read them); Research tools (DSH configures MCP inside the preset); --with-laya fails closed |
Role routing: the preset osm:role-routes section renders ~/.dsh/osm-models.json ($DSH_HOME overrides the base directory) into a role → provider / model / reasoning_effort table, and the agent dispatches with the native subagent tool by passing those three values explicitly. osm models list|doctor|set|reset|export|import manages that file (with backup/restore via osm models export [filepath] and osm models import <filepath> [--force]); osm validates no allowlist, so a route the DSH session does not allow is rejected by DSH, not by osm.
Default homes also honor CODEX_HOME, OPENCODE_CONFIG_DIR and CLAUDE_CONFIG_DIR. --codex-home remains a Codex compatibility option. Host startup examples are in the operations guide.
npm exec --yes --registry=https://registry.npmjs.org/ --package=open-spec-mesh@0.3.0 -- \
open-spec-mesh install --host codex --skip-tools
# From this repository: globally link the checkout; retain its directory.
npm ci
npm install --global .
open-spec-mesh install --host codex --skip-tools
# Or build a portable artifact; dependencies still need npm access/cache.
npm pack
npm install --global ./open-spec-mesh-0.3.0.tgz
open-spec-mesh install --host codex --skip-tools
# Upgrade the command, then explicitly upgrade the managed host assets.
npm install --global open-spec-mesh@latest --registry=https://registry.npmjs.org/
open-spec-mesh install --host codex --skip-tools --dry-run
open-spec-mesh install --host codex --skip-tools
# Remove only the global command; this does not remove configured host assets.
npm uninstall --global open-spec-mesh
PATH (on Linux/macOS, typically $(npm prefix -g)/bin). For permission errors, use a user-owned Node installation/global prefix rather than automatically running host configuration with sudo.The public package 0.1.0 provides both osm and open-spec-mesh. Every published version from 0.1.0 onward ships osm, so no local checkout is required; osm is a shorter equivalent entry point, not a separate registry upgrade.
osm --dry-run # Preview the default Codex install without writing Home.
osm # Equivalent to open-spec-mesh install --host codex --skip-tools.
osm --help
osm --version
osm install --host opencode --skip-tools
Running osm explicitly performs installation; it is not an npm postinstall. The legacy entry still shows help with no arguments. A clear request such as “publish 0.0.2” automatically selects $sdd-release and authorizes npm publication of that target version; users need not type a skill invocation. Requests for release materials alone do not authorize upload.
role_desc, for example explorer_module_flow or librarian_node_backend; keep configured role IDs unchanged.When you select SDD mode, Main explains the current stage, suggests the matching sdd-* skill with a ready-to-use invocation, and points to the next entry when the stage is complete. Skill completion does not approve another stage.
| Stage or need | Skill | Example |
|---|---|---|
| Document scaffolding, only when needed | $sdd-init |
$sdd-init Initialize the project document scaffold |
| Requirements | $sdd-req |
$sdd-req Create or refine the requirements for this Change |
| Overall design | $sdd-design |
$sdd-design Requirements are confirmed; write the overall design |
| Execution plan: task breakdown and task-level design | $sdd-plan |
$sdd-plan Overall design is confirmed; write the execution plan and task designs |
| Implementation and validation | $sdd-do |
$sdd-do The execution plan is confirmed; implement serially and validate |
| Delivery and archiving after confirmation | $sdd-close |
$sdd-close Summarize actual implementation and validation for my confirmation |
Skip initialization if a suitable scaffold already exists. Use $sdd-migrate for conflicting legacy document structures, $sdd-research for reusable research/long-term ADRs when needed, and $sdd-diagnose only when diagnostics are requested. A clear request to publish a target version automatically selects $sdd-release and authorizes that version’s npm upload; requests for materials alone do not authorize publication. Natural-language authorization is also valid. If a skill is not installed or available in the session, Main must say so and guide installation/loading rather than claim it was invoked.
The broad $sdd-change skill and former sdd-requirements name are no longer managed; use $sdd-req for requirements. Old sdd-change/scripts/ entrypoints have been removed. During upgrade, a previously registered old directory is preserved in a private local ZIP under open-spec-mesh/retired-skills/ before leaving skill discovery, including local edits. Recovery archives are not automatically cleaned up; unregistered user directories are retained with a warning rather than removed by name.
open-spec-mesh --help
open-spec-mesh init-project --root /path/to/project
open-spec-mesh new-change feature --root /path/to/project
# After human confirmation:
open-spec-mesh ensure-design CHG-YYYYMMDD-feature --root /path/to/project
open-spec-mesh new-task CHG-YYYYMMDD-feature capability --root /path/to/project
open-spec-mesh validate-docs --root /path/to/project
Change creation writes only requirements; task creation writes macro Markdown and a human-readable plan. Neither creates execution state. observe/diagnose collect read-only evidence. Release commands prepare documents, not deployment. Integration and validation use ordinary Git/project tools.
Research tooling additionally uses CONTEXT7_API_KEY / TAVILY_API_KEY; export your own values in the invoking environment before running installation without --skip-tools. Credentials are not included in the npm package or written by npm installation.
System One is optional and disabled by default. The self-hosted GPU service is removed; only the Node.js HTTP/MCP client for an external compatible inference service remains. It does not download models, start local inference or execute Python. The managed bridge is currently Codex-only.
For contributors, from a source checkout:
npm ci
npm run validate:core
npm run validate:full
Full validation additionally requires real host CLIs, Docker, Mermaid and Research tooling. Missing prerequisites are failures, not successful placeholders. First-party tools, tests and automation are Node.js-only; the audit requires zero first-party Python sources. Core results do not prove full external-host or inference readiness.
See rules, tool guide, document guidance and project documentation.
The complete documentation layout remains: C01/C02/C03, independent Task documents, Delivery, and navigation. Shared facts are referenced instead of rewritten. Delegate only for a plausible net benefit; serial work stays with Main. Designs separate binding behavioral/security/public contracts, adjustable implementation choices, and unverified assumptions. See the collaboration guide.
# Read-only installed-file inspection, not proof of active-session settings
node bin/open-spec-mesh.js inspect-host --host codex --format json
# Explicit scenario checks of normalized observations; no model calls or approvals
node bin/open-spec-mesh.js evaluate-collaboration --list
node bin/open-spec-mesh.js evaluate-collaboration --report PRIVATE_REPORT --scenario local-fix
# Readable report; incomplete exits 3 only with this explicit strict option
node bin/open-spec-mesh.js evaluate-collaboration --report PRIVATE_REPORT --scenario local-fix --format md --fail-on-incomplete
# Source maintenance; preserves project-specific AGENTS content outside COMMON markers
npm run check:workflow
npm run sync:workflow
Without a historical Graph, legacy first-pass/rework measures are not applicable or unknown, never fabricated zeroes. Observed Main/child token deltas are deduplicated per session/slice; complete totals require complete coverage. Pricing and real savings remain unknown. Optional operator rework marks and a fixed-baseline comparison are documented in the evaluation guide. Static checks, deterministic fixtures, trace-action checks, and actual model performance are different evidence levels. These documents ship in the published package from 0.0.3 onward; installing or upgrading the package does not upgrade an existing Host Home.
Evaluation defaults to JSON and retains the existing exit behavior: incomplete can exit 0. Opt in to --fail-on-incomplete for exit 3; action failures exit 1 and argument errors exit 2. Even supported_checks_passed leaves semantic quality and human acceptance unverified.
New goals default to Quick: neither end-to-end requests nor loading sdd-do creates a formal Change/Task/Delivery chain. Preserve existing structure; use short single-task SDD examples only when SDD is explicitly selected. Codex install can explicitly migrate only the legacy fallback with --migrate-legacy-agent-defaults, preserving Main and other overrides. node scripts/verify_codex_live.js --run --output PRIVATE_DIR opts into paid real inference, never a routine/core/full check.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。