ultra-builder-pro-cli 5.0.1 → 6.0.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.
- package/CHANGELOG.md +103 -3
- package/README.md +67 -478
- package/README.zh-CN.md +49 -422
- package/adapters/_shared/frontmatter.cjs +1 -18
- package/adapters/_shared/plugin-core.cjs +17 -83
- package/adapters/_shared/runtime-assets.cjs +6 -120
- package/adapters/claude.js +8 -24
- package/adapters/codex.js +13 -32
- package/bin/install.js +35 -57
- package/docs/PLUGIN-ISOLATION-CONTRACT.md +13 -101
- package/docs/examples/drive/claude-reviewer.sh +53 -0
- package/docs/examples/drive/claude-writer.sh +43 -0
- package/engine/FORMATS.md +1051 -0
- package/engine/checks.cjs +139 -0
- package/engine/cli.cjs +148 -0
- package/engine/completion.cjs +48 -0
- package/engine/context.cjs +94 -0
- package/engine/drive.cjs +220 -0
- package/engine/expect-worker.cjs +5 -0
- package/engine/expect.cjs +33 -0
- package/engine/formats.cjs +189 -0
- package/engine/git-state.cjs +112 -0
- package/engine/ledger.cjs +205 -0
- package/engine/loading.cjs +28 -0
- package/engine/merge.cjs +273 -0
- package/engine/milestone.cjs +89 -0
- package/engine/plan.cjs +232 -0
- package/engine/project.cjs +5 -0
- package/engine/signals.cjs +3 -0
- package/engine/states.cjs +175 -0
- package/hooks/session-start.cjs +54 -0
- package/package.json +17 -52
- package/skills/ultra/SKILL.md +395 -0
- package/.ultra-template/changes/abandoned/.gitkeep +0 -0
- package/.ultra-template/changes/active/.gitkeep +0 -1
- package/.ultra-template/changes/archive/.gitkeep +0 -1
- package/.ultra-template/contexts/TEMPLATE.md +0 -135
- package/.ultra-template/decisions/.gitkeep +0 -1
- package/.ultra-template/evidence/.gitkeep +0 -1
- package/.ultra-template/north-star.md +0 -52
- package/.ultra-template/project-brief.md +0 -28
- package/.ultra-template/research/.gitkeep +0 -1
- package/.ultra-template/specs/architecture.md +0 -81
- package/.ultra-template/specs/discovery.md +0 -74
- package/.ultra-template/specs/product.md +0 -80
- package/.ultra-template/specs/research-distillate.md +0 -57
- package/.ultra-template/tasks.json +0 -4
- package/.ultra-template/test-report.json +0 -44
- package/adapters/_shared/host-profile.cjs +0 -5
- package/adapters/grok.js +0 -242
- package/adapters/kimi.js +0 -232
- package/adapters/opencode.js +0 -408
- package/adapters/zcode.js +0 -375
- package/bin/delegate-worker.cjs +0 -5
- package/bin/delegate.cjs +0 -5
- package/docs/ARCHITECTURE.md +0 -274
- package/docs/ARTIFACT-AUTHORITY.md +0 -305
- package/docs/DECISIONS.md +0 -229
- package/docs/PHILOSOPHY.md +0 -261
- package/docs/RUNTIME-COMPAT-MATRIX.md +0 -316
- package/docs/SKILL-AUTHORING.md +0 -113
- package/docs/WORKFLOW-LIFECYCLE.md +0 -350
- package/docs/evals/adversarial-review-2026-08-14.md +0 -84
- package/docs/evals/ultra-5-0-journey-results.md +0 -62
- package/docs/evals/ultra-5-0-live-acp-conformance.md +0 -93
- package/docs/evals/ultra-5-0-route-journeys.md +0 -145
- package/docs/evals/zcode-automation-2026-08-14.md +0 -103
- package/hooks/README.md +0 -52
- package/hooks/_common.py +0 -1779
- package/hooks/adapters/codex.py +0 -295
- package/hooks/adapters/grok.py +0 -134
- package/hooks/adapters/kimi.py +0 -156
- package/hooks/adapters/zcode.py +0 -227
- package/hooks/block_dangerous_commands.py +0 -201
- package/hooks/compact_context.py +0 -224
- package/hooks/mid_workflow_recall.py +0 -47
- package/hooks/post_edit_guard.py +0 -215
- package/hooks/session_context.py +0 -741
- package/skills/ultra-change/SKILL.md +0 -165
- package/skills/ultra-change/references/change-contract.md +0 -199
- package/skills/ultra-change/references/execution-grant.md +0 -109
- package/skills/ultra-change/references/primary-transfer.md +0 -273
- package/skills/ultra-change/scripts/validate_primary_transfer.cjs +0 -1928
- package/skills/ultra-delegate/SKILL.md +0 -195
- package/skills/ultra-delegate/patches/zcode-acp-0.1.0-zcode-0.16.5.patch +0 -184
- package/skills/ultra-delegate/references/delegation-contract.md +0 -138
- package/skills/ultra-delegate/scripts/acp-conformance.cjs +0 -287
- package/skills/ultra-delegate/scripts/acp-driver.cjs +0 -762
- package/skills/ultra-delegate/scripts/agent-execution-driver.cjs +0 -320
- package/skills/ultra-delegate/scripts/cli-driver.cjs +0 -61
- package/skills/ultra-delegate/scripts/delegate-profiles/kimi-read-only.md +0 -15
- package/skills/ultra-delegate/scripts/delegate-profiles/kimi-write.md +0 -17
- package/skills/ultra-delegate/scripts/delegate-worker.cjs +0 -328
- package/skills/ultra-delegate/scripts/delegate.cjs +0 -690
- package/skills/ultra-delegate/scripts/delegate_wait.py +0 -86
- package/skills/ultra-delegate/scripts/host-profile.cjs +0 -267
- package/skills/ultra-deliver/SKILL.md +0 -194
- package/skills/ultra-deliver/references/baseline-reconciliation.md +0 -41
- package/skills/ultra-dev/SKILL.md +0 -265
- package/skills/ultra-dev/references/debugging.md +0 -22
- package/skills/ultra-domain-modeling/SKILL.md +0 -79
- package/skills/ultra-grilling/SKILL.md +0 -121
- package/skills/ultra-grilling/references/reframing.md +0 -76
- package/skills/ultra-init/SKILL.md +0 -143
- package/skills/ultra-init/references/brownfield-adoption.md +0 -32
- package/skills/ultra-init/scripts/init_project.cjs +0 -1031
- package/skills/ultra-plan/SKILL.md +0 -160
- package/skills/ultra-plan/references/task-evidence-v2.md +0 -300
- package/skills/ultra-plan/scripts/validate_task_evidence.cjs +0 -859
- package/skills/ultra-research/SKILL.md +0 -167
- package/skills/ultra-research/references/00-problem-validation.md +0 -36
- package/skills/ultra-research/references/01-opportunity-discovery.md +0 -33
- package/skills/ultra-research/references/02-market-assessment.md +0 -31
- package/skills/ultra-research/references/03-alternatives.md +0 -31
- package/skills/ultra-research/references/04-product-strategy.md +0 -41
- package/skills/ultra-research/references/05-assumptions-validation.md +0 -31
- package/skills/ultra-research/references/10-user-personas.md +0 -30
- package/skills/ultra-research/references/11-user-scenarios.md +0 -28
- package/skills/ultra-research/references/20-user-stories.md +0 -31
- package/skills/ultra-research/references/21-features-scope.md +0 -38
- package/skills/ultra-research/references/22-success-metrics.md +0 -33
- package/skills/ultra-research/references/30-architecture-context.md +0 -30
- package/skills/ultra-research/references/31-solution-strategy.md +0 -28
- package/skills/ultra-research/references/32-building-blocks.md +0 -28
- package/skills/ultra-research/references/40-deployment.md +0 -29
- package/skills/ultra-research/references/41-quality-risks.md +0 -28
- package/skills/ultra-research/references/99-synthesis.md +0 -59
- package/skills/ultra-research/references/north-star-v2.md +0 -168
- package/skills/ultra-research/references/wayfinding.md +0 -50
- package/skills/ultra-research/scripts/validate_north_star.cjs +0 -1174
- package/skills/ultra-review/SKILL.md +0 -275
- package/skills/ultra-review/references/adversarial-evaluation.md +0 -31
- package/skills/ultra-review/references/code.md +0 -17
- package/skills/ultra-review/references/comments.md +0 -12
- package/skills/ultra-review/references/design.md +0 -12
- package/skills/ultra-review/references/errors.md +0 -13
- package/skills/ultra-review/references/review-modes.md +0 -29
- package/skills/ultra-review/references/spec.md +0 -18
- package/skills/ultra-review/references/tests.md +0 -12
- package/skills/ultra-review/references/unified-schema.md +0 -284
- package/skills/ultra-review/references/worker-packet.md +0 -183
- package/skills/ultra-review/scripts/review_wait.py +0 -2943
- package/skills/ultra-status/SKILL.md +0 -209
- package/skills/ultra-status/references/route-contract.md +0 -100
- package/skills/ultra-tdd/SKILL.md +0 -91
- package/skills/ultra-tdd/references/templates/README.md +0 -20
- package/skills/ultra-tdd/references/templates/feature-flag-default-audit.sh +0 -79
- package/skills/ultra-tdd/references/templates/persistence-real.ts +0 -78
- package/skills/ultra-tdd/references/templates/testcontainer-postgres.py +0 -78
- package/skills/ultra-tdd/references/templates/testcontainer-postgres.ts +0 -73
- package/skills/ultra-tdd/references/templates/vertical-slice.ts +0 -66
- package/skills/ultra-tdd/references/test-execution.md +0 -23
- package/skills/ultra-test/SKILL.md +0 -244
- package/skills/ultra-test/references/export-syntax.md +0 -18
- package/skills/ultra-test/scripts/validate_review_transport.cjs +0 -549
- package/skills/ultra-test/scripts/worktree_digest.cjs +0 -576
- package/skills/ultra-think/SKILL.md +0 -56
- package/skills/ultra-think/references/autonomy-boundary.md +0 -48
- package/skills/ultra-think/references/interaction-boundary.md +0 -42
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,107 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [6.0.0] — 2026-11-04
|
|
9
|
+
|
|
10
|
+
- Start in Claude Code with `/ultra` (full name `/ultra-builder-pro:ultra`),
|
|
11
|
+
or in Codex with `$ultra-builder-pro:ultra`.
|
|
12
|
+
- Ship one `ultra` method, the deterministic `ubp` engine and one Node SessionStart
|
|
13
|
+
observer for Claude Code and Codex. Each plugin carries its own engine.
|
|
14
|
+
- Remove the fourteen 5.x Skills, five Python hooks, old project template, and the
|
|
15
|
+
OpenCode, Kimi, Grok and ZCode adapters.
|
|
16
|
+
- Remove `run`, `delegate`, ACP/Pi execution, durable grants and wake-up machinery,
|
|
17
|
+
together with their dedicated tests, fixtures, evaluations and obsolete documentation.
|
|
18
|
+
Multiple next-step authorities conflicted with the single v6 method and computed status.
|
|
19
|
+
- Keep the old workflows recoverable from Git history and the published 5.0.1 package
|
|
20
|
+
(5.0.2 was never published);
|
|
21
|
+
existing 5.x project files are not automatically migrated.
|
|
22
|
+
- Decision: `.ultra/decisions/2026-11-01-v6-product-shape.md` in the source repository.
|
|
23
|
+
Release verification uses Node tests and the production dependency audit, without pytest.
|
|
24
|
+
- Add `ubp drive --writer <command> [--reviewer <command>]`: an unattended controller loop
|
|
25
|
+
that compiles each node's brief, runs the writer, verifies truth files, history, a clean
|
|
26
|
+
tree, scope, check files, the plan gate and the ratchet, runs the reviewer once at the
|
|
27
|
+
milestone gate, and stops wherever a person must judge. It never closes a milestone or
|
|
28
|
+
approves anything. Headless Claude Code writer and reviewer examples ship in the package
|
|
29
|
+
and the repository under `docs/examples/drive/` (the installer does not copy them into a
|
|
30
|
+
host).
|
|
31
|
+
- (2026-11-02) The milestone review blocks only when the product breaks a requirement's
|
|
32
|
+
`Done when` line or the Direction, or does something wrong that a person can reproduce
|
|
33
|
+
(contradicts the spec, loses or corrupts data, crashes, opens a security hole). A gap where
|
|
34
|
+
the code is right and only a check could be stronger is reported to the Owner and no longer
|
|
35
|
+
starts another review round. The milestone demo lists those gaps and what the writers'
|
|
36
|
+
handoffs left open, and a defect among them is never passed on the Owner's behalf.
|
|
37
|
+
- (2026-11-02) Two requirements that cannot both hold are the Owner's call in the escalation
|
|
38
|
+
table too, as the planning step already said; the planner keeps wrong acceptances.
|
|
39
|
+
- (2026-11-04) The plan gate reads ruling lines tolerantly: dashes, spaces and colons may
|
|
40
|
+
differ and `如果判断错了` may be left out, but a line still needs its date, layer, decision,
|
|
41
|
+
reason and cost. Spacing around a dash was the most frequent first-attempt refusal in real
|
|
42
|
+
runs.
|
|
43
|
+
- (2026-11-04) The method starts `ubp drive` in the background, since a foreground call is
|
|
44
|
+
bounded by the host's command timeout. A running drive holds `.ultra/.runtime/drive.lock`;
|
|
45
|
+
a second drive on the same tree stops `drive-running`, and `ubp status` reports the
|
|
46
|
+
holder as `drive` (the line ends with `drive 运行中`). The SessionStart hook stays silent
|
|
47
|
+
inside a drive's writer or reviewer (`UBP_DRIVE` set), so they follow their brief.
|
|
48
|
+
- (2026-11-04) The example drive writer and reviewer deny `git push`, `npm publish` and `gh`
|
|
49
|
+
through Claude Code permission rules. These match command prefixes, so `git -C <dir> push`
|
|
50
|
+
and a push made inside a script still get through (a mid-command wildcard would also deny
|
|
51
|
+
every commit whose message says "push"); a work tree with no push remote is the stronger
|
|
52
|
+
guard.
|
|
53
|
+
|
|
54
|
+
## 5.x source work after 5.0.1 (never published, superseded by 6.0.0)
|
|
55
|
+
|
|
56
|
+
This 5.x work was in the source checkout but never on npm: on 2026-09-10 the registry's
|
|
57
|
+
`latest` tag resolved to `5.0.1`, and the source package declared an unpublished `5.0.2`.
|
|
58
|
+
6.0.0 removes most of what this section adds; it stays here as history.
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- A natural-language goal entry for Claude Code and Pi, with native session
|
|
63
|
+
continuation. The host model selects the appropriate workflow.
|
|
64
|
+
- Qualified Pi delegation, finite parallel batches, role profiles, worktree
|
|
65
|
+
management, and result notifications to the main session.
|
|
66
|
+
- Opt-in durable checkpoints that permit at most one fresh Pi turn after the
|
|
67
|
+
previous session exits, with expiry, revocation, and no replay of unknown delivery.
|
|
68
|
+
- A usage guide, a documentation index, and bilingual diagrams explaining the
|
|
69
|
+
relationship between the owner, coding agent, project records, and optional workers.
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- Rewrote both READMEs around the problems Ultra addresses, first use, and everyday
|
|
74
|
+
examples. Moved protocol details to their reference pages and release history here.
|
|
75
|
+
- Clarified that small fixes can stay ordinary work and that product-building
|
|
76
|
+
requests continue beyond the initial skeleton once their purpose is settled.
|
|
77
|
+
|
|
78
|
+
### Validation limits
|
|
79
|
+
|
|
80
|
+
- Finite Pi work and selected continuation, cancellation, revocation, process-death,
|
|
81
|
+
and duplicate-event paths have retained native evidence. This does not establish
|
|
82
|
+
complete machine-restart or network-partition recovery.
|
|
83
|
+
- Repeated Factory efficiency gains over comparable Solo/manual work remain
|
|
84
|
+
unproven. Strategy candidates have not been promoted; the owner's promote/reject
|
|
85
|
+
decision remains open.
|
|
86
|
+
- Stage E's additional final review returned `INCOMPLETE` with no new P0/P1 findings.
|
|
87
|
+
Formal acceptance remains open in the
|
|
88
|
+
[development record](https://github.com/rocky2431/ultra-builder-pro-cli/blob/main/docs/wip/ultra-builder-pro-vnext-three-stage-delivery-state.zh-CN.md).
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- Corrected protected authority path aliases and retained fresh-turn expiry and
|
|
93
|
+
revocation checks at consumption.
|
|
94
|
+
- Replaced README installation commands targeting the unpublished package with
|
|
95
|
+
`@latest`, and separated registry installation from source-checkout usage.
|
|
96
|
+
|
|
97
|
+
- Reconciled every maintained delegation surface around the installed Skill-local,
|
|
98
|
+
ACP-first `AgentExecutionDriver`; the result-compatible CLI driver is now described
|
|
99
|
+
consistently as a typed fallback rather than as the product definition.
|
|
100
|
+
- Corrected current six-Host authority: candidate-identity probes are required when a
|
|
101
|
+
profile declares them, Codex Hook trust is host-managed and not observable through
|
|
102
|
+
Doctor, and explicit-only versus grant-continuable public modes match runtime metadata.
|
|
103
|
+
- Named all six task-evidence dimensions exactly and closed every relative README link
|
|
104
|
+
inside the npm package.
|
|
105
|
+
- Separated ZCode Desktop Host configuration from provider identity, documented the
|
|
106
|
+
current ZCode model-provider location and BigModel Coding Plan endpoint, preserved
|
|
107
|
+
the pinned 0.16.5 drill as historical evidence, and exposed the required
|
|
108
|
+
`--ack-experimental` launch acknowledgement.
|
|
9
109
|
|
|
10
110
|
## [5.0.1] — 2026-08-26
|
|
11
111
|
|
|
@@ -50,8 +150,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
50
150
|
installed `ultra-delegate` Skill. The package-level `ubp delegate` command is a thin
|
|
51
151
|
one-release compatibility wrapper rather than a day-to-day runtime dependency.
|
|
52
152
|
- Activated ACP-first delivery for all six shipped Host profiles only while each exact
|
|
53
|
-
executable,
|
|
54
|
-
remain valid. Any unavailable or stale boundary still returns the typed,
|
|
153
|
+
executable, protocol version, current conformance receipt, and any candidate-identity
|
|
154
|
+
probe declared by that profile remain valid. Any unavailable or stale boundary still returns the typed,
|
|
55
155
|
result-compatible CLI fallback without an automatic provider retry.
|
|
56
156
|
- Connected ZCode Desktop through the independently built `zcode-acp` v0.1.0 bridge at
|
|
57
157
|
commit `42fe149d4b501469343c01f23ba3801832306d53` plus the shipped digest-bound ZCode
|