vertex-palace 0.2.1 → 0.2.3

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
@@ -30,6 +30,22 @@ Version 0.1.5 adds `palace evaluate` and the `palace_evaluate` MCP tool. The eva
30
30
 
31
31
  This feature addresses a concrete limitation found during large-project use: a plausible-looking route and a high confidence value do not prove that the route included the files that ultimately mattered.
32
32
 
33
+ ### Cross-ecosystem release routing
34
+
35
+ Version 0.2.3 adds a dedicated release task type after the tool misclassified
36
+ its own 0.2.2 publication task as `unknown`. The frozen real-repository baseline
37
+ found only 3/19 changed files with 0.25 route focus and 0.52 overconfidence
38
+ error. The corrected route reached 12/19 coverage, 1.00 focus, and 0.02
39
+ calibration error.
40
+
41
+ A protocol committed before matrix execution then tested JavaScript monorepo,
42
+ Codex plugin, Python/PyPI, and Chinese release scenarios plus publication
43
+ failure, explanation, review, test-only, and deployment controls. The final
44
+ matrix passed without lowering thresholds, and all scored routes reached 1.00
45
+ focus. Rejected intermediate results remain in the repository research record.
46
+ This study measures routing quality and does not claim lower total agent tokens
47
+ or faster wall-clock time.
48
+
33
49
  ## Codex And GPT-5.6 Collaboration
34
50
 
35
51
  The submission-period work was developed with Codex using GPT-5.6. Codex was used to:
@@ -54,7 +70,7 @@ The Devpost submission will include the `/feedback` Session ID from the primary
54
70
  Install the public competition release, then run it in the repository you want to evaluate:
55
71
 
56
72
  ```bash
57
- npm install -g vertex-palace@0.2.1
73
+ npm install -g vertex-palace@0.2.3
58
74
  palace --version
59
75
  palace context "improve route confidence calibration" --auto --format json
60
76
  palace evaluate "improve route confidence calibration" --changed-file packages/core/src/evaluation/evaluate-route.ts
package/CHANGELOG.md CHANGED
@@ -2,6 +2,51 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.2.3 - 2026-07-19
6
+
7
+ ### Added
8
+
9
+ - A dedicated `release` task type with English and Chinese publication intent recognition.
10
+ - Cross-ecosystem package-manifest routing for npm, PyPI, Cargo, Go, Maven/Gradle, Composer, Ruby, and .NET projects.
11
+ - Reproducible release-routing matrix fixtures for JavaScript monorepos, Codex plugins, Python/PyPI, Chinese release tasks, and negative intent controls.
12
+ - Opt-in structured test reporters for the frozen real-repository release task and the cross-ecosystem matrix.
13
+
14
+ ### Changed
15
+
16
+ - Release routes reserve capacity for implementation, regression tests, package manifests, plugin metadata, release records, MCP, CLI, shared contracts, and CI surfaces.
17
+ - Explicit route limits are treated as maxima instead of targets; unused capacity no longer pulls unrelated files into a release route.
18
+ - Package-manifest selection is ecosystem-aware, and release test slots require release-related path evidence.
19
+ - Release-route confidence remains conservatively capped and is evaluated against observed changed-file coverage.
20
+
21
+ ### Fixed
22
+
23
+ - Prevented actual npm, Git tag, and plugin publication work from falling through to `unknown`.
24
+ - Prevented explanation, review, test-only, and publication-failure tasks from being misclassified as releases.
25
+ - Recognized `pyproject.toml` and other non-JavaScript package manifests as release surfaces.
26
+ - Preserved the caller's explicit route limit for plugin distribution tasks.
27
+
28
+ ### Research
29
+
30
+ - The frozen Vertex Palace release task improved from 3/19 changed-file coverage and 0.25 route focus to 12/19 coverage and 1.00 focus, with calibration error reduced from 0.52 to 0.02.
31
+ - The preregistered cross-ecosystem matrix passed without lowering thresholds; all scored final routes reached 1.00 focus.
32
+ - These routing results do not claim lower total agent tokens or faster wall-clock time.
33
+
34
+ ## 0.2.2 - 2026-07-19
35
+
36
+ ### Fixed
37
+
38
+ - Preserve relevant, scoped memory when Adaptive mode selects `full-palace` instead of silently disabling the memory section.
39
+ - 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.
40
+
41
+ ### Added
42
+
43
+ - Regression coverage using the exact Aurora useful-memory task from the public 16-trial Adaptive v2.2 benchmark.
44
+ - Memory-fidelity assertions for mode selection, delivered Markdown, delivered JSON, item counts, guardrails, and measured payload bytes.
45
+
46
+ ### Research
47
+
48
+ - 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.
49
+
5
50
  ## 0.2.1 - 2026-07-19
6
51
 
7
52
  ### Fixed
package/README.md CHANGED
@@ -37,10 +37,14 @@ 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.
46
+
47
+ Version 0.2.3 adds a dedicated release-task route across implementation, tests, package manifests, plugin metadata, MCP, CLI, shared contracts, CI, and release records. It recognizes npm, PyPI, Cargo, Go, Maven/Gradle, Composer, Ruby, and .NET manifests while keeping explain, review, test-only, and publish-failure intent separate. The frozen [baseline](./docs/research/RELEASE_ROUTING_BASELINE_0_2_2.md), [real-repository result](./docs/research/RELEASE_ROUTING_RESULT_0_2_3.md), and [cross-ecosystem matrix](./docs/research/RELEASE_ROUTING_MATRIX_RESULT_0_2_3.md) preserve both failed intermediate results and final evidence. This routing study does not claim lower total agent tokens or faster wall-clock time.
44
48
 
45
49
  ## Usage Guide
46
50
 
@@ -60,17 +64,17 @@ The agent should read the repository instructions, install the plugin or use the
60
64
  adaptive context (one call) -> inspect Primary -> expand Deferred only when needed -> implement -> test -> evaluate -> memory write
61
65
  ```
