Skip to content

Commit afb92b1

Browse files
committed
Refresh agent instructions template
1 parent 9cd8a1b commit afb92b1

3 files changed

Lines changed: 110 additions & 249 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
This repo builds the Grill CLI and project setup tooling. The generated map-project agent notes live in `templates/AGENTS.md`; keep this root file focused on WurstSetup itself.
44

5+
## Editing templates/AGENTS.md
6+
7+
- The first line marker must stay in lockstep with `SetupApp.AGENTS_TEMPLATE_VERSION` (a test enforces this); bump both when changing the template.
8+
- Keep the intro line starting with "WurstScript Warcraft III map project notes" — `AGENTS_TEMPLATE_SOURCE_HINT` matches on it to detect template-derived files.
9+
- Grill fetches the template from the raw GitHub URL on master, so pushing template changes publishes them to `grill install` users immediately. Only document language features after a compiler release ships them.
10+
- Keep the template token-lean: it is loaded into every agent session in user projects. Prefer pointers to on-demand docs (stdlib/dependency `AGENTS.md`, the online manual) over inlining more content.
11+
512
## Current Architecture
613

714
- Project config models come from `com.github.wurstscript:wurst-project-config`; do not reintroduce local DAO copies.

src/main/kotlin/file/SetupApp.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object SetupApp {
3232

3333
private data class WurstProcessResult(val exitCode: Int, val output: List<String>)
3434

35-
internal const val AGENTS_TEMPLATE_VERSION = "2026-06-22"
35+
internal const val AGENTS_TEMPLATE_VERSION = "2026-07-16"
3636
private const val AGENTS_TEMPLATE_MARKER_PREFIX = "<!-- WURST_AGENTS_TEMPLATE_VERSION:"
3737
private const val AGENTS_TEMPLATE_MARKER = "<!-- WURST_AGENTS_TEMPLATE_VERSION: $AGENTS_TEMPLATE_VERSION -->"
3838
private const val AGENTS_TEMPLATE_SOURCE_HINT = "WurstScript Warcraft III map project notes"

0 commit comments

Comments
 (0)