snipara-companion 3.7.1 → 3.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,41 @@ Release notes for `snipara-companion`, newest first.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## New In 3.7.2
8
+
9
+ - Bundles the ESM-only runtime dependency graphs for the CommonJS Node 18
10
+ entry point, preserving the declared engine range. The public source mirror
11
+ carries the same build configuration.
12
+
13
+ - Applies the canonical workflow version gate in the task facade before reading
14
+ or admitting a task. Unknown or missing versions refuse without creating a
15
+ partial task; existing workflow v1/v2 remain readable.
16
+
17
+ - Documents exact local artifact installation, additive contract compatibility
18
+ and independently optional Companion/Orchestrator use. Public integration
19
+ suites can explicitly target an installed CLI and reject an invalid override
20
+ instead of silently testing the checkout build.
21
+
22
+ - Adds a five-step local task facade and immutable local/GitHub intake, with no
23
+ required account, Orchestrator or implicit worker/network calls.
24
+ - Exports exact task source bodies through the optional reviewed Controller
25
+ bridge while preserving legacy reference-only contracts and authority gates.
26
+
27
+ - Adds local work-state checkpoints and revalidated resume briefs with decisions,
28
+ reasons, failed attempts, bound evidence, remaining checks and next actions.
29
+ - Preserves initial dirty changes and detects HEAD, index, source and artifact
30
+ drift; keeps offline snapshots historical and Orchestrator optional.
31
+ - Rejects unsafe context-pack paths, linked files and altered saved content before use.
32
+
33
+ - Compiles numeric and explicit planner identities into one validated workflow graph,
34
+ retaining task-specific retrieval parameters and advisory operation metadata.
35
+ - Loads required source chunks before starting context-bearing tasks, with bounded
36
+ context packs, per-attempt receipts, source identity checks and preparation deadlines.
37
+ - Preserves context preparation through phase commands and restores verified local
38
+ snapshots when hosted session context is unavailable; snapshots do not imply freshness.
39
+ - Rejects marked MCP error results and keeps task preparation failures separate from
40
+ executed attempts, task correctness and independent objective acceptance.
41
+
7
42
  ## New In 3.7.1
8
43
 
9
44
  - Preserves expected results and bounded source context in Controller task queries;
package/README.md CHANGED
@@ -2,14 +2,24 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/snipara-companion.svg)](https://www.npmjs.com/package/snipara-companion)
4
4
  [![CI](https://github.com/Snipara/snipara-companion/actions/workflows/ci.yml/badge.svg)](https://github.com/Snipara/snipara-companion/actions/workflows/ci.yml)
5
- [![MIT License](https://img.shields.io/badge/license-MIT-yellow.svg)](./LICENSE)
5
+ [![MIT License](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
  [![Node >=18](https://img.shields.io/badge/node-%3E%3D18-339933.svg)](./package.json)
7
7
 
8
8
  **Ask your repo what breaks if you touch this.**
9
9
 
10
10
  No global install. No account. Your code stays on your machine.
11
11
 
12
- `create-snipara` is the canonical activation engine. Use it first when a repo
12
+ Start one local task with `snipara-companion task start "Goal" --accept "Criterion"
13
+ --file src/service.ts`, then use `task work`, `task verify`, `task decide` and
14
+ `task resume`. The [five-step journey](./docs/TASK_JOURNEY.md) reuses existing
15
+ workflow artifacts. Companion and Orchestrator are optional and independent;
16
+ this local path needs neither Hosted activation nor Orchestrator.
17
+
18
+ For prepared package files and supported optional combinations, see
19
+ [distribution and compatibility](./docs/DISTRIBUTION.md). Installed artifact
20
+ verification is separate from publication and from a completed human pilot.
21
+
22
+ `create-snipara` is the canonical Hosted activation engine. Use it when a repo
13
23
  needs Hosted MCP config, editor/client files, a First Work Brief, and
14
24
  review-only memory candidates. Use `snipara-companion` after that first
15
25
  activation for local continuity: source refresh, impact checks, workflow phase
@@ -203,6 +213,10 @@ impact, or handoff logic.
203
213
 
204
214
  #### Task-level execution
205
215
 
216
+ Tasks can load their own cited source bodies before starting. See
217
+ [task-local source context](docs/TASK_CONTEXT.md) for request fields, planner
218
+ compatibility, bounded receipts, offline resume and evidence limits.
219
+
206
220
  Each managed phase now contains a normalized task contract. Existing
207
221
  phase-only plans are migrated in memory to one task per phase, so older
208
222
  `.snipara/workflow/current.json` files remain readable. A planner may add
@@ -675,6 +689,11 @@ snipara-companion workflow resume
675
689
 
676
690
  ## Command Reference
677
691
 
692
+ Resume work with decisions, failed attempts, evidence and remaining checks using
693
+ `workflow resume`. Use `workflow checkpoint` to bind the current state explicitly.
694
+ This works independently of Orchestrator. See [work continuity](./docs/WORK_CONTINUITY.md)
695
+ for drift states, offline behavior and evidence limits.
696
+
678
697
  The previous long README has moved to [docs/FULL_REFERENCE.md](./docs/FULL_REFERENCE.md).
679
698
  Start there for the full command list, hook setup, hosted MCP bridge commands,
680
699
  workflow modes, team-sync, local context packs, and release-oriented flows.