feat: L3 auto-trigger senders — leads bypass @prefix#11
Merged
Conversation
Liraz's messages were silently dropped because non-main groups require the @andy trigger prefix. This is a recurring issue (kaizen escalation from L1 instructions to L3 mechanistic enforcement). Adds autoTriggerSenders to sender-allowlist config: listed senders bypass the trigger prefix requirement and activate the agent with any message. Config lives in ~/.config/nanoclaw/sender-allowlist.json. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aviadr1
added a commit
that referenced
this pull request
Mar 16, 2026
…nts, test coverage warnings Add mandatory verification policies (kaizen #11, #15, #17): - CLAUDE.md: path-tracing checklist, invariant statement requirement, runtime artifact verification - Pre-commit hook: advisory warning when source files are staged without corresponding test changes - Global CLAUDE.md: path tracing and test invariant requirements for container agents Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
aviadr1
added a commit
that referenced
this pull request
Mar 16, 2026
…nts, test coverage warnings (#23) Add mandatory verification policies (kaizen #11, #15, #17): - CLAUDE.md: path-tracing checklist, invariant statement requirement, runtime artifact verification - Pre-commit hook: advisory warning when source files are staged without corresponding test changes - Global CLAUDE.md: path tracing and test invariant requirements for container agents Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aviadr1
added a commit
that referenced
this pull request
Mar 20, 2026
…rence docs (kaizen #242) Kaizen system (.claude/kaizen/): - policies.md: enforcement policies #11-17 (recursive kaizen, hooks, MCP, security, isolation, testing, language) - verification.md: path tracing, invariant statements, runtime artifact verification, smoke tests - workflow.md: dev work skill chain trigger→skill routing - skills/trim-claude-md: reusable skill for measuring and trimming CLAUDE.md (symlinked to .claude/skills/) Reference docs (docs/): - architecture-layers.md: layered architecture, file naming, layer rules, cases↔kaizen relationship - harness-vertical-architecture.md: harness/vertical split, dependency placement, config contract - merging-prs.md: merge procedure, CI monitoring, troubleshooting, post-merge auto-deploy - ipc-messaging.md: sending Telegram messages from host via IPC files CLAUDE.md retains: quick context, cases overview, key files, skill triggers, general dev policies #1-10, database, development commands, git remotes, end-of-session cleanup — plus compact pointers to all extracted content with "when to read" hints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merged
8 tasks
aviadr1
added a commit
that referenced
this pull request
Mar 20, 2026
…rence docs (kaizen #242) (#229) Kaizen system (.claude/kaizen/): - policies.md: enforcement policies #11-17 (recursive kaizen, hooks, MCP, security, isolation, testing, language) - verification.md: path tracing, invariant statements, runtime artifact verification, smoke tests - workflow.md: dev work skill chain trigger→skill routing - skills/trim-claude-md: reusable skill for measuring and trimming CLAUDE.md (symlinked to .claude/skills/) Reference docs (docs/): - architecture-layers.md: layered architecture, file naming, layer rules, cases↔kaizen relationship - harness-vertical-architecture.md: harness/vertical split, dependency placement, config contract - merging-prs.md: merge procedure, CI monitoring, troubleshooting, post-merge auto-deploy - ipc-messaging.md: sending Telegram messages from host via IPC files CLAUDE.md retains: quick context, cases overview, key files, skill triggers, general dev policies #1-10, database, development commands, git remotes, end-of-session cleanup — plus compact pointers to all extracted content with "when to read" hints. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aviadr1
added a commit
that referenced
this pull request
Mar 21, 2026
…g (kaizen qwibitai#323, qwibitai#353) - enforce-pr-kaizen.sh: add `merge` to allowed PR commands during kaizen gate (was blocked, preventing overnight-dent from queuing auto-merge after PR creation) - parse-command.sh: fix is_git_command regex — wrap ${subcommand} alternation in parentheses to prevent `--delete-branch` matching bare `branch` via top-level | - CLAUDE.md: document that --dangerously-skip-permissions does NOT bypass hooks (policy #11). Permissions and hooks are independent systems. - docs/hooks-design.md: new technical reference — patterns, anti-patterns, gate design, regex traps, testing conventions, and lessons learned from incidents - overnight-dent-run.ts: add comment documenting the permissions vs hooks distinction - 3 new test cases for gh pr merge allowlist (39 total, all passing) - 1032/1032 hook tests pass (full suite, no regressions) Fixes Garsson-io/kaizen#323 Fixes Garsson-io/kaizen#353 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 tasks
aviadr1
added a commit
that referenced
this pull request
Mar 21, 2026
…g (kaizen qwibitai#323, qwibitai#353) (#271) - enforce-pr-kaizen.sh: add `merge` to allowed PR commands during kaizen gate (was blocked, preventing overnight-dent from queuing auto-merge after PR creation) - parse-command.sh: fix is_git_command regex — wrap ${subcommand} alternation in parentheses to prevent `--delete-branch` matching bare `branch` via top-level | - CLAUDE.md: document that --dangerously-skip-permissions does NOT bypass hooks (policy #11). Permissions and hooks are independent systems. - docs/hooks-design.md: new technical reference — patterns, anti-patterns, gate design, regex traps, testing conventions, and lessons learned from incidents - overnight-dent-run.ts: add comment documenting the permissions vs hooks distinction - 3 new test cases for gh pr merge allowlist (39 total, all passing) - 1032/1032 hook tests pass (full suite, no regressions) Fixes Garsson-io/kaizen#323 Fixes Garsson-io/kaizen#353 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
autoTriggerSendersto the sender allowlist config — listed sender IDs activate the agent without needing the@Andyprefixsrc/index.ts(processGroupMessages + message loop pipe)~/.config/nanoclaw/sender-allowlist.jsonwith Liraz's Telegram ID (5697720897)Kaizen Analysis
@Andyprefix. Liraz doesn't use it. Messages silentlyreturn trueat line 362 with no error/logTest plan
isAutoTriggerSendertests + 3 config loading tests)sender-allowlist.jsoncreated with Liraz's IDnpm run build+ restart service, then have Liraz send a message without@Andy🤖 Generated with Claude Code