Repository navigation
M11.15: one-step chat c 8000 onsent for one-way doors; test DB drops are two-way - #125
Merged
Merged
Conversation
…s are two-way; authorize errors print the full command Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj8Qh6y7gQw2GEKCy7D
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj8Qh6y7gQw2GEKCy7D
adeelahmad
marked this pull request as ready for review
November 20, 2026 02:06
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj8Qh6y7gQw2GEKCy7D
adeelahmad
pushed a commit
that referenced
this pull request
Nov 20, 2026
…nical URL is aloop.adeelahmad.net Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj8wdhHQDM35jZMC9kX
adeelahmad
pushed a commit
that referenced
this pull request
Nov 20, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj7etMNXP3NuHLWrd4u
adeelahmad
pushed a commit
that referenced
this pull request
Nov 20, 2026
…e door hook keeps M9.31's deadline, roles and question tools and takes M11.15's typed consent and test-scoped two-way drops, recorded after the alarm is disarmed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj7etMNXP3NuHLWrd4u
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.
Requested by Adeel · project thread
Why
In a field session, dropping 35 archived test DBs (dumps saved) took a second terminal and three tries.
doors authorizeprinted a bare usage line, and the human's!shell was refused because CLAUDECODE was set.What
dropdb x_test_…,psql/mysql -c "DROP DATABASE …_test_…"and destructive SQL inside a test-named DB, all on a local server. They run without a question and are logged asdoor.two_way(test-scoped). These stay one-way: a non-test name, a mix of names, a remote host (flag, PGHOST/MYSQL_HOST, URI), SQL read from a file, or a name the gate cannot read.ASK[door]now printsallow DOOR <code>, where the code names the door and that exact action. The human types it in chat. The gate reads it from the prompts captured by UserPromptSubmit (M9.17), records a human ledger row that cites the prompt, and lets the action through once. A reused, negated or forged line opens nothing, and walls take no line. An agent still cannot authorize itself.doors authorizerefuses, it prints the full command to paste, with the flags filled in (--oncecomes from the newest stopped action). From an agent's!shell it also prints the chat line.Evidence
scripts/test/mission-doors-consent.test.py: 7 checks, red on master.mission-doors(21),mission-doors-reclassify(5),mission-door-plan(6),plan-approval(22),events,mission-core,mission-principles,readme,site.doors check: 20 doors, every example proven, plus a new two-way example.Generated by Claude Code