docs: v2.0 research specs for #228 wonder-consolidation + #229 promotion-trigger - #259
Merged
Merged
Conversation
Adopts aelfrice-lab/experiments/wonder-consolidation/HYPOTHESES.md pre-registration as the public research plan. Defines four adoption criteria (single-strategy ship / ensemble / defer / drop) and public-side commitments. Substrate-compatible with Option B.
Rejects three naive triggers (N-feedback, retrieval-count, user_corrected adjacency) per the four-constraint test from issue body. Recommends explicit-acknowledgment rule via aelf:validate slash command + aelf:lock content-match. Labeled-corpus benchmark gates v2.0 ship (recall >=70%, precision >=90%).
This was referenced Apr 28, 2026
robotrocketscience
added a commit
that referenced
this pull request
Apr 29, 2026
## Summary Three cascade addenda to `docs/design/write-log-as-truth.md`, one per post-#205 chain issue. Drafts the formal spec memos called for by the `needs-spec` label on each. - `docs/v2_replay.md` — issue #262 (`replay_full_equality` flip-readiness probe) - `docs/v2_derivation_worker.md` — issue #264 (derivation worker) - `docs/v2_view_flip.md` — issue #265 (view-flip — \`ingest_log\` becomes canonical) Pattern matches the substrate-cascade addenda merged via #257 / #259: each memo states what's being decided, recommendation, decision asks, downstream impact, out-of-scope, provenance. Recommendations only; ratification is a separate sweep. ## Recommendations at a glance | Issue | Memo | Recommendation | |---|---|---| | #262 | v2_replay.md | Shape-equality at ingest time, not bit-equality. Posterior drift and legacy-origin backfill bucketed separately, not flagged as drift. | | #264 | v2_derivation_worker.md | Single-transaction ingest, idempotency on (derived_belief_ids non-empty AND beliefs exist), recover-by-replay between batches, edges in same pass as beliefs. | | #265 | v2_view_flip.md | \`WRITE_LOG_AUTHORITATIVE\` flag with two-release soak before default-on. \`aelf rebuild\` preserves alpha/beta and replays feedback. \`--rule-set\` and \`--as-of\` ship as stubs in v2.x. Drift alarm wires \`replay_full_equality\` into \`aelf doctor\`. | ## Cross-links - Source-of-truth design memo: \`docs/design/write-log-as-truth.md\` (already on main). - Substrate dependency: \`docs/substrate_decision.md\` (#196 ratified Option B). Beta-Bernoulli's posterior drift behavior motivates shape-equality over bit-equality in #262. - Federation cross-link: \`docs/design/federation-primitives.md\` (the log row is the federation atom in v3). - Chain order: #205 (merged) → #261 → #262 → #264 → #265. ## Test plan - [ ] Memos render on GitHub without broken cross-links. - [ ] Each memo's Decision asks section is reviewable in isolation (don't need to read the whole chain to ratify a single ask). - [ ] Recommendations are consistent across the three memos (the equality contract in v2_replay.md matches the worker's invariants in v2_derivation_worker.md, which match the rebuild semantics in v2_view_flip.md).
This was referenced May 11, 2026
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.
Summary
Two specs covering the last truly-undrafted v2.0 needs-spec issues.
Companion to PR #257 (the substrate-cascade addenda for #193, #197, #198, #199, #201). After both PRs merge, the v2.0 `needs-spec` queue is fully drained.
Notes
Test plan