docs(vrs): add thin Doctor contract - #70
Open
myobie wants to merge 3 commits into
Open
Conversation
myobie
marked this pull request as ready for review
July 29, 2026 21:54
Contributor
Author
|
@schickling-assistant again, can we start thin with this too and work up from here? |
Contributor
Author
|
ASD-STE100 rewrite complete at exact head |
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
docs/vrs/02-doctor/requirements.mdanddocs/vrs/02-doctor/spec.md.Doctor follows the root st2 vision. It does not define a separate health model.
Semantic map
DOCTOR-R01: one selected catalog and host; no remote availability claim.DOCTOR-R02: zero only for health; each failure names its subject.DOCTOR-R03: no catalog, presence, runtime, reconcile, launch, stop, reap, repair, or materialization write.DOCTOR-R04: probes do not read caller input and have a fixed deadline.DOCTOR-R05: active local task liveness and presence.DOCTOR-R06: retired health requires complete task-record absence.Size
requirements.mdspec.mdThe specification uses five additional physical lines because the table became readable source-linked bullets. The total contract is three lines and 103 words smaller.
Current-main integration
ea58cda7d5ffd8a64cf157259425c6bd26549cb4normally.208577a1b8015e82117e74fa1755af5326cadd31.Verification at
208577a1b8015e82117e74fa1755af5326cadd31cargo test --test doctor --test invariants --test native_only -- --test-threads=1: PASS (6 + 1 + 3)cargo test --doc --workspace: PASScargo doc --workspace --no-deps: PASS with five unchanged live-main warningsgit diff --check: PASSThis VRS head remains open and unmerged for Nathan's required exact-head review.