@lcv-ideas-software/cross-review 4.2.0 → 4.2.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 +52 -1
- package/NOTICE +1 -1
- package/README.md +115 -90
- package/SECURITY.md +18 -37
- package/dist/scripts/provider-refresh-smoke.d.ts +1 -0
- package/dist/scripts/provider-refresh-smoke.js +49 -0
- package/dist/scripts/provider-refresh-smoke.js.map +1 -0
- package/dist/scripts/runtime-smoke.js.map +1 -1
- package/dist/scripts/smoke.js +146 -37
- package/dist/scripts/smoke.js.map +1 -1
- package/dist/src/core/caller-tokens.js +3 -2
- package/dist/src/core/caller-tokens.js.map +1 -1
- package/dist/src/core/config.d.ts +3 -3
- package/dist/src/core/config.js +17 -17
- package/dist/src/core/config.js.map +1 -1
- package/dist/src/core/file-config.d.ts +1 -1
- package/dist/src/core/orchestrator.d.ts +69 -45
- package/dist/src/core/orchestrator.js +212 -3
- package/dist/src/core/orchestrator.js.map +1 -1
- package/dist/src/core/relator-lottery.js +5 -1
- package/dist/src/core/relator-lottery.js.map +1 -1
- package/dist/src/core/session-store.d.ts +9 -9
- package/dist/src/core/session-store.js +2 -2
- package/dist/src/core/session-store.js.map +1 -1
- package/dist/src/core/status.js +13 -0
- package/dist/src/core/status.js.map +1 -1
- package/dist/src/core/types.d.ts +166 -165
- package/dist/src/core/types.js +3 -3
- package/dist/src/core/types.js.map +1 -1
- package/dist/src/dashboard/server.js +12 -8
- package/dist/src/dashboard/server.js.map +1 -1
- package/dist/src/mcp/server.d.ts +13 -13
- package/dist/src/mcp/server.js.map +1 -1
- package/dist/src/peers/base.d.ts +6 -6
- package/dist/src/peers/errors.js +14 -12
- package/dist/src/peers/errors.js.map +1 -1
- package/dist/src/peers/gemini.js +2 -2
- package/dist/src/peers/gemini.js.map +1 -1
- package/dist/src/peers/grok.js +5 -5
- package/dist/src/peers/grok.js.map +1 -1
- package/dist/src/peers/model-selection.js +6 -8
- package/dist/src/peers/model-selection.js.map +1 -1
- package/dist/src/peers/perplexity.js +8 -5
- package/dist/src/peers/perplexity.js.map +1 -1
- package/dist/src/peers/text.d.ts +3 -3
- package/docs/api-keys.md +2 -2
- package/docs/apresentacao-cross-review.md +769 -0
- package/docs/apresentacao.md +571 -0
- package/docs/architecture.md +2 -0
- package/docs/caching.md +9 -8
- package/docs/costs.md +11 -0
- package/docs/evidence-preflight.md +1 -1
- package/docs/model-selection.md +19 -14
- package/package.json +11 -8
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,57 @@ standard `v00.00.00`; npm package versions remain SemVer.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [v04.02.02] — 2026-06-02
|
|
11
|
+
|
|
12
|
+
**Patch — provider-doc refresh and Perplexity probe repair.** This release
|
|
13
|
+
updates the maintained provider pins and rate-card guidance after a
|
|
14
|
+
cross-review audit of the current v4.2.1 session corpus.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Raised the Perplexity `sonar-reasoning-pro` health probe to `max_tokens=16`,
|
|
19
|
+
matching the provider's current minimum and preventing false unavailable
|
|
20
|
+
capability snapshots while still keeping `disable_search=true`.
|
|
21
|
+
- Added `provider-refresh-smoke` coverage for the Perplexity probe minimum and
|
|
22
|
+
for the current Claude/Grok canonical model pins.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Promoted the Anthropic canonical/default model from `claude-opus-4-7` to
|
|
27
|
+
`claude-opus-4-8`.
|
|
28
|
+
- Promoted the Grok canonical/default model from the alias `grok-4-latest` to
|
|
29
|
+
the concrete `grok-4.3` pin while keeping alias behavior documented.
|
|
30
|
+
- Refreshed provider rate-card documentation for GPT-5.5, Claude Opus 4.8,
|
|
31
|
+
Gemini 2.5 Pro, DeepSeek V4 Pro, Grok 4.3, and Perplexity Sonar Reasoning
|
|
32
|
+
Pro.
|
|
33
|
+
- Updated the active local runtime config at
|
|
34
|
+
`C:\Users\leona\.cross-review\data\config.json` with current cached-input,
|
|
35
|
+
extended-tier, and DeepSeek base rates.
|
|
36
|
+
|
|
37
|
+
## [v04.02.01] — 2026-05-21
|
|
38
|
+
|
|
39
|
+
**Patch — publish the workspace hard-gate cleanup as a package release.** The
|
|
40
|
+
previous `main` sync included runtime and smoke-test TypeScript strictness
|
|
41
|
+
updates, dependency refreshes, and repo-local `tsconfig.base.json` hardening; this
|
|
42
|
+
patch formalizes those source changes as npm package `4.2.1`.
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Removed the remaining Perplexity probe payload cast by typing the payload
|
|
47
|
+
object directly against the OpenAI-compatible request shape.
|
|
48
|
+
- Updated strict optional/property handling across peer adapters, core
|
|
49
|
+
orchestration code, smoke tests, and runtime smoke tests so
|
|
50
|
+
`exactOptionalPropertyTypes` and `noUncheckedIndexedAccess` remain enabled.
|
|
51
|
+
- Kept the smoke source pin for `enabledPeers` aligned with strict optional
|
|
52
|
+
property semantics without removing the paired behavioral assertion.
|
|
53
|
+
|
|
54
|
+
### Changed
|
|
55
|
+
|
|
56
|
+
- Refreshed package dependencies to the latest available versions at release
|
|
57
|
+
time and kept `package-lock.json` in sync.
|
|
58
|
+
- Added a repo-local `tsconfig.base.json` so GitHub Actions and package
|
|
59
|
+
consumers do not depend on a parent workspace file.
|
|
60
|
+
|
|
10
61
|
## [v04.02.00] — 2026-05-17
|
|
11
62
|
|
|
12
63
|
**Minor — bounded MCP session listing and cancellation semantics cleanup.** This
|
|
@@ -2424,7 +2475,7 @@ This is the v2.13.0 sub-release; items 2-6 (precision report, active-mode auto-w
|
|
|
2424
2475
|
- **`SessionMode = "ship" | "review"` type** in `src/core/types.ts`. Disambiguates the caller's intent for `run_until_unanimous` and `session_start_unanimous`. `ship` (default) — `initial_draft` is the artifact under refinement, lead_peer produces a NEW REVISED VERSION as prose. `review` — `initial_draft` is the review subject, lead may emit structured responses (preserves v2.12 behavior for callers who want it).
|
|
2425
2476
|
- **`mode: SessionMode` parameter on `RunUntilUnanimousInput`** + zod schemas for `run_until_unanimous` and `session_start_unanimous` MCP tools. Default `"ship"`.
|
|
2426
2477
|
- **`leadShipModeDirective()`** prompt block injected into `buildRevisionPrompt` and `buildInitialDraftPrompt` when `mode === "ship"`. Codifies for the lead: "you are the relator producing a refined artifact (prose), NOT a peer reviewer voting; do NOT start your output with `READY`/`NOT_READY`/`NEEDS_EVIDENCE`; do NOT emit a JSON object with a `status` field; output only the revised artifact text".
|
|
2427
|
-
- **`detectLeadDrift(generationText)` helper** + `LEAD_DRIFT_PATTERN` regex (`/^\s*[{`'"]?\s\*"?(READY|NOT_READY|NEEDS_EVIDENCE)\b/`) scanning the first 200 chars. Returns
|
|
2478
|
+
- **`detectLeadDrift(generationText)` helper** + `LEAD_DRIFT_PATTERN` regex (`/^\s*[{`'"]?\s\*"?(READY|NOT_READY|NEEDS_EVIDENCE)\b/`) scanning the first 200 chars. Returns`true` when the lead's output starts with a structured peer-review status keyword — meta-review drift signature.
|
|
2428
2479
|
- **`session.lead_drift_detected` event** — fires once per drifted lead generation. Data: `{lead_peer, round_kind: "initial-draft" | "revision", consecutive_drifts (revision only), first_chars: <first 100 chars>}`. Operator-visible signal that the lead misread the call as meta-review.
|
|
2429
2480
|
- **Drift-tolerance gate**: 2 consecutive drifts on the revision path abort the session with `outcome: "aborted"` + `outcome_reason: "lead_meta_review_drift"`. A single drift preserves the prior `draft` for the next round (does NOT replace it with the lead's meta-review output), so the round loop continues with the artifact peers were actually reviewing. The drift counter resets to 0 when a non-drifted revision is observed.
|
|
2430
2481
|
- **Initial-draft drift handling**: when no `initial_draft` is provided AND the lead's INITIAL generation drifts, the session aborts immediately (no prior draft to fall back to).
|
package/NOTICE
CHANGED