review: changelog entries; note manual /shake intent; derive RESCUE from AGGRESSIVE
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Shake no longer elides artifact recovery reads; the compaction dead-end rescue uses a dedicated `RESCUE_SHAKE_CONFIG`.
|
||||
|
||||
## [17.2.4] - 2026-08-01
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -51,7 +51,10 @@ export const DEFAULT_SHAKE_CONFIG: ShakeConfig = {
|
||||
fenceMinTokens: 400,
|
||||
};
|
||||
|
||||
/** Manual `/shake`: aggressive — drops every eligible region across history. */
|
||||
/**
|
||||
* Manual `/shake`: aggressive — drops every eligible region across history,
|
||||
* artifact recovery reads included (the user's full escape hatch).
|
||||
*/
|
||||
export const AGGRESSIVE_SHAKE_CONFIG: ShakeConfig = {
|
||||
protectTokens: 0,
|
||||
minSavings: 0,
|
||||
@@ -61,10 +64,8 @@ export const AGGRESSIVE_SHAKE_CONFIG: ShakeConfig = {
|
||||
|
||||
/** Compaction dead-end rescue: aggressive reach, but artifact recovery reads stay protected. */
|
||||
export const RESCUE_SHAKE_CONFIG: ShakeConfig = {
|
||||
protectTokens: 0,
|
||||
minSavings: 0,
|
||||
protectedTools: ["skill", isSkillReadToolResult, isArtifactRecoveryToolResult],
|
||||
fenceMinTokens: 400,
|
||||
...AGGRESSIVE_SHAKE_CONFIG,
|
||||
protectedTools: [...AGGRESSIVE_SHAKE_CONFIG.protectedTools, isArtifactRecoveryToolResult],
|
||||
};
|
||||
|
||||
/** Rough token cost of a placeholder line; used only for the savings gate. */
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed shake re-eliding artifact recovery reads into a new artifact indefinitely.
|
||||
|
||||
## [17.2.4] - 2026-08-01
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user