Skip to content

Say where a session re-vendors its older pages itself - #2821

Merged
max-sixty merged 3 commits into
mainfrom
auto-revendor
Oct 14, 2026
Merged

max-sixty merged 3 commits into
mainfrom
auto-revendor

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

#2812 made the session holding a page vendored at an older page protocol re-vendor it on its first command or hook. AGENTS.md "Pages across Leaf updates" and layer.incompatible_layer's docstring still said only that a Leaf refuses such a page; both now name vendoring.renew_layer as the exception. The other references (serving-pages.md, layer-registry.md, delivery.py, hook_transport.py) were updated in #2812.

This was written by Claude Code on behalf of max-sixty

#2812 made the session holding a page vendored at an older page protocol re-vendor it on its first command or hook. AGENTS.md "Pages across Leaf updates" and `layer.incompatible_layer`'s docstring still said only that a Leaf refuses such a page; both now name `vendoring.renew_layer` as the exception.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new automatic re-vendor wording says the session's first command suffices, but cli.resolve_dir only renews a command that names the page. test_a_command_re_vendors_its_sessions_page_an_older_leaf_vendored exercises a reference-based reply that is refused until a page-naming command runs. The layer.incompatible_layer docstring makes the same claim, so both descriptions need that qualification.

Comment thread AGENTS.md Resolved
max-sixty and others added 2 commits October 13, 2026 20:57
leaf-agent's review: `cli.resolve_dir` renews a page only for a command that names it, so a reference-based reply is refused until one does. Both descriptions now say so.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 17a0d0f into main Oct 14, 2026
3 of 4 checks passed
@max-sixty
max-sixty deleted the auto-revendor branch October 14, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants