Repository navigation
Release v7.150.2
Hook change: run cratis ai update in each consuming repository to pick up the new guard behavior.
Fixed
- The shell write guard classifies only write-target words as protected references, so read-only
awk,jq,cat,lsand similar commands with braces or brackets in their program text are no longer refused; commands it cannot parse stay fail-closed, and extended globs and quoted brace spans in write targets are refused (#1041) ls *.csproj,git ls-files *.csprojand similar read-only glob arguments tocat,head,tail,wc,ls,grepandgit ls-filesare allowed again; writes to dotfile-shaped targets stay refused (#1083)jqfilters with[/]and{/}, for examplejq '{a: .[0]}', no longer fail the guard's parser (part of #1052)node .cratis/ai/hooks/scripts/cratis-check-pr.mjsandbash .cratis/ai/hooks/scripts/cratis-cleanup-worktrees.shwith their documented options pass the shell write guard in consuming repositories, while writes to those files stay refused; paths built from variables are not resolved, as the hooks README now states (#1024)- The secrets guard treats
.envas a protected file only as a whole file stem, so names such asOrg.DS.EnvironmentalReporting,Cratis.Environments.Specsand*.environment.txtare no longer refused;.env,.env.local,app.envand.envrcstay protected (#1019) - The pinned Screenplay contract is updated to 6.11.0, and the MCP tools reference now lists all 48 tools, including
list-storylines.
Security
- The secrets guard refuses
jq,yq,gojq,jaqandawk-family commands when any word holds an environment-access identifier (env,$ENV,ENVIRON,strenv,envsubst,getenv,PROCINFO) as a whole token, as it already refusesenv,printenvandexport -p; names such asenvironmentstay readable. - The secrets guard protects backup and variant copies of env files such as
app.env.old,prod.env.localandconfig/app.env~;.env.example-style templates, source, project and markup files, and names such asOrg.DS.EnvironmentalReportingstay readable. - The shell write guard judges a write-target word that carries
$, backticks,~or parentheses by every suffix after a slash, so$PWD/.cratis/...,$(pwd -P)/.mcp.jsonand~+/.mcp.jsonare treated like the protected relative path; the hooks README states the remaining limits.