Skip to content

feat(dispatch): enforce dispatch ceiling, host-side push, and git exclude agent - #33

Merged
theonly1me merged 1 commit into
mainfrom
feat/dispatch-ceiling-and-profile-leak
Sep 6, 2026
Merged

feat(dispatch): enforce dispatch ceiling, host-side push, and git exclude agent#33
theonly1me merged 1 commit into
mainfrom
feat/dispatch-ceiling-and-profile-leak

Conversation

@theonly1me

Copy link
Copy Markdown
Owner

What changed

  • Set permissionMode: "dontAsk" for dispatched subagents so allowed tools form a strict ceiling.
  • Pass --setting-sources user,project to Claude Code to prevent local settings from widening permissions.
  • Stop passing bare empty strings when tool filter flags receive an empty list.
  • Remove push permissions from subagents and execute pushes strictly host-side in the orchestrator.
  • Add dynamic verification command detection across Bun, Cargo, Go, Python, and Makefile repos.
  • Untrack .claude/agents/shadowclone.md and ignore it locally via .git/info/exclude to prevent profile leaks.

Why

Dispatched runs previously relied on interactive permission prompts that fell through to default policies. Untracked subagent profiles risked accidental git commits into target repositories. Host-side push orchestration and strict tool ceilings eliminate sandbox permission escapes.

How to verify

bun run typecheck
bun test
bun run check

Data handling

  • Any new capture source has an opt-in flag and a README entry in this PR
  • Everything that reaches the network passes redactSecrets
  • No raw capture in a log line, an error message, or a test fixture
  • A test exercises the real entry point, not just the redaction function

@theonly1me
theonly1me force-pushed the feat/dispatch-ceiling-and-profile-leak branch from 293b66e to e31c010 Compare September 6, 2026 11:25
Base automatically changed from feat/profile-growth-and-truthfulness to main September 6, 2026 11:25
@theonly1me
theonly1me force-pushed the feat/dispatch-ceiling-and-profile-leak branch from e31c010 to 3e63567 Compare September 6, 2026 11:25
@theonly1me
theonly1me merged commit f15886e into main Sep 6, 2026
5 of 6 checks passed
@theonly1me
theonly1me deleted the feat/dispatch-ceiling-and-profile-leak branch September 6, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant