core/docs/analysis
Shay 5f6e9f5e08
feat(derivation): Workstream A inc 2 — frontier report + rate_with_currency apply_rate injection (#797)
* feat(derivation): Workstream A inc 2 — frontier report + rate_with_currency apply_rate injection

- scripts/gsm8k_frontier_report.py + test (stable buckets; rate_with_currency surfaced)
- docs/recognizer-registry.md + math_candidate_graph.py comments repaired (current refusal doctrine; old skip-only marked historical)
- generate/math_roundtrip.py: add 'a','an' to RATE_ANCHORS (with doc update)
- generate/recognizer_anchor_inject.py: inject_rate_with_currency (narrow ProperName actor, Rate/apply_rate CandidateOperation, rejects unsafe); registered in _INJECTORS; module docs updated
- tests/test_*_rate_injection*.py + frontier test (8+ unit cases, confusers, synthetic wiring, real-report frontier pin)
- ratification doc (pre-code)
- lookback (post-impl, truthful)

All required local commands exercised (pytest green for new + prior extract/invariants; frontier script shows rate bucket; runner per brief; shas captured).

wrong=0 held. No sealed movement. Proxy still expected !passed (correct_min=10).

See ratification and lookback for scope, hazards, exact outputs.

* fix(derivation): dollar grounding, roundtrip proofs, stale comment, lookback commit, a/an containment, duplicate import

- math_roundtrip: add explicit 'dollar'/'dollars' + '$' branch in _unit_grounds (symmetric to cent) + doc alignment.
- tests: assert roundtrip_admissible True for the emitted rate cands; add a/an containment/confuser test (dollar unit only grounds with $ present); add lower-level _apply_rate solver reach test; remove conditional happy-paths that tolerated refusal; clean duplicate __future__.
- math_candidate_graph: update active stale comment (injector-empty now leads to explicit refusal, not drop/preserve-zero).
- Commit the Inc2 lookback (was local-only).

All per lead block list. New head will be pushed.

* fix(derivation): address remaining Inc2 blockers (locate_rate_verb via matcher token, dispatch test, lookback accuracy, narrow symbols, tests)

- recognizer_match: updated _CURRENCY_AMOUNT_RE + parsing to populate 'rate_anchor_token' localized to the rate span (prevents whole-sentence 'a' hazard from 'a lemonade stand').
- recognizer_anchor_inject: use 'rate_anchor_token' from anchor (with allowed-set check); fallback only if absent. Added Alexa-style confuser coverage.
- injector: narrowed _CURRENCY_SYMBOL_TO_UNIT to $ only for Inc2.
- tests: strengthened dispatch to require live-registry non-empty + roundtrip_admissible; added rate_anchor_token confuser test proving 'per' (not earlier 'a') is used; roundtrip asserts already present.
- lookback: updated to 10 files, 10+6 test counts, current head reality, shas/runner status exact, no rebaseline.
- math_candidate_graph comment already corrected in prior.

All Semantic Rigor / wrong=0 invariants preserved. New tip after push.

* fix(inc2): remove rate fallback to _locate_rate_verb; mandatory rate_anchor_token; hard 'for one cup' confuser; strengthen per-span test; update lookback

- injector: for currency_per_unit_rate, rate_anchor_token is now mandatory. Absent or invalid → immediate return ().
  No call to _locate_rate_verb for these anchors.
- tests: _rate_anchor helper now passes rate_anchor_token.
- Added hard confuser test for 'Alexa ...  for one cup.' — live registry + inject_from_match must emit ().
- Strengthened distracting-a ' per' test to unconditional: m not None, RATE_WITH_CURRENCY, len==1, matched_verb=='per', roundtrip_admissible True.
- lookback updated for 11 files, include matcher.py, rate_anchor_token centrality, exact counts after this.

* docs: pin exact final SHA in Inc2 lookback

* test(inc2): strengthen for_one_cup confuser to unconditional asserts on m and category

* docs(inc2): update lookback with exact test counts 18/6, 11 files, remove 9 files line, note final SHA after push

* docs(inc2): pin exact final SHA c4e83399... in lookback

* docs(inc2): pin exact final SHA 1129c502e6e8... in lookback

* docs(inc2): note no PR/CI yet in lookback

* docs(inc2): pin ultimate final SHA 7df0cac4... in lookback

* docs(inc2): final pin of SHA f0766b3b65... in lookback

* docs(inc2): ultimate pin of head deaa1a1e3fe0...

* docs(inc2): final pin of head ec1b5f32...

* docs(inc2): pin head 011e1e17... (the fixes tip)
2026-06-17 06:38:45 -07:00
..
adr-0184-replay-provenance-equivalence-harness-2026-06-10.md test(derivation): add ADR-0184 semantic replay equivalence harness 2026-06-10 14:35:22 -07:00
adr-0184-s3-s5-candidate-source-boundary-2026-06-10.md feat(derivation): define semantic-ledger candidate source boundary 2026-06-10 13:17:53 -07:00
afferent-field-ingest-scope-2026-06-15.md feat(l10): autonomous idle frontier-contemplation — the always-on life learns on its own (#758) 2026-06-14 23:59:49 -07:00
AGI-candidacy-autonomous-improvement-roadmap-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
AGI-spine-refined-sequencing-2026-06-06.md work done towards furthering comprehension, contemplation, learning, and also began working on fixing some failing tests 2026-06-16 12:27:59 -07:00
ask-runtime-wiring-missing-boundary-2026-06-10.md docs(ask): document missing runtime ASK provider boundary 2026-06-10 09:23:04 -07:00
ask-serving-integration-scoping-2026-06-08.md docs(epistemic): scope ASK and VERIFIED serving gates 2026-06-08 22:22:35 -07:00
ask-serving-integration-scoping-2026-06-09.md docs(epistemic): tighten pass_manager scoping wording and use relative links 2026-06-09 09:26:49 -07:00
b4-frameverdict-implementation-lookback-2026-06-15.md feat(frame-verdict): closed-world FrameVerdict substrate — PR-1..4 + hardening (ADR-0222 B4) (#787) 2026-06-16 06:23:03 -07:00
close-derived-climb-yardstick-claim-b-ratification-2026-06-16.md feat(eval): harden close-derived-climb yardstick to full Claim B (#791) 2026-06-16 17:10:11 -07:00
close-derived-facts-frameverdict-posture-ratification-2026-06-16.md docs: define CLOSE/FrameVerdict posture 2026-06-16 21:43:13 -07:00
close-derived-proposal-bridge-2026-06-16.md feat(proposals): bridge derived CLOSE facts into review proposals (#789) 2026-06-16 15:39:46 -07:00
close-flywheel-dedicated-regression-surface-ratification-2026-06-16.md feat: create dedicated CLOSE Flywheel Regression Surface (Claim-B Level) (#793) 2026-06-16 19:05:05 -07:00
close-flywheel-proposal-review-visibility-ratification-2026-06-16.md feat: strengthen visibility and measurement of CLOSE flywheel proposal review/ratification side (#794) 2026-06-16 19:33:25 -07:00
close-relational-transitive-pr1-2026-06-16.md feat(determine): consolidate declared relational transitive CLOSE facts (#788) 2026-06-16 15:15:59 -07:00
cmb-a-combined-rate-ruler-2026-06-08.md feat(combined-rate): CMB-a — combined-rate setup ruler (model + gold + oracle) 2026-06-08 06:58:17 -07:00
cmb-lookback-review-2026-06-08.md docs(cmb): lookback review + fix single-agent-attribution hygiene hazard (H3) 2026-06-08 13:27:17 -07:00
combined-rate-capability-ledger-2026-06-08.md docs(comprehension): freeze combined-rate (R4) v1 — capability ledger + non-claims (CMB-e) 2026-06-08 14:13:39 -07:00
composition-capability-scope.md docs: mark ADR-0174 Phase 5a shipped in composition-capability-scope 2026-06-03 16:23:53 -07:00
composition-wall-execution-plan-2026-06-03.md feat(r4): flip cv-0005 to serving — train_sample 6/44/0 -> 7/43/0 (ADR-0207 §5 step 2) 2026-06-03 22:20:12 -07:00
comprehension-capability-ledger-2026-06-07.md docs(comprehension): whole-system organ capability ledger + fix ADR-0211 number collision 2026-06-08 06:15:51 -07:00
comprehension-coverage-wall-map-2026-06-14.md docs(analysis): wall map — the recognizer/coverage wall is COMPOSITION 2026-06-14 15:10:30 -07:00
comprehension-organ-capability-ledger-2026-06-08.md docs(comprehension): freeze combined-rate (R4) v1 — capability ledger + non-claims (CMB-e) 2026-06-08 14:13:39 -07:00
comprehension-primitive-inventory.md Add canonical composition analysis docs 2026-06-03 15:35:58 -07:00
D-close-consolidation-design-2026-06-06.md feat(determine): idle deductive consolidation — the loop learns from determined facts (Step D) 2026-06-06 12:28:09 -07:00
deductive-logic-phase-2-benchmark-runway-2026-06-04.md docs: session record (2026-06-04) + mark runway PR-1/PR-2 shipped 2026-06-04 16:54:03 -07:00
E-estimation-design-2026-06-06.md feat(determine): calibrated disclosed estimation — the engine earns the right to guess (Step E) 2026-06-06 13:49:07 -07:00
epistemic-coherence-architecture-2026-06-14.md docs(analysis): finding — speculative epistemic ceiling does NOT blunt learning 2026-06-14 14:58:10 -07:00
extraction-richness-audit-2026-06-03.md docs: ratify ADR-0207 — GSM8K comprehension/composition substrate 2026-06-03 19:42:47 -07:00
field-reasoner-wedge-design-and-falsification-2026-06-04.md docs: field-reasoner wedge design + falsification dossier 2026-06-04 19:22:16 -07:00
field-wedge-ablation-result-2026-06-04.md feat(field-wedge): ablation verdict — field is decoration on additive (C3) (Phase W.2) 2026-06-04 19:44:22 -07:00
gsm8k-derivation-reader-recognizer-lift-workstream-a-ratification-2026-06-17.md feat(derivation): Workstream A inc 1 — lexeme reader + cleaned exemplars + proxy rebaseline (#796) 2026-06-16 21:57:05 -07:00
gsm8k-lift-program-strategy-2026-06-04.md fix(gsm8k): disable unsound serving bridges — restore sealed wrong=0 (0/5 -> 0/0) 2026-06-04 01:55:05 -07:00
gsm8k-workstream-a-increment-1-lookback-2026-06-17.md feat(derivation): Workstream A inc 1 — lexeme reader + cleaned exemplars + proxy rebaseline (#796) 2026-06-16 21:57:05 -07:00
gsm8k-workstream-a-increment-2-lookback-2026-06-17.md feat(derivation): Workstream A inc 2 — frontier report + rate_with_currency apply_rate injection (#797) 2026-06-17 06:38:45 -07:00
gsm8k-workstream-a-increment-2-rate-injection-ratification-2026-06-17.md feat(derivation): Workstream A inc 2 — frontier report + rate_with_currency apply_rate injection (#797) 2026-06-17 06:38:45 -07:00
holonomy-resonance-proof-not-robust-2026-06-14.md fix(holonomy): downgrade non-robust resonance proof to honest tripwires + record finding 2026-06-14 14:06:51 -07:00
integrate-hardened-close-yardstick-determinism-teaching-regression-ratification-2026-06-16.md feat: integrate hardened CLOSE yardstick into determinism & teaching regression surfaces (#792) 2026-06-16 17:36:25 -07:00
L10-continuity-spike-design-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
L10-runtime-scoping-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
L10-shapeBplus-persistence-scope-2026-06-05.md docs(design): L10/L11 lived-spine design records + AGI-candidacy roadmap 2026-06-05 15:11:08 -07:00
math-serving-seam-design-2026-06-06.md feat(derivation): math-serving reach seam — select_self_verified is policy-aware (ADR-0206 §5) 2026-06-06 15:46:14 -07:00
oov-grounding-determinism-morphology-affinity-collapse.md fix: derive oov grounding from token content 2026-06-06 05:46:01 -07:00
phase2-general-comprehension-organ-scope-2026-06-05.md docs(analysis): Phase 2 spike — syntax pack is not a parser; structural-decode fork 2026-06-05 15:41:36 -07:00
pivot-to-deductive-logic-2026-06-04.md feat: ratify independent-gold invariant (INV-25) + SHA-pin deductive lane 2026-06-04 15:56:28 -07:00
proposal-review-idle-integration-2026-06-08.md docs(proposal-review): idle-integration boundary ledger (IT-c) 2026-06-07 22:33:17 -07:00
proposal-review-reporter-2026-06-07.md docs(proposal-review): boundary ledger — read-only reporter, not idle_tick, not L10 (RPT-d) 2026-06-07 21:44:07 -07:00
q1-d-ask-bus-delivery-scoping-2026-06-08.md docs(epistemic): record accepted Q1-D delivery decisions 2026-06-09 09:16:24 -07:00
q1-epistemic-question-articulation-v1-scoping-2026-06-08.md docs(scoping): epistemic disclosure bus (Stage 2 / VERIFIED v1) + Q1 question-articulation briefs 2026-06-08 14:53:47 -07:00
question-layer-gap-survey.md
r1-inventory-ledger-2026-06-07.md feat(comprehension): inverse reader frame — base of a more/fewer-than (PR-7b / R2 C0) 2026-06-07 07:06:26 -07:00
r2-inventory-ledger-2026-06-07.md docs(comprehension): whole-system organ capability ledger + fix ADR-0211 number collision 2026-06-08 06:15:51 -07:00
r3-1-router-integration-2026-06-08.md feat(contemplation): wire R3 into the multi-organ router + pass manager (R3.1) 2026-06-08 02:05:34 -07:00
r3-2-unit-conversion-2026-06-08.md feat(rate): exact time-unit conversion for single-rate (R3.2b-e) 2026-06-08 05:43:51 -07:00
r3-rate-inventory-ledger-2026-06-08.md feat(rate): R3 inventory ledger + failure-family wiring (R3e) 2026-06-07 23:12:23 -07:00
real-gsm8k-capability-measurement-2026-06-04.md docs: fourth lift attempt falsified (strict sum-reader 0/2) — exhaustive 2026-06-04 02:52:24 -07:00
REALIZE-R1-DETERMINE-scope-2026-06-06.md fix(realize): lookback hardening — defensive admissibility re-assertion + coverage 2026-06-06 06:31:54 -07:00
REALIZE-scope-2026-06-06.md docs(analysis): REALIZE phase scope (Step 3) — verified against the real substrate 2026-06-06 01:48:19 -07:00
relational-grounding-extension-2026-06-04.md feat(deductive): binary relations + multi-variable grounding (finite propositional) 2026-06-04 20:17:33 -07:00
replay-moment-backend-scoping-2026-06-12.md feat(workbench): sealed single-turn replay backend — GET /replay/{turn_id} (Wave R3) 2026-06-12 17:15:39 -07:00
router-organ-hygiene-invariant-2026-06-08.md test(contemplation): standing router-organ-hygiene invariant 2026-06-08 05:28:06 -07:00
solver-operation-coverage.md
stage2-disclosure-bus-implementation-map-2026-06-09.md docs(stage2): map disclosure-bus implementation state and next slices 2026-06-09 11:32:00 -07:00
stage2-epistemic-disclosure-bus-verified-v1-scoping-2026-06-08.md docs(scoping): lock VERIFIED as a distinct disclosure mode, not APPROXIMATE (review fix) 2026-06-08 15:00:38 -07:00
step3-relational-surface-lookback-2026-06-15.md docs(analysis): Step-3 relational-surface lookback (#775 + #781 + #783) (#784) 2026-06-15 16:56:03 -07:00
universal-structure-and-field-symbol-coherence-gate-2026-06-04.md feat: Phase 2 — finite-entity grounding compiler + Phase 1.5 finding 2026-06-04 16:32:03 -07:00
VERIFIED-canonical-comparison-scoping-2026-06-06.md docs(analysis): VERIFIED producer — validate-first verdict is DO NOT BUILD (comprehension-bound) 2026-06-06 16:09:41 -07:00
verified-serving-wiring-scoping-2026-06-08.md docs(epistemic): scope ASK and VERIFIED serving gates 2026-06-08 22:22:35 -07:00
verified-serving-wiring-scoping-2026-06-09.md docs(verified): scope serving-time verification gate 2026-06-09 09:41:34 -07:00
wiring-promotion-gate-brief-2026-06-03.md docs: composition-wall execution scope (ADR-0207 §5 step 2) 2026-06-03 21:14:02 -07:00