Add observable Resource Profiles - #389
Merged
schickling-assistant merged 5 commits intoAug 30, 2026
Merged
Conversation
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
marked this pull request as ready for review
August 29, 2026 23:20
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
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
This was referenced Aug 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Resource bindings can resolve passive filesystem carriers, but they cannot expose provider-owned current state or notify an agent when selected semantic state changes.
Goal
Add state-first, read-and-observe Resource Profiles with one canonical snapshot per binding, bounded profile-owned observation runtimes, semantic selectors, and level-triggered catch-up through the existing resync inbox and DING path.
Decisions
resyncstream with producer-side supersession.Verification
cargo check --workspace --all-targets --quietnix flake check --no-buildnix build .#checks.x86_64-linux.wasm-resolver-feature --no-link --print-build-logspassed on the rebased head.07-resourceand07-resource-profile.Pre-flip deviation:
nix build .#checks.x86_64-linux.st2reaches 572 passing tests and then fails in the pre-existing release-mode Codex WebSocket handshake race withInterrupted system call (os error 4). A pristineorigin/mainderivation reproduced the same failure class in another Codex handshake test after 555 passing tests. The Resource Profile derivation and all affected focused tests pass.Complexity
The change adds a resident runtime supervisor and durable publication state because provider-native observation crosses process and crash boundaries. It does not add another task plane, event plane, provider event log, or external dependency.
Concerns
Runtime health is currently available through the supervisor API. A dedicated status CLI projection remains follow-up dogfood work. Runtime exit is reconciled on the next resident catalog pass rather than by a separate restart timer.
Friction & bottlenecks
The repository has no
devenv.nix, so the standard first-partycheck:quicktask is unavailable. The repository-wide rustfmt check reports substantial pre-existing formatting drift outside this change. The release-mode Codex handshake suite also fails nondeterministically on pristine main as described above.Follow-ups
References
Refs #376
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimetooling_profile