Blackcap Release Notes
Select a version to see its changes. Version entries and technical details are collapsed by default.
Version roadmap โ Alpha, Beta and general availability
Blackcap will remain below 1.0 while it is in Alpha and Beta. The pre-1.0 feature milestones are:
- 0.7.x-alpha: The application is generally complete, with a few major features still to deliver. Minor releases within this phase deliver and refine major feature sets.
- 0.8.x-alpha: All planned backend features are present.
- 0.9.x-alpha: All planned features are present, including the new user interface.
- 0.9.1-beta and subsequent 0.9.x Beta releases: Iterate on and stabilize that interface, while validating the full product.
- 1.0: General availability once the complete product has been proven out.
The -alpha or -beta suffix identifies release readiness; the Git-derived build number, when available, identifies the specific code revision without changing these milestones.
v0.7.4-alpha โ Bramble Harvest and expanded games
- ๐ฑ Bramble Harvest: Added a full garden game with seasonal growing, crop care, produce sales, customer orders, reputation, upgrades and shared gardens. Garden difficulty and stamina make planning more important on higher levels.
- ๐ฎ More games: Expanded the selection of arcade, puzzle, card and trivia games, including Flavor Lab and Bramble Harvest.
- ๐จ Better play experience: Improved game artwork, guides, controls, responsive layouts, fullscreen play and accessibility across the Games page.
- ๐พ Saved progress: Strengthened saved-game continuity and multiplayer garden play.
- ๐ฑ Mobile-friendly Admin console: Improved responsive reading and control order on Home, Recipe Library, Ingredients configuration, and Recipe Memory. On phones in portrait orientation, Recipe Library action buttons now appear below each recipe and expanded actions wrap inside the card instead of being clipped; desktop and landscape layouts are preserved.
- ๐งช Admin mobile regression coverage: Added an optional Admin mobile responsiveness checkbox to user-initiated regression runs. Lightweight browser checks cover Admin navigation, key pages, and Recipe Library actions at phone portrait and landscape sizes, using recipes created earlier in the regression organization. The Admin UI remains a secondary mobile surface alongside the dedicated Mobile UI and planned simplified responsive UI.
For current Bramble Harvest instructions, see the player guide.
v0.7.3-alpha โ Create Recipe, Combine Recipes and Plan Meals
Recipe creation and discovery
- โจ Create Recipe: Generate an original recipe from a description, recipe type, servings, guidance and dietary preferences, then review ingredients, cooking steps, timings and estimated nutrition before saving. The Create Recipe AI use case has independent Quality Profiles (database migration 263) and retains the normal Git-derived build identifier.
- Readable Recipe IDs: Newly saved Adapt Recipe, Bulk Adapt, Combine Recipes, and original Create Recipe results use a slug derived from the final reviewed name (for example
dairy_free_oat_bake). Duplicate names within an organization receive a numeric suffix; existing Recipe IDs and variant links are preserved. - ๐ผ๏ธ Optional image: Generate an image using the separate Create Image profile, Seed source and explicit confirmation. A selected image can be kept when retrying recipe text, or regenerated with a newly confirmed image charge.
- ๐ Recipe Discovery: Find an existing online recipe or start Create Recipe directly. Recipe Ideas entered from Meal Planner prefill the creation request; saved results can be assigned to the originating Meal Slot without unnecessary Quick View navigation. Editing while a slower Pi loads AI options no longer clears text.
Combine and Bulk Adapt Recipes
- ๐ Compare and Combine: Single Adapt Recipe can compare two organization-owned recipes with dietary-aware options and an estimated similarity meter. Choice groups now distinguish one-of-many alternatives, compatible multi-select attributes (with Select both), and AI-adjusted preparation such as baking time and layering. Optional additions, such as bacon, are independent of unrelated seasonings. The final recipe reconciles crust/topping structures, quantities and doneness rather than inheriting either source baking time. Source-aware recovery now recognizes distinct top-batter/bottom-pastry layers even when the provider incorrectly labels them as mutually exclusive, without ignoring dietary incompatibilities. Older comparisons stay single-choice. A second provider request is charged only if generation is confirmed and needed.
- ๐ Drag recipes to combine: Drag a Saved Recipe thumbnail onto a different Recipe card to open single Adapt Recipe with the drop target as the original and the dragged Recipe preselected under Combine with Another Recipe. Self-drops do nothing. Existing Recipe Cart drops remain unchanged; no AI request is sent until the normal Seed confirmation.
- ๐งช Combination fixture: The regression harness now checks the two cheeseburger-pie structures and optional bacon as independent composable choices, including an actual overexclusive crust response from a real provider, with AI-adjusted baking, in both real and synthetic test modes without an extra billable provider request. Suite
2026.10.25.create-combine-plan-ai.12. - ๐ช Bulk Adapt: Select up to 25 recipes and adapt in one provider request with independent per-recipe review. The purple, four-column Seed calculation shows the base/included Recipes, additional recipe blocks and the server-quoted total before confirmation.
- ๐ณ Seed accounting: Combination comparison and generation have separate reservations and settle independently. Unused generation reservations are released. Bulk Adapt charges once per batch; Review, Save and Finish Review do not incur another AI charge.
Plan Meals and AI Usage
- ๐ Plan Meals: Choose a compact maximum of 1โ4 AI-created recipes per eligible Meal Slot (default 1), with optional AI images using independent Quality Profiles. The purple pricing table shows a planning-only minimum and a maximum that includes the allowed recipe/image requests. Confirming reserves the maximum once; the validated Plan Meals charge and actual child generation charges draw from that same hold, and unused Seeds are released without double-reservation. Existing Library recipes and Recipe Discovery take priority when configured.
- ๐ Recovery and assignment: Background Plan Meals recipe jobs do not reopen as interactive drafts. Active child jobs are reused rather than submitted twice; generated recipes replace their unresolved Recipe Ideas. Previously completed child results can be recovered without another paid provider request. Newly created recipes assigned to a Meal Slot follow the existing optional-delete eligibility rules when that meal is removed.
- ๐ AI Usage: Combine Recipes has a two-step What Happened view. Each step shows request context on the left and provider output on the right; selected comparison options are highlighted before the final recipe. Separate underlying provider transactions, Seed settlements and technical evidence remain auditable.
Technical details and validation
- Database: Schema 263 is required to register independent Create Recipe profiles. Subsequent 0.7.3-alpha UI, accounting, and recovery updates introduce no further schema migration. SQLite/Pi and PostgreSQL/GCP continue to use the shared migration process.
- Job safety: Original creation and optional image generation share durable provider leases with recovery workers. Unknown outcomes must not be resubmitted automatically; provider identifiers and Seed settlement should be checked before any user-confirmed retry.
- AI regression: System Admin normal and diagnostic-clone runs cover real and synthetic Create Recipe and two-stage Combine via Adapt Recipe; the normal Plan Meals regression additionally covers original creation with and without an image. Profile selection follows the lowest eligible configured Seed price for each use case; completed jobs, recipe persistence, Meal Slot assignment, image ownership and settled Seed/AI Usage entries are verified. Missing eligible real providers cause Skipped, never an unannounced synthetic fallback. Non-functional page-layout and removed-button tests are excluded.
- GCP regression follow-up: Corrected Adapt Recipe job initialization and optional Create/Combine profile handling, allowing the complete suite to continue even if a new AI fixture fails. Recipe Discovery recovery SQL now uses an approved data-access service, and the Direct SQL Audit reports the first actionable finding in regression exports. Suite
2026.10.24.create-combine-plan-ai.5has a shorter high-level description. - Regression completion follow-up: Synthetic Create Recipe, two-stage Combine, and Plan Meals recipe/image tests select their run-owned persisted profiles instead of being skipped for missing real-provider configuration. Missing synthetic fixtures fail visibly; missing optional real profiles still skip. Regression result emails now always offer an email-preferences footer, using the Tracker recipient link when available and the public Consent page otherwise.
- October 24 synthetic AI regression fix: The new recipe creation and Plan Meals tests now read decoded JSON from the same shared regression HTTP response field as established tests, so valid HTTP 202 job submissions and server-quoted recipe/image Seed ceilings are evaluated correctly. The run-scoped synthetic Create Image adapter is permitted through image capability validation using only its exact model and output format; job authorization and organization isolation remain enforced. Plan Meals also explains the 1โ4 recipe-per-slot maximum in its tooltip.
- Bulk Adapt real-provider profile selection (October 24): Bulk generation now resolves the same
adapt_recipeQuality Profile that its options and capacity quote use, rather than inadvertently resolving a similarly namedcreate_recipeprofile. This keeps token limits, provider selection and quoted Seed cost consistent. The capacity safeguard still rejects undersized requests without reserving Seeds. Regression suite2026.10.24.create-combine-plan-ai.10. - Regression SQL Audit stall recovery (October 24): Source scanning skips excluded virtual-environment, generated and vendored directories before traversal; progress persistence is reduced and identifies the last scanned file. System Audit no longer reuses stale jobs after worker restarts and also enforces a maximum audit runtime independently of heartbeats (Direct SQL: five minutes; Database Parity: ten minutes). Abandoned jobs are safely cancelled so a late worker cannot resurrect their results. Regression audit waits are bounded and report the tracked job ID and last progress. Suite
2026.10.24.create-combine-plan-ai.9. - AI-created recipe source URLs (October 24): Original recipes created directly or through Plan Meals, and adapted/combined recipes, do not inherit web-source hints or the Blackcap home URL. Their source URL stays blank, and recipe/Meal Slot readers suppress stale links from older generated records while preserving View Source for genuine imported web recipes. No change to recipe IDs, generated images or AI Seed charges.
- Plan Meals generated-image organization context (October 24): Scoped original-recipe and optional-image child jobs, including image attachment and cache refresh, to the parent Plan Meals organization rather than an unscoped background worker default. Regression verification now uses the same organization when reading the saved recipe image. Fixes the synthetic GCP โRecipe not foundโ error following a successful original save; no recipe IDs, provider costs or Seed reservations are changed. Suite
2026.10.24.create-combine-plan-ai.8. - Plan Meals image verification and result counts (October 24): Added actual AI-created Recipe and saved Image totals to the completion view, including failed-image counts. Optional inline image generation now waits for the existing leased job when another worker owns it rather than reporting a premature failure. Improved failed-image regression details. Regression suite
2026.10.24.create-combine-plan-ai.7. - Original GCP regression repair (October 24): Updated seven Plan Meals maximum-Seed reservation queries to explicit column projections required by the Direct SQL Audit, without changing reservation or settlement behavior. Fixed the regression Plan Meals job-poll URL encoder being shadowed by an HTTP quote response, allowing original-recipe and optional-image lifecycle checks to continue. Regression suite
2026.10.24.create-combine-plan-ai.6. - Scope: Release remains
0.7.3-alpha(development). Local unit/contract and compilation checks are not substitutes for live Pi/GCP verification of multi-step AI requests, Seed balances, meal assignments and recovery.
v0.7.2-alpha โ Bulk Adapt Recipe, recipe editing and regression improvements
- ๐ช Bulk Adapt Recipe: Select up to 25 recipes in Recipe Library and adapt them in one AI provider request using shared dietary preferences or adaptation instructions. Preview the AI Seed charge before starting; pricing counts Recipes, not Recipe Slots. Each result has its own thumbnail, original-recipe link, editable review and save action. Review navigation, progress counts and โ Finish Review make it clear what is saved or discarded; the last save leads to a completion screen. The review no longer re-fetches the entire job after each save or jumps to the top when a late progress update arrives. One durable job and one AI Usage event record the batch, with expandable per-recipe evidence.
- ๐ณ Adapt Recipe pricing and source tracking: Missing bulk-pricing defaults are repaired without overwriting valid custom settings. The Adapt Recipe Quality Profile no longer shows the unrelated Find & Add AI Seed Surcharge. Saved adaptations use the distinct Recipe Adaptation source type in Stats for Geeks, Recipe Library filters and other source-aware views.
- โ๏ธ Recipe editors: Edit Recipe Metadata stays the quick editor, with an Edit Content shortcut that warns about unsaved changes; its Clear button is shown only when creating a recipe. Edit Recipe Content is the full editor, including Recipe Type, source details, file type, layout, source URL and Cookbook Categories, as well as ingredients, steps, timing, notes, nutrition and adaptation details. The full editor now has the standard default-display status pill, a consolidated image chooser (upload an image or โจ Generate AI Image), and no redundant Back to Recipes button. Image generation opens its dialog promptly, with unsaved content saved before generation is allowed. Manual Add, Metadata and Content action bars use consistent anchored buttons, Cancel labeling and neutral hover styling.
- ๐งช Regression provider modes: Manual and scheduled regression runs can independently select Use real AI providers, with synthetic mode the default. Both modes use the same test fixtures; synthetic providers also cover single and bulk Adapt Recipe, while real mode submits the fixtures through the configured provider. Missing real-provider credentials or eligible Quality Profiles result in Skipped, not Failed; an actual provider request that fails remains Failed. The provider mode is preserved with each run and shown in run details. Existing schedules remain synthetic unless explicitly changed.
- ๐ Browser regression coverage: Added optional browser-driven regression scenarios for Manually Add Recipe, Recipe Library Add, Edit Recipe Content and Edit Recipe Metadata. They exercise the real forms and save workflows, verify persisted recipe and Cookbook Category data, and use disposable recipes in the regression organization. These scenarios require the browser / Chrome Extension integration option.
- ๐ Account security: MFA trusted-browser recognition tolerates routine browser-version updates while retaining the 90-day expiry and secure cookie/token checks. Existing exact User-Agent trust records remain usable until renewed.
- ๐งญ Self-hosted onboarding: The first-login setup guide covers email, SSO, AI providers, shopping integrations, displays, backups and other UI configuration for Raspberry Pi and general Linux/GCP installations.
Technical and deployment details
- Batch AI: Bulk Adapt Recipe uses the existing durable AI job framework and AI Seed reservation/settlement; accepted results are saved as independent recipes with their own cache render jobs. Provider-specific output capacity is estimated from selected recipe content, including JSON/reasoning headroom, and inadequate batches are rejected before Seed reservation with a suggested smaller batch size. Provider prompts avoid duplicate source data and name every required recipe ID. An incomplete batch is rejected in full, releasing Blackcap AI Seeds (external API charges may still apply). Recipe-count-aware button and progress labels distinguish single and bulk adaptation. The save response returns without synchronously reloading the batch or waiting for the cache renderer.
- Database migrations:
260_recipe_adaptation_source.pyreclassifies adaptations;261_adapt_recipe_bulk_seed_pricing.pyrepairs unset pricing defaults; and262_regression_schedule_ai_provider_mode.pystores the scheduled-run provider choice independently of the manual-run setting. Apply the normal migrations on SQLite and PostgreSQL when upgrading. - Regression execution: Synthetic mode does not require paid AI provider calls. Real mode may incur external provider costs; missing prerequisites skip the affected AI check. The synthetic bulk Adapt Recipe adapter understands the optimized batch prompt and its explicit source IDs. Single Adapt Recipe saves validate the canonical source link and durable editable content, not the mutable cache-output file type, so successful saves are not falsely failed. New recipe-editor browser scenarios require the browser integration option and normal regression-organization permissions and cleanup. Verify live browser and real-provider execution on the target installation.
- Regression count reconciliation: Active and Historical run totals now match Run Details, including extra manual/diagnostic activity rows displayed with decimal step numbers. Per-environment counts remain correctly organization-scoped and are labeled accordingly. Atomic counter updates prevent concurrent formal and activity writers from overwriting each other; historical display totals are reconciled from the saved result rows. No migration or version change.
- GCP/Pi regression follow-up: Corrected synthetic Support Chat execution through the paid-provider safety guard without permitting real AI submission; added an isolated temporary synthetic Support Chat profile when no configured Quality Profile is available, without changing the global default; moved regression-fixture SQL into the regression data-access boundary; fixed the Recipe Library Edit Metadata action-drawer interaction and switched browser recipe lookup to flat results when category folders are collapsed; and hardened Edit Content browser-save verification against discarded JSON response bodies during navigation while preserving saved-data checks. Regression tests cover these safeguards. No new migration is required.
- Regression stability (October 19): Shared synthetic Support Chat setup now runs for normal, resumed and diagnostic testing without a real provider. The browser recipe-editor tests refresh newly created Cookbook Categories through the authenticated library API and wait for the Recipe Library action drawer to settle before selecting Edit; the latter retries boundedly after a live results redraw. No schema update is required.
- Real-AI Plan Meal regression stabilization (October 20): Whole-Meal image validation now counts usage created by that image job, not earlier image activity in the same regression organization. Moving a Meal checks that no additional AI Usage was generated and ensures follow-up checks use the destination date after a successful move. This fixes false image-count failures and the dependent Plan Meal/Letโs Cook failures. No database migration or provider billing behavior changes.
- Real-AI regression coverage parity (October 20): Real-provider regression runs no longer substitute a one-result smoke test for the detailed Plan Meal, Plan Meals or Support Chat suites. They run the same source fixtures and lifecycle assertions as synthetic mode, through genuine configured providers. Real image generation now includes the AI Usage privacy, preview, pending-selection and recipe-save checks. Response-dependent assertions permit valid model variation, but durable state, Seed settlement and usage correlation are still required. Unavailable providers result in Skipped; deterministic forced provider-failure injection remains synthetic-only and is explicitly skipped in real mode. Because the full real lifecycle uses repeated AI requests, real regression costs and duration will increase. No migration required.
- Real-AI regression accuracy (October 19): The Plan Meal real-provider test now reads the accepted steps from the saved plan's nested
plan.plan.stepsfield, matching the established persisted-plan API. A successful Gemini/other provider job is no longer falsely failed because the runner looked for steps at the wrong level. The test still checks saved-plan status, duration, job correlation, settled AI Seeds and genuine provider usage, and names failed checks explicitly when something is wrong. No provider or database behavior was changed. - Compatibility: Adapted recipes continue to use the existing editable-cache format internally, so recipe rendering and PDF/image-cache integration remain compatible.
- Version:
0.7.2-alpharetains its alpha suffix and Git-derived build identification when available.
v0.7.1-alpha โ Adapt Recipe, recipe relationships and AI improvements
- ๐ช Adapt Recipe: Create a separate recipe tailored to dietary preferences or custom instructions without changing the source. Review substitutions, ingredients, cooking steps, times, cleanup and AI-estimated nutrition before saving. Quality Profiles and AI Seed funding work like other Blackcap AI tools.
- ๐ฒ Variations and ๐งฌ Adapted badges: Move between source recipes and adaptations directly from Recipe Library and Quick View. A recipe with multiple variations shows a selector with thumbnails, descriptions, dietary restrictions and color-coded time/effort information.
- Adaptation details: Saved dietary preferences and the adaptation request appear in a collapsed, read-only Quick View panel and can be edited through the existing Edit Metadata or Edit Recipe Save buttons. Changing only these details does not mark the recipe as edited or rebuild its PDF/image cache.
- Recipe history: Deleting a source recipe that still has adaptations makes it Held, keeping its content and links available until the dependent recipes are permanently removed. Creating an adaptation never hides or changes its source.
- AI reliability and visibility: Adapt Recipe jobs resume after a closed dialog or service restart, avoid duplicate requests, and show provider-specific steps. Close preserves a running job; Cancel discards a completed, unsaved review. The step tracker uses Image Generationโs completed/current/pending markers, including a separate provider-submission step. Newly saved adaptations refresh Recipe Library without a page reload. AI Usage now includes an Adapt Recipe summary and a What Happened view with the source, request and generated result.
- AI model management: Provider refreshes identify retired models, remove unused deprecated catalog entries, and warn when an existing Quality Profile still references a deprecated model.
- Recipe Library polish: A compact, left-opening action drawer and improved badges/Quick View actions make related recipes easier to use. Dietary adaptation details appear in Home, Meal Planner, kiosk, and Letโs Cook selectors; Meal Planner recipe lookup rows keep their full height, including long adaptation details, even in a large scrolling result set. Adapted recipes get independent images and editable content, and their completed saves enqueue the normal durable cache renderer.
Technical and deployment details
- Database: Apply migrations through schema
259on SQLite and PostgreSQL. Migration 259 retains per-run AI spend summaries; migration 257 adds organization-scoped recipe relationships, adaptation metadata, Held lifecycle fields and lookup indexes; migration 258 changes historical 30-day AI data-retention defaults to seven days. - Regression reporting: Run Details now shows charged AI Seeds and estimated provider costs with a per-use-case hover summary. Exports include approximate Seed spend per test. The run snapshot is retained after regression-organization cleanup; use the regression organizationโs AI Usage page for detailed transactions while available.
- Letโs Cook recipe selector: Search tiles expand to fit dietary adaptation badges and instructions, with aligned heights across each grid row and no overlapping selection controls.
- Regression: Standard System Admin runs exercise one real Adapt Recipe generation using the lowest-cost enabled Quality Profile, normal Seed reservation/settlement, saved AI Usage evidence and Held/purge safeguards. Diagnostic-clone regression runs execute the same real-provider Adapt Recipe checks within the isolated clone, while configuration-only clones make no provider call. Run Details shows charged Seeds prominently and an estimated provider-cost secondary value; tests with internal providers can have Seed charges but no external provider cost. The shared Made It review save now updates only its target recipe rather than rewriting the entire recipe repository.
- AI setup: Adapt Recipe starts disabled. Enable it and configure its Quality Profiles, provider models and Seed funding before use. Work continues through Blackcap's existing durable AI job and usage infrastructure; no additional worker or cron service is required.
- Data and cache: An adaptation has its own recipe ID, content, thumbnail and cache job. Its source link and descriptive adaptation details stay in the recipe database, independent of generated PDFs/images. Metadata-only edits do not trigger a render.
- Upgrading: Back up the application database, apply the usual deployment/migration process, and check recipe adaptation, cache rendering and AI Usage on the target environment. In particular, validate PostgreSQL/GCP separately from Raspberry Pi testing before promotion.
- Version:
0.7.1-alpharetains its prerelease suffix. A genuine Git commit count and commit SHA are displayed where available; source-only installations do not invent Git provenance.