@gfgghgftgffg/pi-goal-x-lean 0.1.3 → 0.1.4
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/MAINTENANCE.md +11 -3
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +2 -2
package/MAINTENANCE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Keep this file in English.
|
|
4
4
|
|
|
5
|
-
The original facade depends on exact `pi-goal-x@0.35.
|
|
5
|
+
The original facade depends on exact `pi-goal-x@0.35.2`; it does not copy the engine. The published package has no npm publication `gitHead`, so maintenance reviews exact npm tarballs with SHA-512 integrity, not an inferred Git commit. There is no external lean-author repository. Pi development verification uses 1.4.0; supported hosts must satisfy upstream peers (`>=1.4.0 <2.0.0`).
|
|
6
6
|
|
|
7
7
|
## Retained behavior
|
|
8
8
|
|
|
@@ -38,9 +38,17 @@ If a subagents manager is present without a compatible v1 service, the goal faca
|
|
|
38
38
|
- Goal tasks are persistent milestones; `todo` remains an independent current-turn list, with no bidirectional synchronization. Do not claim complete delegated token accounting or silently enable `strictExecutionContract`.
|
|
39
39
|
- Upstream auditing excludes project extensions by default. Enabling `auditorProjectResources` broadens resource discovery; a read-only audit policy is not an OS sandbox.
|
|
40
40
|
|
|
41
|
-
## Upstream snapshot
|
|
41
|
+
## Upstream snapshot behavior
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Ordinary reads can use a cached pool snapshot. In 0.34.1 and 0.34.2 even `/goal-refresh` retained the old objective after an in-place edit; shutdown could overwrite the edit (observed on 0.34.1). The explicit command now forces a rescan in 0.35.2 (see below); this does not add file watching or change ordinary cached reads. Keep the upstream-parity regression.
|
|
44
|
+
|
|
45
|
+
## Review: 0.35.1 → 0.35.2
|
|
46
|
+
|
|
47
|
+
- Compared the exact SHA-512-recorded npm publication pair in `sources.json`, not remote HEAD `2b8f6d50ee7d647a161c2644a160fc4dc88d1517`. No bundled changelog. The published entry, Pi/typebox peers and Node floor are unchanged.
|
|
48
|
+
- `goal-core-tools.ts`, `goal-drafting-tools.ts` and `goal-events.ts` make their internal core types module-local; none is imported by the facade. `goal.ts` still registers the same tool groups and exposes `_goalCore`; `goal-tool-names.ts` keeps the seven registrations and the task-setting-dependent profile. Core tool fields, call defaults and result envelope are unchanged: `get_goal` returns model-facing text and separate `details.goal` / successful `details.page`, not terminal-rendered text or a body.
|
|
49
|
+
- `goal-context.ts` and `goal-session-safety.ts` retain the delegated filter-only contract. Scheduler `schedule` / `claim` remain available at the existing interception points. `goal-commands.ts` defers loading the status, recovery, settings and controls modules until their commands run.
|
|
50
|
+
- `/goal-refresh` now uses `storage/goal-files.ts::refreshActiveGoalPool` to clear the listing and file-parse caches, bypass the persisted snapshot, rebuild it and reconcile the focused goal. Its report compares pool revisions and effective settings; an objective edit need not increment the revision. The ordinary snapshot path still uses directory metadata. In the real host parity check both original and lean returned the edited goal in `details.goal.objective` and tool text, retaining paused status.
|
|
51
|
+
- The lifecycle regression compares the complete persisted task list across session reopen. File parsing can include optional properties set to `undefined`, which the JSON snapshot omits.
|
|
44
52
|
|
|
45
53
|
## Review: 0.34.2 → 0.35.1
|
|
46
54
|
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Confirm the plan to start. Use `/goal-direct` for direct creation, `/sisyphus` f
|
|
|
32
32
|
|
|
33
33
|
If a provider error cannot be retried, or a configured network-retry limit is exhausted, the goal pauses. Fix the provider issue, then use `/goal-resume [text]`; optional text is sent to the agent.
|
|
34
34
|
|
|
35
|
-
Use `/goal-tweak` to
|
|
35
|
+
Use `/goal-tweak` to revise an objective with the agent. After an external edit to a goal file, run `/goal-refresh` to rescan the files and update the focused goal; ordinary reads can still use a cached snapshot.
|
|
36
36
|
|
|
37
37
|
## Context footprint (character proxy)
|
|
38
38
|
|
package/README.zh-CN.md
CHANGED
|
@@ -32,7 +32,7 @@ pi update --extensions
|
|
|
32
32
|
|
|
33
33
|
遇到不可重试的服务商错误,或用尽配置的网络重试次数后,目标会暂停。修复问题后使用 `/goal-resume [文本]`;附带的文本会发送给 Agent。
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
要与 Agent 一起修订目标,请使用 `/goal-tweak`。在外部编辑目标文件后,可用 `/goal-refresh` 重新扫描文件并更新当前目标;普通读取仍可能使用缓存快照。
|
|
36
36
|
|
|
37
37
|
## 上下文占用(字符代理)
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfgghgftgffg/pi-goal-x-lean",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Lean tool metadata over the complete pi-goal-x runtime; preserves goal tools, commands, scheduling and auditing.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"check": "npm run typecheck && npm test"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"pi-goal-x": "0.35.
|
|
50
|
+
"pi-goal-x": "0.35.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@earendil-works/pi-ai": ">=1.4.0 <2.0.0",
|