Skip to content

feat(resource): add runtime protocol SDK and semantic invalidations - #392

Merged
schickling-assistant merged 5 commits into
schickling/2026-08-29-smart-resourcesfrom
schickling-assistant/2026-08-30-resource-protocol-sdk
Aug 31, 2026
Merged

feat(resource): add runtime protocol SDK and semantic invalidations#392
schickling-assistant merged 5 commits into
schickling/2026-08-29-smart-resourcesfrom
schickling-assistant/2026-08-30-resource-protocol-sdk

Conversation

@schickling-assistant

@schickling-assistant schickling-assistant commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Problem

Resource providers need a stable host/runtime protocol, and invalidation messages need enough semantic context for an agent to act without opening the carrier first.

Changes

  • Add the typed Resource runtime protocol and SDK boundary.
  • Add bounded semantic facts with omission distinct from explicit null.
  • Render at most three whole facts into a 96-scalar DING subject; retain all facts in the structured body and catch-up record.
  • Publish semantic facts for passive carriers and Agent Spec declaration bindings.
  • Bump the Resource profile ABI to 3 and bound catch-up records at 256 KiB.
  • Update the Resource Profile requirements and spec to require concise semantic invalidations.

Verification

  • Full Nix package check: 579 st2 unit tests plus integration suites passed.
  • Resource protocol, profile, supervisor, resync, and supervisor E2E suites passed.
  • Dotfiles live GitHub PR Resource E2E passed against this exact revision.
Posted on behalf of @schickling
field value
agent_identity dev3.direct.omp.2cshu64q
session dev3.2cshu64q
agent_persona generalist
agent_supervisor unavailable
agent_tool OMP
agent_tool_version 18.0.9
agent_runtime OMP 18.0.9
tooling_profile dotfiles@b607597

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597
@schickling-assistant
schickling-assistant marked this pull request as ready for review August 30, 2026 18:11
agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597
@schickling-assistant
schickling-assistant force-pushed the schickling-assistant/2026-08-30-resource-protocol-sdk branch from a012b8d to 8f22a86 Compare August 30, 2026 20:36
@schickling-assistant schickling-assistant changed the title refactor(resource): extract runtime protocol crate refactor(resource): extract protocol crate and improve DING subjects Aug 30, 2026
agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597
agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597
@schickling-assistant schickling-assistant changed the title refactor(resource): extract protocol crate and improve DING subjects feat(resource): add runtime protocol SDK and semantic invalidations Aug 31, 2026
agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597
@schickling-assistant
schickling-assistant merged commit 9d76655 into schickling/2026-08-29-smart-resources Aug 31, 2026
2 checks passed
schickling pushed a commit that referenced this pull request Sep 1, 2026
* feat: add observable resource profiles

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* fix(resource): create snapshot parent paths securely

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* fix(codex): accept handshake failure during shutdown

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* fix(resource): reconcile absent nested snapshots

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* fix(codex): poll handshake without blocking reads

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* feat(resource): add runtime protocol SDK and semantic invalidations (#392)

* refactor(resource): extract runtime protocol crate

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* feat(resource): make resync DING subjects actionable

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* feat(resource): publish semantic invalidation facts

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* test(resource): assert structured invalidations

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

* test(resource): assert semantic resync messages

agent-identity: dev3.direct.omp.2cshu64q
agent-persona: generalist
agent-supervisor: unavailable
agent-tool: OMP
agent-tool-version: 18.0.9
agent-runtime: OMP 18.0.9
tooling-profile: dotfiles@b607597

---------

Co-authored-by: schickling-assistant <170074977+schickling-assistant@users.noreply.github.com>
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