@stringsync/splates 0.0.56 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -14
- package/evals.d.ts +3 -0
- package/index.js +268 -277
- package/package.json +3 -3
- package/notes.d.ts +0 -4
package/README.md
CHANGED
|
@@ -47,22 +47,14 @@ removes the worktree. A conflict or a failing check goes back to the agent that
|
|
|
47
47
|
made the change, which fixes it and merges again. A check that writes a JUnit
|
|
48
48
|
XML report to `$SPLATES_TEST_REPORT` (`bun test --reporter=junit
|
|
49
49
|
--reporter-outfile="$SPLATES_TEST_REPORT"`) queues a task for each test slower
|
|
50
|
-
than 5 seconds.
|
|
51
|
-
|
|
52
|
-
**Project notes.** Keep durable conventions, decisions and other project context
|
|
53
|
-
as short Markdown files in `notes/`, one thing per file, edited in place.
|
|
54
|
-
Each starts with frontmatter such as `description: Why releases use explicit exports`
|
|
55
|
-
between `---` lines. `splates notes` prints those descriptions in filename
|
|
56
|
-
order, one per line; a missing directory prints nothing successfully. Read
|
|
57
|
-
the files directly or search them with `rg`. Set `notesDir: "docs/context"`
|
|
58
|
-
in `splates.config.ts` to move the directory, relative to the checkout root
|
|
59
|
-
or to an absolute path. Notes change through tasks, just as code does.
|
|
60
|
-
Keep sensitive information out of them.
|
|
50
|
+
than 5 seconds. A check that appends `{"phase": "<name>", "ms": <n>}` lines to
|
|
51
|
+
`$SPLATES_GATE_PHASES` has those phase times kept in the merge's log entry.
|
|
61
52
|
|
|
62
53
|
**One premerge at a time.** Each merge's gate (`postRewrite` and
|
|
63
54
|
`preMerge`) holds the machine's premerge lock, so merges from several agents
|
|
64
55
|
test one after another rather than run the machine out of memory. A gate
|
|
65
|
-
that runs past 3 minutes is killed, and the agent merges again.
|
|
56
|
+
that runs past 3 minutes is killed, and the agent merges again. A `preLock`
|
|
57
|
+
command, if set, runs before the wait, so checks that need no lock fail first.
|
|
66
58
|
|
|
67
59
|
**Pushing.** With `remote: "origin"` in `splates.config.ts`, each task's
|
|
68
60
|
branch goes to that remote as `splates/<task>`: after every commit an agent
|
|
@@ -254,8 +246,8 @@ serving on this machine.
|
|
|
254
246
|
|
|
255
247
|
This machine's own worker runs agents over a private Unix socket and
|
|
256
248
|
reconnects when the server restarts. Remote workers cannot join.
|
|
257
|
-
|
|
258
|
-
|
|
249
|
+
It runs as many agents at once as are started. Use `splates worker list` to
|
|
250
|
+
inspect it, and `splates worker drain local --undo` to resume it.
|
|
259
251
|
|
|
260
252
|
### Task ports
|
|
261
253
|
|
package/evals.d.ts
ADDED