ultra-builder-pro-cli 0.14.0 → 0.15.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/.ultra-template/docs/research/README.md +11 -7
- package/.ultra-template/specs/architecture.md +36 -36
- package/.ultra-template/specs/discovery.md +46 -33
- package/.ultra-template/specs/product.md +38 -29
- package/.ultra-template/specs/research-distillate.md +48 -0
- package/.ultra-template/tasks/contexts/TEMPLATE.md +11 -28
- package/CHANGELOG.md +44 -1
- package/README.md +34 -19
- package/adapters/_shared/codex-assets.cjs +6 -2
- package/adapters/_shared/file-ops.cjs +6 -2
- package/adapters/claude.js +3 -2
- package/adapters/codex.js +1 -0
- package/adapters/kimi.js +3 -2
- package/adapters/opencode.js +3 -2
- package/agents/review-coordinator.md +9 -6
- package/docs/AGENT-CONTEXT.md +15 -8
- package/docs/ARCHITECTURE.md +33 -12
- package/docs/PLAN.zh-CN.md +3 -2
- package/docs/ROADMAP.md +8 -4
- package/docs/RUNTIME-COMPAT-MATRIX.md +4 -4
- package/docs/STATE-DB-ACCESS-POLICY.md +27 -25
- package/docs/WORKFLOW-LIFECYCLE.md +266 -0
- package/hooks/README.md +6 -1
- package/hooks/health_check.py +12 -3
- package/hooks/subagent_tracker.py +52 -77
- package/mcp-server/hook-event.cjs +34 -0
- package/mcp-server/lib/archive-journal.cjs +17 -5
- package/mcp-server/lib/baseline-workflow.cjs +158 -18
- package/mcp-server/lib/change-workflow.cjs +550 -85
- package/mcp-server/lib/context-spine.cjs +242 -24
- package/mcp-server/lib/doctor.cjs +33 -3
- package/mcp-server/lib/init-project.cjs +210 -16
- package/mcp-server/lib/plan-store.cjs +4 -1
- package/mcp-server/lib/pricing.cjs +7 -10
- package/mcp-server/lib/project-breadcrumb.cjs +6 -0
- package/mcp-server/lib/projector.cjs +57 -3
- package/mcp-server/lib/spec-learning.cjs +79 -2
- package/mcp-server/lib/state-db.cjs +145 -8
- package/mcp-server/lib/state-ops.cjs +160 -9
- package/mcp-server/lib/workflow-state.cjs +2292 -0
- package/mcp-server/server.cjs +161 -15
- package/orchestrator/daemon.cjs +1 -2
- package/orchestrator/dispatch-rules.cjs +5 -31
- package/orchestrator/planner/plan-builder.cjs +21 -12
- package/package.json +13 -3
- package/skills/ultra-change/SKILL.md +53 -68
- package/skills/ultra-change/references/change-contract.md +36 -0
- package/skills/ultra-deliver/SKILL.md +69 -79
- package/skills/ultra-deliver/references/baseline-reconciliation.md +20 -0
- package/skills/ultra-dev/SKILL.md +54 -59
- package/skills/ultra-doctor/SKILL.md +40 -71
- package/skills/ultra-init/SKILL.md +96 -103
- package/skills/ultra-init/references/brownfield-adoption.md +2 -2
- package/skills/ultra-plan/SKILL.md +79 -85
- package/skills/ultra-plan/references/semantic-preflight.md +18 -0
- package/skills/ultra-research/SKILL.md +87 -60
- package/skills/ultra-research/references/00-problem-validation.md +36 -0
- package/skills/ultra-research/references/01-opportunity-discovery.md +33 -0
- package/skills/ultra-research/references/02-market-assessment.md +30 -0
- package/skills/ultra-research/references/03-competitive-landscape.md +31 -0
- package/skills/ultra-research/references/04-product-strategy.md +32 -0
- package/skills/ultra-research/references/05-assumptions-validation.md +31 -0
- package/skills/ultra-research/references/10-user-personas.md +29 -0
- package/skills/ultra-research/references/11-user-scenarios.md +28 -0
- package/skills/ultra-research/references/20-user-stories.md +30 -0
- package/skills/ultra-research/references/21-features-scope.md +29 -0
- package/skills/ultra-research/references/22-success-metrics.md +28 -0
- package/skills/ultra-research/references/30-architecture-context.md +30 -0
- package/skills/ultra-research/references/31-solution-strategy.md +28 -0
- package/skills/ultra-research/references/32-building-blocks.md +28 -0
- package/skills/ultra-research/references/40-deployment.md +29 -0
- package/skills/ultra-research/references/41-quality-risks.md +28 -0
- package/skills/ultra-research/references/99-synthesis.md +35 -0
- package/skills/ultra-review/SKILL.md +57 -73
- package/skills/ultra-review/references/review-modes.md +27 -0
- package/skills/ultra-review/references/unified-schema.md +25 -0
- package/skills/ultra-review/scripts/review_wait.py +40 -3
- package/skills/ultra-status/SKILL.md +41 -45
- package/skills/ultra-test/SKILL.md +48 -55
- package/skills/ultra-verify/SKILL.md +1 -1
- package/skills/ultra-verify/references/{confidence-system.md → evidence-status.md} +3 -3
- package/spec/cli-protocol.md +7 -2
- package/spec/mcp-tools.yaml +384 -63
- package/spec/schemas/baseline-reconciliation.v1.schema.json +73 -0
- package/spec/schemas/delivery-report.v1.schema.json +111 -0
- package/spec/schemas/mcp-tools.schema.json +1 -1
- package/spec/schemas/state-db.sql +82 -1
- package/spec/schemas/tasks.v4.5.schema.json +8 -1
- package/spec/schemas/test-report.v1.schema.json +194 -0
- package/ultra-tools/cli.cjs +1 -1
- package/ultra-tools/commands/migrate.cjs +3 -3
- package/ultra-tools/commands/status.cjs +213 -12
- package/.ultra-template/delivery-report.json +0 -9
- package/.ultra-template/test-report.json +0 -8
- package/adapters/_shared/tests/file-ops.test.cjs +0 -54
- package/adapters/_shared/tests/frontmatter.test.cjs +0 -47
- package/adapters/_shared/tests/handbook.test.cjs +0 -101
- package/adapters/_shared/tests/path-rewrite.test.cjs +0 -60
- package/adapters/_shared/tests/provenance.test.cjs +0 -133
- package/adapters/_shared/tests/resolve-target.test.cjs +0 -75
- package/adapters/_shared/tests/runtime-assets.test.cjs +0 -149
- package/adapters/_shared/tests/settings-merge.test.cjs +0 -85
- package/adapters/_shared/tests/validate.test.cjs +0 -30
- package/adapters/tests/claude.test.cjs +0 -138
- package/adapters/tests/codex-hook.test.cjs +0 -142
- package/adapters/tests/codex.test.cjs +0 -430
- package/adapters/tests/kimi-hook.test.cjs +0 -149
- package/adapters/tests/kimi.test.cjs +0 -259
- package/adapters/tests/opencode.test.cjs +0 -357
- package/mcp-server/lib/archive-journal.test.cjs +0 -35
- package/mcp-server/lib/baseline-workflow.test.cjs +0 -477
- package/mcp-server/lib/change-workflow.test.cjs +0 -971
- package/mcp-server/lib/context-spine.test.cjs +0 -93
- package/mcp-server/lib/doctor.test.cjs +0 -148
- package/mcp-server/lib/plan-store.test.cjs +0 -132
- package/mcp-server/lib/prd-parser.test.cjs +0 -82
- package/mcp-server/lib/project-breadcrumb.test.cjs +0 -112
- package/mcp-server/lib/runtime-state.test.cjs +0 -92
- package/mcp-server/lib/spec-learning.test.cjs +0 -67
- package/mcp-server/lib/state-db.test.cjs +0 -314
- package/mcp-server/lib/task-expander.test.cjs +0 -169
- package/mcp-server/lib/topo.test.cjs +0 -158
- package/mcp-server/tests/circuit-breaker.test.cjs +0 -125
- package/mcp-server/tests/commit-hash-flow.test.cjs +0 -117
- package/mcp-server/tests/concurrency-update.test.cjs +0 -96
- package/mcp-server/tests/concurrency.test.cjs +0 -112
- package/mcp-server/tests/db-ops.test.cjs +0 -121
- package/mcp-server/tests/init-project.test.cjs +0 -393
- package/mcp-server/tests/migrate.test.cjs +0 -232
- package/mcp-server/tests/projector.test.cjs +0 -162
- package/mcp-server/tests/server-contract.test.cjs +0 -1467
- package/mcp-server/tests/staleness.test.cjs +0 -190
- package/mcp-server/tests/state-db.test.cjs +0 -106
- package/mcp-server/tests/state-ops.test.cjs +0 -449
- package/mcp-server/tests/tagged-tasks.test.cjs +0 -163
- package/mcp-server/tests/telemetry.test.cjs +0 -219
- package/orchestrator/planner/plan-builder.test.cjs +0 -165
- package/orchestrator/tests/auto-merge.test.cjs +0 -216
- package/orchestrator/tests/daemon.test.cjs +0 -311
- package/orchestrator/tests/dispatch-rules.test.cjs +0 -124
- package/orchestrator/tests/parallel-orchestrator.test.cjs +0 -233
- package/orchestrator/tests/phase-8b-gate.test.cjs +0 -183
- package/orchestrator/tests/recovery.test.cjs +0 -190
- package/orchestrator/tests/session-runner.test.cjs +0 -314
- package/orchestrator/tests/skill-miner.test.cjs +0 -147
- package/orchestrator/tests/worktree-manager.test.cjs +0 -148
- package/skills/ultra-research/references/architecture.md +0 -38
- package/skills/ultra-research/references/problem-product.md +0 -39
- package/skills/ultra-research/references/quality-delivery.md +0 -34
- package/skills/ultra-research/references/synthesis.md +0 -38
- package/skills/ultra-research/references/users-scope.md +0 -40
- package/ultra-tools/legacy-memory.test.cjs +0 -80
- package/ultra-tools/status-command.test.cjs +0 -181
- package/ultra-tools/system-command.test.cjs +0 -309
|
@@ -0,0 +1,36 @@
|
|
|
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 immutable step report required by the
|
|
30
|
+
orchestrator. A missing load-bearing fact becomes a blocker or baseline gap, not a
|
|
31
|
+
guessed answer.
|
|
32
|
+
|
|
33
|
+
## Semantic record
|
|
34
|
+
|
|
35
|
+
Use kind `problem`. Record `actor`, `current_workaround`, `consequence`, and
|
|
36
|
+
`evidence_status`.
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
## Semantic record
|
|
31
|
+
|
|
32
|
+
Use kind `opportunity`. Record `actor`, `desired_outcome`, and `evidence_status`. Link
|
|
33
|
+
the record to its problem when that relation is established.
|
|
@@ -0,0 +1,30 @@
|
|
|
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 immutable step
|
|
26
|
+
report required by the orchestrator.
|
|
27
|
+
|
|
28
|
+
## Semantic record
|
|
29
|
+
|
|
30
|
+
Use kind `market_constraint`. Record `constraint`, `decision_impact`, and `freshness`.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Competitive landscape
|
|
2
|
+
|
|
3
|
+
Use for workflow step `03-competitive-landscape`.
|
|
4
|
+
|
|
5
|
+
## Objective
|
|
6
|
+
|
|
7
|
+
Identify the alternatives actors actually use and the consequences for strategy.
|
|
8
|
+
Alternatives may include direct products, adjacent tools, manual workflows, or doing
|
|
9
|
+
nothing.
|
|
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 competitor 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 the 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
|
+
## Semantic record
|
|
29
|
+
|
|
30
|
+
Use kind `alternative`. Record `category`, `switching_constraint`, and
|
|
31
|
+
`strategy_implication`.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Product strategy
|
|
2
|
+
|
|
3
|
+
Use for workflow step `04-product-strategy`.
|
|
4
|
+
|
|
5
|
+
## Objective
|
|
6
|
+
|
|
7
|
+
Turn accepted evidence into a product direction, target boundary, value proposition,
|
|
8
|
+
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
|
+
|
|
17
|
+
## Record
|
|
18
|
+
|
|
19
|
+
Update `discovery.md` with:
|
|
20
|
+
|
|
21
|
+
- product direction and intended actors;
|
|
22
|
+
- value delivered through observable behavior;
|
|
23
|
+
- chosen tradeoffs and their rationale;
|
|
24
|
+
- constraints, exclusions, and unresolved decisions;
|
|
25
|
+
- any defensibility claim with its supporting evidence.
|
|
26
|
+
|
|
27
|
+
Complete the step with decision and evidence references plus the updated output path.
|
|
28
|
+
|
|
29
|
+
## Semantic record
|
|
30
|
+
|
|
31
|
+
Use kind `strategy_decision`. Record `tradeoff` and `rationale`, then link the decision
|
|
32
|
+
to the problems, opportunities, or constraints that support it.
|
|
@@ -0,0 +1,31 @@
|
|
|
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 immutable step report
|
|
26
|
+
required by the orchestrator.
|
|
27
|
+
|
|
28
|
+
## Semantic record
|
|
29
|
+
|
|
30
|
+
Use kind `assumption`. Record `category`, `consequence`, `validation_signal`,
|
|
31
|
+
`success_rule`, `failure_rule`, and `ambiguous_rule`.
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
## Semantic record
|
|
28
|
+
|
|
29
|
+
Use kind `actor`. Record `job`, `current_workflow`, `goal`, and `constraint`.
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
## Semantic record
|
|
26
|
+
|
|
27
|
+
Use kind `scenario`. Record `actor_id`, `trigger`, `preconditions`, `flow`, `success`,
|
|
28
|
+
`failure`, and `recovery`.
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
## Semantic record
|
|
28
|
+
|
|
29
|
+
Use kind `requirement`. Record `preconditions`, `action`, `observable_result`,
|
|
30
|
+
`error_recovery`, and `verification`. Link it to its accepted scenario or decision.
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
- Record dependencies, migrations, compatibility, and operational obligations inside
|
|
17
|
+
the capability that owns them.
|
|
18
|
+
- Keep speculative future ideas outside the active scope unless selected.
|
|
19
|
+
|
|
20
|
+
## Record
|
|
21
|
+
|
|
22
|
+
Update `product.md` with capability boundaries, included requirements, explicit
|
|
23
|
+
exclusions and rationale, dependencies, and unresolved scope decisions.
|
|
24
|
+
|
|
25
|
+
Complete the step with decision evidence and the updated output path.
|
|
26
|
+
|
|
27
|
+
## Semantic record
|
|
28
|
+
|
|
29
|
+
Use kind `capability`. Record `requirement_ids`, `scope_status`, and `rationale`.
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
- Do not invent baselines, targets, or a single north-star metric.
|
|
16
|
+
|
|
17
|
+
## Record
|
|
18
|
+
|
|
19
|
+
Update `product.md` with outcome measures, operational measures, guardrails, evidence
|
|
20
|
+
availability, and unresolved instrumentation needs. A metric that cannot be observed
|
|
21
|
+
must be recorded as a gap or explicit future change.
|
|
22
|
+
|
|
23
|
+
Complete the step with evidence references and the updated output path.
|
|
24
|
+
|
|
25
|
+
## Semantic record
|
|
26
|
+
|
|
27
|
+
Use kind `metric`. Record `definition`, `source`, `window`, `owner`, and
|
|
28
|
+
`decision_use`.
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
## Semantic record
|
|
28
|
+
|
|
29
|
+
Use kind `architecture_context`. Record `boundary`, `inputs_outputs`,
|
|
30
|
+
`trust_authority`, and `consumers`.
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
## Semantic record
|
|
26
|
+
|
|
27
|
+
Use kind `architecture_decision`. Record `drivers`, `direction`, `consequences`,
|
|
28
|
+
`compatibility`, and `recovery`.
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
## Semantic record
|
|
26
|
+
|
|
27
|
+
Use kind `runtime_path`. Record `entry_point`, `state_side_effects`,
|
|
28
|
+
`observable_result`, `failure_recovery`, and `consumers`.
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
## Semantic record
|
|
27
|
+
|
|
28
|
+
Use kind `deployment`. Record `environment`, `entry_point`, `config_migration`,
|
|
29
|
+
`observation`, and `rollback_recovery`.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Quality scenarios and risks
|
|
2
|
+
|
|
3
|
+
Use for workflow step `41-quality-risks`.
|
|
4
|
+
|
|
5
|
+
## Objective
|
|
6
|
+
|
|
7
|
+
Turn quality goals and known failure modes into observable scenarios, mitigations,
|
|
8
|
+
recovery expectations, and a durable risk ledger.
|
|
9
|
+
|
|
10
|
+
## Method
|
|
11
|
+
|
|
12
|
+
- Cover only qualities material to the accepted system: correctness, availability,
|
|
13
|
+
security, performance, privacy, maintainability, or others supported by evidence.
|
|
14
|
+
- State trigger, operating condition, expected response, measurement, and recovery.
|
|
15
|
+
- Separate known defect, technical debt, uncertain risk, and accepted constraint.
|
|
16
|
+
- Do not assign arbitrary probability or confidence scores.
|
|
17
|
+
|
|
18
|
+
## Record
|
|
19
|
+
|
|
20
|
+
Update `architecture.md` with quality scenarios, risk evidence, mitigation, owner,
|
|
21
|
+
verification, recovery, technical debt, and architecture decisions where needed.
|
|
22
|
+
|
|
23
|
+
Complete the step with evidence references and the updated output path.
|
|
24
|
+
|
|
25
|
+
## Semantic record
|
|
26
|
+
|
|
27
|
+
Use kind `risk`. Record `trigger_condition`, `expected_response`, `measurement`,
|
|
28
|
+
`mitigation`, `recovery`, and `owner`.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Research synthesis
|
|
2
|
+
|
|
3
|
+
Use for workflow step `99-synthesis`.
|
|
4
|
+
|
|
5
|
+
## Objective
|
|
6
|
+
|
|
7
|
+
Verify that research artifacts form one traceable, planning-ready baseline without
|
|
8
|
+
creating a second condensed authority.
|
|
9
|
+
|
|
10
|
+
## Validate
|
|
11
|
+
|
|
12
|
+
- Every consequential claim is marked `Observed`, `Verified`, `Decided`, or `Unknown`.
|
|
13
|
+
- Product behavior traces from problem or constraint through actor, scenario,
|
|
14
|
+
requirement, acceptance, architecture, quality, and delivery evidence.
|
|
15
|
+
- Current behavior and proposed behavior are not silently merged.
|
|
16
|
+
- Scope reflects owner decisions and never an inferred MVP or reduction.
|
|
17
|
+
- Documentation conflicts, known failures, and load-bearing unknowns are in the gap
|
|
18
|
+
ledger with owners or explicit decisions.
|
|
19
|
+
- Verification commands and observed results are current.
|
|
20
|
+
|
|
21
|
+
## Record
|
|
22
|
+
|
|
23
|
+
Write `research-distillate.md` as a navigation and traceability artifact containing
|
|
24
|
+
baseline ids, source document anchors, accepted decisions, blockers, gaps, verification
|
|
25
|
+
evidence, and the exact planning entry. Do not duplicate the specifications' prose.
|
|
26
|
+
|
|
27
|
+
Write the immutable `99-synthesis` step report, then complete the step with that report,
|
|
28
|
+
all three baseline specification paths, the distillate path, and the evidence used for
|
|
29
|
+
the synthesis. Read the completed workflow back before baseline convergence.
|
|
30
|
+
|
|
31
|
+
## Semantic record
|
|
32
|
+
|
|
33
|
+
Use kind `synthesis_trace`. Record one verified chain through `problem_id`,
|
|
34
|
+
`scenario_id`, `requirement_ids`, `architecture_path_ids`, and `verification_refs`.
|
|
35
|
+
Every referenced id must exist in an earlier selected step.
|