Repository navigation
Default Git signing to a profile-pinning wrapper, keep agent signing off the human's setup, interpolate policy placeholders, and split agent identity from secrets - #77
Merged
Conversation
emostov
force-pushed
the
zeke/gpg-rough-edges-high
branch
4 times, most recently
from
October 15, 2026 17:53
0839b40 to
f492d68
Compare
emostov
force-pushed
the
zeke/gpg-rough-edges-high
branch
from
October 15, 2026 20:24
f492d68 to
cdbdd07
Compare
emostov
marked this pull request as ready for review
October 16, 2026 00:22
…gent's signing to its own environment and GnuPG home on a shared machine, split agent identity provisioning from the secrets and signing skills, and write policy placeholders as interpolated shell variables.
emostov
force-pushed
the
zeke/gpg-rough-edges-high
branch
from
October 16, 2026 00:22
cdbdd07 to
fd9d680
Compare
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
An agent sharing a machine and
HOMEwith a human could overwrite the human's Git signing setup and keyring, and Git picked its signing profile from whateverTK_PROFILEthe shell had. Copied policy examples matched no one, and the identity skill mixed in secrets and signing. Supersedes #78.Public API changes
None. A
~/.local/bin/tk-signwrapper pinningTK_PROFILEis now the documentedgpg.program; a shared machine reuses it through env-scopedGIT_CONFIG_*and a dedicatedGNUPGHOME. Policy placeholders are'${AGENT_TAG}'shell variables.Architecture
provisioning-agent-identitycovers identity only; export policies, acceptance, and isolation move tomanaging-secrets.A
policy createplaceholder check is deferred to EMG-324.Closes EMG-310
Closes EMG-312
Closes EMG-313
Closes EMG-315
Closes EMG-316
Related: EMG-311
Related: EMG-314
Testing
Added unit and e2e tests.