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
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ultra-research
|
|
3
|
-
description: Turn a raw Project Brief or scoped evidence gap into an accepted North Star, domain language, cited product and architecture specifications, and a hash-bound synthesis. Use after initialization, for brownfield baselining, or inside an active Change whose consequential claims are not yet evidenced.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Mature a project outline into an evidence-backed baseline
|
|
7
|
-
|
|
8
|
-
Research is the first semantic writer of North Star v2 and owns the first accepted
|
|
9
|
-
baseline plus later evidence-backed corrections. Web
|
|
10
|
-
search is one evidence source, not the workflow: repository files, Git, tests, runtime,
|
|
11
|
-
maintained documentation, owner decisions, and current primary sources all count.
|
|
12
|
-
|
|
13
|
-
## Route modes
|
|
14
|
-
|
|
15
|
-
| Mode | Entry | Observable exit | Next |
|
|
16
|
-
|---|---|---|---|
|
|
17
|
-
| `baseline` | Explicit owner invocation with a usable Project Brief and no accepted baseline for the boundary | Selected reports, synthesis, specifications, vocabulary, and accepted North Star are read back; unknowns and omissions remain explicit | Recommend `ultra-change` in `intake` mode for the next bounded request |
|
|
18
|
-
| `change-scoped` | Explicit invocation or a valid Execution Grant for one active Change's recorded Research Disposition | The named exit evidence exists and the selected canonical sections are refreshed without changing Change acceptance | Return to the same `ultra-change` in `reconcile` mode |
|
|
19
|
-
|
|
20
|
-
Follow `../ultra-status/references/route-contract.md`. At entry, name the mode, entry
|
|
21
|
-
question, selected coverage, observable stop condition, and return route. Refresh the
|
|
22
|
-
Route Card at each material checkpoint, pause, and exit; lens counts are navigation, not
|
|
23
|
-
proof that Research is semantically complete.
|
|
24
|
-
|
|
25
|
-
## Before you start
|
|
26
|
-
|
|
27
|
-
1. Resolve `baseline` or `change-scoped` from the artifacts and invocation. A
|
|
28
|
-
model-selected run is valid only for `change-scoped` mode under the live execution
|
|
29
|
-
grant in `../ultra-change/references/execution-grant.md` — a current session-local
|
|
30
|
-
activation or a stably verified durable work-package grant covering the same Change;
|
|
31
|
-
without it, stop and recommend explicit invocation. Baseline adoption is always an
|
|
32
|
-
explicit-entry mode.
|
|
33
|
-
2. Resolve at most one active `change_id`, then read `.ultra/tasks.json` plus the
|
|
34
|
-
`context_file` and `## Resume Note` of unfinished tasks whose `change_id` matches it,
|
|
35
|
-
if any. Archived or abandoned unfinished rows are history, not the current frontier.
|
|
36
|
-
3. Read `.ultra/project-brief.md`. For a legacy project without it, treat the exact
|
|
37
|
-
`.ultra/north-star.md` `## One-line` as raw intake until a brief is preserved.
|
|
38
|
-
4. Read existing `.ultra/north-star.md`, specifications, `CONTEXT.md`, relevant
|
|
39
|
-
`.ultra/decisions/`, active Change intent, evidence, Git state, and maintained docs.
|
|
40
|
-
Run `node <ultra-research-skill-dir>/scripts/validate_north_star.cjs
|
|
41
|
-
.ultra/north-star.md`; this entry captures one bounded regular non-symlink snapshot
|
|
42
|
-
and returns a typed repair diagnostic instead of following, blocking on, or validating
|
|
43
|
-
a changing path. Treat `unresearched` as an empty destination and `legacy_unadopted`
|
|
44
|
-
as preserved intake for explicit adoption, not accepted v2 truth.
|
|
45
|
-
|
|
46
|
-
## Definition of done
|
|
47
|
-
|
|
48
|
-
- Every selected lens has a cited `.ultra/research/<run-id>/<area>.md` report and its
|
|
49
|
-
canonical specification section contains the current conclusion and North Star relation.
|
|
50
|
-
- The accepted North Star, shared vocabulary, product baseline, and architecture
|
|
51
|
-
baseline are sufficient for the current planning boundary; unknowns stay explicit.
|
|
52
|
-
- The North Star follows `references/north-star-v2.md`; all `FP-*`, `NS-*`, and `HC-*`
|
|
53
|
-
definitions and references pass the structural validator without making that result
|
|
54
|
-
a semantic verdict.
|
|
55
|
-
- `99-synthesis.md` names what was promoted, overturned, deferred, or left blocking.
|
|
56
|
-
- `.ultra/specs/research-distillate.md` stores the Git blob hash of each specification
|
|
57
|
-
it summarizes. A mismatch makes the distillate stale, never authoritative.
|
|
58
|
-
|
|
59
|
-
## Find the path before collecting evidence
|
|
60
|
-
|
|
61
|
-
When coverage spans several lenses or the path itself is unclear, read
|
|
62
|
-
`references/wayfinding.md` and write `.ultra/research/<run-id>/brief.md`. Skip that file
|
|
63
|
-
for one already-bounded evidence question. Wayfinding selects the smallest useful
|
|
64
|
-
coverage; it does not create workflow state or another semantic authority.
|
|
65
|
-
|
|
66
|
-
The derived brief records the entry question, selected lenses, deliberate omissions,
|
|
67
|
-
dependencies, source plan, material checkpoints, observable stop condition, and return
|
|
68
|
-
route. Read it on a fresh session instead of restarting completed evidence collection.
|
|
69
|
-
|
|
70
|
-
Map the brief and unresolved specification sections to seventeen focused evidence
|
|
71
|
-
lenses. Show the proposed coverage once. Pause only when it expands an accepted boundary
|
|
72
|
-
or creates another material checkpoint; a covering Change Research Disposition does not
|
|
73
|
-
need a duplicate confirmation. Load one reference at a time; the parent holds the
|
|
74
|
-
question map, not every step prompt.
|
|
75
|
-
|
|
76
|
-
The first six lenses have real semantic dependencies:
|
|
77
|
-
|
|
78
|
-
- `00-problem-validation` runs before `01-opportunity-discovery` because an opportunity must trace to a problem.
|
|
79
|
-
- `02-market-assessment` and `03-alternatives` are conditional lenses and may run in parallel once the boundary is known.
|
|
80
|
-
- `04-product-strategy` is the first owner checkpoint and consumes the relevant conclusions from `00` through `03`.
|
|
81
|
-
- `05-assumptions-validation` extracts load-bearing assumptions from `00` through `04` after the strategy decision.
|
|
82
|
-
|
|
83
|
-
The later groups turn that premise into product behavior (`10` through `22`), then an
|
|
84
|
-
architecture and operating baseline (`30` through `41`). The three owner checkpoints
|
|
85
|
-
remain `04-product-strategy`, `21-features-scope`, and `99-synthesis`.
|
|
86
|
-
At each checkpoint, use `../ultra-think/SKILL.md` for an adversarial challenge of the
|
|
87
|
-
working candidate before asking the owner to accept direction, scope, or synthesis.
|
|
88
|
-
|
|
89
|
-
Only areas with satisfied inputs may fan out through native bounded subagents. Never
|
|
90
|
-
parallelize a lens whose question depends on an unresolved earlier conclusion.
|
|
91
|
-
|
|
92
|
-
## Investigate, ask, and decide
|
|
93
|
-
|
|
94
|
-
For each selected lens:
|
|
95
|
-
|
|
96
|
-
1. Inspect reachable facts before asking. Search current primary sources when a claim
|
|
97
|
-
depends on current external reality.
|
|
98
|
-
2. Separate Observed, Verified, Decided, Inference, and Unknown; cite external claims.
|
|
99
|
-
Record `north_star_effect: supports | refines | contradicts | independent` and
|
|
100
|
-
`north_star_claim: <the evidenced causal relation>` in the area report.
|
|
101
|
-
3. Follow `../ultra-grilling/SKILL.md` when a required owner field is missing. The lens
|
|
102
|
-
supplies what to ask; Grilling supplies the one-question interaction loop.
|
|
103
|
-
4. Follow `../ultra-think/SKILL.md` for one consequential trade-off, not for mapping the
|
|
104
|
-
whole research frontier.
|
|
105
|
-
5. Follow `../ultra-domain-modeling/SKILL.md` when evidence settles a shared term. The
|
|
106
|
-
first such term creates `CONTEXT.md`; later calls sharpen it.
|
|
107
|
-
6. Write the area report, then replace the mapped specification section instead of
|
|
108
|
-
appending a second version. Git retains history.
|
|
109
|
-
|
|
110
|
-
For scoped Research inside an active Change, answer only its recorded `Research
|
|
111
|
-
Disposition` question and produce the named exit evidence. Research writes reports and
|
|
112
|
-
the mapped canonical baseline sections; it does not silently rewrite Change acceptance.
|
|
113
|
-
Return the evidence paths so `ultra-change` can reconcile the accepted intent before
|
|
114
|
-
planning when that contract must change. The scoped run's return route is always the
|
|
115
|
-
same stable Change, even when the evidence supports the original intent unchanged.
|
|
116
|
-
|
|
117
|
-
If web access is unavailable, record `[UNVERIFIED: no web access]` and continue with
|
|
118
|
-
other evidence. Missing tooling lowers confidence; it does not manufacture a blocker.
|
|
119
|
-
|
|
120
|
-
## Synthesize the accepted baseline
|
|
121
|
-
|
|
122
|
-
`04-product-strategy` proposes problem reality and falsifiable first-principle
|
|
123
|
-
propositions. `22-success-metrics` determines whether a
|
|
124
|
-
single North Star metric is justified or whether an observable outcome plus guardrails
|
|
125
|
-
is more honest. Follow `references/north-star-v2.md`: validate a mutable candidate while
|
|
126
|
-
the last accepted revision remains current, show the owner the semantic delta and
|
|
127
|
-
unresolved contradictions, and preserve one stable `.ultra/decisions/<id>.md` acceptance
|
|
128
|
-
record with the owner's exact words, conversation scope, the model's responsibility for
|
|
129
|
-
final wording, and no invented timestamp or inheritance by a future revision. Only after
|
|
130
|
-
the owner accepts the candidate, atomically replace `.ultra/north-star.md`, then update the three
|
|
131
|
-
specifications, domain language, qualifying decisions, and distillate for the first
|
|
132
|
-
baseline. A scoped Research run updates only its mapped specification sections and then
|
|
133
|
-
refreshes the distillate's three source hashes.
|
|
134
|
-
|
|
135
|
-
When an accepted revision supersedes another, preserve prior evidence and report every
|
|
136
|
-
active Change whose recorded revision or digest differs as a stale observation requiring
|
|
137
|
-
Change reconciliation. Supersession never deletes evidence, rewrites a Change silently,
|
|
138
|
-
or grants execution.
|
|
139
|
-
|
|
140
|
-
Load `references/99-synthesis.md` only after selected reports exist. Read every promoted
|
|
141
|
-
file back, verify trace anchors and source hashes, and report exact unresolved gaps.
|
|
142
|
-
For `baseline`, recommend `ultra-change/intake`; for `change-scoped`, return the named
|
|
143
|
-
evidence to `ultra-change/reconcile`. Invoke neither unless the latter continuation is
|
|
144
|
-
covered by the same valid Execution Grant; when it is covered, show the transition Route
|
|
145
|
-
Card first and let Change re-verify its own mode and grant.
|
|
146
|
-
|
|
147
|
-
## When the owner decides
|
|
148
|
-
|
|
149
|
-
The owner chooses coverage, resolves the three checkpoints, accepts a North Star and
|
|
150
|
-
material deferrals, and authorizes any REDUCTION. The model establishes evidence facts,
|
|
151
|
-
selects methods, and updates accepted files inside that frame.
|
|
152
|
-
|
|
153
|
-
## References
|
|
154
|
-
|
|
155
|
-
- `references/wayfinding.md` — read only for multi-lens or unclear research paths.
|
|
156
|
-
- `references/00-problem-validation.md` through `references/05-assumptions-validation.md`
|
|
157
|
-
— product premise and strategy; load only a selected lens.
|
|
158
|
-
- `references/10-user-personas.md` through `references/22-success-metrics.md` — actors,
|
|
159
|
-
behavior, scope, and measurements.
|
|
160
|
-
- `references/30-architecture-context.md` through `references/41-quality-risks.md` —
|
|
161
|
-
system boundary, implementation evidence, operations, and risk.
|
|
162
|
-
- `references/99-synthesis.md` — load last, after selected reports exist.
|
|
163
|
-
- `references/north-star-v2.md` — exact semantic structure, adoption, validation, and
|
|
164
|
-
supersession contract.
|
|
165
|
-
- `../ultra-change/references/execution-grant.md` — read only for grant-activated continuation.
|
|
166
|
-
- `../ultra-status/references/route-contract.md` — owner-visible route, checkpoint, and recovery output.
|
|
167
|
-
- `../ultra-think/references/autonomy-boundary.md` — read before reducing authority.
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Problem validation
|
|
2
|
-
|
|
3
|
-
Use for workflow step `00-problem-validation`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Establish the problem, affected actor, current workaround, consequence, and available
|
|
8
|
-
demand evidence. In brownfield adoption, describe the behavior the current system
|
|
9
|
-
already serves before discussing future intent.
|
|
10
|
-
|
|
11
|
-
## Evidence
|
|
12
|
-
|
|
13
|
-
- Inspect existing product documents, user-facing entry points, support evidence, and
|
|
14
|
-
runtime behavior before asking the owner for facts already present.
|
|
15
|
-
- Treat an owner statement as a decision or claim, not as observed user evidence.
|
|
16
|
-
- Record absent evidence as `Unknown`; do not invent demand, urgency, or a target user.
|
|
17
|
-
- Use external research only when a consequential claim depends on current facts.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `discovery.md` with `Observed`, `Verified`, `Decided`, and `Unknown` entries for:
|
|
22
|
-
|
|
23
|
-
- problem and affected actor;
|
|
24
|
-
- current workaround and consequence;
|
|
25
|
-
- demand or usage evidence;
|
|
26
|
-
- the narrowest owner-approved problem boundary;
|
|
27
|
-
- unresolved validation needs.
|
|
28
|
-
|
|
29
|
-
Link the updated specification anchor from the bounded area report written for this
|
|
30
|
-
research run. A missing load-bearing fact becomes a blocker or baseline gap, not a
|
|
31
|
-
guessed answer.
|
|
32
|
-
|
|
33
|
-
## Report trace
|
|
34
|
-
|
|
35
|
-
In the area report, record `actor`, `current_workaround`, `consequence`, and
|
|
36
|
-
`evidence_status`, then link the updated specification anchor.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Opportunity discovery
|
|
2
|
-
|
|
3
|
-
Use for workflow step `01-opportunity-discovery`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Connect the validated problem to desired outcomes and evidence-backed opportunities.
|
|
8
|
-
Describe opportunities from the actor's perspective rather than as a feature list.
|
|
9
|
-
|
|
10
|
-
## Evidence
|
|
11
|
-
|
|
12
|
-
- Derive current outcomes from observed workflows, existing behavior, interviews, or
|
|
13
|
-
owner decisions.
|
|
14
|
-
- Preserve causal links between a problem, an unmet outcome, and its evidence.
|
|
15
|
-
- Do not force rankings, solution brainstorming, or a fixed number of opportunities.
|
|
16
|
-
- Record opportunities that lack evidence as unknown or future research.
|
|
17
|
-
|
|
18
|
-
## Record
|
|
19
|
-
|
|
20
|
-
Update `discovery.md` with:
|
|
21
|
-
|
|
22
|
-
- desired outcomes and their evidence;
|
|
23
|
-
- opportunity statements and affected actors;
|
|
24
|
-
- constraints or dependencies;
|
|
25
|
-
- owner-decided priority when one exists;
|
|
26
|
-
- rejected or deferred opportunities only when that decision is durable.
|
|
27
|
-
|
|
28
|
-
Complete the step with the evidence used and the updated output path.
|
|
29
|
-
|
|
30
|
-
## Report trace
|
|
31
|
-
|
|
32
|
-
In the area report, record `actor`, `desired_outcome`, and `evidence_status`. Link the
|
|
33
|
-
conclusion to its problem anchor when that relation is established.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Market assessment
|
|
2
|
-
|
|
3
|
-
Use for workflow step `02-market-assessment`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Record only market facts that materially affect product scope, economics, regulation,
|
|
8
|
-
or delivery. For an internal tool or a brownfield system with no market decision, state
|
|
9
|
-
that boundary and retain the evidence supporting it.
|
|
10
|
-
|
|
11
|
-
## Evidence
|
|
12
|
-
|
|
13
|
-
- Prefer current primary sources, filings, official statistics, and directly observed
|
|
14
|
-
commercial data.
|
|
15
|
-
- Preserve source date, geography, segment definition, and calculation assumptions.
|
|
16
|
-
- Do not manufacture TAM, growth rates, pricing, or false numeric precision.
|
|
17
|
-
- Separate externally verified facts from owner targets and estimates.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `discovery.md` with relevant segment boundaries, commercial or operational
|
|
22
|
-
constraints, source-backed measurements, assumptions, and unknowns. Include a sizing
|
|
23
|
-
model only when the decision genuinely depends on one and the inputs are defensible.
|
|
24
|
-
|
|
25
|
-
Link source references and the updated specification anchor from the bounded area
|
|
26
|
-
report written for this research run.
|
|
27
|
-
|
|
28
|
-
## Report trace
|
|
29
|
-
|
|
30
|
-
In the area report, record `constraint`, `decision_impact`, and `freshness`, then link
|
|
31
|
-
the updated discovery anchor.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Alternatives
|
|
2
|
-
|
|
3
|
-
Use for workflow step `03-alternatives`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Identify the alternatives actors actually use and the consequences for strategy.
|
|
8
|
-
Alternatives include direct products, adjacent tools, manual workflows, or doing
|
|
9
|
-
nothing; a competitor-only frame is too narrow.
|
|
10
|
-
|
|
11
|
-
## Evidence
|
|
12
|
-
|
|
13
|
-
- Use current product documentation, pricing, repositories, filings, or observed user
|
|
14
|
-
workflows.
|
|
15
|
-
- Evaluate only criteria that change the decision at hand.
|
|
16
|
-
- Do not create a ceremonial matrix, fixed alternative count, or unsupported claim of
|
|
17
|
-
superiority.
|
|
18
|
-
- Distinguish a verified capability from marketing language and inference.
|
|
19
|
-
|
|
20
|
-
## Record
|
|
21
|
-
|
|
22
|
-
Update `discovery.md` with relevant alternatives, evidence, meaningful differences,
|
|
23
|
-
switching constraints, and durable strategy implications. Record an unknown when a
|
|
24
|
-
credible alternative cannot be verified.
|
|
25
|
-
|
|
26
|
-
Complete the step with evidence references and the updated output path.
|
|
27
|
-
|
|
28
|
-
## Report trace
|
|
29
|
-
|
|
30
|
-
In the area report, record `category`, `switching_constraint`, and
|
|
31
|
-
`strategy_implication`, then link the updated discovery anchor.
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Product strategy
|
|
2
|
-
|
|
3
|
-
Use for workflow step `04-product-strategy`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Turn accepted evidence into problem reality, falsifiable first-principle propositions,
|
|
8
|
-
a product direction, target boundary, value proposition, and explicit tradeoffs.
|
|
9
|
-
|
|
10
|
-
## Evidence and decisions
|
|
11
|
-
|
|
12
|
-
- Derive constraints from prior research and current system behavior.
|
|
13
|
-
- Ask the owner when a scope, customer, business, or risk decision is load-bearing.
|
|
14
|
-
- Do not infer an MVP, reduced scope, release phase, or commercial posture.
|
|
15
|
-
- Record exclusions only when the owner or an accepted constraint establishes them.
|
|
16
|
-
- For each proposed `FP-*`, record evidence, causal consequence, and the falsifier or
|
|
17
|
-
revisit trigger. The ID becomes canonical only in an owner-accepted synthesis.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `discovery.md` with:
|
|
22
|
-
|
|
23
|
-
- product direction and intended actors;
|
|
24
|
-
- value delivered through observable behavior;
|
|
25
|
-
- chosen tradeoffs and their rationale;
|
|
26
|
-
- constraints, exclusions, and unresolved decisions;
|
|
27
|
-
- the candidate `FP-* -> capability -> behavior -> outcome` causal chain;
|
|
28
|
-
- any defensibility claim with its supporting evidence.
|
|
29
|
-
|
|
30
|
-
Complete the step with decision and evidence references plus the updated output path.
|
|
31
|
-
|
|
32
|
-
## Report trace
|
|
33
|
-
|
|
34
|
-
In the area report, record `tradeoff` and `rationale`, then link the decision file or
|
|
35
|
-
specification anchor to the problems, opportunities, or constraints that support it.
|
|
36
|
-
|
|
37
|
-
## Adversarial challenge
|
|
38
|
-
|
|
39
|
-
Before the owner checkpoint, challenge whether the proposed direction follows from the
|
|
40
|
-
underlying problem and first principles, steel-man the best conflicting direction, and
|
|
41
|
-
name evidence that would overturn the working North Star candidate.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Assumptions and validation
|
|
2
|
-
|
|
3
|
-
Use for workflow step `05-assumptions-validation`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Make load-bearing assumptions visible and define the smallest credible evidence needed
|
|
8
|
-
to confirm or reject them.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Extract assumptions from problem, opportunity, market, alternative, and strategy
|
|
13
|
-
claims.
|
|
14
|
-
- Separate already verified facts from assumptions and owner decisions.
|
|
15
|
-
- Prioritize by consequence and uncertainty only when prioritization affects the next
|
|
16
|
-
action; do not assign arbitrary scores.
|
|
17
|
-
- Define a validation signal, evidence source, decision rule, owner, and recovery path.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `discovery.md` with the assumption ledger and validation state. Map unresolved
|
|
22
|
-
load-bearing assumptions to blocking unknowns or gaps. Keep non-blocking future work
|
|
23
|
-
out of the implementation task graph until the owner selects it.
|
|
24
|
-
|
|
25
|
-
Link evidence and the updated specification anchor from the bounded area report written
|
|
26
|
-
for this research run.
|
|
27
|
-
|
|
28
|
-
## Report trace
|
|
29
|
-
|
|
30
|
-
In the area report, record `category`, `consequence`, `validation_signal`,
|
|
31
|
-
`success_rule`, `failure_rule`, and `ambiguous_rule`, then link the discovery anchor.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Actors and jobs
|
|
2
|
-
|
|
3
|
-
Use for workflow step `10-user-personas`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Describe evidence-backed actors, their jobs, operating context, goals, constraints, and
|
|
8
|
-
adoption barriers. A role or actor model is sufficient; do not invent demographic
|
|
9
|
-
personas.
|
|
10
|
-
|
|
11
|
-
## Evidence
|
|
12
|
-
|
|
13
|
-
- Prefer observed workflows, access roles, support evidence, usage data, and owner
|
|
14
|
-
decisions.
|
|
15
|
-
- Link each actor to a real entry point or intended behavior.
|
|
16
|
-
- Mark unverified motivations and pain points as unknown.
|
|
17
|
-
- In brownfield adoption, document the actors represented by current code and runtime,
|
|
18
|
-
even when product research is incomplete.
|
|
19
|
-
|
|
20
|
-
## Record
|
|
21
|
-
|
|
22
|
-
Update `product.md` with actor identity, job, context, current workflow, desired outcome,
|
|
23
|
-
constraints, and evidence. Record priority only when it is an accepted decision.
|
|
24
|
-
|
|
25
|
-
Complete the step with evidence references and the updated output path.
|
|
26
|
-
|
|
27
|
-
## Report trace
|
|
28
|
-
|
|
29
|
-
In the area report, record `job`, `current_workflow`, `goal`, and `constraint`, then
|
|
30
|
-
link the actor heading in `product.md`.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# User scenarios
|
|
2
|
-
|
|
3
|
-
Use for workflow step `11-user-scenarios`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Trace the important current and intended journeys from trigger through outcome,
|
|
8
|
-
including failure and recovery.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Bind each scenario to an evidence-backed actor and entry point.
|
|
13
|
-
- Describe the current path before proposing a changed path in brownfield adoption.
|
|
14
|
-
- Include state changes, external systems, permissions, and observable outcomes.
|
|
15
|
-
- Do not force a fixed scenario count or emotional narrative.
|
|
16
|
-
|
|
17
|
-
## Record
|
|
18
|
-
|
|
19
|
-
Update `product.md` with scenario id, actor, trigger, preconditions, current or intended
|
|
20
|
-
flow, success outcome, failure outcome, recovery, and evidence. Mark gaps where runtime
|
|
21
|
-
behavior and documentation disagree.
|
|
22
|
-
|
|
23
|
-
Complete the step with evidence references and the updated output path.
|
|
24
|
-
|
|
25
|
-
## Report trace
|
|
26
|
-
|
|
27
|
-
In the area report, record `actor_id`, `trigger`, `preconditions`, `flow`, `success`,
|
|
28
|
-
`failure`, and `recovery`, then link the scenario heading in `product.md`.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Behavioral requirements and acceptance
|
|
2
|
-
|
|
3
|
-
Use for workflow step `20-user-stories`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Translate accepted scenarios into testable behavior without prematurely designing the
|
|
8
|
-
implementation.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Use stable requirement identifiers.
|
|
13
|
-
- State preconditions, action, observable result, error behavior, and recovery where
|
|
14
|
-
relevant.
|
|
15
|
-
- Trace every requirement to a scenario, constraint, or owner decision.
|
|
16
|
-
- Preserve current delivered behavior separately from proposed behavior.
|
|
17
|
-
- Do not use priority labels as a substitute for explicit scope decisions.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `product.md` with requirements and acceptance criteria that can map to an
|
|
22
|
-
executable check or deliberate manual evidence. Record unknown behavior instead of
|
|
23
|
-
writing vague acceptance.
|
|
24
|
-
|
|
25
|
-
Complete the step with evidence references and the updated output path.
|
|
26
|
-
|
|
27
|
-
## Report trace
|
|
28
|
-
|
|
29
|
-
In the area report, record `preconditions`, `action`, `observable_result`,
|
|
30
|
-
`error_recovery`, and `verification`. Link the requirement heading to its accepted
|
|
31
|
-
scenario or decision.
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Capability and scope boundary
|
|
2
|
-
|
|
3
|
-
Use for workflow step `21-features-scope`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Group accepted behavior into coherent capabilities and record what is included,
|
|
8
|
-
excluded, deferred, or unresolved.
|
|
9
|
-
|
|
10
|
-
## Rules
|
|
11
|
-
|
|
12
|
-
- Preserve the owner's stated product and release posture.
|
|
13
|
-
- Never infer an MVP, reduced version, phase label, or omission from implementation
|
|
14
|
-
convenience.
|
|
15
|
-
- Trace included capabilities to requirements and observable outcomes.
|
|
16
|
-
- Trace each included capability to candidate `FP-*` and `NS-*` IDs, and name every
|
|
17
|
-
candidate `HC-*` it could breach, without copying North Star prose.
|
|
18
|
-
- Record dependencies, migrations, compatibility, and operational obligations inside
|
|
19
|
-
the capability that owns them.
|
|
20
|
-
- Keep speculative future ideas outside the active scope unless selected.
|
|
21
|
-
|
|
22
|
-
## Record
|
|
23
|
-
|
|
24
|
-
Update `product.md` with capability boundaries, included requirements, explicit
|
|
25
|
-
exclusions and rationale, dependencies, and unresolved scope decisions.
|
|
26
|
-
|
|
27
|
-
Complete the step with decision evidence and the updated output path.
|
|
28
|
-
|
|
29
|
-
## Report trace
|
|
30
|
-
|
|
31
|
-
In the area report, record `requirement_ids`, `scope_status`, and `rationale`, then link
|
|
32
|
-
the capability heading in `product.md`.
|
|
33
|
-
|
|
34
|
-
## Adversarial challenge
|
|
35
|
-
|
|
36
|
-
Before the owner checkpoint, challenge whether every included capability causally serves
|
|
37
|
-
the working North Star, whether an exclusion breaks that outcome or a hard constraint,
|
|
38
|
-
and whether the proposed scope can optimize a proxy while missing delivered value.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Outcomes and measurements
|
|
2
|
-
|
|
3
|
-
Use for workflow step `22-success-metrics`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Define how the owner will know the accepted behavior and product outcome are working,
|
|
8
|
-
including signals that would reveal harmful optimization.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Derive measurements from accepted outcomes and available instrumentation.
|
|
13
|
-
- State definition, source, observation window, owner, and decision use.
|
|
14
|
-
- Separate current measurements, target decisions, and unavailable telemetry.
|
|
15
|
-
- Propose one or more stable `NS-*` outcomes when justified by delivered value and a
|
|
16
|
-
credible observation contract. Each records observation method, baseline, target or
|
|
17
|
-
expected change, horizon, and anti-metric.
|
|
18
|
-
- Do not force a single metric, or invent baselines and targets, when guardrails plus an
|
|
19
|
-
observable outcome represent the product more honestly.
|
|
20
|
-
|
|
21
|
-
## Record
|
|
22
|
-
|
|
23
|
-
Update `product.md` with supporting outcome measures, operational measures, guardrails,
|
|
24
|
-
evidence availability, and unresolved instrumentation needs. Propose the canonical
|
|
25
|
-
`NS-*` entries for `north-star.md`; they become authority only through accepted synthesis.
|
|
26
|
-
A metric that cannot be observed is a gap or explicit future Change.
|
|
27
|
-
|
|
28
|
-
Complete the step with evidence references and the updated output path.
|
|
29
|
-
|
|
30
|
-
## Report trace
|
|
31
|
-
|
|
32
|
-
In the area report, record `definition`, `source`, `window`, `owner`, and
|
|
33
|
-
`decision_use`, then link the metric heading in `product.md`.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Architecture context
|
|
2
|
-
|
|
3
|
-
Use for workflow step `30-architecture-context`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Establish current system boundaries, quality goals, constraints, actors, external
|
|
8
|
-
systems, and data flows.
|
|
9
|
-
|
|
10
|
-
## Evidence
|
|
11
|
-
|
|
12
|
-
- Inspect code entry points, configuration, schemas, deployment assets, tests, and
|
|
13
|
-
runtime evidence.
|
|
14
|
-
- Separate observed architecture from intended architecture.
|
|
15
|
-
- Record permissions, data sensitivity, compliance, and organizational constraints
|
|
16
|
-
when they affect the design.
|
|
17
|
-
- Do not infer a greenfield architecture over an existing system.
|
|
18
|
-
|
|
19
|
-
## Record
|
|
20
|
-
|
|
21
|
-
Update `architecture.md` with system context, external dependencies, trust boundaries,
|
|
22
|
-
data flows, quality goals, constraints, and evidence. Record documentation drift when
|
|
23
|
-
the current checkout contradicts an existing diagram or claim.
|
|
24
|
-
|
|
25
|
-
Complete the step with source or runtime evidence and the updated output path.
|
|
26
|
-
|
|
27
|
-
## Report trace
|
|
28
|
-
|
|
29
|
-
In the area report, record `boundary`, `inputs_outputs`, `trust_authority`, and
|
|
30
|
-
`consumers`, then link the architecture heading.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Solution strategy
|
|
2
|
-
|
|
3
|
-
Use for workflow step `31-solution-strategy`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Record architecture decisions that satisfy accepted behavior and constraints while
|
|
8
|
-
preserving current repository patterns where they remain valid.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Search for existing implementations and dependencies before proposing new ones.
|
|
13
|
-
- Evaluate alternatives only when more than one credible choice remains and the choice
|
|
14
|
-
materially affects the contract.
|
|
15
|
-
- Record decision drivers, chosen direction, consequences, compatibility, and recovery.
|
|
16
|
-
- Do not force a new stack, fixed option count, scoring model, or arbitrary preference.
|
|
17
|
-
|
|
18
|
-
## Record
|
|
19
|
-
|
|
20
|
-
Update `architecture.md` with accepted strategy decisions and their evidence. Preserve
|
|
21
|
-
unresolved decisions as blockers rather than selecting on the owner's behalf.
|
|
22
|
-
|
|
23
|
-
Complete the step with decision evidence and the updated output path.
|
|
24
|
-
|
|
25
|
-
## Report trace
|
|
26
|
-
|
|
27
|
-
In the area report, record `drivers`, `direction`, `consequences`, `compatibility`, and
|
|
28
|
-
`recovery`, then link the decision file or architecture heading.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Building blocks and runtime paths
|
|
2
|
-
|
|
3
|
-
Use for workflow step `32-building-blocks`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Map responsibilities, contracts, data ownership, consumers, and runtime behavior across
|
|
8
|
-
the current or accepted architecture.
|
|
9
|
-
|
|
10
|
-
## Method
|
|
11
|
-
|
|
12
|
-
- Start from real modules and live entry points in brownfield adoption.
|
|
13
|
-
- Define boundaries by responsibility and authority, not by an imposed layer diagram.
|
|
14
|
-
- Trace key scenarios through validation, domain behavior, persistence, integrations,
|
|
15
|
-
observable output, failure, and recovery.
|
|
16
|
-
- Identify unreachable scaffolding, duplicate authority, and undocumented coupling.
|
|
17
|
-
|
|
18
|
-
## Record
|
|
19
|
-
|
|
20
|
-
Update `architecture.md` with building blocks, public contracts, ownership, dependencies,
|
|
21
|
-
runtime paths, error paths, and evidence. Link each proposed block to a consumer.
|
|
22
|
-
|
|
23
|
-
Complete the step with source evidence and the updated output path.
|
|
24
|
-
|
|
25
|
-
## Report trace
|
|
26
|
-
|
|
27
|
-
In the area report, record `entry_point`, `state_side_effects`, `observable_result`,
|
|
28
|
-
`failure_recovery`, and `consumers`, then link the architecture heading.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Deployment and operations
|
|
2
|
-
|
|
3
|
-
Use for workflow step `40-deployment`.
|
|
4
|
-
|
|
5
|
-
## Objective
|
|
6
|
-
|
|
7
|
-
Record how the system is built, configured, migrated, deployed, observed, recovered,
|
|
8
|
-
and rolled back across its actual environments.
|
|
9
|
-
|
|
10
|
-
## Evidence
|
|
11
|
-
|
|
12
|
-
- Inspect repository-native build and deployment configuration, environment contracts,
|
|
13
|
-
migrations, health checks, and operational documentation.
|
|
14
|
-
- Use current provider documentation only when repository evidence is insufficient.
|
|
15
|
-
- Separate verified deployment behavior from intended delivery design.
|
|
16
|
-
- Never record secrets or fabricate infrastructure that has not been selected.
|
|
17
|
-
|
|
18
|
-
## Record
|
|
19
|
-
|
|
20
|
-
Update `architecture.md` with environments, topology, CI/CD entry points, configuration,
|
|
21
|
-
migrations, observability, rollback, recovery, cost constraints when relevant, and
|
|
22
|
-
unknowns.
|
|
23
|
-
|
|
24
|
-
Complete the step with file, runtime, or provider evidence and the updated output path.
|
|
25
|
-
|
|
26
|
-
## Report trace
|
|
27
|
-
|
|
28
|
-
In the area report, record `environment`, `entry_point`, `config_migration`,
|
|
29
|
-
`observation`, and `rollback_recovery`, then link the architecture heading.
|