Register ram in the known-apps registry #35

Merged
Breadway merged 1 commit from feature/ram-17-register-ram into main 2026-10-13 20:12:05 +08:00
Owner

Adds ram to KNOWN_APPS in bread-shared/src/apps.rs, so bread.ram.* events and bread.command.ram.* commands are accepted on the bus instead of rejected as an unknown app. This is the one change the bread repo needs for the breadram integration (breadboard RAM-17); the event catalog and the command handling live in the breadram repo.

The existing recognition test now asserts ram alongside the other ids.

Verified: cargo fmt -p bread-shared, cargo clippy -p bread-shared --all-targets --locked -- -D warnings, and cargo test -p bread-shared --lib --locked (the apps suite, 15 tests) all pass.

Part of RAM-17.

Adds `ram` to `KNOWN_APPS` in `bread-shared/src/apps.rs`, so `bread.ram.*` events and `bread.command.ram.*` commands are accepted on the bus instead of rejected as an unknown app. This is the one change the bread repo needs for the breadram integration (breadboard RAM-17); the event catalog and the command handling live in the breadram repo. The existing recognition test now asserts `ram` alongside the other ids. Verified: `cargo fmt -p bread-shared`, `cargo clippy -p bread-shared --all-targets --locked -- -D warnings`, and `cargo test -p bread-shared --lib --locked` (the apps suite, 15 tests) all pass. Part of RAM-17.
feat: register ram in the known-apps registry
All checks were successful
check / check (push) Successful in 5m26s
bc3b608f41
Author
Owner

Independent exact-head review: PASS at bc3b608f41. Base main 7428366e71. Complete actual PR diff: one file, +2/-1; all file pages and PR pages exhausted, unique branch/card link.

Criteria: ram registration and recognition test PASS (bread-shared/src/apps.rs:12-15,139-145); event and command namespace acceptance PASS (apps.rs:65-82,115-123, IPC integration breadd/src/ipc/mod.rs:310-370). Independent cargo test -p bread-shared --lib --locked: 67 passed, including 15 apps tests. cargo fmt -p bread-shared --check passed. A separate rustc probe importing the immutable apps.rs accepted bread.ram.pressure and bread.command.ram.{status,mode,action}, rejected other app namespaces, malformed ram commands and unknown targets. No unrelated churn. This accepts the bread-side registration only, not a claim of RAM-17 end-to-end deployed integration.

Required check: check / check (push), exact SHA above, success, Actions run 122 job 0. Read check.yml: workspace clippy, build and tests. No branch protection checks configured; authenticated reviews/comments reads empty.

Not merged: explicit instructions to this review do not authorize bread merge. Leave in review, awaiting-merge. main push publishes dev-release.yml; obtain explicit authorization and fresh head/base/check/review evidence before merge.

Independent exact-head review: PASS at bc3b608f4178d55a3343a2da38d6f2436fedd5f3. Base main 7428366e71f5b203e65a7cc614201dcab9329a3a. Complete actual PR diff: one file, +2/-1; all file pages and PR pages exhausted, unique branch/card link. Criteria: ram registration and recognition test PASS (bread-shared/src/apps.rs:12-15,139-145); event and command namespace acceptance PASS (apps.rs:65-82,115-123, IPC integration breadd/src/ipc/mod.rs:310-370). Independent cargo test -p bread-shared --lib --locked: 67 passed, including 15 apps tests. cargo fmt -p bread-shared --check passed. A separate rustc probe importing the immutable apps.rs accepted bread.ram.pressure and bread.command.ram.{status,mode,action}, rejected other app namespaces, malformed ram commands and unknown targets. No unrelated churn. This accepts the bread-side registration only, not a claim of RAM-17 end-to-end deployed integration. Required check: check / check (push), exact SHA above, success, Actions run 122 job 0. Read check.yml: workspace clippy, build and tests. No branch protection checks configured; authenticated reviews/comments reads empty. Not merged: explicit instructions to this review do not authorize bread merge. Leave in review, awaiting-merge. main push publishes dev-release.yml; obtain explicit authorization and fresh head/base/check/review evidence before merge.
Author
Owner

Independent exact-head review: PASS at bc3b608f41. Base main 7428366e71. Complete actual PR diff: one file, +2/-1; all file pages and PR pages exhausted, unique branch/card link.

Criteria: ram registration and recognition test PASS (bread-shared/src/apps.rs:12-15,139-145); event and command namespace acceptance PASS (apps.rs:65-82,115-123, IPC integration breadd/src/ipc/mod.rs:310-370). Independent cargo test -p bread-shared --lib --locked: 67 passed, including 15 apps tests. cargo fmt -p bread-shared --check passed. A separate rustc probe importing the immutable apps.rs accepted bread.ram.pressure and bread.command.ram.{status,mode,action}, rejected other app namespaces, malformed ram commands and unknown targets. No unrelated churn. This accepts the bread-side registration only, not a claim of RAM-17 end-to-end deployed integration.

Required check: check / check (push), exact SHA above, success, Actions run 122 job 0. Read check.yml: workspace clippy, build and tests. No branch protection checks configured; authenticated reviews/comments reads empty.

Not merged: explicit instructions to this review do not authorize bread merge. Leave in review, awaiting-merge. main push publishes dev-release.yml; obtain explicit authorization and fresh head/base/check/review evidence before merge.

Independent exact-head review: PASS at bc3b608f4178d55a3343a2da38d6f2436fedd5f3. Base main 7428366e71f5b203e65a7cc614201dcab9329a3a. Complete actual PR diff: one file, +2/-1; all file pages and PR pages exhausted, unique branch/card link. Criteria: ram registration and recognition test PASS (bread-shared/src/apps.rs:12-15,139-145); event and command namespace acceptance PASS (apps.rs:65-82,115-123, IPC integration breadd/src/ipc/mod.rs:310-370). Independent cargo test -p bread-shared --lib --locked: 67 passed, including 15 apps tests. cargo fmt -p bread-shared --check passed. A separate rustc probe importing the immutable apps.rs accepted bread.ram.pressure and bread.command.ram.{status,mode,action}, rejected other app namespaces, malformed ram commands and unknown targets. No unrelated churn. This accepts the bread-side registration only, not a claim of RAM-17 end-to-end deployed integration. Required check: check / check (push), exact SHA above, success, Actions run 122 job 0. Read check.yml: workspace clippy, build and tests. No branch protection checks configured; authenticated reviews/comments reads empty. Not merged: explicit instructions to this review do not authorize bread merge. Leave in review, awaiting-merge. main push publishes dev-release.yml; obtain explicit authorization and fresh head/base/check/review evidence before merge.
Author
Owner

Verified on integrated main 05125ef (merge of PR35): dev release / build (push) success on the merge SHA; bread-shared tests 67 passed including 15 apps tests and the is_known_app("ram") assertion, run in a clean detached worktree at 05125ef.

Verified on integrated main 05125ef (merge of PR35): dev release / build (push) success on the merge SHA; bread-shared tests 67 passed including 15 apps tests and the is_known_app("ram") assertion, run in a clean detached worktree at 05125ef.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/bread!35
No description provided.