@indexnetwork/protocol 14.2.2-rc.473.1 → 14.2.3-rc.474.1
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
|
@@ -288,6 +288,9 @@ No public API change: all 441 exported symbols are byte-identical to 13.2.0, and
|
|
|
288
288
|
|
|
289
289
|
## [Unreleased]
|
|
290
290
|
|
|
291
|
+
### Changed
|
|
292
|
+
- Move the opportunity-presentation review checklist into `src/opportunity/AGENTS.md` and repoint the `opportunity.safe-presentation.ts` and `discriminator.adjustments.ts` comments at it. Comment-only; no runtime change.
|
|
293
|
+
|
|
291
294
|
### Removed
|
|
292
295
|
|
|
293
296
|
- **Breaking (14.0.0):** remove the `orchestrator` chat persona. `ORCHESTRATOR_PERSONA_ID` and `ORCHESTRATOR_PERSONA` are gone from the public API, and the orchestrator system prompt (`buildSystemContent`) and its conditional prompt-module registry are deleted. `ChatPersonaLoopBehaviors.hallucinationRecovery` is retained — it is opted into by the onboarding, signal and negotiator personas, not just the removed one.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* dismissal-driven reversal removes them.
|
|
14
14
|
* - `detail` carries the template chip text built from the user's OWN answer
|
|
15
15
|
* ("Hands-on builders vs advisors: you chose Advisor") — never LLM
|
|
16
|
-
* reasoning (
|
|
16
|
+
* reasoning (see `packages/protocol/src/opportunity/AGENTS.md`).
|
|
17
17
|
*/
|
|
18
18
|
import { POOL_ADJUSTMENT_FACTOR_OTHER, POOL_ADJUSTMENT_FACTOR_UNKNOWN, POOL_ADJUSTMENT_FLOOR } from "./discriminator.env.js";
|
|
19
19
|
/** Reads valid adjustments, optionally narrowed to one recipient + intent. */
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* Surfaces choose *policy* (send a sanitized fallback vs skip entirely) via
|
|
17
17
|
* `allowFallback`; they no longer choose (or forget) sanitization steps.
|
|
18
18
|
*
|
|
19
|
-
* See
|
|
20
|
-
*
|
|
19
|
+
* See `packages/protocol/src/opportunity/AGENTS.md` for the review checklist this
|
|
20
|
+
* module exists to satisfy.
|
|
21
21
|
*/
|
|
22
22
|
/** Default max length for fallback summaries (matches presenter internal fallback). */
|
|
23
23
|
export declare const SAFE_FALLBACK_MAX_CHARS = 300;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* Surfaces choose *policy* (send a sanitized fallback vs skip entirely) via
|
|
17
17
|
* `allowFallback`; they no longer choose (or forget) sanitization steps.
|
|
18
18
|
*
|
|
19
|
-
* See
|
|
20
|
-
*
|
|
19
|
+
* See `packages/protocol/src/opportunity/AGENTS.md` for the review checklist this
|
|
20
|
+
* module exists to satisfy.
|
|
21
21
|
*/
|
|
22
22
|
import { truncateAtBoundary, viewerCentricCardSummary } from "./opportunity.presentation.js";
|
|
23
23
|
import { stripUnsupportedOpportunityClaims } from "../../shared/utils/claim-safety.js";
|