refactor: implement observed capability providers - #45
Merged
Conversation
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
Signed-off-by: wayne <rcywjo@gmail.com>
rcyw
force-pushed
the
refactor/observed-capability-providers
branch
from
August 9, 2026 10:40
391d070 to
c0d5912
Compare
rcyw
marked this pull request as ready for review
August 9, 2026 11:02
This was referenced Aug 9, 2026
rcyw
added a commit
that referenced
this pull request
Aug 10, 2026
- Redesign the observed capability contract. - Separate evidence identity from freshness and model config, boot, mount, runtime, and derived identities explicitly. - Centralize catalog ownership, audience, dependency, loss-policy, transition, and requirement derivation semantics. - Remove legacy capability strings, boot markers, compatibility fields, and denormalized JSON contracts. - Enforce capabilities independently on every node. - Schedule provider observations independently and expire failed, malformed, or stale observations to UNKNOWN. - Derive allocation requirements locally before side effects and again after resolving actual rootfs backing. - Verify cgroup, process membership, project quota, OverlayFS, runsc envelope, runtime identity, and filestore enforcement. - Serialize durable capability-loss reconciliation and fail-stop cleanup per allocation. - Make control-plane admission and reporting atomic. - Re-evaluate typed eligibility under PostgreSQL node locks and persist complete placement and create proofs. - Normalize dependencies, conditions, transitions, and reconcile generations into indexed tables. - Keep capability conditions separate from allocation lifecycle and avoid full-node allocation JSON scans. - Complete operator and recovery contracts. - Add typed CLI diagnostics for snapshots, transitions, backlog, conditions, and allocation evidence. - Keep runtime inventory recovery fail-closed until every configured runtime handler is available. - Validate with generated contracts, race tests, PostgreSQL tests, Linux runtime tests, full CN verification, CI, and HK lifecycle fault recovery. Closes #46. Relates to #42, #43, and #45. Signed-off-by: wayne <rcywjo@gmail.com>
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.
Summary
Validation
axern-hk-20260809104110completed with 6/6 nodes ready;Compatibility
Closes #42