GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(id-native-shell): client.notify executor + notify-then-resync check (#10930) by dezren39 · Pull Request #13837 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Executor slice of #10930 (shells v1 slice 4, mobile shell notification capability provider through F12.5).

What lands (pkgs/id/crates/id-native-shell, 2 files, +259/-3):

  • NotifyExecutor for client.notify: hint-only channel. Only arg is the optional unsigned head; content-bearing fields (text/content/body/data/message) refused with notify_content_forbidden; non-uint head refused with notify_invalid_head. Reply is a fixed-shape empty ack carrying no world content. Surfaced heads recorded locally (never world content) for the behavioral check.
  • ProviderAdapter::grant_notify: per-world opt-in (shared executor, per-world grant); revoke immediate; one local audit entry per decision, same as file.read.
  • notify_needs_resync(local_head, hint_head): the behavioral gate — resync when there is no local snapshot, when the hint carries no head, or when local < hint; ignore a hint at/behind the local head.
  • LocalBounds::NOTIFY_DEFAULT (1024 max bytes / 30 per min / 4 in flight); lib.rs re-exports.

Conformance: no registry change needed — client.notify manifest already landed via #12891 (verified present on main). No hosted surface touched, so the #1067 stop rule is not triggered (local-first only). Native shell statement/suite untouched (executor proven against the native adapter first, per the slice plan; the mobile/PWA declaration is the follow-on).

Verification (laptop, nix develop in pkgs/id, worktree off origin/main):

  • cargo test -p id-native-shell: 109 passed / 0 failed (85 lib incl 8 new notify_tests, plus integration/transcript suites)
  • cargo test -p id-caps: 257 passed / 0 failed
  • cargo fmt -p id-native-shell --check: clean

Refs #10930 (stays open for the mobile/PWA adapter declaration + catch-up-seam behavioral wiring on #10927).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T23:07:13Z",
    "session_id": "ses_e5df56eed12ffeCTtgmcTOJpBC",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-wt-10930-notify",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-wt-10930-notify",
      "repo": "developing-today/code",
      "branch": "any-o/10930-notify-executor",
      "sha": "74b3ef1eb0779adccbe5c5d997d0dd28247947ae"
    },
    "auth_subject": "code-f",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(id-native-shell): client.notify executor and notify-then-resync …
74b3ef1
…check (#10930)

Second client provider for the mobile shell: NotifyExecutor serves
client.notify as a hint-only channel (optional unsigned head, empty
ack, content-bearing fields refused). ProviderAdapter::grant_notify
opts a world in. notify_needs_resync gates the catch-up run on return.

Refs #10930
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9ea7a968-3a46-4494-b8d6-6cebeac2ab9e
Commits

Reviewing files that changed from the base of the PR and between 094f977 and 74b3ef1.

Files selected for processing: 2

  • pkgs/id/crates/id-native-shell/src/lib.rs
  • pkgs/id/crates/id-native-shell/src/providers.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit d31455b into main Nov 23, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the any-o/10930-notify-executor branch November 23, 2026 23:08
This was referenced Nov 23, 2026
id(phase-14): shells v1 slice 4 — notification capability provider (F12.5) for the mobile shell (#6296) #10930
Closed
id(phase-14): shells v1 slice 1 — PWA offline read model + catch-up in the browser shell (#6296) #10927
Closed
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.