Repository navigation
fix(setup): make episode closure observable - #209
Conversation
somewan820
left a comment
There was a problem hiding this comment.
[P2] Restore the complete no-op closure receipt
extensions/setup/index.ts:165-166 now returns only:
"The configuration writer is now hidden. To make a configuration change, run /openpi-setup ."
For a setup run that settles without a successful writer call, the persisted/model-visible closure receipt must also state that no configuration update was confirmed and that
configuration files must not be edited directly. Those facts were present in the first commit but were removed by the follow-up simplification.
Without them, a later model context, especially after compaction, cannot distinguish "no update was confirmed" from "the update completed but the writer was hidden", and the
direct-edit safety invariant is no longer carried by the durable closure receipt. This also no longer satisfies issue #153's stated acceptance criteria.
Please restore the explicit no-op and direct-edit prohibition text, and keep corresponding assertions in tests/extensions/setup/index.test.ts and the integration test.
Summary
/openpi-setupcompletion observable with a durable, model-visible closure receipt and explicit re-entry guidanceCompatibility impact
Validation
bun test tests/extensions/setup/index.test.ts tests/extensions/setup/integration.test.ts tests/extensions/shared/tool-surface.test.ts(33 passed)bun run check(passes; existing Effect diagnostics remain warnings)bun run test(910 Node tests + 30 Vitest tests passed)git diff --checkCloses #153