Repository navigation
fix(skills): give root-cause and sensitive-state checks one stage-neutral owner #8575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9168bb8
fix(skills): run root-cause and sensitive-state checks before a PR opens
laitingsheng 1edf8cf
fix(skills): order review classification before the shared state checks
laitingsheng 9e2832f
fix(skills): keep check correlation and adjacent test paths in review…
laitingsheng 373e073
fix(skills): anchor the check-collection assertion to its own require…
laitingsheng 787848e
Merge remote-tracking branch 'origin/main' into fix/stage-neutral-cha…
laitingsheng 756979d
fix(skills): complete the shared root-cause and state-check contract
laitingsheng f2fc907
fix(skills): state the security rubric's authorization ownership exactly
laitingsheng 14cb50e
Merge branch 'main' into fix/stage-neutral-change-checks
cv 156ab6b
Merge branch 'main' into fix/stage-neutral-change-checks
apurvvkumaria fa48eff
Merge branch 'main' into fix/stage-neutral-change-checks
apurvvkumaria 432c1c4
fix(skills): preserve per-failure state evidence
apurvvkumaria c4d04d6
Merge remote-tracking branch 'origin/main' into fix/stage-neutral-cha…
apurvvkumaria 9b4a96c
merge(main): refresh PR #8575
apurvvkumaria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> | ||
| <!-- SPDX-License-Identifier: Apache-2.0 --> | ||
|
|
||
| # Root-Cause and Sensitive-Workflow State Checks | ||
|
|
||
| Apply these checks while planning, implementing, and reviewing a change. Record the results in the | ||
| output that the current workflow already owns; do not produce a separate report. State why a check | ||
| does not apply when the omission could hide risk. | ||
|
|
||
| ## Authority | ||
|
|
||
| Current code, tests, workflows, and active `AGENTS.md` files own implementation details. Derive the | ||
| operations, sibling paths, and states from the current checkout rather than recording them here. | ||
|
|
||
| ## Root-Cause Sibling Paths | ||
|
|
||
| Name the operation and failure class that the change belongs to. | ||
| Inspect adjacent paths that implement the same operation or failure class. | ||
| Record which sibling paths were checked and whether each one needs the same change. | ||
| A change that repairs one path and leaves a sibling path unchanged keeps the same defect reachable. | ||
|
|
||
| ## Sensitive-Workflow State Matrix | ||
|
|
||
| Build a sensitive-workflow state matrix as working analysis for a flow that handles credentials, | ||
| remote execution, billable resources, destructive cleanup, security policy, or public writes. Use | ||
| only the rows and columns required to cover the changed contract. Classify these outcomes when they | ||
| apply: | ||
|
|
||
| | Phase | Success | Command Failure | Transport Ambiguity | Verification Failure | | ||
| |---|---|---|---|---| | ||
| | Input or credential acquisition | Result and custody | Removal or rollback | Assume possible remote effect | Rejected input | | ||
| | Execution | Expected state | Failure classification | Confirmation requirement | Acceptance criteria not met | | ||
| | Cleanup | Confirmed removal | Recovery action | Ownership and absence check | Retention and rotation | | ||
| | External write | Accepted write set | Partial-write report | Assume a possible write and re-read external state | Report a partial or inconclusive result | | ||
|
|
||
| For each credential, name its location, access, lifetime, and removal. For each failure cell, record | ||
| the result and required action separately. Classify the result as an infrastructure failure or | ||
| inconclusive verification when applicable. Classify the action as rollback, retry, or stop. Ask the | ||
| user before choosing a behavior that changes security, data safety, cost, or a supported contract. | ||
|
|
||
| The [Security Rubric](security-rubric.md) owns the authentication and authorization category and its | ||
| evidence expectations. For a public or external write, record the positive and negative evidence that | ||
| authorization is enforced for the exact resource and action. | ||
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.