orchestrix-skills 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "orchestrix-skills",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Capability-first AI development skill graph (Anthropic-native): plan → build with a warm-context orchestrator, contract-wired skills, and independent verification.",
5
5
  "author": "Orchestrix",
6
6
  "homepage": "https://orchestrix-mcp.youlidao.ai",
7
7
  "license": "MIT",
8
- "keywords": ["orchestrix", "skills", "ai-development", "orchestration"],
8
+ "keywords": [
9
+ "orchestrix",
10
+ "skills",
11
+ "ai-development",
12
+ "orchestration"
13
+ ],
9
14
  "skills": "./skills"
10
15
  }
package/README.md CHANGED
@@ -6,8 +6,8 @@ contract-bearing skills from intent to commit — with independent verification
6
6
  that never trusts the model's self-report.
7
7
 
8
8
  Open source (MIT). The skills run in any runtime that loads Anthropic skills
9
- (Claude Code, Claude apps, Agent SDK). The hosted orchestrator, knowledge
10
- hosting, and team features are the premium layer — see below.
9
+ (Claude Code, Claude apps, Agent SDK). You run them in your own runtime with your
10
+ own API key: no server, no license, no telemetry.
11
11
 
12
12
  ## The graph
13
13
 
@@ -29,42 +29,85 @@ intent
29
29
  Human gates are front-loaded (planning = direction) and at the end (acceptance);
30
30
  the build loop runs lights-out, gated only by objective `verify`.
31
31
 
32
- ## Install (free, no license)
32
+ ## Install
33
33
 
34
34
  ```bash
35
- npx orchestrix-skills install # default: Claude Code (.claude/skills/)
35
+ npx orchestrix-skills install # default: Claude Code (.claude/skills/)
36
36
  npx orchestrix-skills install --ide codex # Codex (.codex/skills/ + AGENTS.md)
37
37
  npx orchestrix-skills install --ide cursor
38
38
  npx orchestrix-skills doctor --ide codex # validate an installation
39
39
  ```
40
40
 
41
41
  This copies the skills into your runtime's skills dir and scaffolds `knowledge/`
42
- + `core-config.yaml` (it never overwrites an existing `knowledge/` — that's your
43
- brain). Then use the `orchestrate` skill. You run it in your own runtime with
44
- your own API key. No server, no license.
42
+ + `core-config.yaml` (it never overwrites an existing `knowledge/` — that is your
43
+ brain). Then use the `orchestrate` skill.
45
44
 
46
- For Claude Code you can also install via the plugin marketplace:
45
+ For Claude Code you can also install from the plugin marketplace:
47
46
  `/plugin install orchestrix-skills`.
48
47
 
48
+ ### Upgrading, and how hosts automate it
49
+
50
+ Re-running `install` refreshes the skills in place. It also writes a stamp at
51
+ `<skills-dir>/.orchestrix-skills.json`:
52
+
53
+ ```json
54
+ { "version": "0.8.0", "ide": "claude", "skills": ["brainstorm", "commit", "…"] }
55
+ ```
56
+
57
+ Two things read it. The installer prunes skills a previous version placed that
58
+ the package no longer ships — and only those names, so a skill you or your
59
+ platform installed alongside them is never touched. And a host that provisions
60
+ projects can compare `version` against the npm dist-tag to decide whether to
61
+ reinstall, instead of maintaining its own version constant that silently drifts.
62
+
63
+ The stamp is written last: a run that dies mid-copy leaves the older stamp
64
+ behind, so the next run still sees a mismatch and reinstalls rather than
65
+ declaring itself current.
66
+
67
+ ## What `orchestrate` guarantees
68
+
69
+ The root skill is where the interesting engineering lives. Beyond wiring:
70
+
71
+ - **Verification is executable.** Each step's `verify` must be proven by a real
72
+ command the orchestrator runs itself, with the command, exit code, and output
73
+ tail captured to `.orchestrate/verify/step-<n>-attempt-<k>.log`. A subagent's
74
+ own success report is not evidence.
75
+ - **State lives outside the context window.** Every run appends to
76
+ `.orchestrate/ledger.jsonl` (`run_start` / `plan` / `step` / `gate` /
77
+ `run_end`). The ledger is the run's durable memory, not the conversation.
78
+ - **Cold re-entry is deterministic.** After compaction, an interruption, or a
79
+ wake-up, the orchestrator replays the ledger instead of trusting recall. A
80
+ step left dangling at `dispatched` is trusted in neither direction: its verify
81
+ command is re-run to decide whether it completed.
82
+ - **Rework is bounded.** A failed verify re-dispatches the same skill with the
83
+ failure as input — capped at 3 attempts, and a failure whose cause is not
84
+ understood goes to `investigate` first, so the retry aims at a mechanism
85
+ rather than re-rolling the dice.
86
+ - **Accept gates are enforced by authority, not by declaration.** A skill that
87
+ spends, sends, deploys, deletes, or signs is escalated to an inline human gate
88
+ even if it asked for a deferred one.
89
+ - **Two rules are hard-wired** because output→input matching structurally cannot
90
+ reach them: `smoke-test` is the acceptance floor for a runnable app the run
91
+ changed, and `design-system` precedes `design-ui`.
92
+
49
93
  ## Runtime adapters
