Enforce the agent's transmit modes in the agent and the launcher #199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "enforce-transmit-modes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
[agent.action] transmit_modesis now applied the same way by the agent and by the capture launcher. An agent window transmits only when the setting is left out (the default allows both modes) or names"active".Agent (
agent/explore.py)posturesordwell_bucketsthat names nothing known keeps the baseline's posture or dwell, while the other lists still apply.[agent.action]setting it couldn't read.Launcher (
capture-launch.sh, root)agent_may_transmitreadstransmit_modesfromconfig.tomlwith the same rule, so the launcher adds--notransmitto an agent window the setting doesn't allow, whatever the plan file says.transmitis exactlyactivetransmits.bandorchannelsfield no longer shiftstransmitanddwellout of place. Control characters in the fields are dropped.--notransmitfromcapture.angryoxide.extra_argsis no longer added a second time when the plan already added it.Checklist
Lint passes — the Lint workflow runs this on the PR (shellcheck isn't installed on the machine this was written on;
bash -nand the real-data check pass).Tests pass — new tests:
explore.may_transmitmust agree;The full suite passes apart from the 5 potfile-import tests in
test_web.pythat fail locally on main too (local werkzeug).Nothing real: no secrets, no personal information, no real data.
Consent gates intact. Untouched; this narrows what an agent window may do.
Docs updated in the same PR —
config-reference.md,agent-setup.md,agent-interface.md,GUIDE_MDand CLAUDE.md.Commit messages are short and imperative.
Release impact
capture-launch.shis in the engine'sLIB_SCRIPTS; the rest is thekestrel_pipackage, tests and docs. No shipped config default changes.Notes for review
What operators will notice:
transmit_modesholds a value Kestrel can't read now runs passive and says so in the agent log.🤖 Generated with Claude Code