docs: project health specification (definition + owner-decided policy) - #148
Open
samo-agent wants to merge 1 commit into
Open
docs: project health specification (definition + owner-decided policy)#148samo-agent wants to merge 1 commit into
samo-agent wants to merge 1 commit into
Conversation
Adds docs/HEALTH.md — the canonical definition of what GREEN health means for a samo per-client project. Deterministic-check contract (not judgment), four tiers (PROD/PREVIEW/PIPELINE/TRUTH), all 7 real failure modes covered, owner-settled policy on gold-flow blocker / security split / NRestarts / SLA. Productization target: samohost health <app> (not yet built). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.
What
Adds
docs/HEALTH.md— the canonical definition of what GREEN health means for a samo per-client project.Why
Without a deterministic definition, health is a judgment call and propped/asserted passes reach the merge gate. This spec compiles to a concrete command (planned:
samohost health <app>) that exits 0 or non-zero.Structure
§1 Purpose — health as a deterministic check, not a judgment call.
§2 Criteria — 4 tiers, 23 criteria total:
§3 Verdict levels — GREEN / RED / AMBER / UNKNOWN (fail-closed on BLOCKERs).
§4 Owner decisions (settled policy):
§5 Red-team coverage index — all 7 real production failure modes mapped to catching criteria:
§6
samohost health <app>— command design (productization target, not yet built): 4 phases (offline state → on-VM batched SSH → external probes + SHA triangle →--deepsamotest), output format, trigger wiring, implementation order.Changes
docs/HEALTH.mdadded (376 lines)Do NOT merge
This PR is for review only.