50
94
 
51
95
  `skills/` is the runtime-neutral source of truth. `adapters/` describes how a
52
96
  runtime maps generic capabilities to its tools. During a Codex install the CLI
53
- removes Claude-only `allowed-tools`, preserves the Orchestrix contract, and adds
54
- Codex runtime guidance. If the target has an unmanaged `AGENTS.md`, its content
55
- is left untouched and the guidance is placed at `.codex/orchestrix/AGENTS.md`
56
- for manual merging. Installer-created guidance uses a marked Orchestrix block,
57
- so later installs refresh that block while preserving surrounding user
58
- instructions.
59
-
60
- `doctor` validates every installed Skill's required frontmatter, Codex
97
+ removes Claude-only `allowed-tools`, preserves the contract, and adds Codex
98
+ runtime guidance. If the target has an unmanaged `AGENTS.md`, its content is left
99
+ untouched and the guidance is placed at `.codex/orchestrix/AGENTS.md` for manual
100
+ merging. Installer-created guidance uses a marked block, so later installs
101
+ refresh that block while preserving surrounding user instructions.
102
+
103
+ `doctor` validates every installed skill's required frontmatter, the Codex
61
104
  transformation, configuration shape, knowledge directory, and active root
62
105
  guidance. A reference file that has not been merged into an existing root
63
106
  `AGENTS.md` is reported as unhealthy rather than silently treated as active.
64
107
 
65
108
  Codex uses isolated agents when the active session exposes them and otherwise
66
- runs leaf skills sequentially. Cursor and Windsurf remain reference-rule
67
- installs until those runtimes provide native compatible skill execution.
109
+ runs leaf skills sequentially. Cursor and Windsurf remain reference-rule installs
110
+ until those runtimes provide native compatible skill execution.
68
111
 
69
112
  ## How it works
70
113
 
@@ -75,19 +118,15 @@ installs until those runtimes provide native compatible skill execution.
75
118
  verify. See `skills/README.md`.
76
119
  - **Two zones in your project:** `knowledge/` (the brain skills read — AI-primary,
77
120
  structured, with provenance) and `docs/` + `src/` (work products and the
78
- deliverable). `core-config.yaml` maps logical namespaces to physical paths.
79
-
80
- ## Premium (hosted)
81
-
82
- The skills are free and open. The hosted layer is where the work runs for you:
83
- the orchestrator-as-a-service, knowledge hosting + metabolism, team sync, and the
84
- transparent AI software company ("建造中心"). See
85
- [orchestrix-mcp.youlidao.ai](https://orchestrix-mcp.youlidao.ai).
121
+ deliverable). `core-config.yaml` maps logical namespaces to physical paths, so
122
+ a project keeps its brain wherever it already lives.
86
123
 
87
- ## Design
124
+ ## Hosted
88
125
 
