Chapters

Docs App frameworks

Platform parity

BifrOSt tracks its coverage of the reference platform's SDK framework by framework. This chapter explains the parity matrix, how to find out whether a capability already exists before you build it, and the pure models the parity rounds added to the SDK.

The parity matrix

The matrix lists every framework that the reference platform's official developer documentation publishes for its desktop OS 27, 246 frameworks and parts in all. AppKit, Foundation, SwiftUI and AVFoundation are split into parts by their official topic sections. Each framework has feature rows. Each row names the reference API, the BifrOSt counterpart with a path in the repository, a status and a note.

Parity
An app-facing API covers the feature, and it works on the test PC.
Partial
Some of the feature exists, or it exists as a tested model that is not yet wired into the shell or an app.
OS only
The system layer has the capability, but apps get no SDK API for it.
Gap
Relevant to a desktop like BifrOSt, and missing.
n/a
Tied to the reference vendor's own hardware, stores, services or other platforms.

Two numbers summarise the matrix. Coverage weighs each applicable row: Parity counts 1, Partial and OS only count half, Gap counts 0. Built is the share of applicable rows at Partial or Parity. On 24 October 2026 (system 0.10.27) coverage is 73.4% and built is 99.0%, over 1974 applicable rows.

The matrix has 2449 feature rows: 929 Parity, 1025 Partial, 15 OS only, 5 Gap and 475 n/a. No framework is Parity as a whole yet. Of the 246 frameworks and parts, 171 are Partial, 16 are OS only and 59 are n/a.

App Frameworks
Coverage 74.7%, built 98.6%.
App Services
Coverage 75.7%, built 99.2%.
Developer Tools
Coverage 85.5%, built 100%.
Graphics and Games
Coverage 64.8%, built 99.6%.
Media
Coverage 68.4%, built 99.0%.
System
Coverage 77.1%, built 98.5%.
Web
Coverage 71.9%, built 100%.

What changed since 12 October: parity and wiring waves built a row for almost every feature, and 929 rows are now Parity. Coverage rose from 33.8% to 73.4% and built from 52.3% to 99.0%. Five Gap rows remain. The rest of the work is the missing features inside Partial rows.

A second matrix tracks the OS layer: the apps, daemons, command-line tools, frameworks, drivers, settings, shaders and assets of the reference OS 27.0.1 build, 6807 components in all. On 24 October its coverage is 98.9% over 3540 applicable components: 3465 Parity, 36 Partial, 39 OS only and none Gap. On 22 October a verification run on the test PC and the host moved it from 52.1%. For rows backed by unit tests, Parity means the tests pass on the host and the files are on the test PC, not a full end-to-end run.

The generated page is docs/apple-parity-matrix.md in the bifrost-os repository. The data behind it is one JSON file per framework in docs/parity-matrix/data/.

Find a capability before you build it

The bifrost pc parity command reads the matrix. Search it before you write a new module; the parity rounds added more than 200 modules, and the one you need may exist under a BifrOSt name.

bifrost pc parity search "multi-line rich text view"
bifrost pc parity show "user notifications"
bifrost pc parity coverage --group "App Services" --sort coverage
bifrost pc parity gaps --group Media
search QUERY
Semantic search over every feature row. The rows are embedded on the development server and the nearest ones are reranked, so a query in plain words finds the reference name and the BifrOSt path. --status gap,partial limits the rows, --top N sets how many to print.
show NAME
One framework's rows: reference API, BifrOSt path, status and note.
coverage
Coverage per framework. --group, --sort coverage, --min and --max filter it; --json prints it for scripts.
gaps
What remains, lowest coverage first.
status
Created against remaining, overall and per group, with both numbers.
os-status
Coverage of the OS layer, per category of component.

Pure models in the SDK

The parity rounds add capabilities as pure models first: plain Rust with the standard library only, no device access, and unit tests on the host. A model holds the state and the rules of a feature, such as an array controller's selection, a recurrence rule, a vCard parser or a histogram. Drawing and system wiring come later, in the shell or the app that adopts the model. Until then the matrix marks the feature Partial.

Use a model directly when it fits. The bifrost_ui crate is reachable from apps as bifrost_app::controls, and the other crates are dependencies of the SDK. Each model has a note in docs/parity/ in the repository, with the reference names it mirrors and the gaps that remain.

Note

Code in BifrOSt never uses the reference platform's product names. Models take BifrOSt names, so search the matrix rather than the code for a reference class name.

Module index

The modules added by the first two parity rounds, by crate, with the first line of each module's own documentation.

bifrost_app: App-facing SDK modules (27 modules)
ModuleWhat it is
bifrost_app::accountsAccounts (`ACAccountStore`, `ACAccount`, `ACAccountType`, `ACAccountCredential`, `ACErrorCode`): the user's external accounts (a mail or social service with OAuth 1 or OAuth 2 credentials), kept for the app.
bifrost_app::distributedDistributed parity: remote call targets, typed invocation encoding and decoding, the result handler protocol, a local testing actor system, and the errors a call can end with.
bifrost_app::donationIntent donations: the app tells the shell that the user did an action, so Search can suggest it again later.
bifrost_app::donationsDonations and discovery (`IntentDonationManager`, `RelevantIntentManager`, `RelevantIntent`).
bifrost_app::errorFoundation error parity: an error with a domain, a numeric code, a user info dictionary and the strings an alert shows (`localizedDescription`, `localizedFailureReason`, `localizedRecoverySuggestion`, `localizedRecoveryOptions`, `helpAnchor`, `underlyingErrors`).
bifrost_app::extensionApp extensions for apps: the extension points a host app declares and the extensions a package provides for them.
bifrost_app::file_manager`NativeFileManager` parity (Foundation, "File System"): the everyday item operations an app needs on top of `std::fs`.
bifrost_app::file_providerFile provider domains, provider errors and enumerator signals (`domain manager`, `provider domain` and `provider error` parity).
bifrost_app::inferenceTyped inference signatures: `InferenceFunctionDescriptor`, `InferenceValue` and `ImageDescriptor`.
bifrost_app::intent_resolveParameter resolution for App Intents: the steps that run before `perform_intent`.
bifrost_app::multipart`addMultipartData(_:withName:type:filename:)` parity: a `multipart/form-data` body for an upload.
bifrost_app::music_understanding`MusicUnderstanding` for apps (see `docs/parity/music-understanding.md`): run analyses over audio the app already holds and get time-stamped results.
bifrost_app::ndarrayMultidimensional arrays: `NDArray`, `NDArray.ScalarType` and `NDArrayDescriptor`.
bifrost_app::observable_object`ObservableObject` parity (Combine): a model object announces its changes through one aggregate publisher, `objectWillChange`, rather than through one publisher per property.
bifrost_app::process_eventsProcess event records and the subscription set that filters them: process signal, working-directory and root-directory changes, interprocess events (trace, remote thread, suspend and resume), and mount, unmount and remount events.
bifrost_app::reviewReview prompts (`RequestReviewAction`): an app asks for the store's rating prompt, and the store decides whether to show it.
bifrost_app::save_syncSynced save directories (`GameSave` parity): an app's save files in one container directory, with the state and conflict model of `bifrost_ui::save_sync`.
bifrost_app::script_syntaxScript syntax check parity: tells whether a script is well formed before it is run.
bifrost_app::script_valueScript value parity: a typed model of the values that cross between an app and a script.
bifrost_app::signpostSignposts for apps: named intervals and events that a profiler pairs up and measures.
bifrost_app::socialService request assembly (`SLRequest` parity, see `docs/parity/social.md`): an app builds the HTTP request for a web service from a method, a URL, parameters and optional uploads, then sends it with `URLSession`.
bifrost_app::stream`InputStream`, `OutputStream` and `Stream.Status` parity for in-memory byte streams: `InputStream::with_data` reads a byte buffer, `OutputStream::to_memory` and `OutputStream::to_buffer` collect the bytes written to them.
bifrost_app::synchronizationSynchronization parity: `Mutex` with closure-scoped locking, `Atomic` integers with an explicit memory ordering per operation, `AtomicLazyReference` and `atomic_memory_fence`.
bifrost_app::transfer`Transferable` parity (`TransferRepresentation`, `DataRepresentation`, `ProxyRepresentation`, `TransferRepresentationVisibility`): one declaration per app model type of the representations it moves as through copy, paste, drag and share.
bifrost_app::translation`TranslationSession` parity: a session between one installed source and target language that translates single strings or batches through an engine the app supplies (`Translator`), and can be cancelled.
bifrost_app::url_components`URLComponents` and `URLQueryItem` parity: `URLComponents::from_string` splits a URL into scheme, user, password, host, port, path, query items and fragment.
bifrost_app::visual_searchVisual search for apps: an app answers "what in my content matches this scene?" for a scene the user captured with the camera or selected in a screenshot.
bifrost_ui: Pure models (bifrost_app::controls re-exports the crate) (143 modules)
ModuleWhat it is
bifrost_ui::access_controlAccess control for stored secrets and authorization rights.
bifrost_ui::actionrequestThe request behind one chosen file action: the action, the items it runs on, and the single outcome the hosted view reports back.
bifrost_ui::affineAffine transforms: a 2x3 matrix that maps points and rectangles (the transform type of the reference SDK, without the graphics-context stack).
bifrost_ui::agentsAgents that steer themselves in two dimensions.
bifrost_ui::analysisText selection over recognised text in an image: the model behind a system image-analysis overlay's text selection, in pure Rust.
bifrost_ui::analyzer_inputTime-coded audio input for a speech analyzer.
bifrost_ui::assetpackAsset packs (`AssetPackManager`, `AssetPackManifest`, `AssetPack`): the manifest of packs an app can download, the local state of each pack (version, removal, updates), language-matched pack selection and installed sizes (`SizeCalculationMethod`).
bifrost_ui::audio_hardwareAudio hardware object model: device containers (boxes), aggregate devices that combine several devices or taps behind one clock, and the list of client processes that have audio running.
bifrost_ui::audio_mixPer-track volume over a timeline: a level held from a time on, and linear ramps over a span.
bifrost_ui::audio_renderAudio render cycle: a render unit that fills a block of planar float samples from its render callbacks, an I/O unit that starts and stops the pull of those blocks, and a component registry that finds render units by a four-character description and creates them.
bifrost_ui::audio_sessionApp audio session model: the category an app declares (what it does with sound), the mode that refines it, the options, and the activation state.
bifrost_ui::ax_auditAccessibility audit (the checks of the Accessibility Inspector developer tool): walks the elements of a screen and reports what a screen reader or a pointer user would trip on.
bifrost_ui::bidiWriting direction and bidirectional text (the writing direction attribute of a text run, and the visual order of its runs).
bifrost_ui::blitBuffer fill and copy passes: a recorded list of byte-range commands over numbered buffers.
bifrost_ui::callCall state for a calling service: calls with a handle and a state, the requests a provider applies to them as one transaction, and the events an observer reads back (`NativeCallController`, `NativeCallTransaction`, `NativeCallObserver`).
bifrost_ui::camera_deviceCamera device model: what a connected camera holds (folders and files, as a tree), what its capabilities allow, deletion with one result per file, the locked state, the tethered-capture gate, the clock offset and the battery level.
bifrost_ui::captionsCaption preferences: the language stack, the display type, the look of caption text, highlights and windows, named profiles that each hold a full set of these, and change reporting.
bifrost_ui::capture_syncSynchronized capture: pairs samples from several capture outputs (a colour frame, a depth map, a batch of metadata) that were taken at the same moment, so the app receives them together.
bifrost_ui::chartChart geometry for data-driven charts: linear scales, automatic axis values, equal-width bins and pie or donut sector spans.
bifrost_ui::chart_axAccessible chart semantics: the descriptor a screen reader needs to speak a chart.
bifrost_ui::chart_marksMark geometry for data charts: point, rectangle and rule marks, line and area paths, sector outlines, annotation placement, and the conversions between data values and screen points.
bifrost_ui::clip_bufferRolling clip buffer (`ClipBuffer`): keeps the newest encoded frames of a stream for a fixed span and exports the last part of that span as a clip.
bifrost_ui::composePost composition model (the compose sheet's state, see `docs/parity/social.md`): the text, images and links a user has put into a post before it is sent, and the result the sheet reports when it closes.
bifrost_ui::compositionA composed timeline: media from source tracks spliced into one timeline, with gaps, removals and time scaling.
bifrost_ui::computeWhere a model's operations run (`MLComputeDevice`, `MLComputePolicy`): the devices present, the devices a policy allows, and the device one operation is placed on.
bifrost_ui::contact_accessAccess to the person's contacts for one app: the answer the person gave to the access prompt, and which contacts the app may see.
bifrost_ui::contact_cardContact card model: the rows a contact viewer shows for one contact and what each row can do.
bifrost_ui::contact_changesBatched saves and change history for a set of records (contacts, or any record type).
bifrost_ui::contact_fetchPartial records: a fetch names the fields it needs (its keys) and gets back a record that holds only those fields.
bifrost_ui::contact_groupsContact groups with subgroups: a tree of named groups, each holding contact identifiers.
bifrost_ui::contact_pickerContact picker model: the list a picker shows, its search, and the choice it returns.
bifrost_ui::content_rulesContent-blocking rules: a pure matcher that decides whether a page's request is blocked or let through.
bifrost_ui::context_windowContext window budget: estimates how much of a transcript fits in a prompt and keeps the newest turns that do.
bifrost_ui::controllerBindings controllers.
bifrost_ui::cursorCursor stack (`NativeCursor`): the shape the pointer shows is the top of a stack that code pushes and pops, plus a hide count and a hide-until-moved flag.
bifrost_ui::device_browserDevice browser: the cameras and scanners attached to the machine, and the add and remove events a browser reports as they come and go.
bifrost_ui::dock_tileThe app's Dock tile (`NativeDockTile`): the badge text, whether the tile carries the app-icon badge, and whether the tile must be drawn again.
bifrost_ui::docscanDocument scanning geometry: the page model of a system document scanner.
bifrost_ui::downloadDownloads started by web content: the state of one file a page asks to save, the name it is saved under (from the response's Content-Disposition header) and the progress shown while it arrives.
bifrost_ui::downloadqueueScheduled asset downloads (a download manager queue): essential downloads run before first launch, non-essential ones after it.
bifrost_ui::entitlementA ledger of the customer's purchases of the app's products: the transaction record, the latest purchase of each product, the purchases that entitle the customer on a day, refunds, and purchases the app has not finished yet.
bifrost_ui::environmentEnvironment values propagated through a view hierarchy (`EnvironmentValues`): a value set by a node is seen by its descendants, and a nested scope overrides it until the scope is left.
bifrost_ui::evaluationModel-quality evaluation: samples, scored metrics, summary statistics and tool-call trajectory checks.
bifrost_ui::extensionApp extensions: the extension points a host app declares, the extensions a package provides for them, and the registry that matches the two.
bifrost_ui::extensionsApp extensions: an app ships a scene, a custom UI that another app presents inside its own window.
bifrost_ui::featuresTyped model inputs and outputs (`MLFeatureValue`, `MLFeatureProvider`, `MLDictionaryFeatureProvider`, `MLBatchProvider`, `MLArrayBatchProvider`): named values that a model reads and writes.
bifrost_ui::fetchFetch requests over in-memory records (`NativeFetchRequest`): a predicate, sort descriptors, an offset and a limit.
bifrost_ui::file_providerProvided items of a file provider domain (`provided item` parity): the identifier, the capability set, the filename rules and the type and creator codes a provider reports for each item it manages.
bifrost_ui::fileactionActions a provider adds to the context menu of the system document browser: typed action identifiers, a registry of the actions each app offers, and the rule that decides which of them apply to a selection.
bifrost_ui::frame_rateFrame-rate ranges an app asks for (`CAFrameRateRange`, `CADisplayLink.preferredFrameRateRange`) as a pure model.
bifrost_ui::gamepadGamepad input model: the physical elements of a controller and the state they add up to, fed from raw evdev `(type, code, value)` records.
bifrost_ui::gattGATT client model for the central role: UUIDs, characteristic properties, attribute permissions, the discovered service / characteristic / descriptor tree, and the attribute requests each operation produces.
bifrost_ui::generation_schemaStructured output: a schema for the shape of a generated value, and a check of a value against it.
bifrost_ui::geoMap coordinates on a Web Mercator projection: `NativeCoordinate`, spans, regions, projected points, sizes and rectangles, great-circle distance and distance strings.
bifrost_ui::geofenceCircular geographic regions and an enter and exit monitor for them.
bifrost_ui::gradientGradients: colour stops along a ramp, and the ramp position of a point for a linear or radial gradient (the gradient type of the reference SDK, without the context that fills with it).
bifrost_ui::graphA symbolic compute graph.
bifrost_ui::grid_graphGrid navigation: a rectangle of cells, some blocked, and the shortest route between two cells (A* search).
bifrost_ui::hid_reportHID report descriptors: parses the short items of a report descriptor into fields (elements) and a collection tree, and reads or writes one field's value inside a report payload.
bifrost_ui::historyA change history for a local store (`NativePersistentHistoryTransaction`).
bifrost_ui::identityIdentity directory: the user and group records that decide who can sign in and which groups a user belongs to.
bifrost_ui::indexsetSets of integers (`IndexSet`): sorted, disjoint, non-touching ranges, so a selection of a million rows costs one entry per run.
bifrost_ui::intent_resolveParameter resolution for typed actions: which input is missing, which entity text is ambiguous, which value does not fit its type, and whether the action should confirm before it runs.
bifrost_ui::languageLanguage and script identification for text: `NativeLanguageRecognizer` (the dominant language and the language hypotheses of a text, with hints and constraints), `NativeLanguage` (the language codes) and `NativeScript` (the writing system of a letter or of a text).
bifrost_ui::linalgVectors, 4x4 matrices and unit quaternions for 3D content (`NativeVector3`, `NativeVector4`, `NativeMatrix4`, `NativeQuaternion`).
bifrost_ui::linkmetaRich links as pure models: link metadata read from a page's head, a metadata provider state machine (start, cancel, timeout, complete), and a link view that shows a placeholder for a URL or a card for loaded metadata.
bifrost_ui::locationDevice location values: a position fix with accuracy, course and speed, the motion between two fixes, and a compass heading with its true or magnetic reference.
bifrost_ui::luDense linear systems: LU factorisation with partial pivoting, then solves and determinants from the factors.
bifrost_ui::markupMarkup documents (`NativeMarkupDocument`, `NativeMarkupOrderedSet`, `NativeMarkupID`, the element kinds and `NativeMarkupError`): an ordered set of vector elements with stable ids, undo and redo, and a text form that saves and reloads.
bifrost_ui::media_queryMedia library queries: a query picks items from a library by property predicates, orders them by one grouping key, and returns sections (a title and a range of positions per group).
bifrost_ui::media_searchMedia search requests: a person's audio search or playback request, classified into criteria, and matched against the app's own catalogue.
bifrost_ui::meshMesh layout for 3D content (`NativeMesh`, `NativeMeshBuffer`, `NativeSubmesh`, `NativeMeshBufferAllocator`).
bifrost_ui::metaqueryMetadata queries over file records (the system-wide search query model, `NativeMetadataQuery` parity): predicates on name, extension, kind, size and modification time, combined with all, any and not, then sorted and limited.
bifrost_ui::ml_tensorMulti-dimensional numeric arrays for model inputs and outputs (`MLTensor`): a row-major grid of `f32` scalars with a shape, reshaping, slicing along one axis (`MLTensorRangeExpression`) and element-wise minimum and maximum (`pointwiseMin`, `pointwiseMax`).
bifrost_ui::model_historyChange history with transaction tokens (`HistoryDescriptor`, `HistoryTransaction`, `HistoryChange`).
bifrost_ui::model_sessionA model session with profiles, dynamic instructions and typed session properties.
bifrost_ui::model_storeAn in-memory record store with a model-context style API: insert, fetch, change, delete, save and roll back.
bifrost_ui::musicMusic understanding: a session runs analyses over a mono audio buffer and returns time-stamped results (`MusicUnderstandingSession`, `SessionResult`, `RhythmResult`).
bifrost_ui::nav_policyNavigation policy for web content: which requests a page may make, and whether a response is shown or saved.
bifrost_ui::nnOutput sizes of windowed operators (convolution and pooling) and the scale factor of a Fourier transform.
bifrost_ui::notifattachNotification attachments: an image, audio or video file shown with a notification, and the thumbnail options that choose what part of it the card shows.
bifrost_ui::notifmediaPlay and pause on a notification card: the button the card shows for a media notification, where it sits, its tint, and whether it shows play or pause.
bifrost_ui::panePreference panes: a host (the Settings app) shows one pane at a time.
bifrost_ui::paragraphParagraph attributes (`NativeParagraphStyle`): alignment, indents, tab stops and line spacing, as geometry for a container width, a line width and a natural line height.
bifrost_ui::pathPaths: move, line, cubic curve and close elements, built by the app and flattened to polylines for filling, stroking and bounds (the path type of the reference SDK, without the context that draws it).
bifrost_ui::pdfpagePDF page geometry as a pure model: the display boxes of a page (media, crop, bleed, trim, art), the page rotation, the transform that maps page space onto a display box (rotated, origin at the box corner), aspect-fit sizing for page thumbnails, and the page size of a page made from an image.
bifrost_ui::playback_arbiterPlayback arbitration between participants: which registered app may play on an external output, and which may play when the route cannot carry two audio sources at once.
bifrost_ui::postalStructured postal addresses and their formatter: street, locality (city, state or region, postal code), country.
bifrost_ui::postal_addressStructured postal addresses and their mailing layout.
bifrost_ui::precipitationPrecipitation (`Precipitation`): the form of precipitation, the amounts by form (`PrecipitationAmountByType`), the snowfall amount (`SnowfallAmount`) and the next hour minute by minute (`MinuteForecast`, `MinuteWeather`).
bifrost_ui::preferencesPreferences: values that child nodes produce and an ancestor reads (`PreferenceKey`, `onPreferenceChange`).
bifrost_ui::previewData-based previews (`QLPreviewProvider`, `QLFilePreviewRequest`, `QLPreviewReply`, `QLPreviewReplyAttachment`) and thumbnail requests (`QLThumbnailGenerator.Request`), as pure models.
bifrost_ui::privacyPrivacy declarations an app ships in its package: whether it tracks people, which tracking hosts it contacts, the kinds of data it collects, and the required-reason system APIs it uses.
bifrost_ui::progressProgress tracking model (Foundation `Progress` parity): a tree of units of work with a total and a completed count, `fractionCompleted`, `isFinished`, `isIndeterminate`, cancellation, pausing and user info.
bifrost_ui::quadratureNumerical definite integration: adaptive Simpson quadrature over a finite interval, with the infinite ends handled by a change of variables.
bifrost_ui::reading_listA reading list: web pages saved to read later, newest first.
bifrost_ui::recognitionSpeech recognition results.
bifrost_ui::record_assetAssets attached to records: file bytes stored once per content digest, referenced by a small `Asset` handle.
bifrost_ui::record_storeRecord database: zones, records, references, queries and change tokens for an app's synced data.
bifrost_ui::record_syncSync queue, conflicts and error codes for the record database in `record_store`.
bifrost_ui::recordingRecording sessions (`Recorder`) and the trim range of a finished recording (`Trim`).
bifrost_ui::recordsearchRecord search with compound elements: a tree of comparisons on one property (or on any property) joined by a conjunction (all children match) or a disjunction (any child matches).
bifrost_ui::regexRegex parity (`Regex`, `Regex.Match`): a small pure-Rust pattern matcher for text search and extraction.
bifrost_ui::relationsRelationships between records, with delete rules and count limits (`Relationship(deleteRule:minimumModelCount: maximumModelCount:inverse:)`).
bifrost_ui::relevanceRelevance ranking for a stack of glanceable content: the relevance hint of a timeline entry, and the order of a stack.
bifrost_ui::save_syncSynced save directories: the state and conflict model behind an app's save container.
bifrost_ui::scanRecognised items from a live camera scan: text and barcode items, as a pure model.
bifrost_ui::scan_jobScanner device model: the functional units of a flatbed or document scanner, the scan settings, the session gate for protected scanners, and the state of one overview or full scan.
bifrost_ui::screenDisplays for apps (`NativeScreen`): the frame and visible frame of each screen in global points, the backing scale that maps points to device pixels, and which screen holds a point or a window.
bifrost_ui::scriptScript detection: which writing system each character belongs to, and the runs of one script in a string.
bifrost_ui::scriptingScripting object model: a scriptable application publishes a `Dictionary` of its classes, their properties and element arrays, and a `Target` reads and writes properties and finds elements by name, id or position.
bifrost_ui::searchqueryApp-side search queries: a query string run over an app's own searchable records, with the query context (fetch attributes, keyboard language, filter queries) and the searched fields chosen by the caller.
bifrost_ui::segmentText segmentation for `NativeTokenizer`: `Unit` (`NativeTokenUnit`: word, sentence, paragraph, document) and `tokens`, which returns the byte range of each token.
bifrost_ui::shadingLighting and fog evaluated per point on the CPU (`NativeBaseEffect` lighting, `NativeEffectPropertyLight`, `NativeEffectPropertyMaterial`, `NativeEffectPropertyFog`).
bifrost_ui::shapeShape geometry as pure data: subpaths of points, bounds, length and trimming.
bifrost_ui::speechSpeech synthesis models: an utterance (text plus delivery settings), a voice chosen by language tag, and a synthesizer that speaks its queue in order and can pause, resume or stop.
bifrost_ui::state_machineFinite state machines for game logic: named states, each with its own rules for what may come next.
bifrost_ui::state_reportState reporting: a named domain records one active state at a time.
bifrost_ui::subscriptionSubscription periods and renewal state for auto-renewing subscriptions: the duration between renewals (days, weeks, months or years), and where a subscription stands on a given day (paid, in a billing grace period, retrying a failed charge, or expired).
bifrost_ui::switch_scanSwitch Control item scanning (`AccessibilityTechnology.switchControl`): a highlight walks the elements of a screen in reading order, and one switch press selects the highlighted element.
bifrost_ui::symbol_effectSymbol effects for system symbol images (`SymbolEffect`, `DiscreteSymbolEffect`, `IndefiniteSymbolEffect`, `SymbolEffectOptions`, `ReplaceSymbolEffect`) as pure functions of time.
bifrost_ui::tensorTensor types for compute graphs: element data types, shapes with row-major strides, the broadcasting rule that element-wise operators use, and dense payloads whose byte length is checked against their type.
bifrost_ui::textfindFind bar model for a text (the find and replace actions of a text view): the query, its match options, every match in the text, the selected match and the "n of m" counter.
bifrost_ui::textlistText list markers (the list model of rich text): the marker drawn before each item of a list, from the list's marker format, its starting item number and the marker of the item it is nested under.
bifrost_ui::thumbnailThumbnails of custom file types (`QLThumbnailProvider`, `QLFileThumbnailRequest`, `QLThumbnailReply`), the generator's error codes (`QLThumbnailError.Code`) and progressive updates (`generateRepresentations(for:update:)`), as pure models.
bifrost_ui::timelineTimelines for glanceable content (`Timeline`, `TimelineEntry`, `TimelineReloadPolicy`): dated values, the entry on screen at a given time, and the instant the owner should be asked for a new timeline.
bifrost_ui::tipsContextual tips: short hints that point at a feature the person has not found yet.
bifrost_ui::trackingTracking areas (`NativeTrackingArea`): rectangles that report pointer enter, exit and move events.
bifrost_ui::transcriptA session transcript: the linear, typed history of one conversation with a language model.
bifrost_ui::transform3d3D transforms: a 4x4 matrix in the layout of the reference SDK's layer transform (`m11`..`m44`, row vectors).
bifrost_ui::translation`Translation` framework parity models: `LanguageAvailability` (which language pairs the framework supports and which are installed), `LanguageAvailability.Status` and the `TranslationError` cases.
bifrost_ui::vcardvCard 3.0 cards for contacts: read cards from text and write them back.
bifrost_ui::vector_opsVector arithmetic over slices of `f32`: element-wise and vector-scalar operations, dot products and reductions, strided access, clipping, decimal-to-decibel amplitude conversion, linear gap filling, decimation, and element-wise transcendental functions.
bifrost_ui::vertex_descriptorVertex layout: attributes, buffer strides and the packing rules that tie them together.
bifrost_ui::visual_searchVisual search model: a captured scene (a screenshot, a photo, or a frame of the camera stream), the object selection on a scene, the scene labels an app can match on, and the merge of the matches the apps return.
bifrost_ui::voice_activityVoice activity detection: a frame-by-frame decision on whether a mono signal holds speech, reported as the times speech starts and ends.
bifrost_ui::weather_alertWeather alerts (`WeatherAlert`): warnings issued for a place by a governmental authority, with their severity (`WeatherSeverity`), the data availability for a location (`WeatherAvailability`) and the ordering the shell uses to show the most serious warning first.
bifrost_ui::weather_attributionData attribution for weather (`WeatherAttribution`): the name of the provider whose data is shown, the legal page that carries its copyright notice, and the text an app must show when it cannot open that page.
bifrost_ui::weather_modelWeather models that need no network: the moon phase at a moment, wind (speed, gust and the compass direction it comes from) and a typed weather error that apps can match on.
bifrost_ui::widgetToday widgets that apps supply, as the shell's model of the widget protocol (`NCWidgetProviding`) and its controller (`NCWidgetController`).
bifrost_ui::widget_listThe list a Today widget shows its content in (the Notification Center framework's list controller).
bifrost_ui::workflowAn ordered workflow of steps (`NativeWorkflow`) and its controller (`NativeWorkflowController`).
bifrost_ui::writing_assistWriting assistance for a text view: the behaviour levels a view can ask for, the context the assistant may read, which kinds of result content it may return, and a session that holds proofreading or rewriting suggestions until the person accepts or rejects each one.
bifrost_core: System utilities shared by the shell and the SDK (28 modules)
ModuleWhat it is
bifrost_core::altitudeAltitude from air pressure: the standard atmosphere turns a pressure reading in kilopascal into metres above sea level, and a relative altimeter reports the height change since its first reading.
bifrost_core::app_linksWeb site to app associations: a site names the app that handles its paths, and a link goes to the enabled app whose path prefix is longest.
bifrost_core::biometryLocal authentication model: which biometric method the device has, the policies an app may ask for, the requirements that gate a stored secret, and the device's domain state that a stored secret is bound to.
bifrost_core::codereqCode requirements: tests of a program's signed identity, combined into expressions.
bifrost_core::disk_eventsBlock-device arrival, removal and description changes, computed as the difference between two snapshots, and an approval chain for mount, unmount and eject requests.
bifrost_core::extension_processExtension processes: the host-side table of processes that run app extensions, and the connection each one serves.
bifrost_core::gamepadGamepad discovery: from an input node's evdev capability bitmaps, decides whether the node is a game controller, and keeps the list of connected controllers, reporting each connect and disconnect once.
bifrost_core::log_cursorPersistent positions in a sequence of log entries and an enumerator over them (`OSLogPosition`, `OSLogEnumerator` with its reverse option, `OSLogStore.getEntries(at:)`).
bifrost_core::log_entriesThe entry kinds of the unified log beyond a plain message: boundaries (`OSLogEntryBoundary`), activities (`OSLogEntryActivity`), payload entries built from a format string (`OSLogEntryWithPayload`) and the message components they are split into (`OSLogMessageComponent`).
bifrost_core::magnetometerMagnetic field readings and compass headings: a tilt-compensated magnetic heading from the field and the gravity direction, a true heading from a declination the caller supplies, and a hard-iron calibration that learns the bias the device's own parts put on the field reading.
bifrost_core::matterMatter setup codes and commissionable discovery (std only).
bifrost_core::meterLevel metering for 16-bit PCM blocks: the peak and the average power of each channel, in decibels relative to full scale (dBFS).
bifrost_core::migrateVersioned data migrations: an ordered chain of steps, one per version, that brings data written by an older build up to the version this build writes.
bifrost_core::motionDevice motion from raw inertial samples: a gravity estimate, the acceleration the user gives the device, the rotation rate and an attitude (roll, pitch, yaw and a unit quaternion).
bifrost_core::motion_activityMotion activity: a coarse label for what the user is doing, from the spread of the acceleration magnitude over a window and the step count the pedometer took in the same window.
bifrost_core::notify_centerName-keyed notifications with integer tokens: polled checks, per-name state values and an optional datagram per token.
bifrost_core::occlusionApp run states kept apart: focus, on-screen visibility, occlusion and suspension.
bifrost_core::pedometerSteps and distance from the acceleration the user gives the device: a step detector counts the peaks of the acceleration magnitude, with a refractory interval so one stride counts once, and a distance comes from a stride length.
bifrost_core::progressProgress trees (`Progress`, `ProgressManager`, `Subprogress`): a job owns some units of work, and a parent gives a child job a share of its own units.
bifrost_core::proxySystem proxy settings: one endpoint per protocol, a bypass list, and the location of an auto-configuration script, plus the resolution of a URL to the ordered list of proxies to try, or to a direct connection.
bifrost_core::randomSeeded random sources and distributions for games and simulations.
bifrost_core::rumbleRumble for a game controller: a two-motor effect with a level for the heavy (strong) motor and one for the light (weak) motor, a duration, and the 16-bit motor magnitudes a force-feedback rumble effect takes on the input node.
bifrost_core::script_ioText framing for a script step (`NativeShellScriptAction`, input and output field separators, line-ending remapping).
bifrost_core::sensor_logRecorded sensor samples: a bounded, time-ordered log that a caller queries by time range.
bifrost_core::signpostSignposts: named, id-keyed intervals and events that a profiler pairs up and measures.
bifrost_core::tunnelCustom VPN tunnels: the life cycle of one tunnel session, the error categories a tunnel reports, the profile a user saves for a tunnel server, the routing policy that decides which IPv4 destinations go into the tunnel, and a header check for the IP packets read from a tunnel's virtual interface.
bifrost_core::txt_recordDNS-SD TXT record data: keys and values packed into length-prefixed strings (std only).
bifrost_core::usb_descriptorsUSB host model: standard descriptors, control requests, and the criteria that pick a device or an interface.
bifrost_render: Graphics and imaging (11 modules)
ModuleWhat it is
bifrost_render::bezierBezier paths: a pure geometry model behind app-facing path drawing.
bifrost_render::colorcubeA three-dimensional colour lookup table.
bifrost_render::colorfxColour adjustments and effects on single pixels: exposure, saturation, contrast, hue rotation, temperature and tint, sepia, invert, posterize and vignette.
bifrost_render::colorlabCIE L*a*b* colour for sRGB values, the perceptual space that colour conversion and palette matching use.
bifrost_render::colormapColour maps and palettes for packed pixels.
bifrost_render::colorspaceNamed RGB working spaces and the matrix conversions between them.
bifrost_render::filterCPU image filters on 8-bit single-channel planes: the five threshold modes, histograms with histogram equalization, and rectangular minimum and maximum (erosion and dilation).
bifrost_render::gradientLinear and radial gradients as sampled colour ramps.
bifrost_render::meshMesh containers: vertex layout, vertex buffers, indexed submeshes and bounds, plus a CPU-side buffer allocator with a byte budget.
bifrost_render::pixel_layoutPixel buffer layout descriptors and the byte conversions between the renderer's premultiplied 8-bit pixels (`u32`, red in the low byte, see `gfx::pack`) and the buffers that codecs, files and other programs use.
bifrost_render::textureTexture load options and mip chains: the device-free half of an image loader.

Keep the matrix current

A change that adds or completes a capability updates its rows in the same round. Edit the rows in docs/parity-matrix/data/, or record closures in a JSON file and apply them, then check and regenerate the page:

bifrost pc parity apply closures.json
bifrost pc parity check
bifrost pc parity build

apply matches each closure to the row it describes, by the feature text and otherwise by reranking the framework's rows. check fails on unreadable files, on cited paths that do not exist and on frameworks that are not assessed. A row becomes Parity only after the feature works on the test PC.