GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(server): provision a git-ignored .context scratch dir in new worktrees by connorch · Pull Request #19 · connorch/t3code

Conversation

@connorch

@connorch connorch commented Aug 12, 2026

Copy link
Copy Markdown
Owner

What Changed

New worktrees now get a .context scratch directory, git-ignored via the repo's info/exclude so it never touches the tracked .gitignore. Both the Claude and Codex adapters detect the directory and append instructions telling the agent to use it for plans or any files that shouldn't be committed.

Why

Agents frequently need somewhere to hand the user scratch files (plans, notes, generated artifacts) without dirtying git status or requiring the user to manually ignore them. Provisioning .context at worktree creation and pointing sessions at it gives agents a consistent, always-ignored place to do this.

UI Changes

Included as part of this PR: the right panel's empty-state tab strip was reworked from ghost ovals/icon buttons into a card grid of surface actions (Browser, Terminal, Files, Diff, Agents), simplifying the surface-action list and dropping the icon-only ghost affordances.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
connorch and others added 3 commits August 11, 2026 22:16
@connorch @claude
feat(server): provision a git-ignored .context scratch dir in new wor…
26eda53
…ktrees

Every worktree createWorktree makes now gets a .context/ directory seeded
with an empty placeholder file (the workspace file tree only surfaces
directories that contain files). The ignore entry goes into the repo's
shared info/exclude, so it covers the main checkout and all worktrees
without touching the project's tracked .gitignore.

Co-Authored-By: Claude Fable 5 <[email protected]>
@connorch @claude
feat(server): point Claude sessions at the .context scratch dir
1ac718e
When the session cwd contains the t3code-provisioned .context directory,
append a note to the Claude Code preset system prompt telling the agent
to put plans and other not-for-git files there. The note is only added
when the directory actually exists, so non-worktree checkouts without
one are unaffected.

Co-Authored-By: Claude Fable 5 <[email protected]>
@connorch @claude
feat(server): point Codex sessions at the .context scratch dir
640c1e6
Mirror of the Claude change: when the session cwd contains the
t3code-provisioned .context directory, the Codex developer instructions
gain a note telling the agent to put plans and other not-for-git files
there. Default mode only - Plan Mode forbids writing files and plans
flow through proposed_plan blocks instead.

Co-Authored-By: Claude Fable 5 <[email protected]>
@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@connorch
connorch merged commit 2756206 into main Aug 12, 2026
3 of 7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@connorch
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.