Repository navigation
Read-only verbs declare they observe: an unchanged code/search, glob, list, tree, exists or git status/diff/log reaches her view as a repeat (card 7d7b1ace) - #5655
Merged
Conversation
… list, tree, exists or git status/diff/log reaches her view as a repeat (card 7d7b1ace) MIND-CONTEXT invariant 4 (#5652) renders an unchanged observation as "repeat of #n" only for a command that declares ToolEffect::Observes; code/read was the only one, so a re-run of an unchanged search or `git status` still arrived whole. The validator's Undeclared count is this gap. - action_command! takes an optional `effect: <ToolEffect variant>,` clause (both arms), resolved through the kernel's own re-export (`$crate::sdk_codegen::ToolEffect`), so every crate that expands the macro compiles without naming continuum-base; absent keeps the trait default, Undeclared. - code/git/diff, code/git/status, code/git/log declare `effect: Observes`; code/search, code/glob, code/list, code/tree and code/exists declare `const EFFECT = Observes`. - normalize_edit_mode.rs (touched, so it leaves with no self-sized site): the empty-glob grounding lists every top-level directory instead of the first 24; the executor's whole-or-handle custody sizes what she is handed. Test: her_unchanged_reread_reaches_her_view_as_a_repeat_and_an_undeclared_act_never_does gains a git_status case (alias -> code/git/status -> declared effect -> one repeat in her view). Mutation: dropping `effect: Observes` from status.rs fails it (repeats 0). Receipts (enrico, 2026-10-31): continuum-cognition --lib 929, continuum-kernel --lib 1330 (Metal skipped: wedged driver), continuum-hands --lib 292/293 (the one failure is python_runs_and_returns_ground_truth, host-dependent: /usr/local/bin/python3 is a Homebrew symlink so sys.executable differs from the reported interpreter; run.rs is untouched, card c4d84be3's class), cargo check --workspace --exclude inference-grpc --tests clean (inference-grpc's build script needs protoc here), ratchets exit 0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
APPROVE #5655 at exact head 7ed5d0e (Fable). The claim that matters for invariant 4 is that every verb declared Observes truly only observes; a wrong declaration would render a world-changing re-run as 'repeat of #n'. Verified by reading each body at the head:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MIND-CONTEXT invariant 4 (#5652) renders an unchanged observation as "repeat of #n" only for a
command that declares ToolEffect::Observes; code/read was the only one, so a re-run of an unchanged
search or
git statusstill arrived whole. The validator's Undeclared count is this gap.effect: <ToolEffect variant>,clause (both arms), resolvedthrough the kernel's own re-export (
$crate::sdk_codegen::ToolEffect), so every crate thatexpands the macro compiles without naming continuum-base; absent keeps the trait default,
Undeclared.
effect: Observes; code/search, code/glob,code/list, code/tree and code/exists declare
const EFFECT = Observes.lists every top-level directory instead of the first 24; the executor's whole-or-handle custody
sizes what she is handed.
Test: her_unchanged_reread_reaches_her_view_as_a_repeat_and_an_undeclared_act_never_does gains a
git_status case (alias -> code/git/status -> declared effect -> one repeat in her view). Mutation:
dropping
effect: Observesfrom status.rs fails it (repeats 0).Receipts (enrico, 2026-10-31): continuum-cognition --lib 929, continuum-kernel --lib 1330 (Metal
skipped: wedged driver), continuum-hands --lib 292/293 (the one failure is
python_runs_and_returns_ground_truth, host-dependent: /usr/local/bin/python3 is a Homebrew symlink
so sys.executable differs from the reported interpreter; run.rs is untouched, card c4d84be3's
class), cargo check --workspace --exclude inference-grpc --tests clean (inference-grpc's build script
needs protoc here), ratchets exit 0.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE