vertex-palace 0.1.6 → 0.2.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/BUILD_WEEK.md +2 -2
- package/CHANGELOG.md +30 -0
- package/README.md +73 -40
- package/dist/palace.cjs +28 -28
- package/package.json +2 -2
- package/plugins/vertex-palace/mcp/server.cjs +24 -23
package/BUILD_WEEK.md
CHANGED
|
@@ -54,9 +54,9 @@ 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.1
|
|
57
|
+
npm install -g vertex-palace@0.2.1
|
|
58
58
|
palace --version
|
|
59
|
-
palace
|
|
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
|
|
61
61
|
```
|
|
62
62
|
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.2.1 - 2026-07-19
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Treat preservation-only wording such as "keep the public API stable" as a guardrail instead of evidence that the task changes a public contract.
|
|
10
|
+
- Allow small, focused repositories with route confidence from 0.45 upward to use Route Lite instead of escalating mechanically to Full Palace.
|
|
11
|
+
- Refresh the Codex marketplace metadata, plugin MCP pin, CLI version, and MCP server version together.
|
|
12
|
+
|
|
13
|
+
## 0.2.0 - 2026-07-19
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Adaptive `palace context --auto` mode selection across `bypass`, `route-lite`, `full-palace`, and `guarded-memory-palace`.
|
|
18
|
+
- Primary, Support, and Deferred route tiers with per-step confidence and evidence.
|
|
19
|
+
- Measured payload metrics for actual context bytes, estimated tokens, route tiers, memory items, and guardrails.
|
|
20
|
+
- One canonical context serializer shared by Core, CLI, and MCP, so payload metrics describe the final delivered Markdown or formatted JSON body without a duplicate MCP wrapper.
|
|
21
|
+
- Guarded memory retrieval with relevance, scope, age, confidence, risk, contradiction checks, and a 600-token ceiling.
|
|
22
|
+
- CLI `--mode` override and equivalent `auto` / `mode` inputs on the `palace_context` MCP tool for repeatable evaluation.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Adaptive route-lite packs load file summaries instead of accidentally expanding file-level snippets into full files.
|
|
27
|
+
- Memory is disabled in Adaptive modes unless task risk explicitly selects guarded memory.
|
|
28
|
+
- Documentation and plugin guidance now describe efficiency as a measured outcome, not a guaranteed consequence of fewer routed paths.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Prevented file nodes without line ranges from injecting entire source files into Adaptive route-lite contexts.
|
|
33
|
+
- Prevented unrelated recent pitfall entries from being used as fallback memory in guarded packs.
|
|
34
|
+
|
|
5
35
|
## 0.1.6 - 2026-07-19
|
|
6
36
|
|
|
7
37
|
### Added
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Memory-palace context routing for Codex.
|
|
4
4
|
|
|
5
|
-
Vertex Palace turns a repository into a local palace of floors, rooms, cabinets, and drawers.
|
|
5
|
+
Vertex Palace turns a repository into a local palace of floors, rooms, cabinets, and drawers. Its Adaptive mode selects the smallest safe context strategy for each task instead of assuming that a full palace pack is always useful.
|
|
6
6
|
|
|
7
7
|
OpenAI Build Week work is documented separately in [BUILD_WEEK.md](./BUILD_WEEK.md), including the pre-existing baseline, submission-period additions, Codex/GPT-5.6 collaboration, and judge verification steps.
|
|
8
8
|
|
|
@@ -13,19 +13,34 @@ Name note: `记忆宫殿工具`, `记忆宫殿`, `memory palace`, `palace tool`,
|
|
|
13
13
|
|
|
14
14
|
Vertex Palace is a local context-routing tool for Codex coding tasks. It organizes a repository into a memory-palace structure of floors, rooms, cabinets, and drawers, so Codex can find the most relevant files and code snippets before fixing bugs, adding features, or understanding modules.
|
|
15
15
|
|
|
16
|
-
It is designed for large repositories, multi-client projects, and long-lived codebases. Run `palace context "<task>"` once to initialize or refresh the local index
|
|
16
|
+
It is designed for large repositories, multi-client projects, and long-lived codebases. Run `palace context "<task>" --auto` once to initialize or refresh the local index, plan the route, select a context mode, and report the delivered payload. Write task memory after the work is done. By default, everything stays inside the local `.palace/` directory: no source upload, no external API calls, and no remote vector database.
|
|
17
17
|
|
|
18
18
|
Each route refreshes `.palace/routes/latest-route.json`, `.palace/routes/latest-route.md`, and `.palace/routes/optimized-route.txt`, so the most recent task route does not get stuck on an older task. Each memory write also updates `.palace/memory/latest-task.md`, `.palace/memory/task-log.md`, and `.palace/memory/index.json` while keeping the floor-based archive under `.palace/07-memory/`.
|
|
19
19
|
|
|
20
|
-
The first floor also has an entrance pitfall board at `.palace/00-entrance/pitfall-board.md`. When a task records `--pitfall` or `--failed-attempt`, Vertex Palace updates this notice board
|
|
20
|
+
The first floor also has an entrance pitfall board at `.palace/00-entrance/pitfall-board.md`. When a task records `--pitfall` or `--failed-attempt`, Vertex Palace updates this notice board. Adaptive mode loads memory only for tasks with relevant history, stale-behavior, or tenant-isolation risk, and limits it by scope, age, confidence, and token budget.
|
|
21
21
|
|
|
22
22
|
## Design Philosophy
|
|
23
23
|
|
|
24
|
-
- Spatial understanding: turn a repository from a flat file list into a navigable palace that Codex can explore by feature area, dependency, and task intent.
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
24
|
+
- Spatial understanding: turn a repository from a flat file list into a navigable palace that Codex can explore by feature area, dependency, and task intent.
|
|
25
|
+
- Correctness before compression: bypass Palace when direct inspection is safer, and widen context when cross-stack or contract risk is detected.
|
|
26
|
+
- Route before reading: plan the most relevant path first, then load primary context while keeping support and deferred references available on demand.
|
|
27
|
+
- Explainable selection: every route includes reasons for choosing a floor, room, drawer, or file, so developers can judge whether Codex is looking in the right place.
|
|
28
|
+
- Measured payloads: report actual output bytes, estimated context tokens, route tiers, memory items, and guardrails instead of treating fewer file paths as proof of efficiency.
|
|
29
|
+
- Local-first privacy: indexes, route packs, and task memory are generated locally by default.
|
|
30
|
+
- Project memory over time: successful routes, failed routes, client labels, and decisions can be reused by future tasks.
|
|
31
|
+
|
|
32
|
+
## Adaptive Palace
|
|
33
|
+
|
|
34
|
+
`palace context --auto` chooses one of four explainable modes:
|
|
35
|
+
|
|
36
|
+
| Mode | Selected when | Context behavior |
|
|
37
|
+
| --- | --- | --- |
|
|
38
|
+
| `bypass` | A small repository and one explicit file make routing overhead unnecessary | No source content is packed; direct inspection is recommended |
|
|
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 |
|
|
42
|
+
|
|
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.
|
|
29
44
|
|
|
30
45
|
## Usage Guide
|
|
31
46
|
|
|
@@ -36,26 +51,26 @@ If you just want the agent to handle it, give your AI coding agent this prompt:
|
|
|
36
51
|
```text
|
|
37
52
|
Open and read https://github.com/lohchanhin/vertex-palace, install Vertex Palace, then use it in this repository.
|
|
38
53
|
|
|
39
|
-
Before working, call palace_context once with my exact task (or run palace context if only the CLI is available)
|
|
54
|
+
Before working, call palace_context once with my exact task and auto=true (or run palace context --auto if only the CLI is available). Follow the selected mode, expand only when evidence requires it, evaluate the route against the files actually changed, and write task memory after finishing.
|
|
40
55
|
```
|
|
41
56
|
|
|
42
57
|
The agent should read the repository instructions, install the plugin or use the CLI, then follow this workflow:
|
|
43
58
|
|
|
44
59
|
```text
|
|
45
|
-
context (
|
|
60
|
+
adaptive context (one call) -> inspect Primary -> expand Deferred only when needed -> implement -> test -> evaluate -> memory write
|
|
46
61
|
```
|
|
47
62
|
|
|
48
|
-
|
|
63
|
+
Only `guarded-memory-palace` includes relevant entries from `.palace/00-entrance/pitfall-board.md`; unrelated or old memory is omitted.
|
|
49
64
|
|
|
50
65
|
### Manual Mode: Step By Step
|
|
51
66
|
|
|
52
67
|
1. Install the plugin:
|
|
53
68
|
|
|
54
69
|
```bash
|
|
55
|
-
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.1
|
|
70
|
+
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
|
|
56
71
|
```
|
|
57
72
|
|
|
58
|
-
Use `v0.1
|
|
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.
|
|
59
74
|
|
|
60
75
|
2. Or install the CLI directly from npm:
|
|
61
76
|
|
|
@@ -75,7 +90,7 @@ npx vertex-palace status
|
|
|
75
90
|
4. Prepare task context in one call:
|
|
76
91
|
|
|
77
92
|
```bash
|
|
78
|
-
palace context "fix login refresh token bug" --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
93
|
+
palace context "fix login refresh token bug" --auto --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
79
94
|
```
|
|
80
95
|
|
|
81
96
|
5. Use the lower-level commands only when diagnosing or manually controlling the route:
|
|
@@ -118,27 +133,42 @@ cat .palace/memory/task-log.md
|
|
|
118
133
|
|
|
119
134
|
If a Codex thread says it does not know the "memory palace tool" or `记忆宫殿工具`, it usually means the Vertex Palace plugin or MCP server is not loaded in that thread. The Chinese name is an alias; the preferred MCP tool is `palace_context`.
|
|
120
135
|
|
|
121
|
-
Fix it by installing Vertex Palace from `/plugins`, trusting the plugin when prompted, and starting a new Codex thread or restarting Codex so the skill, hooks, and MCP tools reload. If only the CLI is available, ask the agent to run `palace context "<task>"`.
|
|
136
|
+
Fix it by installing Vertex Palace from `/plugins`, trusting the plugin when prompted, and starting a new Codex thread or restarting Codex so the skill, hooks, and MCP tools reload. If only the CLI is available, ask the agent to run `palace context "<task>" --auto`.
|
|
122
137
|
|
|
123
138
|
## 简体中文说明
|
|
124
139
|
|
|
125
140
|
Vertex Palace 是一个面向 Codex 编程任务的本地上下文路由工具。它会把代码仓库整理成“楼层、房间、柜子、抽屉”的空间结构,让 Codex 在开始修 bug、加功能或理解模块前,先找到最相关的文件与代码片段,而不是每次都从整个仓库重新扫描。
|
|
126
141
|
|
|
127
|
-
它适合大型项目、多客户项目和长期维护型项目:每次任务只要运行一次 `palace context "<任务>"
|
|
142
|
+
它适合大型项目、多客户项目和长期维护型项目:每次任务只要运行一次 `palace context "<任务>" --auto`,工具会自动初始化或刷新索引、规划路线、选择最小安全模式,并报告实际送出的上下文负载。任务结束后再写入成功路径、失败路径和决策记忆。所有数据默认保存在本机 `.palace/` 目录中,不上传源码,也不依赖远程向量数据库。
|
|
128
143
|
|
|
129
144
|
每次路由都会刷新 `.palace/routes/latest-route.json`、`.palace/routes/latest-route.md` 和 `.palace/routes/optimized-route.txt`,避免“最近任务路线”停留在旧任务。每次写入记忆也会更新 `.palace/memory/latest-task.md`、`.palace/memory/task-log.md` 和 `.palace/memory/index.json`,同时保留 `.palace/07-memory/` 的楼层归档。
|
|
130
145
|
|
|
131
|
-
第一层入口还会有一个踩坑告示牌:`.palace/00-entrance/pitfall-board.md`。当任务写入 `--pitfall` 或 `--failed-attempt` 时,Vertex Palace
|
|
146
|
+
第一层入口还会有一个踩坑告示牌:`.palace/00-entrance/pitfall-board.md`。当任务写入 `--pitfall` 或 `--failed-attempt` 时,Vertex Palace 会更新这个告示牌。Adaptive 模式只有在任务确实涉及历史决策、旧行为或客户隔离风险时才读取记忆,并按作用域、时间、置信度和 Token 预算筛选。
|
|
132
147
|
|
|
133
148
|
名称说明:`记忆宫殿工具`、`记忆宫殿`、`memory palace`、`palace tool` 和旧名字 `Context Palace` 都是 Vertex Palace。建议优先使用 MCP 工具 `palace_context`,命令行对应 `palace context`;status、index、route、pack 等底层命令继续保留给排障和手动控制。
|
|
134
149
|
|
|
135
150
|
## 设计理念
|
|
136
151
|
|
|
137
|
-
- 空间化理解:把仓库从“文件列表”变成可导航的宫殿结构,让 Codex 可以按功能区域、依赖关系和任务目标定位上下文。
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
152
|
+
- 空间化理解:把仓库从“文件列表”变成可导航的宫殿结构,让 Codex 可以按功能区域、依赖关系和任务目标定位上下文。
|
|
153
|
+
- 正确性优先:明确单文件任务可以绕过 Palace,跨层或契约风险则主动扩大上下文。
|
|
154
|
+
- 先路由,再阅读:先规划最可能相关的路径,只加载 Primary 内容,把 Support 与 Deferred 保留为按需引用。
|
|
155
|
+
- 可解释的选择:路由结果会说明为什么选择某个房间、抽屉或文件,方便开发者判断 Codex 是否走在正确方向上。
|
|
156
|
+
- 实际量测:输出真实字节数、估算 Context Token、路线层级、记忆数量和护栏数量,不再用“路径较少”直接等同“效率较高”。
|
|
157
|
+
- 本地优先与隐私优先:索引、记忆和上下文包默认都在本地生成,避免把项目源码交给外部服务处理。
|
|
158
|
+
- 持续学习项目习惯:任务完成后记录成功路线、失败路线、客户标签和决策原因,让后续任务可以复用项目经验。
|
|
159
|
+
|
|
160
|
+
## 自适应模式
|
|
161
|
+
|
|
162
|
+
`palace context --auto` 会选择四种模式之一:
|
|
163
|
+
|
|
164
|
+
| 模式 | 适用情境 | 上下文行为 |
|
|
165
|
+
| --- | --- | --- |
|
|
166
|
+
| `bypass` | 小型仓库且任务明确指向单一文件 | 不预载源码,建议直接检查目标文件 |
|
|
167
|
+
| `route-lite` | 任务集中、路线明确、跨层风险低 | 只加载 Primary 摘要或符号片段,其余保留引用 |
|
|
168
|
+
| `full-palace` | 跨前后端、公共契约变更或路线不确定 | 加载 Primary 与有限的 Support 上下文 |
|
|
169
|
+
| `guarded-memory-palace` | 历史决策、旧行为或客户隔离确实相关 | 只加入有作用域、有时效、有预算并带矛盾检查的记忆 |
|
|
170
|
+
|
|
171
|
+
Adaptive Palace 的目标是减少不必要的“预载上下文”,不是承诺每个任务的总 Token 与总时间都一定下降。端到端效果必须用相同任务、重复执行、平衡顺序的 A/B 测试判断。
|
|
142
172
|
|
|
143
173
|
## 使用说明
|
|
144
174
|
|
|
@@ -149,33 +179,33 @@ Vertex Palace 是一个面向 Codex 编程任务的本地上下文路由工具
|
|
|
149
179
|
```text
|
|
150
180
|
请打开并阅读 https://github.com/lohchanhin/vertex-palace,安装 Vertex Palace,然后在当前项目使用它。
|
|
151
181
|
|
|
152
|
-
开始任务前,请针对我的完整任务调用一次 palace_context;如果当前只有命令行,就运行 palace context
|
|
182
|
+
开始任务前,请针对我的完整任务调用一次 palace_context,并设置 auto=true;如果当前只有命令行,就运行 palace context --auto。按照工具选择的模式行动,只有代码或测试证据需要时才展开 Deferred;完成后评估路线,并把改动文件、测试结果、决策和踩坑写入 memory。
|
|
153
183
|
```
|
|
154
184
|
|
|
155
185
|
它应该照这个流程做:
|
|
156
186
|
|
|
157
187
|
```text
|
|
158
|
-
context
|
|
188
|
+
adaptive context(单次调用)-> 先读 Primary -> 证据需要时再展开 Deferred -> 执行任务 -> 测试 -> evaluate -> 写入 memory
|
|
159
189
|
```
|
|
160
190
|
|
|
161
|
-
|
|
191
|
+
只有 `guarded-memory-palace` 会带入 `.palace/00-entrance/pitfall-board.md` 中与当前任务相关且仍在时效内的记录。
|
|
162
192
|
|
|
163
193
|
### 勤劳用法:自己一步一步跑
|
|
164
194
|
|
|
165
195
|
1. 安装插件:
|
|
166
196
|
|
|
167
197
|
```bash
|
|
168
|
-
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.1
|
|
198
|
+
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
|
|
169
199
|
```
|
|
170
200
|
|
|
171
|
-
请使用 `v0.1
|
|
201
|
+
请使用 `v0.2.1` 或更新版本,以启用修正后的 Adaptive 模式选择器。不要再使用 `v0.1.0` 和 `v0.1.1`,这两个早期标签的 MCP 安装元数据有问题。
|
|
172
202
|
|
|
173
203
|
2. 打开 Codex,输入 `/plugins`,安装 Vertex Palace。
|
|
174
204
|
|
|
175
205
|
3. 每次任务前用一个命令准备上下文:
|
|
176
206
|
|
|
177
207
|
```bash
|
|
178
|
-
palace context "fix login refresh token bug" --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
208
|
+
palace context "fix login refresh token bug" --auto --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
179
209
|
```
|
|
180
210
|
|
|
181
211
|
4. 只有排障或需要手动控制时,才分别执行底层命令:
|
|
@@ -218,7 +248,7 @@ cat .palace/memory/task-log.md
|
|
|
218
248
|
|
|
219
249
|
如果某个 Codex 线程说不认识“记忆宫殿工具”,通常不是项目坏了,而是那个线程还没有加载 Vertex Palace 插件或 MCP server。中文叫法只是别名,建议它查找并调用 `palace_context`。
|
|
220
250
|
|
|
221
|
-
处理方式:先在 Codex 的 `/plugins` 安装并启用 Vertex Palace,按提示信任插件,然后新开一个 Codex 线程或重启 Codex,让 skill、hooks 和 MCP 工具重新加载。如果当前环境只有命令行可用,就让 agent 运行 `palace context "<任务>"`。
|
|
251
|
+
处理方式:先在 Codex 的 `/plugins` 安装并启用 Vertex Palace,按提示信任插件,然后新开一个 Codex 线程或重启 Codex,让 skill、hooks 和 MCP 工具重新加载。如果当前环境只有命令行可用,就让 agent 运行 `palace context "<任务>" --auto`。
|
|
222
252
|
|
|
223
253
|
## Install
|
|
224
254
|
|
|
@@ -238,15 +268,15 @@ npx vertex-palace status
|
|
|
238
268
|
Install the Codex plugin:
|
|
239
269
|
|
|
240
270
|
```bash
|
|
241
|
-
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.1
|
|
271
|
+
codex plugin marketplace add lohchanhin/vertex-palace --ref v0.2.1
|
|
242
272
|
```
|
|
243
273
|
|
|
244
|
-
Use `v0.1
|
|
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.
|
|
245
275
|
|
|
246
276
|
The plugin launches its MCP server through npm:
|
|
247
277
|
|
|
248
278
|
```bash
|
|
249
|
-
npx -y -p vertex-palace@0.1
|
|
279
|
+
npx -y -p vertex-palace@0.2.1 vertex-palace-mcp-stdio --stdio
|
|
250
280
|
```
|
|
251
281
|
|
|
252
282
|
Open Codex:
|
|
@@ -280,7 +310,7 @@ This creates:
|
|
|
280
310
|
Use Vertex Palace before fixing this bug: fix login refresh token bug
|
|
281
311
|
```
|
|
282
312
|
|
|
283
|
-
Codex should call `palace_context` once, inspect
|
|
313
|
+
Codex should call `palace_context` once with `auto: true`, follow the selected mode, inspect Primary context first, and write memory after the task.
|
|
284
314
|
|
|
285
315
|
## CLI
|
|
286
316
|
|
|
@@ -288,7 +318,7 @@ Codex should call `palace_context` once, inspect the returned drawers, and write
|
|
|
288
318
|
palace init
|
|
289
319
|
palace status
|
|
290
320
|
palace index
|
|
291
|
-
palace context "fix login refresh token bug" --budget 6000
|
|
321
|
+
palace context "fix login refresh token bug" --auto --budget 6000
|
|
292
322
|
palace route "fix login refresh token bug"
|
|
293
323
|
palace pack "fix login refresh token bug" --budget 12000
|
|
294
324
|
palace evaluate "fix login refresh token bug" \
|
|
@@ -317,12 +347,12 @@ palace evaluate "fix checkout shipping bug" \
|
|
|
317
347
|
|
|
318
348
|
Without `--changed-file`, the command still measures context efficiency but marks route quality and confidence calibration as `unverified`.
|
|
319
349
|
|
|
320
|
-
###
|
|
350
|
+
### Adaptive Context Workflow
|
|
321
351
|
|
|
322
|
-
For large repositories,
|
|
352
|
+
For large repositories, let Adaptive Palace choose the first-pass scope and inspect its measured payload:
|
|
323
353
|
|
|
324
354
|
```bash
|
|
325
|
-
palace context "fix checkout shipping bug" --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
355
|
+
palace context "fix checkout shipping bug" --auto --budget 6000 --route-limit 8 --max-drawers 4 --out .palace/last-pack.md
|
|
326
356
|
```
|
|
327
357
|
|
|
328
358
|
For multi-client repositories, isolate task memory with a client label:
|
|
@@ -356,13 +386,16 @@ Vertex Palace runs locally by default. It does not upload source code, call exte
|
|
|
356
386
|
- Repository scanner with ignore rules
|
|
357
387
|
- TypeScript, JavaScript, Markdown, JSON, and fallback parsers
|
|
358
388
|
- Indexes for nodes, edges, rooms, symbols, directory tree, hashes, and routes
|
|
359
|
-
- Route planner with task classification, confidence, reasons, and excluded areas
|
|
389
|
+
- Route planner with task classification, confidence, reasons, and excluded areas
|
|
390
|
+
- Adaptive selector with `bypass`, `route-lite`, `full-palace`, and `guarded-memory-palace`
|
|
391
|
+
- Primary, Support, and Deferred route tiers with measured payload metrics
|
|
360
392
|
- Latest route files: `latest-route.json`, `latest-route.md`, and `optimized-route.txt`
|
|
361
393
|
- Markdown and JSON context packer
|
|
362
|
-
- One-call `palace_context` / `palace context` workflow with automatic initialization, fresh indexing,
|
|
394
|
+
- One-call `palace_context` / `palace context --auto` workflow with automatic initialization, fresh indexing, mode selection, and bounded packing
|
|
363
395
|
- Route evaluation reports with Token reduction, changed-file coverage, route focus, and confidence calibration
|
|
364
396
|
- Task memory ledger: `latest-task.md`, `task-log.md`, and `index.json`
|
|
365
|
-
- Entrance pitfall board: `.palace/00-entrance/pitfall-board.md`
|
|
397
|
+
- Entrance pitfall board: `.palace/00-entrance/pitfall-board.md`
|
|
398
|
+
- Guarded memory retrieval with scope, age, confidence, risk, contradiction checks, and a 600-token ceiling
|
|
366
399
|
- CLI
|
|
367
400
|
- MCP stdio server
|
|
368
401
|
- Codex plugin folder, skill, hooks, and marketplace metadata
|