Skip to content

Add ohi.dev integration for ontology search and download - #1525

Closed
Ostrzyciel wants to merge 5 commits into
deeplethe:mainfrom
Ostrzyciel:dev
Closed

Ostrzyciel wants to merge 5 commits into
deeplethe:mainfrom
Ostrzyciel:dev

Conversation

@Ostrzyciel

Copy link
Copy Markdown

Why

What changes

How it was checked

Before review

  • Every commit is signed off (git commit -s)
  • cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings and cargo test --workspace pass
  • For changes under web/: pnpm build and pnpm test pass
  • SQL under crates/utopia-store/ was tested with UTOPIA_DATABASE_URL set (those tests skip without it)
  • A new migration takes the next free number on dev, and CURRENT_SCHEMA_VERSION in crates/utopia-cli/src/main.rs equals the number of files in migrations/
  • UI strings are in both web/src/i18n/en.ts and zh.ts
  • A change to the data model, the ontology contract or a public API has its ADR in docs/decisions/

Maya-Kid and others added 5 commits November 18, 2026 17:01
Signed-off-by: Maya Kid <BinjunYann@gmail.com>
* ADR 0067: each task chooses its model

Signed-off-by: dada-yan <BinjunYann@gmail.com>

* ADR 0067 is accepted, with the answers to its three open questions folded into the decisions

Profiles stay per workspace, implication::read_phrases goes under alignment,
a base's unset tasks follow the task defaults; decision 4 names the connection
test as its one exception and decision 5 says where chat_reasoning_effort and
embed_dim go (0035), as asked in the 2026-10-19 review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dada-yan <BinjunYann@gmail.com>
Co-authored-by: Wayland Yang <wayland@WaylanddeMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
, ADR 0072) (deeplethe#1397)

* Charge only changed items against the custom sync budget (deeplethe#1212, ADR 0072)

Signed-off-by: Royce Lam <roycelam@umich.edu>

* Satisfy clippy on the custom sync budget change

Signed-off-by: Royce Lam <roycelam@umich.edu>

* Custom's bound is the source's own checkpoint, so it can be cleared once, and a capped round is failed without an alert (deeplethe#1212, ADR 0072)

The custom bound used to be derived from the audit history — the last `ok` run's
`started_at`. That says when the previous round began, not how far it read: a
capped round recorded `ok` too, so the lower bound could step over items that
were never read, and the bound could not be cleared without rewriting the rows
the same paragraph says to preserve.

The bound becomes a value on the source, `sources.sync_checkpoint` — the column
migration 0119 already added. NULL means "no bound", which is where every
existing source starts, so the upgrade *is* the reset (ADR 0072's Recovery
section): the first round re-reads the whole window, and unchanged content
dedups into no new version and no new job. Custom's checkpoint advances to the
start of the round that read the whole response rather than to now, so changes
that arrive during a round stay in the next round's window.

A capped round is recorded as failed, but it does not raise a source.sync_failed
alert: it did not break, it stopped, and the next round resumes from the same
place. `finish_sync` couples the status write to the alert, so the store grows
`finish_sync_quiet` for this case. The run error says "changed 200 items"
rather than "read", because the budget is charged against changed items.

`sync_source` now returns its stats, so a test can assert that the whole
response was read instead of only the slice the budget allowed. The 450-item
case covers the three rounds it takes to read one window whole, and it reads the
alerts table to show that the capped rounds raised no sync-failed alert.

Signed-off-by: Royce Lam <roycelam@umich.edu>

* A custom item changed while a round is running is still read by the next one, so 0072's status line can be closed (deeplethe#1212, ADR 0072)

Signed-off-by: Royce Lam <roycelam@umich.edu>

---------

Signed-off-by: Royce Lam <roycelam@umich.edu>
Co-authored-by: Wayland Yang <wayland@WaylanddeMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
Signed-off-by: 0xvectr <57480598+0xvectr@users.noreply.github.com>
…so listed domains sign in on first visit (deeplethe#1517)

Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
Co-authored-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
@Ostrzyciel

Copy link
Copy Markdown
Author

Ahhh sorry, missclick...

@Ostrzyciel Ostrzyciel closed this Nov 24, 2026
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.

5 participants