Skip to content

Print success confirmation from check-policy.sh - #24

Merged
alpha912 merged 1 commit into
mainfrom
agent/backlog-org-profile-t36
Aug 14, 2026
Merged

Print success confirmation from check-policy.sh#24
alpha912 merged 1 commit into
mainfrom
agent/backlog-org-profile-t36

Conversation

@alpha912

Copy link
Copy Markdown
Contributor

Summary

  • check-policy.sh exited 0 silently on success, while its sibling check-security-pointer.sh prints security pointer ok. A passing CI run gave no positive confirmation text.
  • Echo policy check ok once all checks pass, right before the accumulated exit code is returned, matching the sibling script's convention.

Test plan

  • bash scripts/check-policy.sh on the clean tree prints policy check ok and exits 0.
  • Verified the success line is NOT printed when a check fails (exit 1), by temporarily injecting a policy-violating fixture and reverting it.

The policy check stayed silent on a passing run, giving no positive
signal in CI logs unlike check-security-pointer.sh's "security
pointer ok" line. Echo "policy check ok" once all checks pass, right
before the accumulated exit code is returned.
@alpha912
alpha912 merged commit ba9967d into main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant