AGENTS.md instructions for /Users/savekirk/dev/ai/entire/session-bridge <INSTRUCTIONS>…
- User
AGENTS.md instructions for /Users/savekirk/dev/ai/entire/session-bridge
Project Structure & Module Organization
src/extension.tsis the extension entrypoint and wires activation, commands, and views.src/components/contains UI-facing providers and panels such as the status bar item, checkpoint tree, and active session tree.src/checkpoints/holds the session/checkpoint domain logic, git enrichment, storage, transcript parsing, and search helpers. General utilities live in top-levelsrc/*.tsfiles such asworkspaceProbe.tsandrunCommand.ts. Tests live undersrc/test/, with reusable checkpoint fixtures insrc/test/checkpoints/fixtures/.media/stores extension icons. Treatdist/andout/as generated output.Build, Test, and Development Commands
pnpm compile: run type-checking, ESLint, and the esbuild bundle intodist/extension.js.pnpm watch: run esbuild watch mode andtsc --watchtogether for local development.pnpm check-types: run strict TypeScript checks only.pnpm lint: lintsrc/with the repository ESLint config.pnpm test: compile tests, rebuild the extension, and run the VS Code test harness.pnpm package: build the production bundle used for publishing.
Coding Style & Naming Conventions
Use strict TypeScript and follow the existing code style: tabs for indentation, semicolons, and mostly single-quoted imports/strings. Use
PascalCasefor classes, providers, and exported types; usecamelCasefor functions and locals; useUPPER_SNAKE_CASEfor extension-wide constants. Keep command and context identifiers namespaced, for examplesession.bridge.entire.refresh. Let ESLint catch small consistency issues, and do not hand-edit generated files indist/orout/.Testing Guidelines
Write tests as
*.test.tsundersrc/test/, mirroring the feature area when possible, such assrc/test/checkpoints/. This project uses Mocha with@vscode/test-cliandvscode-test, compiling test files toout/test/**/*.test.js. Prefer fixture-backed tests for checkpoint parsing, git metadata joins, and tree/detail view models. No formal coverage threshold is configured, but every behavior change should include or update targeted tests. - User
<environment_context> /Users/savekirk/dev/ai/entire/session-bridge zsh <current_date>2026-04-08</current_date> Africa/Nairobi </environment_context>
- User
Are remote checkpoints supported
- Assistant
I’m checking the checkpoint code and any docs/tests around remotes so I can answer from the implementation rather than guessing.
- Assistant
The codebase does mention a separate checkpoint remote in settings, so I’m tracing whether that setting is actually used anywhere or just parsed.
- Assistant
The settings model knows about a dedicated checkpoint remote, but so far I only see local-branch reads. I’m confirming how checkpoint data gets loaded and whether the fetch command respects that separate remote.
- Assistant
I’ve confirmed the store reads checkpoints from the local
entire/checkpoints/v1branch. One more pass through tests/docs will show whether “remote support” is meant to exist or only fetch-into-local is supported right now. - Assistant
I have the answer. I’m pulling exact line references so I can point to where the behavior is implemented and where it stops.
- Assistant
Not as first-class support in this extension.
It currently supports this flow:
- Read checkpoints from a local
entire/checkpoints/v1branch via the Git object database, not from a remote directly: gitStore.ts, gitStore.ts, gitStore.ts - Consider Entire “enabled” when that local metadata branch exists: workspaceProbe.ts, workspaceProbe.ts
- Read checkpoints from a local
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.