chore(claude): add Agent-Jack session config for GitHub auth - #106
Draft
nsheaps wants to merge 1 commit into
Draft
chore(claude): add Agent-Jack session config for GitHub auth#106nsheaps wants to merge 1 commit into
nsheaps wants to merge 1 commit into
Conversation
Adds .claude/settings.json + plugins.settings.yaml so Claude Code web sessions in this repo auto-authenticate: the 1pass plugin resolves the Agent-Jack vault into GITHUB_APP_* env vars via the OP service account, and the github-app plugin exchanges them for an installation token and configures git. Prevents the 'GitHub App not configured' / broken-push failure mode when a session's ephemeral git proxy resets. Mirrors nsheaps/.github's config.
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.
Why
Claude Code web sessions in this repo had no GitHub auth of their own: this repo lacked the
.claudesession config thatnsheaps/.github,agents, andai-mktplalready have. Sessions relied entirely on the ephemeral git proxy, so when that proxy reset mid-session (remotes fall back tohttps://github.comwith no credentials),git push/fetchbroke and thegithub-appplugin loggedGitHub App not configured (missing GITHUB_APP_ID, …), skipping.What
Adds the same session config the other org repos use, operating this repo as Agent-Jack (
jack-nsheaps[bot]):.claude/settings.json— enables1pass,github-app,shared-lib,mise(@ai-mktpl),agent-utils(@agents),agent-tab-titles; declares theagents+ai-mktplmarketplaces; scopedpermissions.allowfor git/gh/mise..claude/plugins.settings.yaml— points1pass.opExecatop://Agent-Jack/{ENVIRONMENT,github--app--jack}andgithub-app.refat the same item, withautoGitConfig: true..claude/.gitignore— todo-sync managed ignores.The chain:
1passresolves the Agent-Jack vault →GITHUB_APP_ID/GITHUB_INSTALLATION_ID/GITHUB_APP_PRIVATE_KEYenv vars (via the OP service-account token) →github-appmints an installation token and configures git. Pushes then work independent of the session proxy.Validation
op, readop://Agent-Jack/github--app--jack, minted ajack-nsheaps[bot]installation token viagithub-app/bin/generate-token.sh(perms includecontents/administration/pull_requests/workflows), wired a git credential helper, and this branch was pushed with that token.settings.jsonvalid JSON;plugins.settings.yamlvalid YAML; both prettier-clean.Mirrors the config in
nsheaps/.github/.claude/.nsheaps/.orgstill lacks the same config — happy to add it there too.🤖 Generated with Claude Code
https://claude.ai/code/session_018dM5zNQzewT1dLqGWEU2x9
Generated by Claude Code