Skip to content

feat(notices): #99 stage-4 delivery substrate (runtime half) - #361

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
feat/99-s4-runtime
Sep 3, 2026
Merged

feat(notices): #99 stage-4 delivery substrate (runtime half)#361
ScriptedAlchemy merged 2 commits into
mainfrom
feat/99-s4-runtime

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • acknowledge(id) on the notices handle: recipient-matched + authorization-gated (acknowledge phase), new terminal acknowledged state with invocation-stamped receipt
  • Optional retryBudget / nextAttemptAt publish fields: admission re-attempts on later admitted events until the budget is exhausted, holds until due — evaluated only on admitted events per the V1 no-implied-timer rule; per-invocation attempt receipts stay idempotent
  • signalAvailability() ledger verb: records wire-level resources/updated signals as availability receipts (state unchanged — protocol write success is availability, never delivery)
  • Pure delivery-route selector over per-host advertisements (stable preference order, typed unavailable outcome, fail-closed on incomplete/reasonless advertisements)
  • delivered deliberately stays out of the state union per the 2026-09-02 survey on Add recipient-aware notices and capability-gated delivery #99; taxonomy pin updated with the receipts mapping documented

Compatibility

  • New notice fields are optional and never materialized by parse — proven by the cross-process sqlite suite whose child runs the previous dist against new-code replay (the head-vs-replay consistency check caught the .default() approach; switched to ?? 1 semantics)

Test plan

  • notices suites 27/27 (5 new stage-4 behaviors + 3 router tests)
  • full runtime suite 252 passed (single failure = load-sensitive dispatcher deadline test, green in isolation)
  • build (publint gate), typecheck, lint

@changeset-bot

changeset-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 56c1eaf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@agent-bundle/runtime Patch
agent-bundle Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 78cc1fb into main Sep 3, 2026
4 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T04:19:23.809620Z 56c1eaf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56c1eafc0e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/rsc-runtime/src/notices/ledger.ts
Comment thread packages/rsc-runtime/src/notices/ledger.ts
Comment thread packages/rsc-runtime/src/notices/contract.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant