fix: point workspace agent shim at .grove/instructions.md#79
Conversation
Agents that cannot run grove previously had no discoverable path to the workspace instruction file, so the generated CLAUDE.md and AGENTS.md now name .grove/instructions.md directly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude finished @emmax86's task in 1m 44s —— View job Reviewing PR #79
SummaryThis is a small, low-risk documentation fix: it appends one sentence to the shared Verified:
Minor, non-blocking nit: per Not verified: I was unable to execute No blocking issues found. Change is scoped correctly and test-mirrored per the repo's TDD conventions. |
Problem
The generated workspace
CLAUDE.md/AGENTS.mdentry files told agents to load instruction context via grove (context_touchMCP tool orgrove ws context touch), but never named the workspace instruction file itself. An agent that cannot run grove had no discoverable path to the workspace instructions.Change
One paragraph appended to the shared bootstrap shim template in
src/lib/agent-files.ts(the same constant feeds bothCLAUDE.mdandAGENTS.mdgeneration, so both files are covered):Verification
src/__tests__/lib/agent-files.test.tsandsrc/__tests__/commands/workspace.test.tswere updated first and confirmed failing for content mismatch, then the template was updated.agent-files.test.ts) is preserved by using a plain hyphen rather than an em-dash in the new paragraph.bun run format/bun run format:checkclean.Note on existing workspaces
Generation is create-if-missing, so existing workspaces don't pick up the new shim automatically (the
aiworkspace was updated by hand). A possible follow-up is havingws syncrefresh shims that are byte-identical to a previous template version (matched by hash) — out of scope here.🤖 Generated with Claude Code