soturail 1.1.0 → 1.2.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 -8
- package/dist/cli.js +6 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/feature.d.ts +2 -0
- package/dist/commands/feature.js +28 -0
- package/dist/commands/feature.js.map +1 -0
- package/dist/commands/handoff.d.ts +2 -0
- package/dist/commands/handoff.js +14 -0
- package/dist/commands/handoff.js.map +1 -0
- package/dist/commands/harness.js +20 -0
- package/dist/commands/harness.js.map +1 -1
- package/dist/commands/session.d.ts +2 -0
- package/dist/commands/session.js +17 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/core/config.d.ts +7 -0
- package/dist/core/config.js +8 -0
- package/dist/core/config.js.map +1 -1
- package/dist/core/harness-lifecycle.d.ts +63 -0
- package/dist/core/harness-lifecycle.js +397 -0
- package/dist/core/harness-lifecycle.js.map +1 -0
- package/dist/core/harness-rail.js +1 -0
- package/dist/core/harness-rail.js.map +1 -1
- package/dist/core/schema-readiness.js +9 -1
- package/dist/core/schema-readiness.js.map +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/docs/agent-governance-rail.md +89 -0
- package/docs/agent-harness-synthesis-2026.md +101 -0
- package/docs/agent-hosts.md +12 -0
- package/docs/agent-qa-rail.md +92 -0
- package/docs/agents.md +13 -3
- package/docs/conductor-mode.md +44 -0
- package/docs/context-packs.md +18 -0
- package/docs/dashboard-rail.md +6 -0
- package/docs/ecosystem-influences.md +65 -0
- package/docs/eval-datasets.md +40 -0
- package/docs/evaluation-suite.md +6 -0
- package/docs/evidence-provenance-rail.md +70 -0
- package/docs/external-projects-audit.md +29 -0
- package/docs/future-rails-index.md +70 -12
- package/docs/golden-agent-tests.md +44 -0
- package/docs/governance-cost-rail.md +10 -0
- package/docs/harness-lifecycle-rail.md +95 -0
- package/docs/harness-rail.md +27 -0
- package/docs/host-compatibility-rail.md +18 -0
- package/docs/host-router-rail.md +73 -0
- package/docs/knowledge-rail.md +76 -0
- package/docs/llm-as-judge-policy.md +45 -0
- package/docs/multi-agent-workflow-templates.md +63 -0
- package/docs/observability-rail.md +36 -0
- package/docs/rate-limit-and-fallback-policy.md +45 -0
- package/docs/releases/README.md +1 -0
- package/docs/releases/RELEASE_NOTES_v1.2.0.md +43 -0
- package/docs/repo-docs-audit-2026-06-05.md +55 -0
- package/docs/report-rail.md +12 -0
- package/docs/resilience-rail.md +48 -0
- package/docs/schema-contracts.md +5 -0
- package/docs/security-boundaries.md +34 -0
- package/docs/skill-rail-2.md +11 -0
- package/docs/stable-command-surface.md +10 -1
- package/docs/tasklet-rail.md +62 -0
- package/docs/v1-contract.md +3 -2
- package/docs/workflow-rail.md +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Rate Limit And Fallback Policy
|
|
2
|
+
|
|
3
|
+
This document describes the future SotuRail policy model for rate-limit and fallback guidance. It is documentation-first and local-first.
|
|
4
|
+
|
|
5
|
+
## Policy Fields
|
|
6
|
+
|
|
7
|
+
A future policy file could live at:
|
|
8
|
+
|
|
9
|
+
```txt
|
|
10
|
+
.soturail/policies/rate-limit-and-fallback.yaml
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Example:
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
hosts:
|
|
17
|
+
claude:
|
|
18
|
+
fallback: codex
|
|
19
|
+
contextFallback: markdown
|
|
20
|
+
cursor:
|
|
21
|
+
fallback: generic
|
|
22
|
+
contextFallback: cursor-rules-lite
|
|
23
|
+
workflows:
|
|
24
|
+
default:
|
|
25
|
+
maxAgentTurns: 20
|
|
26
|
+
requireHandoffAfterMinutes: 30
|
|
27
|
+
requireApprovalForExternalCalls: true
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Fallback Types
|
|
31
|
+
|
|
32
|
+
| Fallback | Meaning |
|
|
33
|
+
| --- | --- |
|
|
34
|
+
| host fallback | export the same SotuRail context to a different agent host |
|
|
35
|
+
| format fallback | use Markdown/static files when MCP or skills are unsupported |
|
|
36
|
+
| role fallback | reduce full workflow context to planner/executor/reviewer packs |
|
|
37
|
+
| offline fallback | keep local docs/reports usable when no provider is available |
|
|
38
|
+
|
|
39
|
+
## Non-Goals
|
|
40
|
+
|
|
41
|
+
- no live billing control;
|
|
42
|
+
- no provider account automation;
|
|
43
|
+
- no quota bypass;
|
|
44
|
+
- no traffic interception;
|
|
45
|
+
- no promise that fallback preserves model behavior.
|
package/docs/releases/README.md
CHANGED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# SotuRail v1.2.0
|
|
2
|
+
|
|
3
|
+
SotuRail v1.2.0 adds Harness Lifecycle Rail and incorporates the v1.1.1 host-compatibility/ecosystem documentation polish. It keeps SotuRail CLI-first, npm-first, local-first, provider-agnostic and safe by default.
|
|
4
|
+
|
|
5
|
+
## Added
|
|
6
|
+
|
|
7
|
+
- `soturail harness init` for safe local lifecycle scaffolding that preserves existing files by default.
|
|
8
|
+
- `soturail harness audit [--json]` for deterministic lifecycle readiness reports.
|
|
9
|
+
- `soturail session start|end` for bounded local session state.
|
|
10
|
+
- `soturail handoff generate` for local agent/host handoffs.
|
|
11
|
+
- `soturail feature add|start|done|list` backed by `.soturail/state/feature_list.json`.
|
|
12
|
+
- Hermes Agent and Odysseus ecosystem classifications.
|
|
13
|
+
- Agent And Harness Synthesis, Security Boundaries, Harness Lifecycle Rail and proposed Conductor docs.
|
|
14
|
+
- Deterministic host-export golden safety checks.
|
|
15
|
+
|
|
16
|
+
## Boundaries
|
|
17
|
+
|
|
18
|
+
- Hermes is documented as an agent runtime.
|
|
19
|
+
- Odysseus is documented as a workspace/runtime/local-services stack.
|
|
20
|
+
- SotuRail remains the local context/harness/governance layer.
|
|
21
|
+
- SotuRail Conductor is proposed future work and is not implemented.
|
|
22
|
+
- No cloud telemetry, required server, provider API key, destructive MCP tool or autonomous edit loop was added.
|
|
23
|
+
|
|
24
|
+
## Verification
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm run typecheck
|
|
28
|
+
npm run build
|
|
29
|
+
npx vitest run tests/v120.test.ts
|
|
30
|
+
npx vitest run tests/v110.test.ts
|
|
31
|
+
npm test
|
|
32
|
+
npm run release:check
|
|
33
|
+
node dist/cli.js harness init
|
|
34
|
+
node dist/cli.js harness audit --json
|
|
35
|
+
node dist/cli.js feature list
|
|
36
|
+
node dist/cli.js handoff generate
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Known Limitations
|
|
40
|
+
|
|
41
|
+
- Spec/Design/Diagram expansion remains planned after the delivered lifecycle slice.
|
|
42
|
+
- Dashboard lifecycle cards and a dedicated Host Fit Doctor alias remain planned; current host fit uses `agents matrix` and `agents doctor`.
|
|
43
|
+
- Conductor commands are documentation-only and require a future approval-gated design.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Repository Documentation Audit - 2026-06-05
|
|
2
|
+
|
|
3
|
+
This audit records the documentation consistency check after the 2026 agent-harness synthesis update.
|
|
4
|
+
|
|
5
|
+
## Scope
|
|
6
|
+
|
|
7
|
+
Checked areas:
|
|
8
|
+
|
|
9
|
+
- main docs entry points: `README.md`, `ROADMAP.md`, `CHANGELOG.md`;
|
|
10
|
+
- planning parents: `docs/future-rails-index.md`, `docs/ecosystem-influences.md`, `docs/external-projects-audit.md`;
|
|
11
|
+
- old related docs: workflow, context packs, report, observability, host docs, evaluation, harness, skills and governance;
|
|
12
|
+
- new future rails: Agent QA, Evidence/Provenance, Agent Governance, Harness Lifecycle, Knowledge, Resilience, Host Router and Tasklet;
|
|
13
|
+
- examples under `examples/workflows/`.
|
|
14
|
+
|
|
15
|
+
## Result
|
|
16
|
+
|
|
17
|
+
The 2026 ideas are now represented as documentation and roadmap items, not as implemented runtime features.
|
|
18
|
+
|
|
19
|
+
Confirmed coverage:
|
|
20
|
+
|
|
21
|
+
- QA/eval/golden checks are covered by `docs/agent-qa-rail.md`, `docs/eval-datasets.md`, `docs/golden-agent-tests.md` and `docs/llm-as-judge-policy.md`.
|
|
22
|
+
- Validate/fix/verify/report pipeline ideas are covered by `docs/observability-rail.md`, `docs/workflow-rail.md` and `examples/workflows/agent-pipeline-workflow.md`.
|
|
23
|
+
- OpenTracy-style trace, ledger, boundary, experiments and approval ideas are covered by `docs/agent-governance-rail.md`.
|
|
24
|
+
- Harness engineering lifecycle is covered by `docs/harness-lifecycle-rail.md` and linked from `docs/harness-rail.md` and `docs/workflow-rail.md`.
|
|
25
|
+
- ECC-style host/profile/doctor/audit/skills ideas are covered across `docs/future-rails-index.md`, `docs/host-compatibility-rail.md`, `docs/agent-hosts.md` and `docs/skill-rail-2.md`.
|
|
26
|
+
- Feynman-style provenance is covered by `docs/evidence-provenance-rail.md` and linked from Report and Workflow docs.
|
|
27
|
+
- book-to-skill-style document-to-skill packs are covered by `docs/knowledge-rail.md`, `docs/context-packs.md` and `docs/skill-rail-2.md`.
|
|
28
|
+
- Tasklet ideas are covered by `docs/tasklet-rail.md` and linked from Context/Workflow/Skill planning docs.
|
|
29
|
+
- 9Router ideas are safely mapped to `docs/host-router-rail.md`, without proxy, MITM, quota bypass or credential-routing scope.
|
|
30
|
+
|
|
31
|
+
## Link Check
|
|
32
|
+
|
|
33
|
+
Local Markdown links were checked after this update. No broken local Markdown links were found.
|
|
34
|
+
|
|
35
|
+
## Boundaries Confirmed
|
|
36
|
+
|
|
37
|
+
The documentation keeps the following boundaries explicit:
|
|
38
|
+
|
|
39
|
+
- SotuRail is not SoturAI and does not contain trading/backtest/market-agent scope.
|
|
40
|
+
- SotuRail is not a model provider, model router, proxy, MITM bridge or quota-bypass tool.
|
|
41
|
+
- SotuRail remains local-first and provider-agnostic by default.
|
|
42
|
+
- Optional LLM-as-judge and provider-backed checks are not default release gates.
|
|
43
|
+
- Future self-improvement/governance loops require deterministic evals and human approval.
|
|
44
|
+
- Security-oriented skills must stay defensive, scoped, evidence/report-focused and non-operational.
|
|
45
|
+
|
|
46
|
+
## Remaining Work
|
|
47
|
+
|
|
48
|
+
This audit does not claim the planned rails are implemented. The next work is code, fixtures and tests for the staged roadmap:
|
|
49
|
+
|
|
50
|
+
- v1.1.1: docs polish, golden export checks and examples;
|
|
51
|
+
- v1.2.0: harness lifecycle/session/feature commands;
|
|
52
|
+
- v1.3.0: knowledge, evidence and local evaluation artifacts;
|
|
53
|
+
- v1.4.0: Skill Rail 2.0 and tasklets;
|
|
54
|
+
- v1.5.0: governance, cost, resilience and host-router reports;
|
|
55
|
+
- v1.6.0: trace, ledger, approval gates and experiment workflow.
|
package/docs/report-rail.md
CHANGED
|
@@ -54,3 +54,15 @@ soturail brain stale --repair-plan
|
|
|
54
54
|
soturail reverse claims ./src
|
|
55
55
|
soturail brain consolidate --dry-run
|
|
56
56
|
```
|
|
57
|
+
|
|
58
|
+
## Related Evidence, Eval And Governance Docs
|
|
59
|
+
|
|
60
|
+
Report Rail is the parent surface where several future rails should become visible:
|
|
61
|
+
|
|
62
|
+
- [`evidence-provenance-rail.md`](evidence-provenance-rail.md): report sidecars, source paths and `verified` / `unverified` / `blocked` / `inferred` statuses.
|
|
63
|
+
- [`agent-qa-rail.md`](agent-qa-rail.md): dataset runs, golden export checks and regression summaries.
|
|
64
|
+
- [`golden-agent-tests.md`](golden-agent-tests.md): deterministic host-export checks that can be summarized in reports.
|
|
65
|
+
- [`agent-governance-rail.md`](agent-governance-rail.md): trace, ledger, approval and experiment status.
|
|
66
|
+
- [`host-router-rail.md`](host-router-rail.md): context-format fallback decisions per host.
|
|
67
|
+
|
|
68
|
+
A future report should not simply say an agent task is complete. It should say what evidence exists, what was checked, what is still inferred or blocked and which safe next command can improve confidence.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Resilience Rail
|
|
2
|
+
|
|
3
|
+
Resilience Rail is a planned documentation/reporting surface for rate limits, retries, fallback policies and long-running agent workflow risk.
|
|
4
|
+
|
|
5
|
+
It is inspired by multi-agent demos that break when APIs rate-limit, provider-specific parameters differ or workflows call tools repeatedly. SotuRail should not become a proxy or router. It should help users see and document the risk before handing work to an agent.
|
|
6
|
+
|
|
7
|
+
## Goals
|
|
8
|
+
|
|
9
|
+
- Identify missing retry/fallback documentation in agent workflows.
|
|
10
|
+
- Warn when workflows rely on a single provider or host feature.
|
|
11
|
+
- Record safe fallback formats for host exports.
|
|
12
|
+
- Estimate context and workflow depth risk locally.
|
|
13
|
+
- Keep all provider/cost notes assumption-based unless user supplies evidence.
|
|
14
|
+
|
|
15
|
+
## Proposed Commands
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
soturail agents resilience doctor
|
|
19
|
+
soturail agents provider matrix
|
|
20
|
+
soturail governance fallback-policy
|
|
21
|
+
soturail governance rate-limit
|
|
22
|
+
soturail cost context
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Names are not frozen; the first implementation can be report sections inside `status`, `report` or `agents doctor`.
|
|
26
|
+
|
|
27
|
+
## Checks
|
|
28
|
+
|
|
29
|
+
A resilience report can check:
|
|
30
|
+
|
|
31
|
+
- workflow has no fallback path;
|
|
32
|
+
- root docs mention a provider but no rate-limit policy;
|
|
33
|
+
- provider-specific parameters are not documented;
|
|
34
|
+
- long-running workflows lack pause/resume handoff;
|
|
35
|
+
- context packs are too large for a target host;
|
|
36
|
+
- MCP exposure is broad but no approval policy exists;
|
|
37
|
+
- generated host export lacks a prompt-only fallback.
|
|
38
|
+
|
|
39
|
+
## Safe Boundary
|
|
40
|
+
|
|
41
|
+
SotuRail should not:
|
|
42
|
+
|
|
43
|
+
- proxy model requests;
|
|
44
|
+
- intercept IDE or browser traffic;
|
|
45
|
+
- manage provider accounts;
|
|
46
|
+
- bypass quotas;
|
|
47
|
+
- claim unlimited free access;
|
|
48
|
+
- patch provider requests automatically.
|
package/docs/schema-contracts.md
CHANGED
|
@@ -21,6 +21,9 @@ Stable v1 JSON artifacts are local files designed for humans, CI and coding agen
|
|
|
21
21
|
- `soturail.agent-host-doctor.v1`
|
|
22
22
|
- `soturail.agent-host-doctor-summary.v1`
|
|
23
23
|
- `soturail.mcp.host-manifest.v1`
|
|
24
|
+
- `soturail.harness.audit.v1`
|
|
25
|
+
- `soturail.feature-list.v1`
|
|
26
|
+
- `soturail.session.v1`
|
|
24
27
|
|
|
25
28
|
## Required Principles
|
|
26
29
|
|
|
@@ -51,3 +54,5 @@ soturail mcp resources host-manifest --host codex --json
|
|
|
51
54
|
```
|
|
52
55
|
|
|
53
56
|
They must not grant mutation resources, shell execution through MCP, cloud telemetry or raw evidence exposure. See [host-matrix-schema.md](host-matrix-schema.md), [agent-export-contract.md](agent-export-contract.md) and [mcp-host-manifest.md](mcp-host-manifest.md).
|
|
57
|
+
|
|
58
|
+
Harness Lifecycle JSON artifacts are optional until `soturail harness init` or `soturail session start` is run. Once present, schema checks validate their shape. See [Harness Lifecycle Rail](harness-lifecycle-rail.md).
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Security Boundaries
|
|
2
|
+
|
|
3
|
+
SotuRail is a local-first Context OS and harness layer. Its default role is to prepare, audit and export context, state, evidence, workflows and reports.
|
|
4
|
+
|
|
5
|
+
## Safe Defaults
|
|
6
|
+
|
|
7
|
+
- Local artifacts stay local unless the user explicitly moves or publishes them.
|
|
8
|
+
- MCP report and host resources are read-only.
|
|
9
|
+
- Harness audits validate files without executing verification commands.
|
|
10
|
+
- Handoffs include changed-file names and summaries, not private shell history.
|
|
11
|
+
- Reports and exports use secret redaction helpers.
|
|
12
|
+
- Publishing, release creation, destructive actions and external writes remain explicit user actions.
|
|
13
|
+
|
|
14
|
+
## Out Of Scope
|
|
15
|
+
|
|
16
|
+
SotuRail is not:
|
|
17
|
+
|
|
18
|
+
- a model or cloud gateway;
|
|
19
|
+
- a mandatory web server or hosted workspace;
|
|
20
|
+
- a heavy autonomous agent runtime;
|
|
21
|
+
- a destructive MCP tool provider;
|
|
22
|
+
- a model-serving, GPU-management or personal productivity platform.
|
|
23
|
+
|
|
24
|
+
## Future Conductor Boundary
|
|
25
|
+
|
|
26
|
+
The proposed [SotuRail Conductor](conductor-mode.md) may plan, audit, propose and verify local work only behind explicit approval gates. It must not introduce an unreviewed edit loop, central shell agent, cloud agent or hidden external service.
|
|
27
|
+
|
|
28
|
+
## Related Docs
|
|
29
|
+
|
|
30
|
+
- [Security Model](security-model.md)
|
|
31
|
+
- [MCP](mcp.md)
|
|
32
|
+
- [Harness Lifecycle Rail](harness-lifecycle-rail.md)
|
|
33
|
+
- [Host Compatibility Rail](host-compatibility-rail.md)
|
|
34
|
+
- [Observability Rail](observability-rail.md)
|
package/docs/skill-rail-2.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Skill Rail 2.0 is the planned v1.4.x direction for safer, smaller, domain-aware skills that can be exported to different agent hosts.
|
|
4
4
|
|
|
5
|
+
Hermes Agent's skill self-improvement model is useful inspiration, but SotuRail skills remain reviewed local operating procedures rather than self-modifying agent behavior. Any future improvement proposal must preserve evidence, safety checks and human approval.
|
|
6
|
+
|
|
5
7
|
## Goal
|
|
6
8
|
|
|
7
9
|
Move from generic skills to reviewed domain skill packs with metadata, fixtures, reports, role-aware exports and explicit safety boundaries.
|
|
@@ -97,3 +99,12 @@ They may provide:
|
|
|
97
99
|
| Workflow Rail | phase-specific skills |
|
|
98
100
|
| Evaluation Suite | fixture-based skill quality checks |
|
|
99
101
|
| Project Brain | repeated findings can become rules or stale evidence |
|
|
102
|
+
|
|
103
|
+
## Knowledge-To-Skill And Tasklet Expansion
|
|
104
|
+
|
|
105
|
+
Future Skill Rail 2.0 work now includes:
|
|
106
|
+
|
|
107
|
+
- [`knowledge-rail.md`](knowledge-rail.md) for compiling docs/specs/notes into on-demand skill knowledge packs;
|
|
108
|
+
- [`tasklet-rail.md`](tasklet-rail.md) for small reusable local task templates.
|
|
109
|
+
|
|
110
|
+
The key principle is progressive disclosure: export a small `SKILL.md`/tasklet entry point first and load topic files only when needed.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Stable Command Surface
|
|
2
2
|
|
|
3
|
-
SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0
|
|
3
|
+
SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0 kept that surface stable and added Host Compatibility Rail commands. SotuRail v1.2.0 adds the compatible local Harness Lifecycle command family.
|
|
4
4
|
|
|
5
5
|
## Stable Surface For v1.0
|
|
6
6
|
|
|
@@ -20,6 +20,11 @@ SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0
|
|
|
20
20
|
- `soturail release check`
|
|
21
21
|
- `soturail workflow`
|
|
22
22
|
- `soturail harness`
|
|
23
|
+
- `soturail harness init`
|
|
24
|
+
- `soturail harness audit`
|
|
25
|
+
- `soturail session start|end`
|
|
26
|
+
- `soturail handoff generate`
|
|
27
|
+
- `soturail feature add|start|done|list`
|
|
23
28
|
- `soturail diagram`
|
|
24
29
|
- `soturail agents`
|
|
25
30
|
- `soturail agents matrix`
|
|
@@ -42,6 +47,7 @@ Stable means the command should remain local, documented, covered by smoke or co
|
|
|
42
47
|
- Full Design Rail runtime.
|
|
43
48
|
- Skill Rail 2.0 runtime.
|
|
44
49
|
- Governance and cost runtime.
|
|
50
|
+
- SotuRail Conductor commands and autonomous/runtime behavior.
|
|
45
51
|
|
|
46
52
|
Experimental surfaces may change before promotion. They must stay local, optional and honest about limitations.
|
|
47
53
|
|
|
@@ -70,3 +76,6 @@ Future deprecations must name a replacement command, state the release that intr
|
|
|
70
76
|
- [host matrix schema](host-matrix-schema.md)
|
|
71
77
|
- [agent export contract](agent-export-contract.md)
|
|
72
78
|
- [MCP host manifest](mcp-host-manifest.md)
|
|
79
|
+
- [Harness Lifecycle Rail](harness-lifecycle-rail.md)
|
|
80
|
+
- [Security Boundaries](security-boundaries.md)
|
|
81
|
+
- [Conductor Mode](conductor-mode.md)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Tasklet Rail
|
|
2
|
+
|
|
3
|
+
Tasklet Rail is a proposed small-task template layer. The Tasklet.ai public site did not expose enough technical detail during review, so SotuRail only absorbs the generic idea of reusable tiny tasks.
|
|
4
|
+
|
|
5
|
+
## Definition
|
|
6
|
+
|
|
7
|
+
A tasklet is a small local operating procedure for one common agent task.
|
|
8
|
+
|
|
9
|
+
Examples:
|
|
10
|
+
|
|
11
|
+
```txt
|
|
12
|
+
review-code
|
|
13
|
+
update-docs
|
|
14
|
+
generate-tests
|
|
15
|
+
prepare-release
|
|
16
|
+
fix-typescript-error
|
|
17
|
+
generate-handoff
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Proposed Commands
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
soturail tasklet create "review-pr"
|
|
24
|
+
soturail tasklet run "generate-handoff"
|
|
25
|
+
soturail tasklet list
|
|
26
|
+
soturail tasklet export --target claude
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Tasklet Shape
|
|
30
|
+
|
|
31
|
+
```yaml
|
|
32
|
+
id: review-pr
|
|
33
|
+
purpose: Review changed files and produce evidence-backed feedback.
|
|
34
|
+
inputs:
|
|
35
|
+
- git diff
|
|
36
|
+
- tests report
|
|
37
|
+
allowedRead:
|
|
38
|
+
- src/**
|
|
39
|
+
- tests/**
|
|
40
|
+
allowedWrite:
|
|
41
|
+
- .soturail/reports/**
|
|
42
|
+
verification:
|
|
43
|
+
- npm test
|
|
44
|
+
handoff:
|
|
45
|
+
- report.md
|
|
46
|
+
- provenance.md
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Relationship To Skills
|
|
50
|
+
|
|
51
|
+
```txt
|
|
52
|
+
Skill = reusable domain operating procedure.
|
|
53
|
+
Tasklet = small runnable task template that may use skills, rules and context packs.
|
|
54
|
+
Workflow = multi-step lifecycle with evidence and verification.
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Non-Goals
|
|
58
|
+
|
|
59
|
+
- no cloud task runner by default;
|
|
60
|
+
- no external queue required;
|
|
61
|
+
- no hidden execution;
|
|
62
|
+
- no destructive action without policy approval.
|
package/docs/v1-contract.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# v1 Contract
|
|
2
2
|
|
|
3
|
-
SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0 extends that surface with host-compatible exports and read-only host manifests while keeping experimental host runtimes outside the stable contract.
|
|
3
|
+
SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0 extends that surface with host-compatible exports and read-only host manifests. SotuRail v1.2.0 adds compatible local harness lifecycle state while keeping experimental host runtimes and Conductor outside the stable contract.
|
|
4
4
|
|
|
5
5
|
## Stable Promise
|
|
6
6
|
|
|
@@ -11,11 +11,12 @@ SotuRail v1.0.0 froze the first stable local Context OS surface. SotuRail v1.1.0
|
|
|
11
11
|
- Reports, dashboards and MCP report resources are local artifacts.
|
|
12
12
|
- Read-only MCP report resources do not mutate files and do not expose shell execution.
|
|
13
13
|
- Host manifests and agent exports are local artifacts. They do not grant mutation access by default.
|
|
14
|
+
- Harness lifecycle initialization preserves existing files by default, and lifecycle audits do not execute verification commands.
|
|
14
15
|
- TypeScript fallback remains mandatory. Native acceleration remains optional and benchmark-gated.
|
|
15
16
|
|
|
16
17
|
## Stable Commands
|
|
17
18
|
|
|
18
|
-
The stable command surface is listed in [stable-command-surface.md](stable-command-surface.md). It includes status, reports, dashboard, observability, Project Brain, evaluation, benchmarks, native candidate reporting, baseline snapshots, release checks, workflow, harness, diagrams, agent exports, host doctors and read-only MCP report/host resources.
|
|
19
|
+
The stable command surface is listed in [stable-command-surface.md](stable-command-surface.md). It includes status, reports, dashboard, observability, Project Brain, evaluation, benchmarks, native candidate reporting, baseline snapshots, release checks, workflow, harness lifecycle, diagrams, agent exports, host doctors and read-only MCP report/host resources.
|
|
19
20
|
|
|
20
21
|
## Non-Goals
|
|
21
22
|
|
package/docs/workflow-rail.md
CHANGED
|
@@ -195,3 +195,15 @@ Workflow evidence can now point to:
|
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
These are still local artifacts. Workflow evidence does not upload telemetry and does not require a dashboard server.
|
|
198
|
+
|
|
199
|
+
## Related Harness And Multi-Agent Workflow Docs
|
|
200
|
+
|
|
201
|
+
Workflow Rail is the natural parent for the newer harness/session/task planning docs:
|
|
202
|
+
|
|
203
|
+
- [`harness-lifecycle-rail.md`](harness-lifecycle-rail.md): instructions, state, verification, scope and session handoff.
|
|
204
|
+
- [`multi-agent-workflow-templates.md`](multi-agent-workflow-templates.md): researcher, analyst, writer, verifier and reviewer role-pack templates.
|
|
205
|
+
- [`evidence-provenance-rail.md`](evidence-provenance-rail.md): workflow evidence sidecars and verification status.
|
|
206
|
+
- [`agent-governance-rail.md`](agent-governance-rail.md): trace, ledger and approval records for long-running workflows.
|
|
207
|
+
- [`resilience-rail.md`](resilience-rail.md): retry/fallback/rate-limit policy notes for workflows that depend on external agent/model providers.
|
|
208
|
+
|
|
209
|
+
These docs should keep SotuRail as the workflow/handoff/evidence layer. They should not turn it into a CrewAI, LangGraph or autonomous agent runtime.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soturail",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Local-first context rails for AI coding agents: reversible terminal compression, progressive repo reading, SDD workflows, hooks, benchmarks, memory and cache-friendly payloads.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|