Skip to content

Commit 65310f4

Browse files
committed
refactor: eliminate test-cases.json and move instruction-test.json to session-scoped storage
1 parent ed1ed84 commit 65310f4

113 files changed

Lines changed: 854 additions & 641 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"status": "open",
3-
"dependencies": [],
4-
"blocks": []
2+
"status" : "closed",
3+
"resolution" : "implemented",
4+
"dependencies" : [ ],
5+
"blocks" : [ ],
6+
"target_branch" : "v2.1"
57
}

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ plugin/client
1818
plugin/runtime/
1919
__pycache__/
2020
*.pyc
21-
target/
22-
23-
# Runtime review artifacts (worktree-local, never committed)
24-
.cat/work/review/
21+
target/

client/src/main/java/io/github/cowwoc/cat/hooks/skills/InstructionTestRunner.java

Lines changed: 149 additions & 79 deletions
Large diffs are not rendered by default.

client/src/test/java/io/github/cowwoc/cat/hooks/test/ExtractTurnsContentTest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,13 @@ public void runWritesSingleTurnFile() throws IOException
135135
Files.writeString(inputFile, """
136136
## Description
137137
This test validates the refactor skill.
138+
138139
## Turn 1
140+
139141
Ask the agent to refactor the login module.
142+
140143
## Assertions
144+
141145
- Agent must not delete existing tests
142146
""");
143147

@@ -173,13 +177,21 @@ public void runWritesMultipleTurnFiles() throws IOException
173177
{
174178
Path inputFile = tempDir.resolve("TC1.md");
175179
Files.writeString(inputFile, """
180+
176181
## Turn 1
182+
177183
First turn prompt.
184+
178185
## Turn 2
186+
179187
Second turn prompt.
188+
180189
## Turn 3
190+
181191
Third turn prompt.
192+
182193
## Assertions
194+
183195
1. Some assertion.
184196
""");
185197

0 commit comments

Comments
 (0)