snipara-companion 3.2.22 → 3.2.24

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 ADDED
@@ -0,0 +1,771 @@
1
+ # Changelog
2
+
3
+ Release notes for `snipara-companion`, newest first.
4
+
5
+ ## New In 3.2.24
6
+
7
+ - Adds a validated full `commitSha` to successful commit, amend, revert, and
8
+ cherry-pick `tool_result` events so Outcome Intelligence can mature commit
9
+ evidence without parsing raw command text.
10
+ - Keeps the signal fail-closed: non-commit commands, failed or no-op results,
11
+ quiet or masked results without the current SHA prefix, reflog mismatches,
12
+ and invalid object IDs emit no commit SHA.
13
+ - Rejects compound or shell-ambiguous commit commands and redacts bounded
14
+ command previews, including named environment tokens and secrets, before an
15
+ automation event leaves the process.
16
+
17
+ ## New In 3.2.23
18
+
19
+ - Preserves the canonical project profile and the authenticated owner operating
20
+ profile at the front of session bootstrap briefs, even when those durable
21
+ profiles are older than ordinary carryover.
22
+ - Keeps profile selection bounded by the requested entry and token budgets,
23
+ then ranks recent carryover and relevant decisions into the remaining space.
24
+
25
+ ## New In 3.2.22
26
+
27
+ - Clarifies Snipara Sandbox manual install guidance to use
28
+ `python -m pip install "snipara-sandbox[all]"`, where `[all]` is the pip
29
+ extra on the package spec, not a separate argument.
30
+
31
+ ## New In 3.2.19
32
+
33
+ - Adds `snipara-companion workflow sync-policy-ledger`, which uploads local
34
+ Project Policy Decision Requests, resolution receipts, apply receipts, and
35
+ policy drafts into the hosted Project Policy ledger for audit visibility.
36
+ - Keeps hosted sync observational: synced receipts are stored as bounded JSON
37
+ documents and do not approve, refuse, activate, or edit canonical Project
38
+ Policy automatically.
39
+
40
+ ## New In 3.2.17
41
+
42
+ - Adds `snipara-companion workflow policy-ledger`, a local Project Policy
43
+ decision ledger that summarizes pending, approved, refused, modified, and
44
+ deferred policy artifacts for the LLM agent.
45
+ - Includes agent-facing prompts for pending Project Policy decisions while
46
+ keeping approval explicit through `workflow decide`; the ledger never applies
47
+ policy changes automatically.
48
+
49
+ ## New In 3.2.16
50
+
51
+ - Adds an `operationalLoop` section to `snipara-companion status --json` and
52
+ text status output. It composes local workflow state, Team Sync handoff
53
+ attention, pending Decision Requests, and receipt gaps into concrete next
54
+ actions.
55
+ - Keeps the loop advisory and agent-first: it points agents toward
56
+ `workflow decisions`, `workflow decide`, `phase-commit`, and
57
+ `outcome-capture preview --emit-outcome-receipt` without editing Project
58
+ Policy, approving memory, or bypassing verification.
59
+
60
+ ## New In 3.2.15
61
+
62
+ - Adds `snipara-companion run --emit-policy-decisions` so Project Policy
63
+ `require_review` and `block` verdicts can become local Decision Requests in
64
+ the agent workflow.
65
+ - Keeps Project Policy administration review-only: resolving the request records
66
+ the human choice, while policy edits, stale marking, exceptions, or memory
67
+ invalidation still require explicit follow-up action.
68
+
69
+ ## New In 3.2.12
70
+
71
+ - Adds `snipara-companion workers execute` as the Controlled Worker Execution
72
+ V0 receipt path. It defaults to dry-run, writes
73
+ `snipara.controlled_worker_execution.receipt.v0` JSON, and records bounded
74
+ task, worker, write-scope, acceptance, proof, approval, command, and
75
+ execution evidence.
76
+ - Keeps execution fail-closed: `--execute` requires an explicit approval
77
+ receipt, high-risk commands are blocked locally, and successful commands move
78
+ to `verification_required` instead of being treated as reviewed work.
79
+ - Documents hosted Outcome Intelligence receipt ingestion as a project API
80
+ surface while keeping aggregation advisory, reviewable, and task-profile
81
+ scoped.
82
+
83
+ ## New In 3.2.11
84
+
85
+ - Adds Outcome Intelligence V0 receipt emission to
86
+ `outcome-capture preview --emit-outcome-receipt`, producing a typed
87
+ `snipara.outcome_intelligence.receipt.v0` artifact from review, test, deploy,
88
+ guard, and workflow events.
89
+ - Adds `snipara-companion run --outcome-receipts <files...>` so production
90
+ judgment runs can ingest local receipt JSON and print reason-code/task-profile
91
+ calibration buckets.
92
+ - Keeps Outcome Intelligence advisory and sample-gated: receipts are
93
+ calibration evidence, not causal proof, global agent trust, or a Project
94
+ Policy override.
95
+
96
+ ## New In 3.2.9
97
+
98
+ - Deduplicates near-identical `session-bootstrap` text brief entries by content
99
+ similarity, so workflow final commits and their checkpoint echoes do not both
100
+ consume pushed-brief slots.
101
+ - Reserves brief capacity for relevant decision entries when available, while
102
+ filtering checkpoint-like `DECISION` records that do not match the brief's
103
+ active topic.
104
+ - Makes `session-bootstrap --include-session-context` a silent no-op in
105
+ unconfigured projects, preserving the hook contract that an empty brief emits
106
+ no header or decorative output.
107
+
108
+ ## New In 3.2.8
109
+
110
+ - Ranks `session-bootstrap --include-session-context` text briefs by recent
111
+ carryover, authority, and release/deploy signal before older durable memory,
112
+ so high-signal handoffs surface ahead of stale trivia.
113
+ - Enforces the pushed brief budget at selection time, caps the default text
114
+ brief to four entries, and keeps full hosted diagnostics available through
115
+ `--json` instead of truncating noisy output after the fact.
116
+ - Filters stale/low-confidence/test bootstrap entries when fresh candidates are
117
+ available, including legacy repo-path and old memory-injection references.
118
+
119
+ ## New In 3.2.7
120
+
121
+ - Makes `workflow run --mode lite` a true zero-cost local path with no mandatory
122
+ hosted recall, context query, or bootstrap calls.
123
+ - Lets `workflow run --mode auto` route small diffs to LITE, rationale/source
124
+ questions to STANDARD, and release/deploy/architecture work to FULL or
125
+ ORCHESTRATED.
126
+ - Changes `session-bootstrap` text output into a compact pushed brief that is
127
+ silent when no high-signal memory or carryover item is available.
128
+ - Updates Companion and agent-facing docs to treat recall, context query, code
129
+ impact, and end-of-task memory as on-demand escalations instead of entry
130
+ ceremony.
131
+
132
+ ## New In 3.2.5
133
+
134
+ - Updates `doctor` guidance for the lean hosted MCP agent surface: a compact
135
+ Snipara tool set is expected, `snipara_help(query=...)` is the routed guidance
136
+ path, and `snipara_help(list_all=true)` is for inspecting specialist opt-in
137
+ surfaces.
138
+
139
+ ## New In 3.2.4
140
+
141
+ - Renders the selected human choice into `manual_apply_required` apply hints
142
+ emitted by `workflow decide`, so memory review decisions no longer leave the
143
+ literal `<human-choice>` placeholder in follow-up commands.
144
+ - Documents Worker Registry local commands in the package README, including
145
+ `workers local probe`, `add`, `list`, `status --json`, and `remove`.
146
+ - Adds `snipara-companion workers local list`, `workers local remove`, and
147
+ `workers local probe` for persisted worker profiles and easier registry
148
+ maintenance.
149
+ - Moves local worker declarations from a single `.snipara/workers/local.json`
150
+ payload to per-worker profile files under `.snipara/workers/<worker-id>.json`
151
+ with a shared `index.json` for the default worker id.
152
+ - Documents that tracked worker profiles are durable team-visible project state
153
+ shared by worktrees through Git, and that secrets must be referenced through
154
+ environment variables instead of committed in registry files.
155
+ - Adds CLI transport support for explicit OpenAI-compatible declarations as
156
+ well as declared CLI workers.
157
+ - Adds automatic migration from legacy `workers/local.json` into per-worker
158
+ profile files and keeps compatibility for existing `workflow run` routing flows.
159
+
160
+ ## New In 3.2.3
161
+
162
+ - Promotes Intent Detection V0 from a snapshot stub to an advisory session
163
+ intelligence contract with weighted signals, reason codes, evidence counts,
164
+ and suggested workflow mode hints.
165
+ - Shows detected intent, confidence, advisory suggested mode, and signals in
166
+ `workflow session`, `workflow resume --include-session-context`, and Project
167
+ Intelligence briefs.
168
+ - Keeps all Intent Detection V0 output fail-closed: `hardRoutingAllowed=false`,
169
+ no worker spawning, no merges, no canonical memory writes, and no blocking
170
+ gates from intent alone.
171
+
172
+ ## New In 3.2.2
173
+
174
+ - Adds Activity Timeline V0 under `.snipara/activity/timeline.jsonl` and a fast
175
+ Session Snapshot V0 at `.snipara/activity/session.json` for local workflow,
176
+ Team Sync, Producer Loop, and Decision Request visibility.
177
+ - Adds `workflow timeline` and `workflow session` so agents can inspect the
178
+ append-only local activity log and session snapshot directly.
179
+ - Adds `workflow timeline --export md` for redacted publishable timeline
180
+ artifacts, includes local Session Snapshot summaries in `workflow resume` and
181
+ Project Intelligence briefs, and attaches advisory-only Intent Detection V0
182
+ to the snapshot with `hardRoutingAllowed=false`.
183
+ - Emits review-only policy suggestion decision requests when repeated resolved
184
+ receipts show the same human choice and rationale; suggestions remain manual
185
+ apply only and are never auto-applied.
186
+ - Keeps Session Snapshot routing fail-closed with `hardRoutingAllowed=false`.
187
+
188
+ ## New In 3.2.1
189
+
190
+ - Hardens Companion and orchestrator handoff interop. `lead-plan --json` now
191
+ writes a default JSON artifact under `.snipara/lead-plans/` and returns the
192
+ next `snipara-orchestrator team-sync gate` command.
193
+ - Preserves comma-containing `--acceptance` criteria as one criterion across
194
+ lead-plan, agent-readiness, and adapter handoff flows.
195
+ - Makes `workflow decision-producer memory` inherit hosted `memory reviews`
196
+ evidence when available and rejects internal review item types as human
197
+ actions.
198
+ - Makes recurring policy suggestions group by producer kind, human choice, and
199
+ target category instead of exact note text, fixes inherited memory decision
200
+ apply hints to use the selected action, and reports emitted request ids from
201
+ `memory reviews --emit-decisions`.
202
+ - Improves `doctor` orchestrator diagnostics with path/source/version mismatch
203
+ detail, and gives local worker routing cards an actionable worker declaration
204
+ hint.
205
+
206
+ ## New In 3.2.0
207
+
208
+ - Adds `memory reviews`, a read-only connector for hosted human-review memory
209
+ surfaces. It reads `snipara_memory_review_queue`,
210
+ `snipara_memory_clean_candidates`, and
211
+ `snipara_memory_duplicate_candidates`, then summarizes reviewable memories
212
+ into agent-ready items.
213
+ - Adds `memory reviews --emit-decisions` to write local Decision Request V0
214
+ artifacts with readable memory evidence items. It does not mutate hosted
215
+ memory; requests still require explicit `workflow decide` resolution and use
216
+ the existing hosted/manual apply paths.
217
+
218
+ ## New In 3.1.1
219
+
220
+ - Improves Decision Request triage UX: batched Producer Loop requests now embed
221
+ readable evidence items with workflow, phase, summary, status, file hints, and
222
+ artifact path metadata, so a human can decide without manually opening every
223
+ opaque artifact id first.
224
+ - Ignores local `.snipara/decisions/` receipts in Git by default.
225
+
226
+ ## New In 3.1.0
227
+
228
+ - Adds Decision Request V0 local review routing under `.snipara/decisions/`.
229
+ `workflow decisions` lists pending questions for an LLM client to ask the
230
+ human, and `workflow decide` records a `decision_response` receipt with the
231
+ explicit reviewer choice.
232
+ - Adds `workflow producer-triage` for unreviewed Producer Loop samples. Triage
233
+ emits a batched decision request and never marks samples reviewed by itself;
234
+ `workflow decide --choose accept_all|reject_all` applies the existing
235
+ `producer-review` path and records the applied actions.
236
+ - Adds decision-request producers for `outcome-capture preview --emit-decisions`,
237
+ hosted memory review actions, and stale context risks. These requests declare
238
+ the existing apply path and do not gain any new canonical memory write
239
+ capability.
240
+
241
+ ## New In 3.0.14
242
+
243
+ - Adds `workflow producer-review` to mark local Producer Loop samples as
244
+ reviewed or rejected with reviewer, outcome, and note metadata.
245
+ - Updates `workflow producer-report` so calibration status depends on reviewed
246
+ samples, with separate reviewed, rejected, and unreviewed counts plus outcome
247
+ counts. `hardGateReady` remains false in V0.
248
+
249
+ ## New In 3.0.13
250
+
251
+ - Extends Producer Loop V0 reporting beyond the initial workflow producer:
252
+ `workflow producer-report` now accepts PR Answer Pack decision-capture
253
+ artifacts with producer kind `pr_answer_pack_decision_capture`.
254
+ - Keeps multi-producer calibration advisory-only. PR Answer Pack samples remain
255
+ review-pending evidence and do not approve durable memory, launch workers, or
256
+ become server-side compliance attestation.
257
+
258
+ ## New In 3.0.12
259
+
260
+ - Makes `workflow phase-commit` and `workflow final-commit` emit local Producer
261
+ Loop V0 artifacts under `.snipara/producer-loop/`, backed by the redacted
262
+ Coding Intelligence Ledger builder.
263
+ - Adds `workflow producer-report` to summarize local Producer Loop adoption,
264
+ producer kinds, workflow ids, latest artifact, reason-code counts, invalid
265
+ artifacts, sample size, and calibration caveats before any hard gate.
266
+ - Keeps the boundary explicit: Producer Loop artifacts are local review
267
+ evidence only. They do not launch workers, approve Project Brain memory, or
268
+ provide server-side compliance attestation.
269
+
270
+ ## New In 3.0.11
271
+
272
+ - Updates generated agent workflow guidance so FULL-mode audits use
273
+ `snipara_plan`, `snipara_decompose`, and `snipara_multi_query` deliberately
274
+ while simple one-shot lookups stay on targeted context queries.
275
+
276
+ ## New In 3.0.10
277
+
278
+ - Hardens Intent Ledger extraction in `reality-check` so source-backed intent
279
+ uses structured fields or explicit labeled sections before falling back to
280
+ legacy prose.
281
+ - Stops inferring anti-goals and rejected alternatives from generic free-text
282
+ words; those fields now require `Anti-goals:` / `Rejected alternatives:` or
283
+ structured contract input.
284
+ - Makes the Intent Ledger freshness horizon configurable through contract
285
+ policy instead of relying on an implementation-local constant.
286
+
287
+ ## New In 3.0.9
288
+
289
+ - Fixes Unknown Registry IDs in `reality-check` so unknowns use the stable
290
+ `unknown:` prefix instead of accidentally keeping a `reality:` finding prefix.
291
+ - Splits the shared Project Intelligence contracts into dedicated Reality
292
+ Check, Intent Ledger, Unknown Registry, engineering lead, and shared-helper
293
+ modules while preserving the public barrel exports used by Companion and PR
294
+ Answer Packs.
295
+ - Hardens Intent Ledger extraction internals with named status/phrase extractor
296
+ rules and a contract-level freshness horizon constant.
297
+
298
+ ## New In 3.0.8
299
+
300
+ - Adds Intent Ledger V1 to `reality-check` output so local CLI and PR Answer
301
+ Packs can show source-backed repository intent coverage, confidence, and
302
+ stale or review-pending assumptions.
303
+ - Adds Unknown Registry V1 to surface missing intent, missing verification,
304
+ stale intent, architecture drift, dirty local evidence, and heuristic
305
+ calibration gaps as explicit project unknowns.
306
+ - Hardens PR Answer Pack release readiness with named scoring weights,
307
+ structured blocking detection, and bounded related-document content filters.
308
+ - Clarifies that `reality-check --enforce` is a strict opt-in gate for
309
+ calibrated hooks because V1 heuristics remain advisory-grade.
310
+
311
+ ## New In 3.0.7
312
+
313
+ - Adds `snipara-companion reality-check` plus the
314
+ `snipara-companion intelligence reality-check` alias for local
315
+ contradiction-to-reality checks over Git-derived or supplied changed files.
316
+ - Adds `--enforce` so local hooks or CI adapters can fail on
317
+ review-required/blocking Project Reality Check findings.
318
+
319
+ ## New In 3.0.6
320
+
321
+ - Adds `snipara-companion intelligence ledger-export`, a local structured
322
+ Coding Intelligence Ledger JSON export with schema versioning, bounded
323
+ sections, confidence/calibration metadata, and redaction for secret-like
324
+ content plus local repo paths.
325
+ - Documents the ledger export in the full Companion reference so packaged docs
326
+ and the installed CLI stay aligned.
327
+
328
+ ## New In 3.0.5
329
+
330
+ - Normalizes workflow closure with Team Sync: completed workflows now close
331
+ active Team Sync work when the workflow goal is slug-like but the files and
332
+ meaningful tokens still match the active work item.
333
+
334
+ ## New In 3.0.4
335
+
336
+ - Adds compact memory audit summaries with auto-compact status, candidate
337
+ counts, and follow-up commands for safe cleanup.
338
+ - Adds Team Sync hygiene actions to stale-work summaries so dry-run archive,
339
+ completion, and handoff paths are visible without deleting data.
340
+ - Fixes Python toolchain inference in `verify` and detects
341
+ `snipara-orchestrator` installed inside common project virtualenvs.
342
+
343
+ ## New In 3.0.3
344
+
345
+ - Adds `snipara-companion workers local add|status` so a project can declare a
346
+ local OpenAI-compatible worker such as LM Studio once and reuse it from
347
+ workflow runs.
348
+ - Lets `workflow run --routing-local-worker <id>` load the declared worker,
349
+ prefer local endpoints, pin the local model, and hand the resolved runtime
350
+ metadata to `snipara-orchestrator`.
351
+ - Makes project-policy rejection explicit when local worker routing is
352
+ requested but the effective Adaptive Work Routing policy does not allow local
353
+ endpoints.
354
+ - Clarifies Team Sync stale-work and `team-sync sweep --dry-run` output so
355
+ candidates, actual archive count, and remaining stale work are visible before
356
+ cleanup.
357
+
358
+ ## New In 3.0.2
359
+
360
+ - Adds adapter-neutral `proofVerification` status to Engineering Lead execution
361
+ receipts so provided proof evidence is not treated as verified until a source
362
+ validation is recorded.
363
+ - Fails imported closed receipts back to verification-required when proof is
364
+ present but unverified.
365
+ - Limits ADE Adapter Pack V1 generation to first-party Codex and Claude Code
366
+ packs while Cursor, Orca, Windsurf, and custom packs remain planned.
367
+
368
+ ## New In 3.0.1
369
+
370
+ - Hardens local source activation validation so invalid numeric options fail
371
+ visibly instead of silently falling back to defaults.
372
+ - Keeps local source snapshots deterministic and structurally validated before
373
+ refreshes are used for code overlays.
374
+ - Removes the placeholder `DEC-002` memory decision from orchestrator handoffs
375
+ and emits only workflow/context-derived decision IDs.
376
+
377
+ ## New In 3.0.0
378
+
379
+ - Adds `snipara-companion source init|snapshot|status|sync|watch`, the local
380
+ source activation path for folders with or without Git metadata.
381
+ - Builds deterministic `.snipara/source/latest.json` snapshots, supported
382
+ document sync dry-runs, and refreshed local code overlays before any hosted
383
+ provider approval.
384
+ - Makes non-Git folders first-class for local code overlays, including
385
+ filesystem scanning, local-only overlay warnings, and stable dirty tree hashes.
386
+ - Repositions local source activation as the default free/no-provider first
387
+ value path, while keeping hosted provider sync as the canonical shared CODE
388
+ graph path.
389
+
390
+ ## New In 2.3.1
391
+
392
+ - Hardens local Adaptive Work Routing handoffs so Companion preserves
393
+ `workerProfiles` and resolver `scoreBreakdown` metadata from local
394
+ orchestrator catalogs.
395
+ - Infers preferred local worker strengths and structured-output requirements
396
+ from the workflow task before routing.
397
+ - Asks the local orchestrator to compare all discovered local models when local
398
+ worker routing is requested and no explicit model is pinned.
399
+
400
+ ## New In 2.3.0
401
+
402
+ - Adds Engineering Lead Execution Receipts V1 to `lead-plan` output. Local and
403
+ imported plans now carry expected handoff, claim, approval, proof, outcome,
404
+ and Project Brain update receipt gates while keeping `workersSpawned: 0`.
405
+ - Normalizes imported `executionReceipts` from Project Health or Companion
406
+ exports. Unknown future receipt statuses or stages fail closed and emit
407
+ `companion_dropped_unknown_execution_receipt_*` reason codes.
408
+ - Adds receipt-aware reconciliation and Markdown output so missing receipt
409
+ requirements are visible before any worker handoff.
410
+
411
+ ## New In 2.2.0
412
+
413
+ - Extends `snipara-companion lead-plan` to Engineering Lead Contract V1 with
414
+ `contractVersion`, supervised `workPackages`, and a `supervision` summary for
415
+ review/replan status, receipt requirements, and replan triggers.
416
+ - Adds `--from-plan <file>` and `--reconcile` so Companion can compare an
417
+ imported Project Health or Companion lead plan against current local workflow,
418
+ Team Sync, proof, acceptance, and file-scope signals. Stale scope and missing
419
+ continuity fail closed into visible `companion_reconcile_*` reason codes.
420
+ - Keeps imported enum drift observable for the new work-package and supervision
421
+ fields through `companion_dropped_unknown_*` reason codes.
422
+
423
+ ## New In 2.1.1
424
+
425
+ - Makes `lead-plan --from-cockpit` enum drift observable: unknown future
426
+ cockpit posture, status, worker role, worker status, or routing mode values
427
+ still fail closed, but now emit `companion_dropped_unknown_*` reason codes in
428
+ the imported summary and affected worker recommendation.
429
+
430
+ ## New In 2.1.0
431
+
432
+ - Adds `snipara-companion lead-plan`, a local Companion Engineering Lead Plan
433
+ artifact that turns workflow state, Team Sync, file scope, context refs, proof
434
+ gates, and acceptance criteria into fail-closed worker recommendations.
435
+ - Supports `--from-cockpit <file>` so a Project Health cockpit JSON export can
436
+ be normalized into the same CLI Markdown/JSON lead-plan report.
437
+ - Keeps the boundary explicit: `lead-plan` recommends contracts and handoffs,
438
+ records `workersSpawned: 0`, uses `main_agent` fallback, and does not launch
439
+ autonomous workers.
440
+
441
+ ## New In 2.0.10
442
+
443
+ - Adds `snipara-companion agent-readiness audit`, a local readiness report that
444
+ scores bounded agent delegation across scope, context, workflow continuity,
445
+ Team Sync, proof gates, verification path, and target posture.
446
+ - Adds optional ADE Adapter Pack V1 output to `snipara-companion handoff` through
447
+ `--adapter-pack --target <codex|claude-code|cursor|orca|windsurf|custom>`,
448
+ including context refs, proof gates, acceptance criteria, conflict posture,
449
+ receipt expectations, and a portable prompt for the receiving agent.
450
+ - Documents the Agent Readiness Audit and ADE Adapter Pack as service/product
451
+ surfaces without claiming native IDE control or automatic worker execution.
452
+
453
+ ## New In 2.0.9
454
+
455
+ - Aligns public package metadata with the local-first `impact` first-run
456
+ positioning.
457
+ - Adds README badges and community support/security/PR surfaces for the public
458
+ repository.
459
+ - Keeps GitHub issue-template labels aligned with the repo labels used for
460
+ launch feedback.
461
+
462
+ ## New In 2.0.8
463
+
464
+ - Keeps secret-like source files visible to local `impact` by redacting matching
465
+ lines before graph extraction instead of excluding the whole file.
466
+ - Improves missing-target warnings so `--max-files` is suggested only when the
467
+ local overlay actually hit the file cap.
468
+ - Adds launch assets, demo scripts, post drafts, and issue templates for
469
+ impact feedback, docs feedback, and contribution proposals.
470
+
471
+ ## New In 2.0.7
472
+
473
+ - Adds Project Policy / Decision Consistency V0 contracts to Project
474
+ Intelligence, including deterministic `allow`, `warn`, `require_review`, and
475
+ `block` verdicts with receipts.
476
+ - Surfaces conservative Project Policy decisions in `snipara-companion
477
+ intelligence brief` when approved resume-context decisions match the task or
478
+ changed files, and folds those receipts into `snipara-companion run` policy
479
+ gates.
480
+ - Reframes the package README around the account-free local `impact` first run,
481
+ with the full reference moved to `docs/FULL_REFERENCE.md`.
482
+ - Makes `impact` available as a top-level command and keeps code graph `auto`
483
+ source local by default, so no account or network call is required unless
484
+ `--source hosted` is explicitly requested.
485
+ - Renders local `impact` output as a human-readable Incoming/Outgoing
486
+ blast-radius by default, while preserving `--json` for the full overlay
487
+ payload.
488
+
489
+ ## New In 2.0.6
490
+
491
+ - Hardens `snipara-companion run` first-party Advisor Influence receipt capture
492
+ with stable skip reasons, total/eligible/recorded/skipped counts, bounded
493
+ write limits, per-recommendation skipped writes, and receipt automation
494
+ metadata.
495
+ - Backfills observed run verification evidence into advisor receipts through
496
+ `verificationExecuted` and bounded metadata for collaboration guard,
497
+ package-surface review, and policy-gate results. This records verification
498
+ evidence without claiming outcome proof.
499
+ - Keeps receipt writes tied to visible plan adaptation: recommendations that do
500
+ not change the agent plan are explicitly skipped instead of silently recorded.
501
+
502
+ ## New In 2.0.4
503
+
504
+ - Adds Project Intelligence policy gates to `snipara-companion run --release`,
505
+ including advisory, required-action, and block decisions for release, schema,
506
+ auth, billing, deploy, and package surfaces.
507
+ - Shows guard and Judgment Card policy blocks as explicit release blockers so
508
+ agents cannot silently continue when strong project evidence requires a stop.
509
+
510
+ ## New In 2.0.3
511
+
512
+ - Adds first-party Advisor Influence receipt capture to
513
+ `snipara-companion run` with `--served-judgment-id`, so Project Advisor
514
+ recommendations can record visible plan adaptation through the hosted
515
+ Project Intelligence receipt API.
516
+ - Adds `--skip-advisor-receipts` for runs that need to keep the receipt write
517
+ path disabled while still producing the Project Intelligence judgment output.
518
+
519
+ ## New In 2.0.2
520
+
521
+ - Passes Adaptive Work Routing daily and monthly project budgets into hosted
522
+ model requirements so the gateway can enforce budget caps against receipt
523
+ history.
524
+ - Records Local Context Pack token economy fields on metadata-only receipts:
525
+ baseline, packed, retrieved, and saved tokens. Retrieve receipts count the
526
+ retrieved local payload against savings so they do not overstate reduction.
527
+
528
+ ## New In 2.0.1
529
+
530
+ - Adds `snipara-companion context-pack pack|retrieve|stats|clean` as a
531
+ no-account local Context Pack. It stores reversible tool outputs, logs, diffs,
532
+ and notes under `.snipara/context-pack` with content-hash IDs and no raw
533
+ hosted upload, local `.gitignore` protection, restrictive file permissions,
534
+ and default blocking for secret-like input unless `--allow-sensitive` is set.
535
+ - Adds metadata-only Local Context Pack receipts to canonical event payloads,
536
+ `post-tool --pack-result`, and `workflow runtime-checkpoint --context-pack` so
537
+ workflows can reference exact local artifacts without uploading their content.
538
+
539
+ ## New In 2.0.0
540
+
541
+ - Adds project-level Adaptive Work Routing policy consumption to `workflow run`.
542
+ Companion now reads Project > Automation settings, applies endpoint and worker
543
+ class bounds, and only calls the hosted catalog when the project policy allows
544
+ catalog mode.
545
+ - Makes hosted Adaptive Work Routing catalog success explicit: missing
546
+ `success: true` is treated as fail-closed and falls back to the main agent
547
+ instead of optimistic success.
548
+ - Carries `catalogLimit` in provider-neutral model requirements so future
549
+ selection policy can tune catalog breadth without hardcoding the gateway call.
550
+ - Supports open-package local-only routing through
551
+ `.snipara/adaptive-routing.json`, so recommendation cards and handoff metadata
552
+ can be generated without Snipara SaaS, hosted context, or hosted catalog
553
+ calls.
554
+ - Documents the major routing milestone: strong planner reasoning can stay with
555
+ the main agent while scoped execution is routed to cloud, local, or
556
+ self-hosted workers through project policy and sanitized catalogs.
557
+
558
+ ## New In 1.4.20
559
+
560
+ - Treats `workflow run --mode full --max-tokens` as a workflow budget split
561
+ across durable bootstrap, optional session context, context query, shared
562
+ context, and hosted planning.
563
+ - Adds `session_bootstrap_quality` and `plan_quality.warnings` diagnostics so
564
+ agents can catch stale/test memories and weak generated-plan file hints before
565
+ editing.
566
+ - Makes `workflow resume` short-lived session context truly opt-in with
567
+ `--include-session-context` or explicit `--max-context-tokens`.
568
+ - Adds `doctor` companion version-skew reporting for stale global installs
569
+ versus the workspace package or npm latest.
570
+
571
+ ## New In 1.4.18
572
+
573
+ - Removes autonomous htask bootstrap/claim ergonomics from `snipara-companion`;
574
+ those workflow commands now belong to `snipara-orchestrator`.
575
+ - Keeps the companion `htask` and `swarm` commands as explicit legacy hosted
576
+ passthroughs that require stable IDs.
577
+
578
+ ## New In 1.4.16
579
+
580
+ - Clarifies that hosted htask and swarm coordination belong to the
581
+ `snipara-orchestrator` workflow surface.
582
+ - Keeps direct `snipara-companion htask` and `snipara-companion swarm` commands
583
+ framed as legacy passthroughs instead of the primary task-routing path.
584
+
585
+ ## New In 1.4.15
586
+
587
+ - Refines `snipara-companion run --release` Judgment Card behavior so completed
588
+ package reviews no longer remain required actions, and explicitly skipped
589
+ package reviews are shown as advisories instead of required work.
590
+ - Stops suggesting the npm package review command when the review already passed
591
+ or was intentionally skipped.
592
+
593
+ ## New In 1.4.14
594
+
595
+ - Adds a production Project Intelligence Judgment Card to `intelligence brief`
596
+ and `verify`, with weighted readiness, evidence, and required-action output.
597
+ - Adds `snipara-companion run` as the agent-facing production entrypoint that
598
+ composes resume context, memory health, code impact, release guard findings,
599
+ package review, verification hints, and the final Judgment Card.
600
+ - Adds actionable collaboration guard cards so review-only findings, blocking
601
+ conflicts, tests, handoffs, and package-surface checks are classified directly
602
+ in guard JSON and human output.
603
+
604
+ ## New In 1.4.13
605
+
606
+ - Adds `snipara-companion memory invalidate <memory-id>` and
607
+ `snipara-companion memory supersede <old-memory-id> <new-memory-id>` so agents
608
+ can apply Memory V2 lifecycle corrections through companion when a recalled
609
+ memory is obsolete or replaced.
610
+ - Keeps lifecycle mutation outside read-only hygiene commands: `memory compact`
611
+ remains dry-run only, while invalidate/supersede require explicit memory IDs.
612
+
613
+ ## New In 1.4.5
614
+
615
+ - `workflow phase-commit` and `workflow final-commit` now complete matching
616
+ local Team Sync work items when the workflow outcome is completed.
617
+ - Matching stays conservative: workflow-goal text wins, and file/token fallback
618
+ is only used when no workflow goal is available, so deploy or promotion
619
+ threads are not closed from implementation evidence alone.
620
+ - Text output now reports completed Team Sync work when workflow commits clean up
621
+ local active items.
622
+
623
+ ## New In 1.4.4
624
+
625
+ - Adds `snipara-companion memory local -- <args...>` as a thin bridge to the
626
+ open `snipara-memory` engine for no-account local memory workflows.
627
+ - Adds `snipara-companion eval export` to write a `snipara-evals` case from
628
+ local workflow, Team Sync, file, command, and expected-signal inputs.
629
+ - Adds `snipara-companion eval run` to execute `snipara-evals` through `npx` or a
630
+ configured local runner.
631
+ - Clarifies the open Mini Snipara stack boundary: local continuity and evals are
632
+ open, while team-wide presence, shared locks, GitHub checks, dashboards, and
633
+ Cloud code graph remain hosted Snipara capabilities.
634
+
635
+ ## New In 1.4.8
636
+
637
+ - Adds `snipara-companion collaboration guard --ack-review-only` so enforced
638
+ release guards can acknowledge review-only stale-state and
639
+ decision-consistency warnings without requiring
640
+ `SNIPARA_COLLABORATION_GUARD=0`. The hosted `REVIEW_REQUIRED` verdict stays
641
+ visible in the guard payload; `BLOCKED`, `REQUIRES_ACK`, active-session
642
+ conflicts and blocking leases still fail.
643
+ - Updates the Infomaniak deploy guard to use the review-only ack path for
644
+ release UX false positives while keeping the emergency env bypass reserved for
645
+ true guard outages.
646
+
647
+ ## New In 1.4.2
648
+
649
+ - Adds `snipara-companion collaboration start|watch|claim|guard|release|status`
650
+ for safe parallel coding presence, auto-claims, advisory/exclusive resource
651
+ claims, hosted guard checks, and conflict alarms across humans and agents.
652
+ - Adds `snipara-companion collaboration hooks install` plus guard profiles for
653
+ blocking pre-commit, pre-push, pre-deploy, schema/migration, and package
654
+ release checks.
655
+ - Adds `snipara-companion collaboration ide-status` for editor extensions and
656
+ local companion UIs that need compact live collaboration state.
657
+ - Hardens local code impact so stale or incomplete local overlay caches report
658
+ missing target files instead of silently returning an empty impact set.
659
+ - Adds `snipara-companion workflow impact-gate` for committed local workflow
660
+ phases that are ahead of upstream but not pushed yet. It compares
661
+ `upstream..HEAD`, separates dirty working-tree files, runs local code-overlay
662
+ impact on the committed code files, and maps the result back to completed
663
+ workflow phases.
664
+
665
+ ## New In 1.4.1
666
+
667
+ - Makes local code overlay Git hooks background by default so `git commit` and
668
+ `git push` return quickly while Snipara refreshes local overlay state and
669
+ push-time promotion asynchronously.
670
+ - Adds `snipara-companion code hooks install --synchronous` for teams that
671
+ intentionally want foreground hook work, plus a configurable background
672
+ reindex delay for pre-push promotion.
673
+
674
+ ## New In 1.3.7
675
+
676
+ - Hardens `memory-guard check` with `--confirmed-by-user "<confirmation>"`
677
+ for explicit, auditable overrides after the user has reviewed destructive or
678
+ contradictory signals.
679
+ - Adds stable guard exit codes in strict mode: `20` for confirmation required,
680
+ `21` for unavailable memory/context guidance, and `22` for invalid guard
681
+ options.
682
+ - Validates destructive checks before hosted calls so vague commands such as
683
+ `--destructive` without `--intent` or `--command` fail fast.
684
+ - Extends `snipara-companion init --with-hooks` so it also installs local code
685
+ overlay Git hooks (`post-commit` sync and `pre-push` promotion/reindex).
686
+
687
+ ## New In 1.3.6
688
+
689
+ - Adds `snipara-companion memory audit` for a read-only memory hygiene pass that
690
+ combines hosted memory health, cleanup candidates, and compaction dry-run.
691
+ - Adds `memory health`, `memory clean-candidates`, and `memory compact` as
692
+ direct companion maintenance commands. `memory compact` always sends
693
+ `dry_run=true` and does not mutate memory.
694
+ - Extends `memory-guard check` with `--intent`, `--destructive`, and
695
+ `--require-confirmation` so agents can surface memory/context contradictions
696
+ and ask the user before irreversible actions.
697
+
698
+ ## New In 1.3.0
699
+
700
+ - Adds top-level Git-style agent work commands: `status`, `brief`, `timeline`,
701
+ `verify`, `handoff`, and `workflow resume`.
702
+ - Adds `snipara-companion verify` for transparent verification plans based on
703
+ companion code impact auto-source selection plus local package scripts.
704
+ - Reframes companion as the day-two continuity surface after
705
+ `npx create-snipara` installs the project.
706
+
707
+ ## New In 1.2.0
708
+
709
+ - Adds `snipara-companion intelligence brief` for a local Project Intelligence brief that composes hosted resume context, memory health, and code impact into one agent-ready output.
710
+ - Adds `workflow scaffold --preset project-intelligence-continuity-layer` for the full memory + code graph + workflow continuity roadmap.
711
+ - Updates generated agent workflow instructions so new work can call the Project Intelligence brief before risky changes and scaffold the roadmap preset for multi-phase delivery.
712
+
713
+ ## New In 1.1.15
714
+
715
+ - Expands `init --client` to Claude Code, Cursor, Windsurf, Codex, Gemini, Mistral, ChatGPT, VS Code, Continue, and custom MCP clients.
716
+ - Keeps Claude Code, Cursor, and Windsurf as hook-capable presets while treating Mistral, ChatGPT, VS Code, Continue, and custom clients as MCP-first setup presets.
717
+ - Prints Codex TOML or HTTP MCP references for MCP-first clients instead of generating unsupported legacy hooks.
718
+
719
+ ## New In 1.1.14
720
+
721
+ - Adds `npx -y snipara-companion@latest automations install/status/diff/update` for installing dashboard-generated automation hook bundles locally.
722
+ - `init --with-hooks` now delegates hook installation to the hosted automation config bundle so Claude Code, Cursor, and Windsurf use the same templates as Project Automation.
723
+ - Managed automation files are tracked in `.snipara/automations/manifest.json` and are not overwritten after local edits unless `--force` is used.
724
+ - Automation REST calls now use `www.snipara.com` while MCP calls stay on `api.snipara.com`, avoiding FastAPI IP rate limits on Stuck Guard and generated hook installs.
725
+
726
+ ## New In 1.1.13
727
+
728
+ - Adds `snipara-companion stuck-guard status/check/simulate` for hosted Memory Guard / Stuck Guard decisions.
729
+ - `pre-tool` now emits canonical `tool_call` events and prints Rescue Packs when hosted Stuck Guard returns `inject` or `enforce`.
730
+ - `post-tool` now emits canonical `tool_result` events with status, exit code, command, classification, and a redacted/truncated preview.
731
+
732
+ ## New In 1.1.12
733
+
734
+ - Documents the GitHub PR Answer Packs boundary: use `create-snipara --github`
735
+ for the hosted GitHub App setup, and use `snipara-companion` only for local
736
+ planning, code impact checks, workflow state, and memory commits.
737
+
738
+ ## New In 1.1.10
739
+
740
+ - Snipara Sandbox guidance now points existing projects to `npx create-snipara repair --with-runtime`
741
+ - Managed workflow phases marked `needs_runtime` suggest Snipara Sandbox installation only when needed
742
+
743
+ ## New In 1.1.4
744
+
745
+ - `snipara-companion onboard-folder` previews and applies dashboardless business-folder imports from local or LLM-materialized sources
746
+ - `snipara-companion workflow start/status/resume/phase-start/phase-commit` keeps a visible LLM plan in `.snipara/workflow/current.json` and persists each phase through hosted memory so compacted agents can resume safely
747
+ - `snipara-companion final-commit` persists the final workflow outcome with `snipara_end_of_task_commit`
748
+ - `snipara-companion code symbol-card` and `snipara-companion code impact` expose paid Context safeguards directly from the companion CLI
749
+
750
+ ## New In 1.1.2
751
+
752
+ - `snipara-companion doctor` and Snipara Sandbox hints detect provider keys from local `.env` files without printing secret values
753
+
754
+ ## New In 1.1.1
755
+
756
+ - `snipara-companion doctor` diagnoses Snipara auth, Snipara Sandbox, Snipara Sandbox MCP, provider keys, and Docker
757
+ - `workflow run` prints contextual Snipara Sandbox hints for full/orchestrated/execution-heavy work
758
+ - `workflow run --no-runtime-hint` hides Snipara Sandbox guidance for scripted terminal output
759
+
760
+ ## New In 1.1.0
761
+
762
+ - `business-collections` commands for Team Business Context presets and reusable business docs
763
+ - `client-projects` commands for creating and listing project-scoped client context workspaces
764
+ - `upload --metadata/--metadata-file` plus convenience metadata flags for single-file business/client uploads
765
+
766
+ ## New In 1.0.0
767
+
768
+ - direct `snipara-companion code` access for `callers`, `imports`, `neighbors`, and `shortest-path`
769
+ - `workflow run --mode lite|standard|full|orchestrate` for hosted-first workflow routing; `auto` remains a STANDARD compatibility alias
770
+ - `snipara-companion shared-context` for project-linked standards and team guidance
771
+ - automatic fallback to project token auth when a stale `SNIPARA_API_KEY` overrides a valid local login