Repository navigation
PR CI builds the examples a change touches; continuum-context's own tests run - #5613
Merged
Merged
Conversation
…ests; continuum-context's own tests run (it leaves the pending list) One selector (selectTargets) for a crate's non-lib targets whose own source a change touches: bins as before (card 67bf5d81), and examples, named by examples/<name>.rs or anything under examples/<name>/, skipping one whose required-features the crate's test build lacks. #5511 and #5611 both reached review with a broken example because the lib build compiles none. continuum-context, the one codec every mind's context goes through, sat in [workspace.metadata.ci] pending: its lib tests never ran in CI. Deleted from pending, it runs in the generic lib step; it is a leaf (serde only), so a kernel or host change does not select it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Oct 30, 2026
…etter (caught by #5613's example step) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Oct 31, 2026
…, step 1: the type and every source's causes) (#5611) * WIP causal items: continuum-context gains the cause module (ElementId, Cause {Of, Root, Unrecorded}, Origin, Content {Hashed, Absent}, ContentHash); Item carries id/cause/content; StoredWhole carries its hash; Block exposes text() with chars() derived Construction sites follow source by source (MIND-CONTEXT 'causality is in the type', step 1). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Every element she perceives carries its cause: items in her view have a producer-named occurrence id, a typed cause and a content hash, from every source MIND-CONTEXT "causality is in the type", step 1 (the type and every source's causes; invariants 1-3 in the view follow). - continuum-context: `cause` (ElementId, Cause {Of, Root(Origin), Unrecorded}, Origin {External, ActivityStart}, Content {Hashed, Absent}, ContentHash); Item gains id/cause/content and `Item::whole` requires them; StoredWhole carries its Content; Block exposes text() with chars() derived from it. - Her sources supply real causes (context_streams): - actions: an act follows the act before it in the same room, the first is its activity's start; ids from (persona, seq), the producer's stable identity; ActRendering becomes a typed struct (seq, room, levels, stored, resident). - thoughts: one interior chain; open views: the act that last read the view (ViewLine carries touched_seq); notices: external origins, an [ended] notice follows its notice; conversation: the room's sequence, the first turn external; grounding blocks and banners: standing activity roots, ids namespaced by source. - Captures and fixtures have no recorded causes: Cause::Unrecorded, never a guessed link. - A result spilled before hashes were kept is Content::Absent, never a minted hash (recording the hash at spill is the ActionRecord change, with Codex). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Causal items: one id derivation, ElementId::of(identity parts), owned by the type; the source fixtures carry their persona Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Causal items, Cormac's #5611 blockers: an act's content hashes its raw result bytes (never the labelled rendering with its own seq), ElementId::of length-prefixes each part, the replay example's tests name crate::captured, and Item's fields are private (constructors hash, builders add levels, no way to replace a hashed whole) validate.rs's enrich replaced item.full after Item::whole had hashed it, so its content was already stale; it now rebuilds the item through Item::whole. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Causal items: the room-board test and the replay examples read Item through its getters Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Causal items: the replay's ledger lines read Item's key through its getter (caught by #5613's example step) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
It serves the minds by testing the one codec their context goes through. Plan line 1 (the build loop), the review-accountability rules.
Two gaps, found by Cormac's #5611 review (E0425 in
examples/replay/sediment.rs, which CI never compiled):continuum-context's own tests never run in CI. It sat in[workspace.metadata.ci] pending("tests exist but no job selects them yet"), and it's the one codec every mind's context goes through.Change:
selectTargets, for a crate's non-lib targets whose own source a change touches:examples/<name>.rsor anything underexamples/<name>/selects that example, declared or implicit. Each selected example getscargo check --example, and one declaringtest = true(replay) also getscargo test --example. An example whoserequired-featuresthe crate's test build lacks is skipped, since cargo refuses to build it.continuum-contextleavespending(debt that only shrinks), so the generic lib-test step selects it. It's a leaf crate (serde only), so a kernel or host change doesn't select it. The test's floor list says so.Measured
node --test tools/scripts/tests/ci-change-scope.test.cjs: 24 pass, 0 fail (23 before, plus the new examples test).continuum-context(lib tests) and{"all":["replay"],"tested":["replay"]}.continuum-contextlib job is new. This PR touches no context file, so its own run doesn't select it; Every element she perceives carries its cause (MIND-CONTEXT causality, step 1: the type and every source's causes) #5611, rebased on this, is the first run that shows its minutes.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo