vertex-palace 0.2.1 → 0.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/BUILD_WEEK.md CHANGED
@@ -54,7 +54,7 @@ The Devpost submission will include the `/feedback` Session ID from the primary
54
54
  Install the public competition release, then run it in the repository you want to evaluate:
55
55
 
56
56
  ```bash
57
- npm install -g vertex-palace@0.2.1
57
+ npm install -g vertex-palace@0.2.2
58
58
  palace --version
59
59
  palace context "improve route confidence calibration" --auto --format json
60
60
  palace evaluate "improve route confidence calibration" --changed-file packages/core/src/evaluation/evaluate-route.ts
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.2.2 - 2026-07-19
6
+
7
+ ### Fixed
8
+
9
+ - Preserve relevant, scoped memory when Adaptive mode selects `full-palace` instead of silently disabling the memory section.
10
+ - Render Full Palace memory and its current-code-first guardrail in both Markdown and JSON while keeping the final serialized payload inside the selected budget.
11
+
12
+ ### Added
13
+
14
+ - Regression coverage using the exact Aurora useful-memory task from the public 16-trial Adaptive v2.2 benchmark.
15
+ - Memory-fidelity assertions for mode selection, delivered Markdown, delivered JSON, item counts, guardrails, and measured payload bytes.
16
+
17
+ ### Research
18
+
19
+ - The public [Adaptive v2.2 benchmark](https://github.com/lohchanhin/benchmarks-ab-demo/blob/main/docs/research/ADAPTIVE_V2_2_FINAL.md) found the v0.2.1 omission in all four useful-memory trials. The frozen results remain unchanged; this release fixes the product behavior separately.
20
+
5
21
  ## 0.2.1 - 2026-07-19
6
22
 
7
23
  ### Fixed
package/README.md CHANGED
@@ -37,10 +37,12 @@ The first floor also has an entrance pitfall board at `.palace/00-entrance/pitfa
37
37
  | --- | --- | --- |
38
38
  | `bypass` | A small repository and one explicit file make routing overhead unnecessary | No source content is packed; direct inspection is recommended |
39
39
  | `route-lite` | The task and route are focused with low cross-cutting risk | Loads Primary summaries or symbol snippets; keeps the rest as references |
40
- | `full-palace` | The task crosses layers, changes a public contract, or has uncertain routing | Loads Primary plus bounded Support context |
41
- | `guarded-memory-palace` | Prior decisions, stale behavior, or tenant isolation are relevant | Adds only scoped, recent, budgeted memory with contradiction warnings |
40
+ | `full-palace` | The task crosses layers, changes a public contract, or has uncertain routing | Loads Primary plus bounded Support context and relevant scoped memory when available |
41
+ | `guarded-memory-palace` | Prior decisions, stale behavior, or tenant isolation are explicitly relevant | Prioritizes scoped, recent, budgeted memory with contradiction warnings |
42
42
 
43
43
  Adaptive mode reports `contextBytes`, `contextEstimatedTokens`, route-tier counts, memory usage, and guardrails in Markdown and JSON. It is designed to reduce unnecessary preloaded context. It does **not** guarantee lower total agent tokens or faster wall-clock time on every task; those outcomes must be measured end to end with repeated, order-balanced trials.
