Skip to content

fix(sessions): fence agent git discovery at the agents folder (v0.448.6) - #838

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/git-ceiling
Sep 22, 2026
Merged

vikasprogrammer merged 1 commit into
mainfrom
feat/git-ceiling

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

[0.448.6] - 2026-09-22

Fixed

  • An agent's git commands can no longer reach the Agentric checkout. An agent's folder usually isn't a
    repo, so git walks up, and where the data home sits inside the product checkout it lands in agent-os
    itself. On globex an engineer run did cd <a work dir that no longer existed> followed, unchained, by
    git remote set-url origin …client-app + git reset --hard. The cd failed, and the product's own source
    was replaced by another repo (terminal/ gone, so every later session crashed on launch, for 80 minutes).
    Every launch now exports GIT_CEILING_DIRECTORIES = the agents folder. Repos inside an agent's folder
    are unaffected. Pinned by scripts/git-ceiling-test.cjs.

🤖 Generated with Claude Code

A failed cd + unchained git reset in an agent folder walked up into the agent-os checkout and replaced
the product source with another repo. Launch now exports GIT_CEILING_DIRECTORIES = the agents folder.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vikasprogrammer
vikasprogrammer merged commit 85c4f9d into main Sep 22, 2026
1 check passed
@vikasprogrammer
vikasprogrammer deleted the feat/git-ceiling branch September 22, 2026 16:48
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