Repository navigation
Conversation
Contributor
|
Thank you for the contribution. This pull request is closed, not merged, for three reasons.
D1 is still open to an outside contributor. If you take it:
|
This was referenced Nov 25, 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.
Defensive: _say handles None / non-string reason gracefully
Closes #40
Module
modules/screening/src/screening/cli.py— exactly one.Deliverable
Deliverable: D1
What it changes
<The behaviour, not the list of files. The diff already says what changed; this section says why. A change with a shape — a flow, who reads what, a before and an after — is drawn: one Mermaid diagram with its legend, in place of the prose it shows; a change of words is not.>
Oracle
Kind of oracle: unit test · integration · contract test · fitness function · budget · other:
Review budget
Contracts
nstack compatproving it once the version is consumed or stable; a promise of its page reversed: <which, or none>Definition of Done
Test sheet
Confirmed is for a fix landed after the verification: an automated scenario is simply run again at the head and its Commit cell takes the head — nothing here; one explored by hand keeps its commit and gets the head commit here with what moved since, after a
;when an earlier confirmation is there — except at criticalitycritical, where every scenario is run again. Leave it empty when nothing moved — a confirmation is not a round.Verifier: <@damo-pmu> — damo-pmu (not the author)
A scenario that waits on a person is asked in an acceptance issue; its Evidence cell links the answer.
Verifier's remarks: none
Summary
DONE
The CLI's
_saycommand now guards againstNone/non-string reasons and blank reasons, so error traces never leak into stderr as verdicts.VERIFIED
uv run pytest modules/screening/tests/test_cli.py— 24 passed62ab603passes all 70 tests inmodules/screeningASSUMED
cli.py; no other source files modified.NOT VERIFIED
screening _say "...") — out of scope for the local test suite.RISKS
print(reason)raising, they may have been surprised by silence instead of an error.NapkinStack/fletdenied (403); the PR lives on the forkdamo-pmu/fletand must be merged from there.Signals to report
.nstack/playbooks/02-modules.md§9).nstack/handbook/07-governance.md§9)