Skip to content

docs(skills): push without setting the upstream inside the sandbox - #173

Merged
furedea merged 2 commits into
mainfrom
docs/push-without-upstream-in-the-sandbox
Oct 17, 2026
Merged

furedea merged 2 commits into
mainfrom
docs/push-without-upstream-in-the-sandbox

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Agent git now runs inside the Claude sandbox (#172). Verification showed that git push -u pushes the branch but then fails to record the upstream, because the sandbox protects .git/config, so the command exits with an error and an agent can read it as a failed push.

  • git-workflow delivery steps use git push origin and gh pr create --head , and explain why -u is avoided.
  • The command rules still allow -u, which stays valid outside the sandbox.
  • Separate commit: agent-harness flake input moves to 7d3ae3d (docs for unsigned agent commits), committed at the user request.

Verification

  • tests/agents/test_workflow_skill_layout.py: 64 passed; autocorrect and lefthook passed.
  • This branch was pushed from inside the sandbox with git push origin and no upstream error.

🤖 Generated with Claude Code

furedea and others added 2 commits October 17, 2026 16:04
agent-harness moves to 7d3ae3d, which documents unsigned agent commits inside the sandbox.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Setting the upstream writes .git/config, which the sandbox protects, so push -u fails after pushing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@furedea
furedea merged commit ca36957 into main Oct 17, 2026
11 checks passed
@furedea
furedea deleted the docs/push-without-upstream-in-the-sandbox branch October 17, 2026 07:09
@furedea-agent furedea-agent Bot mentioned this pull request Nov 12, 2026
1 task done
furedea added a commit that referenced this pull request Nov 12, 2026
agent-config 0.1.2(`3b3d9c5`)を取り込みます.#74 のモデル判定まわりの残りがすべて入ります.

| 取り込む変更(furedea/agent-config) | 中身 |
| --- | --- |
| #172 | 「ルールの見本のフォルダ」の判定を 1 か所にまとめる |
| #173 | jev-lint の子プロセスに `GIT_LITERAL_PATHSPECS=1` を渡す(#159) |
| #174 | 時間に頼らないタイムアウトのテスト(#171) |
| #175,#178 | Go と Rust のルールの穴と,境目の見本(#164) |
| #180 | 読み取り専用の GraphQL の問い合わせのあとに `jq` を付けてよくする |
| #177 | Stop のテストの行を,ランナーごとに 1 つの件数にまとめる(Rust は `312 passed` のように合計する)
|

- [x] `darwin-rebuild switch` で反映済み

ほかのセッションが main の古い `flake.lock` で反映すると,これらが取り消されます.早めにマージします.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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