Sync Boatstack from Intelligence Flow Labs @ 01dec93295af - #123
Merged
operator-stack-publisher[bot] merged 1 commit intoJul 26, 2026
Merged
Conversation
operator-stack-publisher
Bot
deleted the
sync/intelligence-flow-01dec93295af
branch
July 26, 2026 22:07
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.
What this sync releases
The guard now judges destruction by what a command does, not by words in a file
The safety guard decides whether an action is destructive. It used to decide by
reading text: it matched database keywords such as DROP, TRUNCATE, and reset
anywhere in a command, a file it named, or a tool input. Text is not an effect.
Committing a schema file that contains DROP does not drop anything. Git never runs
SQL. So the guard denied safe, routine work whose only fault was that a file or a
message spelled a keyword.
Three everyday steps were blocked by mistake. Committing a generated schema dump —
a file that is legitimately full of DROP and DDL — was read as a live drop, so
git add,git commit, and evengit diffon it were denied. Activating amanaged delivery scanned the committed diff and flagged the migration file the
same way, so a delivery that carried a migration could not activate. Editing a note
whose prose mentioned the keywords was denied too.
The guard now classifies by executor and effect. A database category applies only
when the command's executor actually runs SQL against a live database — a client
such as
psqlorsupabase, a file that such a client or an interpreterexecutes, or a tool that executes SQL. A file named as data by git,
cp, orcatis data, and its contents are never scanned. A committed migration or schema dump
in a delivery diff is a data artifact, applied later by the controlled deploy
pipeline, so it no longer blocks activation. A note or source edit that merely
mentions a keyword is a document.
The real boundary is unchanged. Running destructive SQL against a live database is
still denied:
psql -c "DROP SCHEMA public CASCADE", a client running a migrationfile, an interpreter running code that issues DDL, and a live SQL tool are all
still blocked. Self-executing destruction that names its own executor —
rm -rf,git reset --hard,terraform destroy,supabase db reset— is unchanged,including when committed into a script. Read-only status helpers may now be piped
for inspection, so ordinary compound commands work during recovery.
Projection provenance
Generated from
operatorstack/intelligence-flow@01dec93295af21787a594de9479acc16e0f85bba.Review provenance, tests, and examples before merging.