Repository navigation
docs(cognition): VDD/TDD harness guide — the iteration loop for the brain - #1658
Merged
Merged
Conversation
…ersona brain Catalogs the instruments for iterating on cognition safely + visibly (per the "half the work is harnesses" doctrine): the VDD glass-box/record-replay set (WorkspaceCaptureSink + WorkspaceTrace, prompt_view, recorder + vdd::turn_replay, RagCaptureSink, the replay A/B bench, the live glass-box test) with the determinism enablers (lexical FNV embedder, injectable clock, heuristic adapter, content-addressed cache), the TDD test discipline + current cognition test surface, and the capture→replay→introspect→mutate-diff→lock-as-test loop. Notes the in-flight pieces (bench + relevance_weight tunable + neural embedder PRs) converging on canary. Frames it for the docker-persona-grid-peer deploy: the harness runs the same build_workspace_cycle path the live peer uses. Co-Authored-By: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 5, 2026
…airc pin 759fe0a -> b158a7e (ShownScope) (ONE-ACT stage 6, card aef54715) Joel 2026-11-04: a shown id's lookup is "localized to each concern", and it should be "easy, automatic, centralized as much as possible". airc #1658 (b158a7e) gave that lookup one shape: `ShownScope<T>` plus `Shown::resolve_in(&scope)`. Here continuum's one multi-board concern takes it: - persona/work_board/horizon.rs: `BoardHorizon` is a `ShownScope` for `WorkCardId` and `ClaimId`, built from each board's own scope (airc-work's `BoardSnapshot`). - work_card_state_changed: `resolve_card_id`, `resolve_card_id_in_boards` and `resolve_claim_id` read through `Shown` and resolve with `resolve_in(&horizon)`. The hand-built candidate `Vec<Uuid>` and the repairing `id_resolve::{normalize, resolve}` calls are gone. An empty scope is still the horizon's own "not found" (outage, no rooms), now decided from the typed `ShownIdError::NoMatch { total: 0 }` instead of a second read. A claim miss keeps its expiry hint. - Cargo.toml / Cargo.lock: airc rev 759fe0ab -> b158a7e93 (the only commit between them is #1658). The submission verbs are #5775's (merged, `Shown<T>` typed at serde). work_similar's full-id fast path waits on card 39c554f7. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Nov 5, 2026
…airc pin 759fe0a -> b158a7e (ShownScope) (ONE-ACT stage 6, card aef54715) (#5781) Joel 2026-11-04: a shown id's lookup is "localized to each concern", and it should be "easy, automatic, centralized as much as possible". airc #1658 (b158a7e) gave that lookup one shape: `ShownScope<T>` plus `Shown::resolve_in(&scope)`. Here continuum's one multi-board concern takes it: - persona/work_board/horizon.rs: `BoardHorizon` is a `ShownScope` for `WorkCardId` and `ClaimId`, built from each board's own scope (airc-work's `BoardSnapshot`). - work_card_state_changed: `resolve_card_id`, `resolve_card_id_in_boards` and `resolve_claim_id` read through `Shown` and resolve with `resolve_in(&horizon)`. The hand-built candidate `Vec<Uuid>` and the repairing `id_resolve::{normalize, resolve}` calls are gone. An empty scope is still the horizon's own "not found" (outage, no rooms), now decided from the typed `ShownIdError::NoMatch { total: 0 }` instead of a second read. A claim miss keeps its expiry hint. - Cargo.toml / Cargo.lock: airc rev 759fe0ab -> b158a7e93 (the only commit between them is #1658). The submission verbs are #5775's (merged, `Shown<T>` typed at serde). work_similar's full-id fast path waits on card 39c554f7. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[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.
Makes the VDD + TDD harness toolbox navigable so we can iterate on the persona brain by evidence, not guessing. Catalogs the glass-box/record-replay instruments, the determinism enablers, the test discipline, and the capture→replay→diff→lock loop. Doc-only.