44
+
45
+ Version 0.2.2 preserves relevant memory when Adaptive selects `full-palace`. This fixes the omission reproduced in all four useful-memory trials of the public [Adaptive v2.2 benchmark](https://github.com/lohchanhin/benchmarks-ab-demo/blob/main/docs/research/ADAPTIVE_V2_2_FINAL.md); the frozen v0.2.1 research results remain unchanged. The [0.2.2 remediation record](https://github.com/lohchanhin/vertex-palace/blob/main/docs/research/ADAPTIVE_MEMORY_FIX_0_2_2.md) documents the root cause and clean-install evidence.
44
46
 
45
47
  ## Usage Guide
46
48
 
@@ -60,17 +62,17 @@ The agent should read the repository instructions, install the plugin or use the
60
62
  adaptive context (one call) -> inspect Primary -> expand Deferred only when needed -> implement -> test -> evaluate -> memory write
61
63
  ```
62
64
 
63
- Only `guarded-memory-palace` includes relevant entries from `.palace/00-entrance/pitfall-board.md`; unrelated or old memory is omitted.
65
+ `full-palace` and `guarded-memory-palace` can include relevant entries from `.palace/00-entrance/pitfall-board.md`; guarded mode is selected when memory risk is explicit and adds stricter contradiction warnings. Unrelated or old memory is omitted.
64
66
 
65
67
  ### Manual Mode: Step By Step
66
68
 
67
69
  1. Install the plugin:
68
70
 
69
71
  ```bash
70
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
72
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.2
71
73
  ```
72
74
 
73
- Use `v0.2.1` or newer for the corrected Adaptive selector. Avoid `v0.1.0` and `v0.1.1`; those early tags had broken MCP install metadata.
75
+ Use `v0.2.2` or newer for Full Palace memory fidelity and the corrected Adaptive selector. Avoid `v0.1.0` and `v0.1.1`; those early tags had broken MCP install metadata.
74
76
 
75
77
  2. Or install the CLI directly from npm:
76
78
 
@@ -165,10 +167,12 @@ Vertex Palace 是一个面向 Codex 编程任务的本地上下文路由工具
165
167
  | --- | --- | --- |
166
168
  | `bypass` | 小型仓库且任务明确指向单一文件 | 不预载源码,建议直接检查目标文件 |
167
169
  | `route-lite` | 任务集中、路线明确、跨层风险低 | 只加载 Primary 摘要或符号片段,其余保留引用 |
168
- | `full-palace` | 跨前后端、公共契约变更或路线不确定 | 加载 Primary 与有限的 Support 上下文 |
169
- | `guarded-memory-palace` | 历史决策、旧行为或客户隔离确实相关 | 只加入有作用域、有时效、有预算并带矛盾检查的记忆 |
170
+ | `full-palace` | 跨前后端、公共契约变更或路线不确定 | 加载 Primary、有限的 Support,以及可用时与任务相关的范围化记忆 |
171
+ | `guarded-memory-palace` | 历史决策、旧行为或客户隔离明确相关 | 优先加入有作用域、有时效、有预算并带矛盾检查的记忆 |
170
172
 
171
173
  Adaptive Palace 的目标是减少不必要的“预载上下文”,不是承诺每个任务的总 Token 与总时间都一定下降。端到端效果必须用相同任务、重复执行、平衡顺序的 A/B 测试判断。
174
+
175
+ 0.2.2 修复了 Adaptive 选择 `full-palace` 时遗漏相关记忆的问题。这个缺陷由公开的 [Adaptive v2.2 基准研究](https://github.com/lohchanhin/benchmarks-ab-demo/blob/main/docs/research/ADAPTIVE_V2_2_FINAL.md)在四组 useful-memory trial 中稳定复现;冻结的 v0.2.1 研究结果不会被改写。[0.2.2 修复记录](https://github.com/lohchanhin/vertex-palace/blob/main/docs/research/ADAPTIVE_MEMORY_FIX_0_2_2.md)公开根因与 clean-install 证据。
172
176
 
173
177
  ## 使用说明
174
178
 
@@ -188,17 +192,17 @@ Adaptive Palace 的目标是减少不必要的“预载上下文”,不是承
188
192
  adaptive context(单次调用)-> 先读 Primary -> 证据需要时再展开 Deferred -> 执行任务 -> 测试 -> evaluate -> 写入 memory
189
193
  ```
190
194
 
191
- 只有 `guarded-memory-palace` 会带入 `.palace/00-entrance/pitfall-board.md` 中与当前任务相关且仍在时效内的记录。
195
+ `full-palace` `guarded-memory-palace` 都可以带入 `.palace/00-entrance/pitfall-board.md` 中与当前任务相关且仍在时效内的记录;当任务明确涉及记忆风险时会选择 guarded 模式,并加入更严格的矛盾检查。
192
196
 
193
197
  ### 勤劳用法:自己一步一步跑
194
198
 
195
199
  1. 安装插件:
196
200
 
197
201
  ```bash
198
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
202
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.2
199
203
  ```
200
204
 
201
- 请使用 `v0.2.1` 或更新版本,以启用修正后的 Adaptive 模式选择器。不要再使用 `v0.1.0` 和 `v0.1.1`,这两个早期标签的 MCP 安装元数据有问题。
205
+ 请使用 `v0.2.2` 或更新版本,以启用 Full Palace 记忆一致性与修正后的 Adaptive 模式选择器。不要再使用 `v0.1.0` 和 `v0.1.1`,这两个早期标签的 MCP 安装元数据有问题。
202
206
 
203
207
  2. 打开 Codex,输入 `/plugins`,安装 Vertex Palace。
204
208
 
@@ -268,15 +272,15 @@ npx vertex-palace status
268
272
  Install the Codex plugin:
269
273
 
270
274
  ```bash
271
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
275
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.2
272
276
  ```
273
277
 
274
- Use `v0.2.1` or newer for the corrected Adaptive selector; `v0.1.0` and `v0.1.1` are obsolete because their MCP install metadata was broken.
278
+ Use `v0.2.2` or newer for Full Palace memory fidelity and the corrected Adaptive selector; `v0.1.0` and `v0.1.1` are obsolete because their MCP install metadata was broken.
275
279
 
276
280
  The plugin launches its MCP server through npm:
277
281
 
278
282
  ```bash
279
- npx -y -p vertex-palace@0.2.1 vertex-palace-mcp-stdio --stdio
283
+ npx -y -p vertex-palace@0.2.2 vertex-palace-mcp-stdio --stdio
280
284
  ```
281
285
 
282
286
  Open Codex: