governance: add Quiet Shell/No Streaming policy; update AGENTS templates; add audit advisory for noisy commands; log in DevLog
Some checks failed
ci / test (push) Has been cancelled
Some checks failed
ci / test (push) Has been cancelled
This commit is contained in:
@@ -38,6 +38,13 @@ check "Gitea workflow exists" test -f .gitea/workflows/ci.yml
|
||||
# Docker compose for local parity
|
||||
check "docker/compose.yml exists" test -f docker/compose.yml
|
||||
|
||||
# Quiet shell policy (advisory): ensure no scripted chat streaming helpers exist
|
||||
if command -v rg >/dev/null 2>&1; then
|
||||
if rg -n "\b(cat|sed\s+-n)\b" scripts 2>/dev/null | grep -v audit.sh >/dev/null 2>&1; then
|
||||
echo "[warn] scripts contain cat/sed -n; ensure these are not used to stream contents into chat" >&2
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sequencing gates: for each plan, ensure corresponding proposal approved; for each proposal, ensure questions approved
|
||||
status_warn=0
|
||||
for plan in collab/plan/*.md; do
|
||||
|
Reference in New Issue
Block a user