docs: v2.0 substrate cascade addenda (#193, #197, #198, #199, #201) - #257
Merged
Conversation
Substrate-cascade addendum to substrate_decision.md (#196 ratified Option B). Recommends shipping the ~254 LOC stdlib-only dedup port at v2.0. Substrate-neutral; reuses existing SUPERSEDES edge type.
Substrate-cascade addendum. Recommends defer to v2.x with strict bench-impact gate per V2_REENTRY_QUEUE.md decision #1. Privacy + determinism + cost trio plus loss of strongest historical use case under single-axis substrate ratification.
Substrate-cascade addendum. Recommends ship at v2.0 as opt-in (.aelfrice.toml flag, default off) with PRIVACY.md entry. Closes the practical-feedback-loop gap that explicit aelf feedback calls don't fill. Substrate-neutral; emits scalar feedback events.
Substrate-cascade addendum. Recommends splitting #199 by submodule: H3 selective injection ships at v2.0; H1 directive detection defers with bench gate; H2 compliance audit drops (command_succeeds runs arbitrary shell on user machine — no security model).
Substrate-cascade addendum. Recommends ship at v2.0 — closes the gap between research-line README contradiction-detection promise and shipped explicit-only triple_extractor. Stdlib regex; pairs with #197 dedup via shared candidate-pair pool.
This was referenced Apr 28, 2026
robotrocketscience
added a commit
that referenced
this pull request
Apr 28, 2026
…ion-trigger (#259) ## Summary Two specs covering the last truly-undrafted v2.0 needs-spec issues. | Issue | Spec | Shape | |-------|------|-------| | #228 | docs/v2_wonder_consolidation.md | Research-plan spec — adopts aelfrice-lab pre-registration as public commitment, defines four adoption criteria for ship/ensemble/defer/drop | | #229 | docs/v2_phantom_promotion_trigger.md | Decision spec — rejects three naive triggers, recommends explicit-acknowledgment rule (\`aelf:validate\` + lock-text-match), labeled-corpus benchmark gates ship | 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 - #228 is research-blocked, not write-blocked. The lab pre-registration (\`aelfrice-lab/experiments/wonder-consolidation/HYPOTHESES.md\`) is the campaign blueprint; this memo commits the public side to its decision criteria. - #229's recommended rule has no tunable threshold by design — promotion is binary on user typing \`aelf:validate\` or \`aelf:lock\`. The benchmark verifies recall (≥70%) and precision (≥90%) under simulated user behavior, not a knob. - Both specs reference [substrate_decision.md](https://github.com/robotrocketscience/aelfrice/blob/main/docs/substrate_decision.md) (#196 ratified Option B). Single-axis substrate compatible. - Mutex: Gylf label applied to both issues at draft start. ## Test plan - [ ] Each memo reviewed against its issue body. Recommendations adopted, modified, or overridden per Decision asks. - [ ] On adoption: \`needs-spec\` label removed; downstream sub-issues filed (\`wonder_ingest\`, \`wonder_gc\`, \`aelf:validate\` surface) per memo § Out of scope. - [ ] No code changes; CI is docs-only.
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 3, 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
Five short evaluation memos cascading from #196's substrate ratification (Option B, single-axis Beta-Bernoulli, merged at PR #203). Each memo gives a recommendation, decision asks, and downstream impact.
All recommendations; user decides per memo's Decision asks section.
Notes
Test plan