@rosenfan/matrix 0.1.1 → 0.1.3
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/.claude/skills/matrix/SKILL.md +60 -17
- package/.claude/skills/matrix/agents/openai.yaml +4 -4
- package/.claude/skills/matrix/scripts/matrix_claude.py +3 -158
- package/.claude/skills/matrix/scripts/matrix_state.py +53 -107
- package/.claude/skills/matrix-archive/SKILL.md +23 -13
- package/.claude/skills/matrix-build/SKILL.md +24 -35
- package/.claude/skills/matrix-claude/SKILL.md +26 -24
- package/.claude/skills/matrix-design/SKILL.md +29 -26
- package/.claude/skills/matrix-hotfix/SKILL.md +8 -8
- package/.claude/skills/matrix-open/SKILL.md +25 -18
- package/.claude/skills/matrix-status/SKILL.md +3 -2
- package/.claude/skills/matrix-tweak/SKILL.md +8 -8
- package/.claude/skills/matrix-verify/SKILL.md +21 -30
- package/LICENSE +21 -21
- package/README.md +294 -255
- package/README.zh-CN.md +293 -255
- package/assets/skills-zh-CN/matrix/SKILL.md +80 -25
- package/assets/skills-zh-CN/matrix-archive/SKILL.md +33 -9
- package/assets/skills-zh-CN/matrix-build/SKILL.md +36 -10
- package/assets/skills-zh-CN/matrix-claude/SKILL.md +31 -28
- package/assets/skills-zh-CN/matrix-design/SKILL.md +19 -10
- package/assets/skills-zh-CN/matrix-hotfix/SKILL.md +8 -8
- package/assets/skills-zh-CN/matrix-open/SKILL.md +22 -7
- package/assets/skills-zh-CN/matrix-status/SKILL.md +15 -14
- package/assets/skills-zh-CN/matrix-tweak/SKILL.md +8 -8
- package/assets/skills-zh-CN/matrix-verify/SKILL.md +26 -10
- package/bin/matrix.js +15 -15
- package/package.json +56 -56
- package/src/catalog.js +92 -87
- package/src/cli.js +159 -101
- package/src/distribution.js +281 -186
- package/src/installer.js +45 -45
- package/src/matt.js +45 -45
- package/src/messages.js +33 -33
- package/src/self-update.js +81 -0
- package/src/ui.js +89 -89
- package/src/workflow-transaction.js +622 -0
- package/src/workflow.js +787 -82
|
@@ -3,47 +3,49 @@ name: matrix-claude
|
|
|
3
3
|
description: Export a frozen Matrix design as a bounded Claude Code task package without changing Matrix workflow state. Use when Codex should design and Claude Code should implement.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Matrix Claude Handoff
|
|
7
|
-
|
|
8
|
-
This is an optional Matrix sidecar, not a Matrix phase. It must not call `transition`, `archive`, or write `matrix.yaml
|
|
6
|
+
# Matrix Claude Handoff
|
|
7
|
+
|
|
8
|
+
This is an optional Matrix sidecar, not a Matrix phase. It must not call `transition`, `archive`, or write `matrix.yaml` or `events.jsonl`. It supports only a matching full or legacy-full three-artifact Contract; new lightweight hotfix/tweak changes are intentionally unsupported.
|
|
9
|
+
|
|
10
|
+
Use `artifact_language` from inspect for human-readable handoff text while retaining the stable machine-readable headings and metadata keys.
|
|
9
11
|
|
|
10
12
|
## When to Use
|
|
11
13
|
|
|
12
14
|
Use `$matrix-claude` when:
|
|
13
|
-
- The
|
|
15
|
+
- The active change is in Build and the Design -> Build transition has approved the contract
|
|
14
16
|
- You want Claude Code (instead of Codex) to implement the design
|
|
15
17
|
- You need a bounded task package with all implementation details
|
|
16
18
|
|
|
17
19
|
## Preconditions
|
|
18
20
|
|
|
19
|
-
The exporter performs this read-only check before writing anything:
|
|
21
|
+
The exporter performs this read-only check before writing anything:
|
|
20
22
|
|
|
21
|
-
```powershell
|
|
22
|
-
matrix workflow guard
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
If `matrix` is genuinely absent from PATH, use the bundled runtime from the installed root Matrix Skill. Do not fall back when the primary command starts and returns an error.
|
|
23
|
+
```powershell
|
|
24
|
+
matrix workflow guard build
|
|
25
|
+
```
|
|
26
26
|
|
|
27
|
-
If
|
|
27
|
+
If `matrix` is genuinely absent from PATH, use the bundled runtime from the installed root Matrix Skill. Do not fall back when the primary command starts and returns an error.
|
|
28
|
+
|
|
29
|
+
If the build guard reports `CONTRACT_CHANGED` or `CONTRACT_UNAPPROVED`, return to `$matrix-design` and approve a new contract through Build. The exporter reads the approved bytes of `proposal.md`, `design.md`, and `plan.md`; it does not invent missing facts.
|
|
28
30
|
|
|
29
31
|
## Export
|
|
30
32
|
|
|
31
|
-
Treat explicit invocation of `$matrix-claude` as the user's choice of Claude Code as the implementation actor. Generate the package with the deterministic exporter; it refuses a
|
|
33
|
+
Treat explicit invocation of `$matrix-claude` as the user's choice of Claude Code as the implementation actor. Generate the package with the deterministic exporter; it refuses a non-matching approved contract and does not alter Matrix state.
|
|
32
34
|
|
|
33
|
-
```powershell
|
|
34
|
-
# Generic project: only exports a Matrix artifact.
|
|
35
|
-
matrix workflow export --task-id <ID> --target generic
|
|
36
|
-
|
|
37
|
-
# FnSec: exports its formal task package. Add --apply-fnsec-board only when
|
|
38
|
-
# active.md is NO_ACTIVE_OBJECTIVE; an existing task is never overwritten.
|
|
39
|
-
matrix workflow export --task-id <ID> --target fnsec --apply-fnsec-board
|
|
40
|
-
```
|
|
35
|
+
```powershell
|
|
36
|
+
# Generic project: only exports a Matrix artifact.
|
|
37
|
+
matrix workflow export --task-id <ID> --target generic
|
|
38
|
+
|
|
39
|
+
# FnSec: exports its formal task package. Add --apply-fnsec-board only when
|
|
40
|
+
# active.md is NO_ACTIVE_OBJECTIVE; an existing task is never overwritten.
|
|
41
|
+
matrix workflow export --task-id <ID> --target fnsec --apply-fnsec-board
|
|
42
|
+
```
|
|
41
43
|
|
|
42
44
|
## Task Package Contents
|
|
43
45
|
|
|
44
46
|
The exported package (`artifacts/claude-task.md`) contains everything Claude Code needs to implement and produce evidence for `$matrix-verify`:
|
|
45
47
|
|
|
46
|
-
1. **Task ID and
|
|
48
|
+
1. **Task ID, execution actor, and approved contract hash**: Claude Code and the exact approved snapshot
|
|
47
49
|
2. **Objective and acceptance criteria** — copied from `proposal.md`
|
|
48
50
|
3. **In-scope and out-of-scope boundaries** — from `proposal.md`
|
|
49
51
|
4. **Frozen design decisions** — from `design.md` (Decisions, Boundaries, Test seams)
|
|
@@ -76,12 +78,12 @@ After Claude Code completes and evidence is present:
|
|
|
76
78
|
|
|
77
79
|
1. Run build guard to verify evidence:
|
|
78
80
|
```powershell
|
|
79
|
-
matrix workflow guard build
|
|
81
|
+
matrix workflow guard build
|
|
80
82
|
```
|
|
81
83
|
|
|
82
84
|
2. If guard passes, transition to verify:
|
|
83
85
|
```powershell
|
|
84
|
-
matrix workflow transition verify
|
|
86
|
+
matrix workflow transition verify
|
|
85
87
|
```
|
|
86
88
|
|
|
87
89
|
3. Enter `$matrix-verify` to继续验证流程
|
|
@@ -91,6 +93,6 @@ If the build guard fails, return to Claude Code to补充 missing evidence.
|
|
|
91
93
|
## Important Notes
|
|
92
94
|
|
|
93
95
|
- This sidecar does NOT change Matrix phase, workflow, or guard result
|
|
94
|
-
- The Matrix state remains in `
|
|
96
|
+
- The Matrix state remains in `build` phase; export itself does not advance it
|
|
95
97
|
- Claude Code must produce evidence that satisfies the build guard conditions
|
|
96
98
|
- After successful transition to verify, the normal verify流程 continues
|
|
@@ -3,37 +3,41 @@ name: matrix-design
|
|
|
3
3
|
description: Design and freeze the active Matrix change before implementation. Use when the active Matrix phase is design or when build scope requires redesign.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Matrix Design
|
|
6
|
+
# Matrix Design
|
|
7
|
+
|
|
8
|
+
Design is used by `full` and resumable legacy shortcut changes only. A new lightweight hotfix/tweak moves directly from Open to Build and must not create Design artifacts merely to satisfy the full guard.
|
|
9
|
+
|
|
10
|
+
Use `artifact_language` from `matrix workflow inspect` for all design and plan prose. Keep Runtime-required English heading tokens unchanged.
|
|
11
|
+
|
|
12
|
+
Run `matrix workflow inspect`, read the active proposal and frozen `orchestration`, then write `artifacts/design.md` with `## Decisions`, `## Boundaries`, `## Test seams`, and `## Risks`; write `artifacts/plan.md` with `## Steps`, `## Validation`, and `## Stop conditions`.
|
|
7
13
|
|
|
8
|
-
|
|
14
|
+
## Prim
|
|
9
15
|
|
|
10
|
-
|
|
16
|
+
Use Matrix's own capability to investigate the repository and design the change.
|
|
11
17
|
|
|
12
|
-
|
|
18
|
+
## Arch
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
Invoke only capabilities whose task-fact trigger is proven:
|
|
15
21
|
|
|
16
|
-
|
|
22
|
+
- `domain-modeling` for unclear vocabulary, invariants, or architectural decisions;
|
|
23
|
+
- `research` when required external facts cannot be established from the repository;
|
|
24
|
+
- `wayfinder` when module ownership or dependency seams are unknown;
|
|
25
|
+
- `prototype` when a material design decision needs disposable empirical evidence;
|
|
26
|
+
- `codebase-design` when a deep-module, interface, or test-seam decision remains.
|
|
17
27
|
|
|
18
|
-
|
|
19
|
-
- **Logic prototype**: interactive terminal app to test state machines
|
|
20
|
-
- **UI prototype**: multiple UI variations on a single route
|
|
28
|
+
Order follows actual dependencies; never run a fixed companion sequence. Announce each invocation and reason. A correctly installed capability gets at most one same-capability Matrix fallback; installation-integrity failure stops the phase.
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
Long-lived domain, ADR, or research artifacts follow repository conventions, and material conclusions must be synchronized into the canonical design or plan. Prototypes default to an OS temporary directory unless the approved design promotes a project path. Companion output cannot own Matrix state or create a competing plan.
|
|
23
31
|
|
|
24
32
|
## Process
|
|
25
33
|
|
|
26
|
-
1.
|
|
27
|
-
2.
|
|
28
|
-
3.
|
|
29
|
-
4.
|
|
30
|
-
5. Use `codebase-design` to finalize module boundaries
|
|
31
|
-
6. Confirm material architecture choices with the user before freezing
|
|
32
|
-
7. Run the guard
|
|
33
|
-
8. If guard passes, ask the user to choose implementation method:
|
|
34
|
+
1. Establish repository facts and resolve only triggered design questions.
|
|
35
|
+
2. Write and synchronize the canonical Matrix design and plan.
|
|
36
|
+
3. Confirm material architecture choices with the user before freezing.
|
|
37
|
+
4. Run the guard, then choose the implementation actor.
|
|
34
38
|
|
|
35
39
|
```powershell
|
|
36
|
-
matrix workflow guard design
|
|
40
|
+
matrix workflow guard design
|
|
37
41
|
```
|
|
38
42
|
|
|
39
43
|
## Implementation Decision Point
|
|
@@ -45,24 +49,23 @@ After the design guard passes, the user chooses:
|
|
|
45
49
|
Run transition and enter `$matrix-build`:
|
|
46
50
|
|
|
47
51
|
```powershell
|
|
48
|
-
matrix workflow transition build
|
|
52
|
+
matrix workflow transition build
|
|
49
53
|
```
|
|
50
54
|
|
|
51
55
|
Then enter `$matrix-build` to implement directly in this session.
|
|
52
56
|
|
|
53
57
|
### Option B: Use Claude Code for implementation
|
|
54
58
|
|
|
55
|
-
|
|
56
|
-
- Does
|
|
59
|
+
First approve the frozen contract by transitioning to Build, then run `$matrix-claude` to export a bounded task package. This:
|
|
60
|
+
- Does not change the Build phase or state beyond the preceding transition
|
|
57
61
|
- Creates `artifacts/claude-task.md` with all implementation details
|
|
58
62
|
- Includes acceptance criteria, test seams, and required commands
|
|
59
63
|
|
|
60
|
-
After Claude Code completes and returns results, run the
|
|
64
|
+
After Claude Code completes and returns results, run the Build guard and enter `$matrix-verify`:
|
|
61
65
|
|
|
62
66
|
```powershell
|
|
63
|
-
matrix workflow
|
|
64
|
-
matrix workflow
|
|
65
|
-
matrix workflow transition verify
|
|
67
|
+
matrix workflow guard build
|
|
68
|
+
matrix workflow transition verify
|
|
66
69
|
```
|
|
67
70
|
|
|
68
71
|
Then enter `$matrix-verify` to verify the implementation.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: matrix-hotfix
|
|
3
|
-
description: Run a constrained Matrix workflow for a reproducible small bug. Use for a bug fix that has no material architecture, API, schema, or multi-module coordination impact.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Matrix Hotfix
|
|
7
|
-
|
|
8
|
-
Start through `$matrix` with workflow `hotfix
|
|
1
|
+
---
|
|
2
|
+
name: matrix-hotfix
|
|
3
|
+
description: Run a constrained Matrix workflow for a reproducible small bug. Use for a bug fix that has no material architecture, API, schema, or multi-module coordination impact.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Matrix Hotfix
|
|
7
|
+
|
|
8
|
+
Start through `$matrix` with workflow `hotfix`. It uses the shared lightweight lifecycle `open → build → verify → archive`; there is no separate hotfix state machine. Before Build, record expected/actual behavior and a reproducible failure signal, present the compact Contract, and wait for confirmation. Build records reproduction and root-cause evidence; Verify records regression evidence. If the bug requires architecture, public API, schema, or broad coordination, use controlled Return to upgrade the change to full.
|
|
@@ -3,31 +3,38 @@ name: matrix-open
|
|
|
3
3
|
description: Open or resume the Matrix open phase by clarifying a development request into an evidence-backed proposal. Use after $matrix initializes a change or when the active Matrix phase is open.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Matrix Open
|
|
6
|
+
# Matrix Open
|
|
7
|
+
|
|
8
|
+
Run `matrix workflow inspect` and follow its `profile` and `evidence_policy`.
|
|
9
|
+
|
|
10
|
+
Use its `artifact_language` for all proposal prose. Keep the required English heading tokens exactly as specified for Runtime guards; only the text beneath them is localized.
|
|
11
|
+
|
|
12
|
+
- **full**: produce `proposal.md` with `## Goal`, `## Scope`, `## Non-goals`, `## Acceptance`, and `## Risks`, then continue to Design.
|
|
13
|
+
- **lightweight**: produce the complete compact Contract before editing project implementation. Include `## Goal`, `## Scope`, `## Non-goals`, `## Approach`, `## Acceptance`, `## Validation`, `## Risks`, and `## Upgrade conditions`.
|
|
14
|
+
- **hotfix evidence**: also include `## Expected behavior`, `## Actual behavior`, and `## Reproduction`.
|
|
15
|
+
- **tweak evidence**: also include `## Current behavior`, `## Preserved behavior`, and `## Diff boundary`.
|
|
7
16
|
|
|
8
|
-
|
|
17
|
+
## Prim
|
|
9
18
|
|
|
10
|
-
|
|
19
|
+
Use Matrix's own capability to clarify the request and write the proposal.
|
|
11
20
|
|
|
12
|
-
|
|
21
|
+
## Arch
|
|
13
22
|
|
|
14
|
-
|
|
15
|
-
2. Invokes `/domain-modeling` to establish shared vocabulary
|
|
16
|
-
3. Creates or updates `CONTEXT.md` with domain terms
|
|
17
|
-
4. Creates ADRs (Architecture Decision Records) for significant decisions
|
|
23
|
+
Invoke `grilling` only when material ambiguity remains or the user asks to stress-test the request. Invoke `domain-modeling` only when domain vocabulary, invariants, or an architectural decision is unclear. Announce the capability and reason before invoking it; selecting Arch already authorizes triggered capabilities.
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
Companion output is evidence for the Matrix proposal. It must not create another workflow, proposal, confirmation state, or phase transition. If a correctly installed capability fails, perform at most one Matrix-owned fallback for that same capability and record the failure and evidence. Installation-integrity failures require `matrix init --with-mattpocock` and are not eligible for fallback.
|
|
20
26
|
|
|
21
27
|
## Process
|
|
22
28
|
|
|
23
|
-
1.
|
|
24
|
-
2. Write
|
|
25
|
-
3.
|
|
26
|
-
4.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
```powershell
|
|
29
|
+
1. Resolve only ambiguities required by the active workflow.
|
|
30
|
+
2. Write the canonical proposal and synchronize material companion conclusions into it.
|
|
31
|
+
3. For full, ask for confirmation when scope or risk is material, then enter Design.
|
|
32
|
+
4. For lightweight, always present the compact Contract and wait for explicit confirmation before entering Build.
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
31
35
|
matrix workflow guard open
|
|
36
|
+
# full
|
|
32
37
|
matrix workflow transition design
|
|
33
|
-
|
|
38
|
+
# hotfix/tweak, only after explicit confirmation
|
|
39
|
+
matrix workflow transition build --confirmed
|
|
40
|
+
```
|
|
@@ -8,7 +8,8 @@ description: Inspect the active Matrix workflow and report its disk-backed phase
|
|
|
8
8
|
Run the same Matrix state kernel used by the main entry and every phase Skill:
|
|
9
9
|
|
|
10
10
|
```powershell
|
|
11
|
-
matrix workflow inspect
|
|
11
|
+
matrix workflow inspect
|
|
12
|
+
matrix workflow doctor
|
|
12
13
|
```
|
|
13
14
|
|
|
14
|
-
Report the returned change id, workflow, phase, guard result, and `
|
|
15
|
+
Report the returned change id, workflow, `profile`, `evidence_policy`, frozen `orchestration`, phase, guard result, `next_skill`, Workflow health, unfinished transactions, available strategies, and exact recovery commands. If Arch integrity fails, identify the affected platform/Skill facts and report `matrix init --with-mattpocock`; do not reinterpret the change as Prim. Both commands are read-only. Do not infer status from conversation history, run `--repair`, or modify state. If the guard is failing, name the missing evidence and direct the user to the current phase Skill.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: matrix-tweak
|
|
3
|
-
description: Run a lightweight Matrix workflow for a bounded small development change. Use for a small request with no schema, public API, architecture, or cross-module coordination impact.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Matrix Tweak
|
|
7
|
-
|
|
8
|
-
Start through `$matrix` with workflow `tweak`.
|
|
1
|
+
---
|
|
2
|
+
name: matrix-tweak
|
|
3
|
+
description: Run a lightweight Matrix workflow for a bounded small development change. Use for a small request with no schema, public API, architecture, or cross-module coordination impact.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Matrix Tweak
|
|
7
|
+
|
|
8
|
+
Start through `$matrix` with workflow `tweak`. It uses the shared lightweight lifecycle `open → build → verify → archive`; there is no separate tweak state machine or Design phase. Before editing implementation, define current/preserved behavior, the diff boundary, acceptance, and validation in the compact proposal, present it, and wait for confirmation. Build and Verify must prove scope and diff alignment. Use controlled Return to upgrade to full when the change crosses module, API, schema, or architecture boundaries.
|
|
@@ -3,9 +3,11 @@ name: matrix-verify
|
|
|
3
3
|
description: Verify the active Matrix change against its plan and review its diff. Use when the active Matrix phase is verify.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Matrix Verify
|
|
7
|
-
|
|
8
|
-
Run the
|
|
6
|
+
# Matrix Verify
|
|
7
|
+
|
|
8
|
+
Run the approved Contract's acceptance commands and record their output summaries under `## Test evidence` in `artifacts/verification.md`.
|
|
9
|
+
|
|
10
|
+
Write verification prose in `artifact_language` from inspect while preserving the required English evidence headings.
|
|
9
11
|
|
|
10
12
|
## Input Sources
|
|
11
13
|
|
|
@@ -27,49 +29,38 @@ Before starting verification, ensure:
|
|
|
27
29
|
|
|
28
30
|
If these are missing (e.g., Claude Code didn't produce complete evidence), return to `$matrix-build` or ask Claude Code to补充.
|
|
29
31
|
|
|
30
|
-
##
|
|
31
|
-
|
|
32
|
-
### Primary: `code-review`
|
|
33
|
-
|
|
34
|
-
Use the `code-review` skill to perform a two-axis review of the diff:
|
|
32
|
+
## Orchestration
|
|
35
33
|
|
|
36
|
-
|
|
34
|
+
Run `matrix workflow inspect` and read the frozen mode.
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- Scope creep (behavior not asked for)
|
|
41
|
-
- Wrong implementations of required behavior
|
|
36
|
+
- **Prim**: Matrix performs the Standards and Spec review itself.
|
|
37
|
+
- **Arch**: invoke `code-review` to produce both review axes; announce the invocation and reason.
|
|
42
38
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
### Optional: `improve-codebase-architecture`
|
|
46
|
-
|
|
47
|
-
After verification passes, if the change touched modules that could be deepened, use `improve-codebase-architecture` to scan for shallow-module opportunities. This is advisory — skip it for simple changes or when time is constrained.
|
|
39
|
+
Review findings are inputs to Matrix Verify; a companion cannot decide the phase outcome, broaden approved architecture, transition, or archive. Do not invoke post-review architecture wrappers. A correctly installed review capability gets at most one same-capability Matrix fallback; installation-integrity failure stops verification.
|
|
48
40
|
|
|
49
41
|
## Failure Handling
|
|
50
42
|
|
|
51
43
|
If verification or review fails:
|
|
52
|
-
- If the issue is in the implementation
|
|
53
|
-
- If the issue is in the
|
|
44
|
+
- If the issue is in the implementation, run `matrix workflow return build --reason verification-failed`, then enter `$matrix-build` or ask Claude Code to fix.
|
|
45
|
+
- If the issue is in the acceptance criteria or design, run `matrix workflow return design --reason acceptance-or-design-gap`, then enter `$matrix-design`.
|
|
46
|
+
|
|
47
|
+
Both Return paths rotate the current `verification.md` into revisioned evidence history. Do not copy stale conclusions back into the new current evidence.
|
|
54
48
|
|
|
55
49
|
If documents or public behavior changed, record the required synchronization work before the guard.
|
|
56
50
|
|
|
57
51
|
## Process
|
|
58
52
|
|
|
59
53
|
1. Check that `artifacts/verification.md` exists with `## Build evidence`
|
|
60
|
-
2. Run the
|
|
54
|
+
2. Run the approved validation commands (full plan or lightweight proposal)
|
|
61
55
|
3. Record test output under `## Test evidence`
|
|
62
|
-
4.
|
|
63
|
-
5. Run both axes (Standards + Spec) in parallel
|
|
56
|
+
4. Produce both Standards and Spec review axes through the selected orchestration mode
|
|
64
57
|
6. Record findings under `## Review evidence`
|
|
65
|
-
7.
|
|
66
|
-
8.
|
|
67
|
-
9. If guard passes, run transition to advance to archive phase
|
|
68
|
-
10. **Then enter `$matrix-archive` to continue the workflow**
|
|
58
|
+
7. Run the guard
|
|
59
|
+
8. If it passes, transition to archive and enter `$matrix-archive`
|
|
69
60
|
|
|
70
61
|
```powershell
|
|
71
|
-
matrix workflow guard verify
|
|
72
|
-
matrix workflow transition archive
|
|
62
|
+
matrix workflow guard verify
|
|
63
|
+
matrix workflow transition archive
|
|
73
64
|
```
|
|
74
65
|
|
|
75
66
|
## Evidence Requirements
|
|
@@ -79,4 +70,4 @@ The guard checks for:
|
|
|
79
70
|
1. **Test evidence** — Output from running the plan's validation commands
|
|
80
71
|
2. **Review evidence** — Findings from the two-axis code review
|
|
81
72
|
|
|
82
|
-
|
|
73
|
+
Full requires Test and Review evidence. Hotfix additionally requires `## Regression evidence`; tweak additionally requires `## Scope review evidence`.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Rosen
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rosen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|