62
66
 
63
- Only `guarded-memory-palace` includes relevant entries from `.palace/00-entrance/pitfall-board.md`; unrelated or old memory is omitted.
67
+ `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
68
 
65
69
  ### Manual Mode: Step By Step
66
70
 
67
71
  1. Install the plugin:
68
72
 
69
73
  ```bash
70
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
74
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.3
71
75
  ```
72
76
 
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.
77
+ Use `v0.2.3` or newer for release routing, 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
78
 
75
79
  2. Or install the CLI directly from npm:
76
80
 
@@ -165,10 +169,14 @@ Vertex Palace 是一个面向 Codex 编程任务的本地上下文路由工具
165
169
  | --- | --- | --- |
166
170
  | `bypass` | 小型仓库且任务明确指向单一文件 | 不预载源码,建议直接检查目标文件 |
167
171
  | `route-lite` | 任务集中、路线明确、跨层风险低 | 只加载 Primary 摘要或符号片段,其余保留引用 |
168
- | `full-palace` | 跨前后端、公共契约变更或路线不确定 | 加载 Primary 与有限的 Support 上下文 |
169
- | `guarded-memory-palace` | 历史决策、旧行为或客户隔离确实相关 | 只加入有作用域、有时效、有预算并带矛盾检查的记忆 |
172
+ | `full-palace` | 跨前后端、公共契约变更或路线不确定 | 加载 Primary、有限的 Support,以及可用时与任务相关的范围化记忆 |
173
+ | `guarded-memory-palace` | 历史决策、旧行为或客户隔离明确相关 | 优先加入有作用域、有时效、有预算并带矛盾检查的记忆 |
170
174
 
171
175
  Adaptive Palace 的目标是减少不必要的“预载上下文”,不是承诺每个任务的总 Token 与总时间都一定下降。端到端效果必须用相同任务、重复执行、平衡顺序的 A/B 测试判断。
176
+
177
+ 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 证据。
178
+
179
+ 0.2.3 新增专门的发布任务路线,会同时覆盖实现、回归测试、package manifest、plugin metadata、MCP、CLI、shared contract、CI 和发布记录。它支持 npm、PyPI、Cargo、Go、Maven/Gradle、Composer、Ruby 与 .NET manifest,并把说明、审核、仅测试和发布失败任务与真正发布动作分开。冻结的[基线](./docs/research/RELEASE_ROUTING_BASELINE_0_2_2.md)、[真实仓库结果](./docs/research/RELEASE_ROUTING_RESULT_0_2_3.md)和[跨生态矩阵](./docs/research/RELEASE_ROUTING_MATRIX_RESULT_0_2_3.md)都保留失败中间结果与最终证据;这项路由研究不宣称总 Token 或总时间一定下降。
172
180
 
173
181
  ## 使用说明
174
182
 
@@ -188,17 +196,17 @@ Adaptive Palace 的目标是减少不必要的“预载上下文”,不是承
188
196
  adaptive context(单次调用)-> 先读 Primary -> 证据需要时再展开 Deferred -> 执行任务 -> 测试 -> evaluate -> 写入 memory
189
197
  ```
190
198
 
191
- 只有 `guarded-memory-palace` 会带入 `.palace/00-entrance/pitfall-board.md` 中与当前任务相关且仍在时效内的记录。
199
+ `full-palace` `guarded-memory-palace` 都可以带入 `.palace/00-entrance/pitfall-board.md` 中与当前任务相关且仍在时效内的记录;当任务明确涉及记忆风险时会选择 guarded 模式,并加入更严格的矛盾检查。
192
200
 
193
201
  ### 勤劳用法:自己一步一步跑
194
202
 
195
203
  1. 安装插件:
196
204
 
197
205
  ```bash
198
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
206
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.3
199
207
  ```
200
208
 
201
- 请使用 `v0.2.1` 或更新版本,以启用修正后的 Adaptive 模式选择器。不要再使用 `v0.1.0` 和 `v0.1.1`,这两个早期标签的 MCP 安装元数据有问题。
209
+ 请使用 `v0.2.3` 或更新版本,以启用发布任务路由、Full Palace 记忆一致性与修正后的 Adaptive 模式选择器。不要再使用 `v0.1.0` 和 `v0.1.1`,这两个早期标签的 MCP 安装元数据有问题。
202
210
 
203
211
  2. 打开 Codex,输入 `/plugins`,安装 Vertex Palace。
204
212
 
@@ -268,15 +276,15 @@ npx vertex-palace status
268
276
  Install the Codex plugin:
269
277
 
270
278
  ```bash
271
- codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
279
+ codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.3
272
280
  ```
273
281
 
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.
282
+ Use `v0.2.3` or newer for release routing, 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
283
 
276
284
  The plugin launches its MCP server through npm:
277
285
 
278
286
  ```bash
279
- npx -y -p vertex-palace@0.2.1 vertex-palace-mcp-stdio --stdio
287
+ npx -y -p vertex-palace@0.2.3 vertex-palace-mcp-stdio --stdio
280
288
  ```
281
289
 
282
290
  Open Codex: