Extension: batch instructions should support nested strategy
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 94
- Avg merge
- 8d 3h
- Merged PRs (30d)
- 7
Description
The batch instructions command (vscode-extension/src/commands/batch.ts) always calls generateCopilotInstructions() (flat generation), even when agentrc.config.json specifies strategy: "nested". It adjusts the output path to AGENTS.md but doesn't actually generate nested output (hub + detail files + optional CLAUDE.md).
Current behavior: Generates flat content, writes to AGENTS.md path when config says nested.
Expected: Use generateNestedInstructions() + writeNestedInstructions() when strategy is nested.
Complexity: Nested generation involves multi-file writes and interactive choices (detailDir, claudeMd) that are harder to batch. May need to read these from config rather than prompting per-root.
Ref: PR #55 review comment batch.ts
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in vscode-extension/src/commands/batch.ts and trace how agentrc.config.json supplies the strategy and related nested options. Compare the flat and nested generation paths, then verify that nested configuration writes the hub, detail files, and optional CLAUDE.md without per-root prompts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100