Repository navigation
Release v0.6.0 - #619
Merged
Merged
Release v0.6.0#619
Conversation
Mealie, Tandoor, KitchenOwl, Norish, Grocy and RecipeSage, read from source: what a plan entry holds, whose plan it is, how it reaches the shopping list, whether it records cooking, and how a planned meal shows in a calendar feed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01126KLKw9pGwH2vG3r1i2VL
docs: research how other recipe apps plan meals
Instagram, YouTube and TikTok add a code to a link each time it is shared, so one reel shared twice started two Jobs. Links are now matched by the post they name, on the shelf, among Jobs under way and in the ledger of links, and a new recipe's Source keeps the link with no code. Sources already written stay as they are, since they are part of their Version's id. Only the ledger moves, in migration 65. Closes #464 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgYL6TWZa8cuMkPpba
Know one video by its post, whatever code a share adds
The reader's vocabulary sat in about 45 lists that mixed English, French
and Spanish. It now sits in src/words/{en,fr,es,every}.toml, built into the
binary and read once, and every reading of a line, a Unit, a timer, an oven
or a paste asks words::of(language) for its words. Grammar stays in code.
English, French, Spanish and Unknown recipes are read with the three files
together, exactly as the mixed lists read them. No existing test is edited:
the language-blind functions the tests call stay as thin wrappers, and
everything that knows a Language calls the _in variant or takes it directly.
Refs #495
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
Every Dutch phrase uses these words, so the list comes before any Dutch is written. Where a term has two fair renderings the reason sits beside the choice. Nobody approves it: a tester's reports correct it. Refs #495 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
A Dutch recipe is detected and read with the Dutch word file and the Unit spellings every Language writes, and never with another Language's words: `el` is a tablespoon here and a Spanish article there. German joins the detector's list and is answered as no Language. Dutch grammar lives in src/dutch.rs: a compound names its food at its end, so `de bloem` links `tarwebloem`, plurals and diminutives stem to one word, and a Dutch Food is matched on that stem. `180 graden` is Celsius with no letter, and `een kwartier` and `anderhalf uur` start a timer. The server's prose that follows a recipe's Language is Dutch for a Dutch recipe, and the Catalogue, the client and the interface's Language lists all carry `nl`. The test set is 658 real lines and sentences from 26 Dutch and Flemish sites, each naming its page, in tests/fixtures/dutch/. Refs #495 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
… on screens ADR 0057 records that a Language's words are data, its grammar is code, and which files read which recipe, and amends the four ADRs that counted three Languages. AGENTS.md names where the word files live, and the glossary's Food Match says what Dutch does. The changelog says Kamosu reads Dutch as a preview and what an Operator holding Dutch recipes does on upgrading. Screen tests show Dutch named in words, a Food named in Dutch, and a Dutch Tag name staying Dutch when it is renamed. Refs #495 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
The Language a Version is written in is its latest occurrence's, so a recipe set to Dutch converts and shops with Dutch words. Stems keep citroen, kers and champignon together with their plurals. A compound is linked only by a closed list of main words, since zijn ends wijnazijn and pel ends appel. Dutch reads an app's English time words, an aside after `van ca.`, and no timer from `een minuut of 5`. The language-blind wrappers the prefactor kept for its tests are test-only now. The Dutch word list holds the glossary's other visible words, and the two interface names follow their siblings' casing. Refs #495 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
Refs #495 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfxWrghkcRVv14nCnD
feat: Kamosu reads Dutch recipes, each Language's words in a file of their own
The real export offers one more related pair since #464 taught imports to know one video by its post. The bare Cozy Af French Chicken Stew and the Coq au Vin come from one YouTube video through two links, so the offer is right and the expectation moves. Closes #499 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLhKA6ymHU7SUSPaR4D
test: expect the fifth related pair in the Crouton corpus
A Meal Plan for each Person (ADR 0058): a recipe's Branch put on a day at a Yield, read a week at a time in a new Plan place between Recipes and Shopping. Plan this sits beside Cook this, and a planned recipe opens at its planned amount. The plan is its Person's alone, follows its recipe when Cookbooks join or a Co-author leaves with a Copy, keeps a recipe that went away by name, is written offline through the outbox with the last device winning, and saves in a Demo. Closes #486 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plan a recipe on a day, and see it in the Plan (#486)
…again A recipe can be planned on a week with no day and given a day later. A few typed words can stand on a day or a week, kept as written. Any Planned Meal moves to another day, week or position, and is planned again from this week or a past one; on a wide screen it is dragged. New Operations plan_words, set_planned_words and move_planned_meal carry #486's marks. Closes #487 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A week without a day, typed Planned Meals, moving and planning again (#487)
One button on the Plan, "Send to shopping", opens a sheet of this week and the two after, by day, each saying what it would send. Chosen days, whole weeks, or a week's meals with no day go onto the Shopping List through an adding path of its own (`add_to_choosing`): each recipe at its planned Yield as a factor of the recipe as written, added to what the list holds, in the recipe's noun or as a multiplier. `add_to_shopping_list` keeps its meaning. Each Planned Meal remembers the factor it last sent and when (migration 68), so a second press sends only what grew, a lowered Yield takes nothing off, and emptying the list leaves the marks. Written words and recipes that can no longer be read are skipped and named. A send is one transaction on the Shopping List's clock: an older offline send adds and marks nothing and answers `refused`; one with nothing to send writes nothing. Offline, the phone holds it, answers `waiting`, and the Plan says what it did once it lands. The Operation is `send_to_shopping_list`, JobKey::Never, not for an Add-only key, let through in a Demo, with `written_at`. `any_day_of` sends a week's undated meals alone, for the sheet's "Any day" row. Closes #488 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Send planned days or a week to the Shopping List (#488)
`get_meal_plan` takes the asker's `time_zone` (UTC when none is named) and answers `cooked` on each Planned Meal: this Person began an Attempt of its Lineage on its day there, or on any day of its week where it has no day, In Progress included. Nothing is stored; a write's answer leaves it out, since only a read knows the time zone. The Plan sends the browser's. jiff reads the moment onto the cook's calendar, with its time zone database built in so the image needs none. Part of #489 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As chosen on #489: "Cooked" with the Cooked place's bowl, on a line under how much is planned (A), and a past day no longer fades as a whole. Its date does, and each recipe on it nobody cooked has its photo greyed and its name lighter (Y). Written words and a recipe that can no longer be read carry neither. Closes #489 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A recipe that can no longer be read never says cooked, at either Door. A meal moved to another day with no network drops "Cooked" until the next read; reordered on its own day it keeps it. A missed recipe's letter in place of a photo is greyed as its photo would be. The screen test's unreadable recipe now claims to be cooked, so it checks the guard. Part of #489 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Part of #489 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A planned recipe says Cooked, and a past one nobody cooked fades (#489)
The screen tests share one jsdom per worker, and the plan tests start a meal's drag without ending it. The drop module's flag for a drag begun inside Kamosu stayed set, so the next file's drop tests saw no cover and took no drop. Which file came next changed with the machine's load, which is why only a full run showed it. The flag is now put back at the top of every file with the other per-file resets. Closes #507 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Forget a drag begun in one screen test file before the next (closes #507)
A paste held for a recipe's writing screen is module state, and the screen tests share one jsdom per worker. It was not in the per-file reset, so a paste one file held and never took would wait for the next file that opened a recipe with the same id. Closes #509 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Forget a held paste before each screen test file (closes #509)
Both tests read a PDF built to keep its reader busy. Alone, the reader takes 0.9 s on a quiet core and 7.9 s on a loaded one: past the test client's 5 s healthcheck wait, inside the server's own 10 s limit. The client gave up on a server still working. Those reads now wait as long as an upload does, the wait http_min already keeps for real work. Closes #510 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Give the swelling-PDF tests the wait real work gets (closes #510)
…#590) as-a-cook.svelte.spec.ts imports every settings page. Test files share one module cache, so when it ran first in the same worker the Language page was already bound to the real runtime and the spec's vi.mock reached nothing. The click ran the real setLocale, which wrote French into storage, and the 29 tests after it read French. overwriteSetLocale swaps the function the runtime exports, which a page imported earlier reads too. Each Reading Language test now starts with a reset spy and empty session storage, and the locale is taken back out of storage after every test. Closes #590 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLgGeG3ZYr5qm71cYKT
Replace setLocale in the settings spec through Paraglide, not vi.mock (closes #590)
Each Language's own name is now a field of the note's Words, and language_name() reads it off NOTE_WORDS, so a Language added to language::LANGUAGES without a name fails a test instead of showing its bare code in a Bundle. Names and file names are unchanged. Closes #592 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLhaxsRV17CjuzWsgn5
Read a Bundle's Language names off the note's words
The linear-time test divided two timings, and on a busy host the long run
could be slowed alone, crossing the limit with no change to the decoder.
It now counts the bytes read looking for a `;` and holds n ampersands to
between n and 11n. The lower bound fails a scan that goes around the
count, such as the old `text.find(';')`.
Closes #594
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rPDLh9QxyoqzBySasufNm
Count the bytes the entity decoder reads rather than timing it (#594)
A cook can choose Dutch as their Reading Language. nl joins the Catalogue's enum and the account check, a Dutch message file holds every phrase in the word list's terms, and the Share-menu answers gain Dutch. Converted amounts, the shopping list, a Component's share and a Backup's size take the Dutch decimal comma, on the server and in the phone's offline copy alike. A new screen test fails the build when any message file lacks a phrase, since Paraglide silently falls back to English. The navigation's long Dutch words did not fit. The maintainer chose option B: in Dutch only, each phone tab is as wide as its word and the rail is 128px, with soft hyphens for the largest text size. The page's language is now set before the first paint so this does not jump. `just screens` and `just proto-new` take `--locale`. A Dutch issue form takes corrections. README, Docker Hub page and changelog name Dutch as a machine-translated preview. Closes #496 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLhdnnWYjFdMbbw1YAe
Speak Dutch on every screen, as a preview (closes #496)
The picker handed the raw Language code to a phrase of its own and printed "In fr". It now draws the shelf's own mark through fallbackLanguage, so it reads "In French" and cannot drift from the shelf again. The picker's phrase is removed from every message file. Closes #598 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLiNNNNCTmFLi3urkdy
Name a fallback Language in words in the Component picker (#598)
A converted amount, a Shopping List amount and a Component's share now read "1,5" in French and Spanish, as they do in Dutch. English keeps the point, and so does any language Kamosu does not speak. The phone's offline copy says the same, held by shopping_parity. Closes #599 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLg9NxUDE1Lpctn9fLD
Write a decimal comma for French and Spanish readers (closes #599)
At the type unit's 1.35px top, "Cooked" ran off a 360px phone and "Shopping" and "Settings" out of the 88px rail, and French was about 50px too wide for a phone. The labels' letter spacing now falls from 0.15em at the ordinary size to 0.03em at the top. The bar's tabs get side room that grows from nothing to 3px, so closed-up words never touch. French "Accueil", "Courses" and "Cuisiné" carry a soft hyphen and break onto a second line where a tab is too narrow. Both rules are zero at the ordinary size, and `just screens-same` finds the bar and the rail unchanged there. Dutch keeps its own rules from #496. A screen test draws the bar and the rail in every Language at the largest size and measures each word in Chrome. The Chrome setup it shares with the long-words test moves to src/testing/chrome.ts. Closes #600 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLh5zLPEPr3PHx6QDdo
Fit the navigation's words at the largest text size (#600)
The test held Jobs for 600 ms, so the Runner gave each renewal 100 ms. A loaded host missed enough of those for the hold to lapse, and the Runner took the Job a second time. A 3 s hold gives each renewal 500 ms, and the stand-in's 4 s still outlast it, so renewal is still tested. Closes #603 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLhqZCimAY7rn3SY8Ht
Give the Runner test's hold room to renew on a busy machine
At the largest text size the Dutch tabs were as narrow as their words, and on a 360px phone "Thuis" ran into "Recepten" and "Boodschappen" into "Gekookt", under 2px apart. Each Dutch tab now keeps 2px at its sides at every size, so two words are always 4px apart. At the ordinary size the 2px comes out of the spare room the tabs share, so no word moves there. The navigation test holds every Language to the same 4px. Closes #605 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLe9WqFfUxM35VRdCdy
…gest-text Keep the Dutch navigation's words apart at large text sizes (#605)
…xt sizes (#608) The room at each tab's sides grew evenly from nothing with the text, and stayed under 2px a side up to a root of about 19.7px. There, French and Spanish words on a phone came 2.5 to 3.5px apart. The room is now never under 2px once the text is any larger than the ordinary size, and grows from there to 3px at the top as before. At the ordinary size it is still nothing, so no word moves. The navigation test draws the bar and the rail at every text size above the ordinary one in 0.1px steps, not only at the largest. Closes #608 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLf3P2fx9d32euCpPyv
…izes Keep the navigation's words apart between the ordinary and largest text sizes (#608)
…ings (#537) - The phone empties what it keeps only on a refusal saying the Secret names nobody, or that there is no Credential at all. A refusal about what a Person may do, such as an Operator's Operation asked by a cook, leaves it. - Held changes stay for the same Person signing back in after their Session ended elsewhere; another Person's sign-in, or signing out here, discards them. Every sign-in answer names the Person. - A kept recipe the server answers not_found is dropped with its reads and the pictures only it showed, and the library stops counting it. - A held start names its Lineage, so a cooking whose recipe was deleted or went out of sight lands in the diary with no recipe. - A cooking's note, rating and Photographs each remember when they were written (migration 74); an older write changes nothing. - Held writes send the phone's clock as sent_at, and the Core moves their times onto its own clock. Closes #537 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLfbxqk2fCBocqsQ5tA
…held-changes Keep a cook's offline library and held changes, and land offline cookings (#537)
Revoking an Add-only key, a new password that ends every key, a recovery and a disabled account cancel the Jobs that key started, waiting or held by a Runner, and a Job of an ended Add-only key asks for no more. Each Job records the Access Key that asked (migration 75). The agent keeps reading the library for a phone's Job: recipes are not secrets, and ADR 0055 records the accepted risk. The model relay sends on only a request for a model's answer and the list of models, by path, in the dialects the providers opencode reaches share. Batches, files, fine-tuning and the rest are refused with 403 before they reach the provider. The fence refuses every IPv6 address, which a home network's devices hold publicly, and says when its rules are in place through an abstract socket in the network it fences. The agent waits a minute for that and starts no Job without it. Closes #539 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLegnma1twYFer7Fo7b
…-reaches Close what a tricked agent reaches past its Job (#539)
"Boodschappen" made its tab a third of a phone's bar wide and crowded the other four, since #496 gave each Dutch tab its word's width. The bar now says "Lijstje", the spoken short form, and the five tabs share it evenly as in every other Language. The rail keeps its 128px for "Instellingen". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013rPDLiRuBoxYfQJUEtSDrB
Say "Lijstje" on the Dutch tab bar, and share the bar evenly
Sets the version to 0.6.0 in Cargo.toml, Cargo.lock, ui/package.json, ui/package-lock.json, and dates the changelog's Unreleased section as v0.6.0. Made by `just release-prepare 0.6.0`.
Prepare the v0.6.0 release
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.
Releases v0.6.0: merges
devintomain.The release was reviewed on the version-bump pull request, #618.
just release-publish 0.6.0merges this pull request, and refuses while any box in that pull request's checklist is unticked. Publishing waits for the maintainer to approve the release title and notes.