snipara-companion 3.7.1 → 3.7.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/CHANGELOG.md CHANGED
@@ -4,6 +4,50 @@ Release notes for `snipara-companion`, newest first.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## New In 3.7.3
8
+
9
+ - Restores source-bound Controller return projection for exact runtime context:
10
+ re-reads the bound context map, checks its hash and version, and reconstructs
11
+ the complete bridge identity. Verifies the Controller task context while
12
+ accepting Python's null representation of an omitted optional target attempt.
13
+ Regression qualification covers the corrected 3.7.2 candidate and the 3.7.3
14
+ release artifact; public round-trip tests assert the selected CLI version.
15
+
16
+ ## New In 3.7.2
17
+
18
+ - Bundles the ESM-only runtime dependency graphs for the CommonJS Node 18
19
+ entry point, preserving the declared engine range. The public source mirror
20
+ carries the same build configuration.
21
+
22
+ - Applies the canonical workflow version gate in the task facade before reading
23
+ or admitting a task. Unknown or missing versions refuse without creating a
24
+ partial task; existing workflow v1/v2 remain readable.
25
+
26
+ - Documents exact local artifact installation, additive contract compatibility
27
+ and independently optional Companion/Orchestrator use. Public integration
28
+ suites can explicitly target an installed CLI and reject an invalid override
29
+ instead of silently testing the checkout build.
30
+
31
+ - Adds a five-step local task facade and immutable local/GitHub intake, with no
32
+ required account, Orchestrator or implicit worker/network calls.
33
+ - Exports exact task source bodies through the optional reviewed Controller
34
+ bridge while preserving legacy reference-only contracts and authority gates.
35
+
36
+ - Adds local work-state checkpoints and revalidated resume briefs with decisions,
37
+ reasons, failed attempts, bound evidence, remaining checks and next actions.
38
+ - Preserves initial dirty changes and detects HEAD, index, source and artifact
39
+ drift; keeps offline snapshots historical and Orchestrator optional.
40
+ - Rejects unsafe context-pack paths, linked files and altered saved content before use.
41
+
42
+ - Compiles numeric and explicit planner identities into one validated workflow graph,
43
+ retaining task-specific retrieval parameters and advisory operation metadata.
44
+ - Loads required source chunks before starting context-bearing tasks, with bounded
45
+ context packs, per-attempt receipts, source identity checks and preparation deadlines.
46
+ - Preserves context preparation through phase commands and restores verified local
47
+ snapshots when hosted session context is unavailable; snapshots do not imply freshness.
48
+ - Rejects marked MCP error results and keeps task preparation failures separate from
49
+ executed attempts, task correctness and independent objective acceptance.
50
+
7
51
  ## New In 3.7.1
8
52
 
9
53
  - 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.