soturail 0.6.1 → 0.7.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/README.md +41 -14
- package/dist/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/diagram.d.ts +2 -0
- package/dist/commands/diagram.js +24 -0
- package/dist/commands/diagram.js.map +1 -0
- package/dist/commands/harness.js +1 -1
- package/dist/commands/harness.js.map +1 -1
- package/dist/commands/release.js +9 -2
- package/dist/commands/release.js.map +1 -1
- package/dist/commands/workflow.js +29 -5
- package/dist/commands/workflow.js.map +1 -1
- package/dist/core/config.d.ts +5 -0
- package/dist/core/config.js +9 -2
- package/dist/core/config.js.map +1 -1
- package/dist/core/context-intelligence.js +1 -1
- package/dist/core/context-intelligence.js.map +1 -1
- package/dist/core/diagram-rail.d.ts +31 -0
- package/dist/core/diagram-rail.js +235 -0
- package/dist/core/diagram-rail.js.map +1 -0
- package/dist/core/evidence-pack.js +50 -0
- package/dist/core/evidence-pack.js.map +1 -1
- package/dist/core/harness-rail.js +35 -1
- package/dist/core/harness-rail.js.map +1 -1
- package/dist/core/release-preflight.js +1 -1
- package/dist/core/release-preflight.js.map +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/dist/core/workflow-store.d.ts +68 -0
- package/dist/core/workflow-store.js +360 -6
- package/dist/core/workflow-store.js.map +1 -1
- package/docs/diagram-rail.md +55 -130
- package/docs/harness-rail.md +60 -109
- package/docs/release-checklist.md +14 -0
- package/docs/release-workflow.md +34 -1
- package/docs/releases/README.md +27 -0
- package/docs/releases/RELEASE_NOTES_v0.2.1.md +19 -0
- package/docs/releases/RELEASE_NOTES_v0.2.2.md +48 -0
- package/docs/releases/RELEASE_NOTES_v0.2.3.md +36 -0
- package/docs/releases/RELEASE_NOTES_v0.3.0.md +42 -0
- package/docs/releases/RELEASE_NOTES_v0.3.1.md +37 -0
- package/docs/releases/RELEASE_NOTES_v0.3.2.md +33 -0
- package/docs/releases/RELEASE_NOTES_v0.3.3.md +31 -0
- package/docs/releases/RELEASE_NOTES_v0.4.0.md +35 -0
- package/docs/releases/RELEASE_NOTES_v0.4.1.md +37 -0
- package/docs/releases/RELEASE_NOTES_v0.5.0.md +21 -0
- package/docs/releases/RELEASE_NOTES_v0.5.1.md +19 -0
- package/docs/releases/RELEASE_NOTES_v0.5.2.md +27 -0
- package/docs/releases/RELEASE_NOTES_v0.6.0.md +33 -0
- package/docs/releases/RELEASE_NOTES_v0.6.1.md +37 -0
- package/docs/releases/RELEASE_NOTES_v0.7.0.md +33 -0
- package/docs/spec-driven-workflow.md +27 -38
- package/docs/workflow-rail.md +81 -164
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# SotuRail v0.3.0 - Skill Rail, MCP & Context Packs
|
|
2
|
+
|
|
3
|
+
SotuRail v0.3.0 adds Skill Rail, a local MCP-compatible stdio server, and cache-friendly context packs for AI coding agents.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx --yes soturail@0.3.0 --help
|
|
9
|
+
npm install -g soturail@0.3.0
|
|
10
|
+
soturail --version
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Highlights
|
|
14
|
+
|
|
15
|
+
- `soturail skills` creates, validates, exports and packs safe local agent skills.
|
|
16
|
+
- `soturail mcp` exposes read-only resources and safe tools over JSON-RPC style stdio.
|
|
17
|
+
- `soturail context pack` builds target-aware context packs with stable content before dynamic session data.
|
|
18
|
+
- Hooks now support reviewed exports and the `--agent` / `--mode` command shape.
|
|
19
|
+
- Benchmarks include Skill Rail, MCP, context packs, hook export and memory workflow cases.
|
|
20
|
+
- Release automation validates package/CLI version sync, changelog, release notes, runtime audit and npm pack contents before publication.
|
|
21
|
+
- Release commands now accept a positional version such as `soturail release publish 0.3.0`, while preserving `--target-version` and backward-compatible `--version` usage.
|
|
22
|
+
|
|
23
|
+
## Safety
|
|
24
|
+
|
|
25
|
+
SotuRail remains local-first. The MCP server does not expose arbitrary shell execution in v0.3.0. Raw logs may contain secrets, and MCP raw-log expansion redacts probable secrets unless explicitly requested with `allow_raw=true`.
|
|
26
|
+
|
|
27
|
+
## Validation
|
|
28
|
+
|
|
29
|
+
- `npm run build`
|
|
30
|
+
- `node dist/cli.js --version`
|
|
31
|
+
- `npm test`
|
|
32
|
+
- `npm audit --omit=dev`
|
|
33
|
+
- `npm audit`
|
|
34
|
+
- `node dist/cli.js self all`
|
|
35
|
+
- `node dist/cli.js bench`
|
|
36
|
+
- `node dist/cli.js release check`
|
|
37
|
+
- `npm pack --dry-run`
|
|
38
|
+
|
|
39
|
+
## Links
|
|
40
|
+
|
|
41
|
+
- npm: https://www.npmjs.com/package/soturail
|
|
42
|
+
- GitHub: https://github.com/Soturine/soturail
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# SotuRail v0.3.1 - Real Usage & Integration Polish
|
|
2
|
+
|
|
3
|
+
SotuRail v0.3.1 improves the installed user experience after the v0.3.0 Skill Rail, MCP and Context Pack release.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- `soturail init` now scaffolds v0.3 docs and examples.
|
|
8
|
+
- `soturail skills list` now prints richer skill details.
|
|
9
|
+
- `soturail skills init` now creates a more useful starter skill.
|
|
10
|
+
- MCP stdio behavior has stronger smoke coverage.
|
|
11
|
+
- Hooks doctor now shows next safe commands.
|
|
12
|
+
- Added first real workflow documentation.
|
|
13
|
+
- Added examples for skills, MCP, hooks and context packs.
|
|
14
|
+
- Added clean-folder smoke test coverage.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install -g soturail@0.3.1
|
|
20
|
+
soturail --version
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Validate
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
soturail init
|
|
27
|
+
soturail index
|
|
28
|
+
soturail context pack --target generic
|
|
29
|
+
soturail skills init demo-skill
|
|
30
|
+
soturail skills validate
|
|
31
|
+
soturail mcp doctor
|
|
32
|
+
soturail hooks doctor
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Notes
|
|
36
|
+
|
|
37
|
+
This is a polish release. It does not expose arbitrary shell execution through MCP.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# SotuRail v0.3.2 - Strong Reducers, Deduplication & Package Verification
|
|
2
|
+
|
|
3
|
+
SotuRail v0.3.2 strengthens the core reducer/deduplication layer and adds package verification gates to prevent stale CLI metadata from being published.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Stronger reducers for common developer outputs.
|
|
8
|
+
- Block-level dedupe.
|
|
9
|
+
- Improved `soturail dedupe` stats.
|
|
10
|
+
- Improved `soturail stats` accounting.
|
|
11
|
+
- Safer `soturail expand` with default secret redaction.
|
|
12
|
+
- Expanded benchmark cases.
|
|
13
|
+
- Release verification now installs the packed tarball in a clean temporary folder before publish.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g soturail@0.3.2
|
|
19
|
+
soturail --version
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Validate
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
soturail run npm test
|
|
26
|
+
soturail dedupe stats
|
|
27
|
+
soturail stats
|
|
28
|
+
soturail bench
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Security
|
|
32
|
+
|
|
33
|
+
Raw logs may contain secrets. `soturail expand` redacts probable secrets by default.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# SotuRail v0.3.3 - Package Verification Hotfix
|
|
2
|
+
|
|
3
|
+
SotuRail v0.3.3 fixes the packed package CLI verification path used before npm releases.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Fixes packed package CLI version verification.
|
|
8
|
+
- Avoids npm cache, `npx`, `npm exec` and global CLI false positives.
|
|
9
|
+
- Strengthens cross-platform release gates on Windows, Linux and macOS.
|
|
10
|
+
- Keeps runtime audit clean.
|
|
11
|
+
- Does not add new product features.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g soturail@0.3.3
|
|
17
|
+
soturail --version
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Validate
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm run build
|
|
24
|
+
npm test
|
|
25
|
+
npm audit --omit=dev
|
|
26
|
+
npm run release:check
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Notes
|
|
30
|
+
|
|
31
|
+
Release verification now installs the packed `.tgz` into a clean temporary project and executes `node_modules/soturail/dist/cli.js` directly.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# SotuRail v0.4.0 - Real Agent Integrations & Workflow Rail
|
|
2
|
+
|
|
3
|
+
SotuRail v0.4.0 adds real agent integration exports, MCP config helpers and a safe Workflow Rail for local task planning and optional Git worktree isolation.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Agent registry for Claude, Codex, Gemini, Cursor, Antigravity and generic agents.
|
|
8
|
+
- Agent-specific context and prompt exports.
|
|
9
|
+
- MCP config helper and MCP smoke test.
|
|
10
|
+
- Improved hooks exports and dry-run safety.
|
|
11
|
+
- Workflow Rail with local task state.
|
|
12
|
+
- Optional Git worktree isolation.
|
|
13
|
+
- Strong release package verification.
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g soturail@0.4.0
|
|
19
|
+
soturail --version
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Try It
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
soturail init
|
|
26
|
+
soturail agents doctor
|
|
27
|
+
soturail agents export --agent all
|
|
28
|
+
soturail mcp smoke
|
|
29
|
+
soturail workflow new "Try SotuRail Workflow Rail"
|
|
30
|
+
soturail workflow list
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Security
|
|
34
|
+
|
|
35
|
+
SotuRail does not expose arbitrary shell execution through MCP by default. Agent installs are dry-run-first and backup-first.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# SotuRail v0.4.1 - Agent Scaffold, Docs & UX Polish
|
|
2
|
+
|
|
3
|
+
SotuRail v0.4.1 polishes the v0.4 agent integration experience and fixes incomplete scaffold output from `soturail init`.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- `soturail init` now includes v0.4 agent docs.
|
|
8
|
+
- `soturail init` now includes agent examples.
|
|
9
|
+
- `soturail init` now includes workflow examples.
|
|
10
|
+
- `soturail agents doctor` now gives better next-step guidance.
|
|
11
|
+
- Workflow Rail list/show/close UX is clearer.
|
|
12
|
+
- Generated docs no longer include stale v0.1/v0.3 wording.
|
|
13
|
+
- `.gitattributes` reduces Windows line-ending noise.
|
|
14
|
+
- Release checks protect required GitHub workflow files.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install -g soturail@0.4.1
|
|
20
|
+
soturail --version
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Try it
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
soturail init
|
|
27
|
+
soturail context pack --target all
|
|
28
|
+
soturail agents doctor
|
|
29
|
+
soturail agents export --agent all
|
|
30
|
+
soturail mcp smoke
|
|
31
|
+
soturail workflow new "Try SotuRail"
|
|
32
|
+
soturail workflow list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Security
|
|
36
|
+
|
|
37
|
+
SotuRail remains safe-by-default. MCP does not expose arbitrary shell execution.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# SotuRail v0.5.0 - Local Rail MVP
|
|
2
|
+
|
|
3
|
+
SotuRail v0.5.0 introduced the first local rail MVP for memory, context intelligence, role packs, harness evidence, policy queues, filesystem evidence, run workspaces and optional native diagnostics.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Memory Rail commands for remember, recall, capture, consolidate and doctor.
|
|
8
|
+
- Context Intelligence commands for select, prune, route, budget, offload and restore.
|
|
9
|
+
- Role-based context packs for planner, executor, reviewer, release-manager and researcher.
|
|
10
|
+
- Harness Failure Ledger and acceptance contract seed commands.
|
|
11
|
+
- Policy Approval Queue and policy doctor/validate commands.
|
|
12
|
+
- Filesystem Evidence Rail snapshot, touched, diff and plan-edit commands.
|
|
13
|
+
- Agent docs hygiene lint, split-context and explain commands.
|
|
14
|
+
- Skill Boundary Rail suggest and route commands.
|
|
15
|
+
- MCP exposure report with JSON output.
|
|
16
|
+
- Run Workspace Rail seed commands under `soturail run workspace`.
|
|
17
|
+
- Workflow Evidence Pack seed and native doctor fallback diagnostics.
|
|
18
|
+
|
|
19
|
+
## Security
|
|
20
|
+
|
|
21
|
+
SotuRail remains local-first and safe-by-default. MCP does not expose arbitrary shell execution by default, raw/offloaded context is redacted for probable secrets before reports, and native acceleration remains optional.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# SotuRail v0.5.1 - Agent UX And Payload Polish
|
|
2
|
+
|
|
3
|
+
SotuRail v0.5.1 polished the v0.5 rail outputs and added lightweight structured payload helpers for safer local agent handoffs.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Light `soturail validate json <file> --strict` seed for JSON parse, duplicate-key, probable-secret and huge-array checks.
|
|
8
|
+
- Light `soturail format compare <file>` seed for Markdown, JSON, tagged-block and compact-format handoff hints.
|
|
9
|
+
- Migration notes for moving from v0.4.x to v0.5.x rails.
|
|
10
|
+
- Structured Payload Rail and Diagram Rail examples.
|
|
11
|
+
- Improved Memory Rail recall output with score, reason, source, tags, confidence and privacy details.
|
|
12
|
+
- Improved Memory Rail doctor output with storage, consolidated count, secret hints and approved-memory export guidance.
|
|
13
|
+
- Improved Context Intelligence output with recovery pointers, clearer prune sections and richer budget drivers.
|
|
14
|
+
- Improved Run Workspace show/clean output with summary, handoff, evidence and linked artifact status.
|
|
15
|
+
- Expanded docs for role packs, agent docs hygiene, approved-memory export and clean-folder onboarding.
|
|
16
|
+
|
|
17
|
+
## Security
|
|
18
|
+
|
|
19
|
+
JSON validation warns about probable secrets before agent handoff. Format comparison and structured payload docs recommend redaction, offload and review for large or sensitive payloads.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# SotuRail v0.5.2 - CI Stabilization And Lightweight Quality Fixtures
|
|
2
|
+
|
|
3
|
+
SotuRail v0.5.2 is a small stabilization release for the v0.5 rail line.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Fixes stale CI test expectations from v0.4.x/v0.5.x version drift.
|
|
8
|
+
- Makes release metadata tests version-aware.
|
|
9
|
+
- Makes agent doctor tests validate stable behavior without depending on old exact wording.
|
|
10
|
+
- Adds lightweight local quality fixtures for JSON validation, format comparison, context routing, budget output, run workspaces, workflow evidence and agent docs hygiene.
|
|
11
|
+
- Realigns the roadmap so the full evaluation suite moves to v0.6.1.
|
|
12
|
+
|
|
13
|
+
## Not Included
|
|
14
|
+
|
|
15
|
+
- No npm publish automation.
|
|
16
|
+
- No GitHub release automation.
|
|
17
|
+
- No heavy benchmark or evaluation harness.
|
|
18
|
+
- No network, provider or native-binary requirement.
|
|
19
|
+
|
|
20
|
+
## Try From Source
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install
|
|
24
|
+
npm run build
|
|
25
|
+
node dist/cli.js --version
|
|
26
|
+
npm test
|
|
27
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# SotuRail v0.6.0 - Real Agent Runtime Integration
|
|
2
|
+
|
|
3
|
+
SotuRail v0.6.0 adds a conservative host-aware Agent Runtime Adapter. SotuRail still prepares local context, rules, skills, MCP notes, role packs, policy guidance and evidence. The actual agent host still owns the model, planning loop, editing UI and runtime.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- `soturail agents capabilities` shows a host capability matrix.
|
|
8
|
+
- `soturail agents status` inspects local agent files, exports, context packs, role packs, skills, MCP exports, policy state and run workspaces.
|
|
9
|
+
- `soturail agents doctor --verbose` adds host-aware payload, policy and dry-run install guidance.
|
|
10
|
+
- `soturail agents install --agent claude --dry-run`, `cursor --dry-run` and `gemini --dry-run` preview project-local writes, backups and policy warnings.
|
|
11
|
+
- Experimental `deepagents` and `deepagents-js` exports create context/config artifacts only.
|
|
12
|
+
- Host-aware docs cover prompt-only fallback, payload formats, policy notes and generated-file review.
|
|
13
|
+
|
|
14
|
+
## Try It
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
soturail agents capabilities
|
|
18
|
+
soturail agents status
|
|
19
|
+
soturail agents doctor --verbose
|
|
20
|
+
soturail agents install --agent claude --dry-run
|
|
21
|
+
soturail agents install --agent cursor --dry-run
|
|
22
|
+
soturail agents install --agent gemini --dry-run
|
|
23
|
+
soturail agents export --agent deepagents
|
|
24
|
+
soturail agents export --agent deepagents-js
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Security
|
|
28
|
+
|
|
29
|
+
SotuRail remains safe-by-default. It does not write global config by default, does not expose arbitrary shell execution through MCP and creates backups before modifying existing project-local agent files.
|
|
30
|
+
|
|
31
|
+
## Not Included
|
|
32
|
+
|
|
33
|
+
v0.6.0 does not publish to npm, create a GitHub release, install Deep Agents packages, create an autonomous editing runtime or run the v0.6.1 heavy evaluation suite.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# SotuRail v0.6.1 - Agent UX Polish And Full Evaluation Suite
|
|
2
|
+
|
|
3
|
+
v0.6.1 adds the local evaluation suite and improves agent setup guidance on top of the v0.6.0 Agent Runtime Adapter.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Added `soturail eval list`, `soturail eval run` and `soturail eval report`.
|
|
8
|
+
- Added deterministic local fixtures for memory recall, context selection, reducers, context routing, role packs, agent-doc hygiene, offload/restore, format quality, strict JSON, evidence packs, harness scenarios and Diagram Rail validation.
|
|
9
|
+
- Improved `agents doctor`, `agents status`, `agents capabilities` and `agents explain` with clearer copy/paste setup guidance.
|
|
10
|
+
- Added practical setup tutorials for Claude Code, Codex, Gemini CLI, Cursor, Antigravity prompt-only workflows and Deep Agents-style role packs.
|
|
11
|
+
- Documented how to read evaluation reports and why token savings without quality preservation is not enough.
|
|
12
|
+
|
|
13
|
+
## Safety
|
|
14
|
+
|
|
15
|
+
- No npm publish was run as part of this release prep.
|
|
16
|
+
- No provider APIs, paid services, real agent hosts or network calls are required for the evaluation suite.
|
|
17
|
+
- Agent installs remain project-local, dry-run/backup-first and review-first.
|
|
18
|
+
- SotuRail still does not expose arbitrary shell execution through MCP.
|
|
19
|
+
|
|
20
|
+
## Verification
|
|
21
|
+
|
|
22
|
+
Recommended local checks:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm run typecheck
|
|
26
|
+
npm run build
|
|
27
|
+
npm test
|
|
28
|
+
soturail eval run
|
|
29
|
+
soturail eval report
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Evaluation reports are written to:
|
|
33
|
+
|
|
34
|
+
```txt
|
|
35
|
+
.soturail/eval/latest.json
|
|
36
|
+
.soturail/eval/latest.md
|
|
37
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# SotuRail v0.7.0 - Workflow, Harness And Diagram Rails
|
|
2
|
+
|
|
3
|
+
SotuRail v0.7.0 deepens the local workflow layer. It adds Workflow Rail 2.0 phases, Harness Rail integration, Diagram Rail commands, `.spec.md` visual contracts and release evidence that points to the new `docs/releases/` release-note source.
|
|
4
|
+
|
|
5
|
+
## Added
|
|
6
|
+
|
|
7
|
+
- Added `soturail workflow setup`.
|
|
8
|
+
- Added title-based `soturail workflow plan "Task title"` for Workflow Rail 2.0 plans.
|
|
9
|
+
- Added `soturail workflow work`, `soturail workflow review --all`, `soturail workflow verify` and `soturail workflow diagram <id>`.
|
|
10
|
+
- Added deterministic review perspectives for security, docs, tests, release, context and agent readiness.
|
|
11
|
+
- Added `soturail diagram init`, `soturail diagram new <feature>`, `soturail diagram audit <file>`, `soturail diagram validate` and `soturail diagram from-workflow <id>`.
|
|
12
|
+
- Added generated `.spec.md` visual contracts with required nodes, transitions, evidence links, validation checklist and known gaps.
|
|
13
|
+
- Added v0.7.0 tests for release-note paths, workflow phases, harness doctor integration, diagram commands and evidence contents.
|
|
14
|
+
|
|
15
|
+
## Changed
|
|
16
|
+
|
|
17
|
+
- Moved repository release notes from root-level `RELEASE_NOTES_vX.Y.Z.md` files into `docs/releases/`.
|
|
18
|
+
- Updated release scripts, release preflight, tests and docs to use `docs/releases/RELEASE_NOTES_vX.Y.Z.md`.
|
|
19
|
+
- Improved workflow evidence packs with review/verify artifacts, offload IDs, harness contracts, diagram validation, eval reports and release evidence.
|
|
20
|
+
- Improved `harness doctor` so it reports active workflow, contract presence, failure count, latest verification status and suggested prevention action.
|
|
21
|
+
- Updated Workflow Rail, Harness Rail, Diagram Rail, spec workflow and release docs for v0.7.0.
|
|
22
|
+
|
|
23
|
+
## Security
|
|
24
|
+
|
|
25
|
+
- Workflow verification and evidence remain local and do not publish packages, create GitHub releases or run destructive commands.
|
|
26
|
+
- Diagram Rail validates local Markdown/Mermaid files only.
|
|
27
|
+
- Harness contracts still validate by default without executing configured shell commands.
|
|
28
|
+
|
|
29
|
+
## Notes
|
|
30
|
+
|
|
31
|
+
- Historical npm backfill for v0.5.0, v0.5.1, v0.5.2 and v0.6.0 should use the `backfill` dist-tag only when the historical checkout builds, tests and publishes safely.
|
|
32
|
+
- During v0.7.0 prep, v0.5.0 backfill was deferred because the historical checkout hit stale test failures and npm publish required a one-time password.
|
|
33
|
+
- SotuRail still does not expose arbitrary shell execution through MCP.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Spec-Driven Workflow
|
|
2
2
|
|
|
3
|
-
SotuRail specs live under `.soturail/specs
|
|
3
|
+
SotuRail specs live under `.soturail/specs/`, and v0.7.0 connects them with Diagram Rail visual contracts.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
soturail spec new "feature idea"
|
|
@@ -11,63 +11,52 @@ soturail spec task list .soturail/specs/001-feature
|
|
|
11
11
|
soturail spec task done .soturail/specs/001-feature 1
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## Diagram-Driven Specs
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
- `spec.md`
|
|
18
|
-
- `plan.md`
|
|
19
|
-
- `tasks.md`
|
|
20
|
-
- `verification.md`
|
|
21
|
-
- `context-budget.md`
|
|
22
|
-
- `security-impact.md`
|
|
23
|
-
|
|
24
|
-
## Planned Diagram-Driven Specs
|
|
25
|
-
|
|
26
|
-
The v0.7+ roadmap can extend specs with Diagram Rail.
|
|
27
|
-
|
|
28
|
-
The goal is to make visual contracts part of the spec workflow:
|
|
16
|
+
The workflow is:
|
|
29
17
|
|
|
30
18
|
```txt
|
|
31
19
|
Idea -> PRD -> .spec.md + Mermaid -> Tasks -> TDD -> Implementation -> Review -> Evidence
|
|
32
20
|
```
|
|
33
21
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- feature purpose;
|
|
37
|
-
- requirements;
|
|
38
|
-
- constraints;
|
|
39
|
-
- Mermaid diagram;
|
|
40
|
-
- decision matrix;
|
|
41
|
-
- acceptance criteria;
|
|
42
|
-
- test plan;
|
|
43
|
-
- version/change notes.
|
|
44
|
-
|
|
45
|
-
Possible future commands:
|
|
22
|
+
v0.7.0 Diagram Rail commands:
|
|
46
23
|
|
|
47
24
|
```bash
|
|
25
|
+
soturail diagram init
|
|
48
26
|
soturail diagram new <feature>
|
|
49
27
|
soturail diagram audit <file>
|
|
50
28
|
soturail diagram validate
|
|
51
29
|
soturail workflow diagram <id>
|
|
52
30
|
```
|
|
53
31
|
|
|
32
|
+
## `.spec.md` Visual Contract
|
|
33
|
+
|
|
34
|
+
Generated contracts include:
|
|
35
|
+
|
|
36
|
+
- required nodes;
|
|
37
|
+
- required transitions;
|
|
38
|
+
- evidence links;
|
|
39
|
+
- validation checklist;
|
|
40
|
+
- known gaps.
|
|
41
|
+
|
|
42
|
+
They are designed to be reviewed by humans and handed to agents as compact context. A `.spec.md` contract should make the intended behavior explicit before implementation.
|
|
43
|
+
|
|
54
44
|
## Why Diagrams Belong In Specs
|
|
55
45
|
|
|
56
46
|
Mermaid diagrams are text-based, versionable and compact. They can show state transitions, workflows, sequence flows and policy decisions in a form that both humans and agents can inspect.
|
|
57
47
|
|
|
58
|
-
A diagram should not replace tests or reviews. It should make the intended behavior explicit
|
|
48
|
+
A diagram should not replace tests or reviews. It should make the intended behavior explicit and then point to verification evidence.
|
|
49
|
+
|
|
50
|
+
## Validation
|
|
59
51
|
|
|
60
|
-
|
|
52
|
+
`soturail diagram audit <file>` and `soturail diagram validate` catch basic local issues:
|
|
61
53
|
|
|
62
|
-
|
|
54
|
+
- missing Mermaid blocks;
|
|
55
|
+
- broken code fences;
|
|
56
|
+
- unsupported Mermaid declarations;
|
|
57
|
+
- missing `.spec.md` siblings;
|
|
58
|
+
- workflow state diagrams without verification transitions.
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
- missing start or end states;
|
|
66
|
-
- unreachable states;
|
|
67
|
-
- unlabeled risky transitions;
|
|
68
|
-
- missing acceptance criteria;
|
|
69
|
-
- implementation without corresponding test plan;
|
|
70
|
-
- release path without verification evidence;
|
|
71
|
-
- policy flow without approve/reject state.
|
|
60
|
+
The validator is intentionally lightweight. It is useful as a local rail, not as a full Mermaid parser.
|
|
72
61
|
|
|
73
62
|
See [diagram-rail.md](diagram-rail.md) and [workflow-rail.md](workflow-rail.md).
|