89
- Full design rationale: `Skill 编排器与最小契约设计` (the capability-first model,
90
- the 6-field contract, lights-out accept gates, the knowledge KB, distribution).
126
+ A hosted layer orchestrator-as-a-service, knowledge hosting, and team features
127
+ is available separately at
128
+ [orchestrix-mcp.youlidao.ai](https://orchestrix-mcp.youlidao.ai). Nothing in this
129
+ package requires it or talks to it.
91
130
 
92
131
  ## Attribution
93
132
 
package/bin/install.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // orchestrix-skills installer — zero dependencies.
3
- // Free path: copy skills into the runtime's skills dir + scaffold knowledge/.
4
- // No MCP, no license. Premium (hosted orchestrator / KB / 建造中心) is a separate opt-in.
3
+ // Copies skills into the runtime's skills dir + scaffolds knowledge/.
4
+ // No MCP, no license, no network calls. The hosted layer is a separate opt-in.
5
5
  import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
6
6
  import { dirname, join } from "node:path";
7
7
  import { fileURLToPath } from "node:url";
@@ -41,11 +41,12 @@ Usage:
41
41
  npx orchestrix-skills install [--ide claude|codex|cursor|windsurf] [--dir <project>]
42
42
  npx orchestrix-skills doctor [--ide claude|codex|cursor|windsurf] [--dir <project>]
43
43
 
44
- What it does (free, no license):
44
+ What it does:
45
45
  1. Copies the skills into your runtime's skills dir (default: .claude/skills/)
46
46
  2. Scaffolds knowledge/ + core-config.yaml (never overwrites an existing brain)
47
+ 3. Stamps <skills-dir>/.orchestrix-skills.json so upgrades and pruning are exact
47
48
 
48
- Premium (hosted orchestrator, KB hosting, teams, 建造中心):
49
+ Hosted orchestration, knowledge hosting, and team features:
49
50
  see https://orchestrix-mcp.youlidao.ai`);
50
51
  }
51
52
 
@@ -205,7 +206,7 @@ function install() {
205
206
  if (ide === "cursor" || ide === "windsurf") {
206
207
  console.log(`\nNote: ${ide} does not auto-load Anthropic skills yet — copied as reference rules.`);
207
208
  }
208
- console.log(`\nDone. Start with the "orchestrate" skill. Premium hosting: https://orchestrix-mcp.youlidao.ai`);
209
+ console.log(`\nDone. Start with the "orchestrate" skill.`);
209
210
  }
210
211
 
211
212
  function doctor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrix-skills",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Capability-first AI development skill graph — Anthropic-native skills that run in any agent runtime.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,8 +4,6 @@ What the framework installs into a **target project** (the thing being built)
4
4
  not the framework's own content. Skills (capabilities) arrive separately via MCP
5
5
  or `.orchestrix/`; this scaffold is the project's durable knowledge + config.
6
6
 
7
- Maps to the design doc `cc-plans/Skill编排器与最小契约设计-v0.1.md` §10.
8
-
9
7
  ```
10
8
  <project>/
11
9
  ├── knowledge/ # the brain — what skills READ (reads:). AI-primary, human-audited.
package/skills/README.md CHANGED
@@ -4,8 +4,6 @@ Capability-oriented skills, not role-oriented agents. Each skill is a single
4
4
  capability with a clear contract. The `orchestrate` skill wires them together by
5
5
  matching one skill's `outputs` to another's `inputs`.
6
6
 
7
- Design source of truth: `cc-plans/Skill编排器与最小契约设计-v0.1.md`.
8
-
9
7
  ## Format
10
8
 
11
9
  Every skill is a standard [Anthropic Agent Skill](https://agentskills.io/specification)
@@ -37,22 +37,28 @@ Record verified work as one conventional commit.
37
37
  secrets, no `.env*`.
38
38
  4. Commit with the message format below.
39
39
 
40
- ## Message format (required)
40
+ ## Message format
41
41
 
42
- A conventional-commit subject, then the mandatory footer, exactly:
42
+ A conventional-commit subject, optional body, and whatever trailer this project
43
+ requires:
43
44
 
44
45
  ```
45
46
  <type>(<scope>): <summary>
46
47
 
47
48
  <optional body>
48
49
 
49
- 🤖 Generated with [Orchestrix](https://orchestrix-mcp.youlidao.ai)
50
+ <project-required trailer, if any>
50
51
  ```
51
52
 
52
53
  - `<type>`: feat | fix | refactor | docs | test | chore | …
53
- - **The footer line is mandatory and exact.** A commit hook rejects commits
54
- without it.
55
- - **Never** add `Co-Authored-By` or a "Claude Code" footer.
54
+ - **The project decides the trailer, and it is binding.** Look for a required
55
+ commit trailer in `CLAUDE.md` / `AGENTS.md` / contributing docs / a commit
56
+ hook, and reproduce it EXACTLY a hook that enforces one will reject the
57
+ commit otherwise, and a near-miss costs a rewrite. If the project defines
58
+ none, write no trailer.
59
+ - **Never invent a trailer**, and never add `Co-Authored-By` or a tool-attribution
60
+ footer the project did not ask for. Whose name ends up in a project's history
61
+ is the project's call, not this skill's.
56
62
 
57
63
  ## Done
58
64