plum

#treesitter#compiler#wasm

git clone https://git.pyrossh.dev/plum

A statically typed, imperative programming language inspired by rust, python


273bc9a — Peter John 2026-11-06T20:33:03+05:30
AGENTS: run every test executable before each commit
Files changed (1) hide show
  1. AGENTS.md +4 -0
AGENTS.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  Do not use git worktrees or feature branches. Work directly on `master` in the main checkout (`/Users/pyrossh/Code/plum`), including superlite runs: skip its "one feature, one worktree" step. After every commit to `master`, push it with the `repo-push` command (never `git push`). Don't ask first.
6
6
 
7
+ ## Before every commit
8
+
9
+ Run every test executable, not just the Plum sweep, even when only `.plum` files changed. List them with `cargo test --no-run --workspace 2>&1 | grep Executable` (`cargo test` itself is blocked in superlite runs), then run `target/debug/plum test std examples tests`. A change to `std` can break Rust tests that the sweep never runs.
10
+
7
11
  ## Subagents
8
12
 
9
13
  When orchestrating subagents (superlite runs or otherwise), don't keep reusing one long-lived agent across tasks or runs. Before sending an agent another task, check its accumulated context: once it approaches 75% of its context window (about 150k tokens of 200k), give the next task to a fresh agent instead (superlite: let `dispatch` pick, or spawn a fresh implementer with the prime). An agent kept alive by repeated compaction forgets what it read and works slower.