Skip to content

Sync upstream dev into re-dev (2026-11-09): role words per chunk and 12 more - #61

Merged
gedaiu merged 14 commits into
re-devfrom
sync/upstream-dev-2026-11-09
Nov 9, 2026
Merged

gedaiu merged 14 commits into
re-devfrom
sync/upstream-dev-2026-11-09

Conversation

@gedaiu

@gedaiu gedaiu commented Nov 9, 2026

Copy link
Copy Markdown

Sync re-dev with upstream dev (2026-11-09)

Brings in 13 upstream commits: deeplethe#1428 (a role word is recorded against the chunk that says it, migration 0121, ADR 0070 decision 1), deeplethe#1442, deeplethe#1429, deeplethe#1421, deeplethe#1418 and the value-reading fixes for "Sept." dates, accounting parentheses, quarter periods, truncated months, MySQL TIME, comma company names, sub-property rings and case-insensitive docs search.

Only two files conflicted, both additive: the schema version and the store test module list. Nothing of the fork's gave way.

Migration 0121 is upstream's; it rewrites statement_qualifiers to a per-chunk key, a table none of the fork's 9000 to 9010 touch. It stops if a live fact has role words and no evidence, so check SELECT count(*) FROM statement_qualifiers q JOIN facts f ON f.id = q.fact_id WHERE f.invalidated_at IS NULL AND NOT EXISTS (SELECT 1 FROM fact_evidence e WHERE e.fact_id = f.id) on production before the release that carries it. CURRENT_SCHEMA_VERSION is 123, the count of migration files (112 upstream, 11 fork).

rudycelekli and others added 14 commits November 8, 2026 01:23
…so Q1 to Q3 runs through September instead of stopping in July (deeplethe#1405)

* A period written from one quarter to another ends in the last month, so Q1 to Q3 runs through September instead of stopping in July

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

* A period's end goes through parts_to_end, so the quarter-end rule lives in one place

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

---------

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
…024-03" truncated to a month is 2024-03-01 instead of no value (deeplethe#1407)

* A month or a year stored at its own precision can be truncated, so "2024-03" truncated to a month is 2024-03-01 instead of no value

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

* A bare year must be four digits before date_trunc reads it, and ADR 0036 lists the month and year forms it accepts

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

---------

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
… 30 hours is 30:15:00, not null (deeplethe#1411)

* A MySQL TIME past a day or below zero reads as itself, so TIMEDIFF of 30 hours is 30:15:00, not null

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

* Import time_text in the MySQL time test so the test target compiles

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

---------

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…#12" syncs its files (deeplethe#1421)

* An object storage prefix is listed as written, so a folder named "Case #12" syncs its files

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

* The object storage prefix test covers a Chinese folder, since Path::from also escaped non-ASCII prefixes

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

---------

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…der "万人" is 1.2 (deeplethe#1418)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…is -1234 instead of no value (deeplethe#1422)

* A number in accounting parentheses is read as negative, so "(1,234)" is -1234 instead of no value

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

* An accounting parenthesis is a minus only when nothing but a magnitude, currency or percent follows it, so "(2024) 500" stays no value

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

---------

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…9:30 (deeplethe#1429)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…nts over MCP" sections instead of nothing (deeplethe#1432)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…q names the ring q, r instead of p, q, r (deeplethe#1443)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…e, Inc." finds Acme instead of creating a second one (deeplethe#1433)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…00 instead of no value (deeplethe#1442)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…can say something new (deeplethe#1428)

Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
…-09-30 instead of no value (deeplethe#1430)

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
@gedaiu
gedaiu merged commit 3ff455c into re-dev Nov 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants