You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8921feb
Browse filesBrowse the repository at this point in the historyBrowse files
#240: re-point the ffmpeg sidecar exception off a closed issue; correct two rationales, one anchor and the table totals
The crates/video/src/sidecar.rs exception cited bogusyogi/rightkit#1015 and said
ResolveOptions::bundle_dir is on RightKit main. storytold#1015 was closed as not planned on
2026-10-24 (the published rightkit-ffmpeg 0.2.10 already takes caller-named paths through
verify_bundled_ffmpeg and ResolutionRequest.bundled_paths) and no bundle_dir exists in the
owner source. The entry now names the Ember decision issue #267 (keep or drop the video
crate) and says the owner needs no change. The cut-list row says the same.
The rk_logs.rs rationale named Ember's RotatingTextWriter (the egui host's file writer);
the desktop log path is a JsonlStore shared with a log-crate bridge. Reworded in the
exception and the cut-list row; the owner issues stay storytold#1027 and storytold#1055.
switches.json: the LOCALAPPDATA anchor pointed five lines above the read in
right-release.config.mjs (49, now 54).
cut-list.md: apps/lightcraft-desktop src is 2,509 lines after e7445ed (the table was
summed at 2,496), so the keep (product) and Rust tree totals are 16,476 and 331,748 src.
Claude-Session: https://claude.ai/code/session_01K2MsXFDhGU3dPG949WGWAa
Copy file name to clipboardExpand all lines: .rightkit/ownership-exceptions.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,7 @@
204
204
"capability": "desktop-shell",
205
205
"package": "rightkit-tauri-shell",
206
206
"path": "apps/lightcraft-desktop/src/rk_logs.rs",
207
-
"reason": "Copies of the shell's rightkit_logs_write/collect/clear commands because Ember's own RotatingTextWriter queue cannot be handed to the shell LogsRuntime.",
207
+
"reason": "Copies of the shell's rightkit_logs_write/collect/clear commands: Ember opens its own JsonlStore, which its log-crate bridge also writes, while the shell's LogsRuntime builds a store of its own on its log path (LogsRuntime::new has no injection point). Moving needs the bridge to append through LogsRuntime::store() and a record path before the runtime is installed (bogusyogi/rightkit#1055); see also #1027.",
208
208
"owner": "ember",
209
209
"date": "2026-10-24",
210
210
"issue": "bogusyogi/rightkit#1027",
@@ -214,10 +214,10 @@
214
214
"capability": "media-pipelines",
215
215
"package": "rightkit-ffmpeg",
216
216
"path": "crates/video/src/sidecar.rs",
217
-
"reason": "Bundled ffmpeg search before the owner verification; ResolveOptions::bundle_dir is on RightKit main and not in the published 0.2.10. Only if the video crate is kept.",
217
+
"reason": "Bundle-layout directory search (search_dirs, resolve_in) in front of the owner's verify_bundled_ffmpeg and verify_bundled_ffprobe. The owner needs no change: the published rightkit-ffmpeg 0.2.10 takes caller-named paths (resolve_ffmpeg with ResolutionRequest.bundled_paths), and bogusyogi/rightkit#1015 (a bundle_dir option) was closed as not planned. If Orthic-Labs/ember#267 keeps the video crate, the search moves onto that API.",
Copy file name to clipboardExpand all lines: docs/rightkit-port/cut-list.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ No code is deleted for a `drop` row. Each one is an issue for Adrian's call (lin
18
18
## Method
19
19
20
20
- Sizes are `wc -l` of tracked files at this branch: **src** is `crates/<c>/src/**/*.rs`, **other** is the same crate's tests, examples, benches and `build.rs`. Rows that start "slice of" are parts of a parent row and are never added into the totals.
21
-
- The verdict rows below partition the Rust tree exactly: 331,735 src and 20,679 other lines across `crates/`, `apps/` and `xtask/` (checked by summing the table).
21
+
- The verdict rows below partition the Rust tree exactly: 331,748 src and 20,679 other lines across `crates/`, `apps/` and `xtask/` (checked by summing the table).
22
22
- Sources: the unit's own `Cargo.toml` and README, `docs/gaps.md`, `ROADMAP.md`, `NOTICE`, the 2026-10-24 Ember audit (`ember-apple-audit.json`) and port order, and the published RightKit crates (read as the `.crate` files from crates.io, not from the RightKit working tree).
23
23
- Nothing here was compiled or run (cloud lane); the hosts compile through the broker.
24
24
@@ -28,7 +28,7 @@ No code is deleted for a `drop` row. Each one is an issue for Adrian's call (lin
|`apps/lightcraft-desktop`| 2,496 / 3,808 rs; 7,229 ts/tsx/css | keep | The shipped host on macOS and Windows: Tauri 2 and React over the engine session. Window host, settings, device identity, logs and updates already sit on RightKit owners; what stays is listed in `.rightkit/ownership-exceptions.json`. |`docs/desktop-migration.md`; `apps/lightcraft-desktop/Cargo.toml:15-27`|
31
+
|`apps/lightcraft-desktop`| 2,509 / 3,808 rs; 7,229 ts/tsx/css | keep | The shipped host on macOS and Windows: Tauri 2 and React over the engine session. Window host, settings, device identity, logs and updates already sit on RightKit owners; what stays is listed in `.rightkit/ownership-exceptions.json`. |`docs/desktop-migration.md`; `apps/lightcraft-desktop/Cargo.toml:15-27`|
32
32
|`crates/desktop-host`| 6,172 / 0 | keep | Owner-thread session host: `tasks.rs` (2,080 lines) drives import, merge and cull jobs over engine activity rows, plus render, preview, snapshot and auto-import. Host orchestration, not a registry. |`crates/desktop-host/src/tasks.rs:1-40`|
33
33
|`apps/lightcraft-cli` (render, commands, snapshot, MCP launch) | 1,252 / 2,008 | keep | Headless render, command listing and the MCP entry; signed and shipped in the bundle; it is the agent and QA tool. |`right-release.config.mjs:49,65`; `scripts/desktop/finalize-candidate.mjs:32`|
34
34
|`xtask`| 2,873 / 0 | keep | CI gates: fmt, clippy, tests, parity, layers, assets, wasm. `web.rs` (352) goes with the web row. |`AGENTS.md` quality gates |
@@ -64,10 +64,10 @@ No code is deleted for a `drop` row. Each one is an issue for Adrian's call (lin
64
64
| slice of `crates/engine`: `src/activity.rs`| 438 / 0 | replace |`rightkit-job-queue``InlineCancelRegistry` 0.5.1 | The activity registry. Ember's rows add `done`/`total` counts, a unit, a kind, `set_cancellable` and numeric ids; the owner row has label, message, a 0..1 fraction and string ids. `desktop-host/src/tasks.rs` stays. |`crates/engine/src/activity.rs:21-60,234-252`; bogusyogi/rightkit#1162|
65
65
| slice of `apps/lightcraft-desktop`: `src/services.rs``open_url`| 23 | replace |`rightkit-child-process``open_url` 0.5.6 |**Done here:** the hand-rolled opener, its bounded-wait helper and constants are deleted; the https-only rule stays at the call site (it is Ember's policy). On Windows the owner uses `rundll32 url.dll,FileProtocolHandler` where Ember used `explorer`; the egui host already called the owner. |`apps/lightcraft/src/main.rs:475-481`|
66
66
| slice of `apps/lightcraft-desktop`: QA viewport helper in `src/native.rs`| 74 | replace |`rightkit-qa``embedded::set_viewport` 0.9.0 |**Done here:**`qa_viewport` and the `lc_qa_viewport` command (qa-native only) had no caller; the native journeys call `Control::set_viewport` and read geometry back through the shell's `windows::readback`. Retires the M1 section 2 exception. |`apps/lightcraft-desktop/tests/native_qualification.rs:643`|
67
-
| slice of `apps/lightcraft-desktop`: `src/rk_logs.rs`| 131 | replace |`rightkit-tauri-shell``logs` feature 0.6.0 | Ember copies the shell's three `rightkit_logs_*` commands because its own `RotatingTextWriter` queue cannot be handed to the shell's `LogsRuntime`. |bogusyogi/rightkit#1027, #1055|
67
+
| slice of `apps/lightcraft-desktop`: `src/rk_logs.rs`| 131 | replace |`rightkit-tauri-shell``logs` feature 0.6.0 | Ember copies the shell's three `rightkit_logs_*` commands: it opens its own `JsonlStore`, which its `log` bridge also writes, while the shell's `LogsRuntime` builds a store of its own (no injection point). The move needs the bridge to append through `LogsRuntime::store()` and a record path before the runtime is installed (#1055); the egui host's `RotatingTextWriter` is a different file. |bogusyogi/rightkit#1027, #1055|
68
68
| slice of `crates/segment`: `src/remote.rs` frames | about 20 | replace (blocked) |`rightkit-sidecar``length_prefixed` 0.3.0 | Same 4-byte big-endian frame, but the owner refuses a zero-length frame and Ember's click-only SAM request sends one (`width` 0). Read, not ported. |`crates/segment/src/remote.rs:58-72,161`; bogusyogi/rightkit#1163|
69
69
| slice of `crates/develop`: `src/segmask.rs` base64 | 36 | replace |`rightkit-crypto` 0.1.0 | The mask payload is persisted; the owner's decoder is strict (padded only) where Ember's accepts both forms, so the swap waits for a stored-form check. |`crates/develop/src/segmask.rs:86-121`; Orthic-Labs/ember#257|
70
-
| slice of `crates/video`: `src/sidecar.rs`| 254 | replace (blocked) |`rightkit-ffmpeg``ResolveOptions::bundle_dir`| The owner's `bundle_dir`is on RightKit main and not in 0.2.10. Only matters if the video row is kept. |`crates/video/src/sidecar.rs:73-118`; bogusyogi/rightkit#1015|
70
+
| slice of `crates/video`: `src/sidecar.rs`| 254 | replace (deferred) |`rightkit-ffmpeg`0.2.10 `resolve_ffmpeg` with `ResolutionRequest.bundled_paths`| Not an owner gap: the verification already runs on `verify_bundled_ffmpeg` and `verify_bundled_ffprobe`, and what stays is Ember's bundle-layout directory search. The owner closed the `bundle_dir`request (bogusyogi/rightkit#1015) as not planned because the published API takes caller-named paths. Only matters if the video row is kept. |`crates/video/src/sidecar.rs:73-118`; Orthic-Labs/ember#267|
71
71
| slice of `crates/denoise-onnx`: `src/runner.rs``ensure_runtime`| about 70 of 178 | replace (blocked) |`rightkit-onnx``bind_installed_runtime` (planned) | Find, verify and bind the ONNX Runtime library once per process. Optional feature `onnx-accel`, off by default. |`crates/denoise-onnx/src/runner.rs:36-58`; bogusyogi/rightkit#1165|
72
72
| slice of `crates/photo-ai`: `src/network.rs`, `src/scaledown.rs`| 155 + 79 | replace |`rightkit-llm` 0.3.1 | OpenRouter transport; an own-model ("later") crate, scheduled with the cloud-comparison work. |Orthic-Labs/ember#258|
73
73
| slice of `scripts/desktop`: `static-check.mjs` CSP and capability assertions | 156 | replace (blocked) |`@rightkit/release` doctor rule | Hand-written Tauri CSP and capability assertions; the shared drift check is requested. |bogusyogi/rightkit#1136|
@@ -111,12 +111,12 @@ The editor settings screen (`emberSettingsBackend.ts` and `EmberSettings.tsx`, 6
111
111
112
112
| Verdict | Units | src | other |
113
113
|---|---|---|---|
114
-
| keep (product) | 6 | 16,463| 6,076 |
114
+
| keep (product) | 6 | 16,476| 6,076 |
115
115
| keep (upstream-synced) | 15 | 184,128 | 8,767 |
116
116
| replace (whole crates) | 2 | 4,260 | 318 |
117
117
| later | 8 | 32,772 | 3,935 |
118
118
| drop | 11 | 94,112 | 1,583 |
119
-
|**Rust tree**| 42 |**331,735**|**20,679**|
119
+
|**Rust tree**| 42 |**331,748**|**20,679**|
120
120
121
121
Non-Rust: keep 7,229 ts/tsx/css (desktop web), 1,537 mjs and 4 sh (`scripts/desktop`), 3,151 py/sh/ps1/txt (`tools/`); drop candidates 1,192 Swift and 111 YAML (`ios/`), 47 sh (`scripts/ios`), about 2,700 (`packaging/`), 15 js (`apps/lightcraft-web`). Engine slices a set of drops would remove from `crates/engine`: faces 3,638, merge and desktop-host 908, map and places 2,686, Classic output modules 4,252, video 1,188, demo library 684 (not added into totals).
Copy file name to clipboardExpand all lines: switches.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -549,7 +549,7 @@
549
549
"name": "LOCALAPPDATA",
550
550
"class": "S6",
551
551
"channel": "env",
552
-
"anchor": "right-release.config.mjs:49",
552
+
"anchor": "right-release.config.mjs:54",
553
553
"valueType": "enum",
554
554
"note": "OS-provided; used for default folders, the dev-install path in right-release.config.mjs and the release scripts. Selects no test mode, root or executable of its own."
0 commit comments