Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
ad8f979
build darwin x64 on the m-pool (#3236)
kevinjosethomas Oct 1, 2026
583b603
remove the faux provider and the hillclimb perf tooling (#3223)
kevinjosethomas Oct 1, 2026
e91b90c
add the serper key flow to mcp (#3230)
kevinjosethomas Oct 1, 2026
55b4f89
make the anthropic warning fire once per session lifecycle (#3228)
kevinjosethomas Oct 1, 2026
a2fa2d8
fix the nightly refresh on green beta releases (#3239)
kevinjosethomas Oct 1, 2026
3358e00
make the release builds use the pinned toolchain, the shipped binary …
kevinjosethomas Oct 1, 2026
2608039
wait on the kernel owner's exit instead of polling it every second (#…
snimu Oct 1, 2026
a370028
remove the tool-selection flags that did nothing (#3211)
snimu Oct 1, 2026
6c07cdd
run the TUI /update installer without the terminal so it cannot swall…
snimu Oct 1, 2026
9e7b674
fix(pa-daemon): wait on the kernel's exit notification for adopted wo…
snimu Oct 1, 2026
a001015
fix(pa-daemon): ACP and TUI noSession creates are client-owned (#3237)
snimu Oct 1, 2026
5212e41
fix(pa-daemon): agent messages to a passivated child wake it by its d…
snimu Oct 1, 2026
4e7158a
fix(acp): image prompt blocks reach the daemon session (#3248)
snimu Oct 1, 2026
2231687
start sessions under the parent from the agents view (#3047)
snimu Oct 1, 2026
00b1a56
speed up daemon startup checks (#3260)
kevinjosethomas Oct 1, 2026
cca0516
test(pa-cli): remove login tests that open real browser windows (#3286)
sethkarten Oct 1, 2026
bdc0ae5
refuse release archives the old typescript updater could install (#3275)
kevinjosethomas Oct 1, 2026
3f34a63
give the installer a splash banner and live progress (#3253)
kevinjosethomas Oct 1, 2026
0280fcc
make nightly updates fetch the beta installer directly (#3276)
kevinjosethomas Oct 1, 2026
c0d7e88
never set git identity in agent commits (#3220)
kevinjosethomas Oct 1, 2026
16643fa
split the supervisor roster file into smaller modules (#3156)
kevinjosethomas Oct 1, 2026
e0c83de
perf(pa-daemon): the supervisor-config persist drops the TS-absent fs…
kevinjosethomas Oct 1, 2026
ae2c576
use the pinned rust compiler in release prep (#3279)
kevinjosethomas Oct 1, 2026
5f6e261
let the down arrow always reach the menus under the prompt (#3293)
kevinjosethomas Oct 1, 2026
35b8727
select the best match when searching the agents view (#3289)
kevinjosethomas Oct 1, 2026
87da43e
perf(pa-telemetry): the install-id create drops the TS-absent fsync (…
kevinjosethomas Oct 1, 2026
822a789
dedupe the continuous main trigger and drop stale rust-branch wording…
snimu Oct 1, 2026
58e5737
test: keep partial socket lines across e2e read timeouts (#3281)
snimu Oct 1, 2026
5075d7b
ci runs the kernel e2e suites that still skipped silently (#3245)
snimu Oct 1, 2026
1437c09
test: keep partial socket lines across e2e read timeouts (sweep) (#3282)
snimu Oct 1, 2026
af1d37f
bound wire-declared lengths in the Bedrock event-stream decoder (#3273)
snimu Oct 1, 2026
1fdc642
reject malformed meta-wrapped CSI input with a non-ASCII char instead…
snimu Oct 1, 2026
f074e19
session headers: reject ids that are not a single file name (#3259)
snimu Oct 1, 2026
66e13ea
fix(pa-cli): keep partial daemon lines across socket poll timeouts (#…
snimu Oct 1, 2026
d9d641d
let the beta channel promote without the release approval gate (#3217)
kevinjosethomas Oct 1, 2026
ef33d2c
add the herdr connector (#3261)
kevinjosethomas Oct 2, 2026
18632f7
ship windows support (#3196)
kevinjosethomas Oct 2, 2026
75c1fd0
pa-ai/pa-core/pa-telemetry: retry silently dropped provider streams (…
kevinjosethomas Oct 2, 2026
6d4d77c
show agents as running while their subagents work (#3251)
kevinjosethomas Oct 2, 2026
ebee05c
keep the loader spinner moving during quiet turns (#3296)
kevinjosethomas Oct 2, 2026
b28f22d
share one kernel startup across first use, stop, and close (#3257)
kevinjosethomas Oct 2, 2026
a0c1315
keep a newer process's socket when an old one exits (#3291)
kevinjosethomas Oct 2, 2026
cf285dc
fix(acp): fail pending link requests on close and drop the turn cap (…
snimu Oct 2, 2026
e7e27c2
fix keys dying in the /settings menu search (#3309)
kevinjosethomas Oct 2, 2026
b98481c
add race tests for idle session stops and fix two bugs (#3195)
kevinjosethomas Oct 2, 2026
3034e94
reduce fsyncs during worker creation (#3287)
kevinjosethomas Oct 2, 2026
4d3a073
make the shard cache push-only (#3300)
kevinjosethomas Oct 2, 2026
069014c
promote the windows jobs and add the contributor trust gate (#3004)
kevinjosethomas Oct 2, 2026
cf29688
pa-tui: sample the clock before arming in arm_for_exit_arms_from_now …
kevinjosethomas Oct 2, 2026
2adb5b5
send a failure notice when rlm children fail (#3139)
snimu Oct 2, 2026
cabf117
cancelling a running prompt by its admission id stops the turn (#3263)
snimu Oct 2, 2026
2b22a2b
fix(pa-types): skip the ps start-id query for a dead pid on Linux (#3…
snimu Oct 2, 2026
58fbe1e
perf(session): capture git state off the session lock (#3317)
snimu Oct 2, 2026
f206645
wrap long lines in code blocks instead of cutting them off (#3304)
snimu Oct 2, 2026
d38bcb5
show shell-heavy ipython cells as bash in the collapsed card (#3307)
snimu Oct 2, 2026
8a459cb
restore the stashed prompt after sending another prompt (#3313)
snimu Oct 2, 2026
fa33272
feat(pa-tui): agents-view rows carry their session's heartbeat count …
snimu Oct 2, 2026
db686e0
let the windows test targets compile (#3306)
kevinjosethomas Oct 2, 2026
5762395
acp daemon session runs one prompt turn at a time with a per-turn can…
snimu Oct 2, 2026
8152191
keep the installer's --force away from the daemon it runs under (#3297)
snimu Oct 2, 2026
8c95ff5
fix the daemon commands golden flake from a rare session id (#3305)
kevinjosethomas Oct 2, 2026
62a74e3
make the windows install one-liner work and document it (#3319)
kevinjosethomas Oct 2, 2026
7f62d76
send usage telemetry from the rust build (#3288)
kevinjosethomas Oct 2, 2026
ccac2a6
chore: vouch Arian-Urdu and DariusMatin in VOUCHED.td (#3326)
sethkarten Oct 3, 2026
e387021
Rust port of #2397 + #2401: factory state-machine specs, validator, D…
sethkarten Oct 3, 2026
e22fcd5
a restarted parent lists and reaches its subagents again (#3268)
snimu Oct 3, 2026
e78f11f
feat/machine library (#3285)
sethkarten Oct 3, 2026
bc57309
stop the telemetry post from blocking the first frame (#3327)
kevinjosethomas Oct 3, 2026
cfe3981
pa-core/pa-daemon: semantic-edge ledger + model request ids (TS seman…
snimu Oct 3, 2026
15929ad
acp: single daemon path — session semantics, e2e migration, in-proces…
snimu Oct 3, 2026
2b962da
feat(tui): factory live page with machine diagram highlighting (#3290)
sethkarten Oct 3, 2026
c24ac22
keep the daemon running when a client closes (#3345)
kevinjosethomas Oct 3, 2026
41e1f41
input goes live at first paint (#3353)
kevinjosethomas Oct 5, 2026
09d3987
send the json content type on provider requests (#3360)
kevinjosethomas Oct 5, 2026
ae8f653
free the acp prompt slot before the response leaves (#3347)
kevinjosethomas Oct 5, 2026
33315ed
fix clipboard copy in terminal and tmux (#3318)
kevinjosethomas Oct 5, 2026
aa96ff1
fix(kernel): close the provisioner's four residual mid-boot lifecycle…
kevinjosethomas Oct 5, 2026
3297c21
keep killed-session error visible after cancelled turn (#3338)
kevinjosethomas Oct 5, 2026
ba9c6a9
fix update rollback and archive on installer installs (#3278)
kevinjosethomas Oct 5, 2026
022c90b
pa-daemon/pa-core: add rlm.rename for sessions and direct children (p…
snimu Oct 5, 2026
c6cf07b
fix(pa-daemon): match the TS error text for requests dropped by a dea…
snimu Oct 5, 2026
f8ad6d2
stop client-owned sessions 30 seconds after their client disconnects …
snimu Oct 5, 2026
cfa84ae
clicking a compaction summary expands it again (#3322)
snimu Oct 5, 2026
e8951e5
stop the Anthropic login tests from binding the registered callback p…
snimu Oct 5, 2026
ebc0750
end the openai-completions stream at the [DONE] marker (#3361)
kevinjosethomas Oct 5, 2026
da8a80a
acp: TypeScript-parity follow-up to #3264 (subagent/refine/agent-mess…
snimu Oct 5, 2026
767cb53
honor an explicitly configured max tokens (#3362)
kevinjosethomas Oct 6, 2026
7a52276
publish install.ps1 on every beta cut and point the windows one-liner…
kevinjosethomas Oct 6, 2026
672085e
fix(kernel): refuse raw-fd snapshot restore and bound the runtime boo…
snimu Oct 6, 2026
f64ee8f
Merge upstream main into the Oneiron Rust fork
olety Oct 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Every cargo test/run in this repo, any profile and any crate, opts out of
# product telemetry. Cargo's [env] never overrides a variable that is
# already set, so a test that needs it can still set its own value.
[env]
DO_NOT_TRACK = "1"
1 change: 1 addition & 0 deletions .changes/acp-daemon-initialize-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP mode over the daemon now rejects an `initialize` request with invalid params (for example a string `protocolVersion`), as the TypeScript version does.
1 change: 1 addition & 0 deletions .changes/acp-delete-in-process-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `--mode acp` no longer falls back to a separate in-process engine when the background service cannot start: it now requires the daemon, and a startup failure prints `Error:` and exits 1, like the TypeScript version. A `session/cancel` sent as a request instead of a notification now answers "method not found", like the TypeScript version.
1 change: 1 addition & 0 deletions .changes/acp-heartbeat-bash-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP mode now reports heartbeat schedule changes and shell commands that another client runs in the session (as tool calls), and leaves out empty tool output, like the TypeScript version.
1 change: 1 addition & 0 deletions .changes/acp-mcp-replace-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP `session/new` now clears the connection's MCP servers when admitting them fails or times out, so servers the worker applied before a lost acknowledgement no longer stay admitted, matching the TypeScript behavior.
1 change: 1 addition & 0 deletions .changes/acp-rlm-quiescence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP prompts now finish only once the subagents they started have finished: the completion update reports how many were still running, the final update reports zero, and cancelling or closing the session cancels them. Closing stdin no longer waits for running work to finish.
1 change: 1 addition & 0 deletions .changes/acp-session-flags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP mode over the daemon now honors the session flags: without `--no-session` the conversation is saved like any other session and `--resume`, `--continue`, `--fork` and `--session-dir` open or place it; only `--no-session` sessions belong to the editor's connection and end when it disconnects, and `session/close` stops the running work without ending the session. Startup failures (an unknown or busy session) now exit with an error instead of starting, and `DO_NOT_TRACK` / the telemetry setting now also disable the daemon session's telemetry.
1 change: 1 addition & 0 deletions .changes/agent-message-wakes-passivated-child.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Messaging a subagent whose worker was idle-passivated now wakes it and delivers the message, instead of failing with "Unknown active session".
1 change: 1 addition & 0 deletions .changes/csi-modifier-non-ascii-panic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A malformed escape sequence containing a non-ASCII character (for example, Option-key input mixed with Cyrillic or accented text) is now passed through as typed text instead of crashing the terminal UI.
2 changes: 2 additions & 0 deletions .changes/feat-machine-library.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- New `prime-agent factory list | import | export` commands manage the machine library of shareable `MACHINE.md` factory templates; the bundled seeds (`builder`, `pr-manager`, `review-sweep`) ship inside the runtime so every install sees them, personal machines live under the agent dir, and an invalid machine never persists.
- `await rlm.factory.run('<name>')` runs a library machine directly without creating a harness entry; a machine that exists but is broken names its exact errors, and an existing export target is refused instead of silently overwritten.
1 change: 1 addition & 0 deletions .changes/feat-rust-semantic-edges.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Each model request now carries a request id header, and each session writes a semantic-edge ledger (request, subagent and compaction events) matching the TS agent.
1 change: 1 addition & 0 deletions .changes/fix-acp-turn-ownership.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP sessions run one prompt turn at a time: a prompt sent while a turn runs, or while a cancel is stopping it, is refused instead of overlapping it; a cancel now stops only its own turn, and a failed turn no longer reports itself as finished.
1 change: 1 addition & 0 deletions .changes/fix-adopted-worker-exit-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The daemon no longer wakes up every second for each session it keeps running across a restart or update: it now waits on the operating system's process-exit notification (kqueue on macOS, pidfd on Linux), which cuts idle battery drain. On macOS this also stops a `ps` process being spawned every second for each such session.
1 change: 1 addition & 0 deletions .changes/fix-cancel-owned-prompt-admission.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Cancelling a running prompt by its admission id now reports it as `owned` instead of `cancelled`, and with `cancelOwned` the cancel now stops the turn.
1 change: 1 addition & 0 deletions .changes/fix-click-expand-custom-rows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Clicking a compaction summary, a harness refinement notice, a skill invocation, or an injected prompt (heartbeat, goal, subagent status) in the transcript expands or collapses it again.
1 change: 1 addition & 0 deletions .changes/fix-code-fence-wrap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Long lines inside fenced code blocks now wrap onto the next row instead of being cut off at the edge of the terminal.
1 change: 1 addition & 0 deletions .changes/fix-daemon-client-partial-line.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `prime-agent list` and other daemon commands no longer hang until they time out when a busy daemon sends a large response slowly.
1 change: 1 addition & 0 deletions .changes/fix-kernel-wedge-snapshot-fd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Session resume no longer wedges when the saved state held a `bash()` handle: snapshots skip live process handles, whose restore reopened a stale fd number and killed the restored kernel's event loop. Restoring also refuses to reopen any pickled raw fd number (legacy snapshots, user pipe objects), failing just that saved name instead of the whole kernel. A kernel that drops a protocol frame now logs it to kernel-stderr.log instead of failing silently. A timed-out request whose code was still being sent to a stalled kernel no longer leaves the kernel permanently busy; the kernel restarts instead.
1 change: 1 addition & 0 deletions .changes/fix-mid-stream-websocket-retry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Retry interrupted WebSocket responses from committed context with exactly 2s, 4s and 8s waits, at most three retries. Discard failed sockets and partial replies, preserve completed tools, and replace failed partial content in the live and reloaded transcript. Direct print/json uses the same session retry driver.
1 change: 1 addition & 0 deletions .changes/fix-models-json-max-tokens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A `maxTokens` configured in models.json (or a per-model override) now reaches the provider unchanged instead of being silently clamped to the 32000 default output ceiling; catalog models keep the default ceiling ([#755](https://github.com/PrimeIntellect-ai/prime-agent/issues/755)).
1 change: 1 addition & 0 deletions .changes/fix-nosession-client-owned.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP sessions and TUI `--no-session` sessions are now owned by the client that created them: they are never idle-passivated, and their agents-view row is removed when they stop instead of lingering as a passive row that cannot be resumed.
1 change: 1 addition & 0 deletions .changes/fix-owned-worker-disconnect-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Client-owned sessions (`--no-session` ACP and TUI sessions) now stop 30 seconds after their client disconnects without closing them, or 30 seconds after a daemon restart if the client does not reconnect, instead of running on hidden until the daemon stops.
1 change: 1 addition & 0 deletions .changes/fix-rlm-child-failure-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A subagent that fails because its task cannot be delivered, or whose worker becomes unreachable, now sends a failure notice with the error to its parent, and a goal waiting on it resumes.
1 change: 1 addition & 0 deletions .changes/fix-tools-flag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Removed the `-t/--tools`, `-nt/--no-tools` and `-nbt/--no-builtin-tools` flags. They were silently ignored; they now fail as unknown options.
1 change: 1 addition & 0 deletions .changes/git-state-off-session-lock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Agent runs no longer stall the session while recording git state: the git checks at the start and end of each run now run in parallel in the background instead of blocking other work on the session.
1 change: 1 addition & 0 deletions .changes/installer-force-scope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The installer's `--force` no longer stops the daemon the install runs under, waits for the normal drain before signalling a stuck daemon, and no longer leaves a temp directory behind when it exits early.
1 change: 1 addition & 0 deletions .changes/ipython-bash-dominated-cells.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- An ipython cell that mostly runs shell commands now shows as `bash` in its collapsed card, with its first `bash()` command and how many more it ran, including commands run through helper functions.
1 change: 1 addition & 0 deletions .changes/linux-dead-pid-skips-ps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- On Linux the daemon no longer spawns a `ps` process each time it checks the identity of a process that has already exited (stale session leases, session reuse, update checks).
1 change: 1 addition & 0 deletions .changes/long-turn-routes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- ACP prompts and other long daemon requests (waiting for a turn, idle or headless completion, compaction, tree navigation, session start) now wait up to 24 hours like the TypeScript daemon instead of failing with "Session worker timed out" after 10 minutes, and a session worker that dies mid-request now fails it right away instead of after its restart.
1 change: 1 addition & 0 deletions .changes/nightly-update-direct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Nightly updates download the nightly installer directly instead of going through the stable installer first.
1 change: 1 addition & 0 deletions .changes/rlm-children-survive-daemon-restart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- After a daemon restart or update, a parent session lists its subagents again, and messaging one wakes it as the parent's subagent, instead of rlm.list_subagents() coming back empty.
2 changes: 2 additions & 0 deletions .changes/rlm-rename.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added the `rlm.rename(new_name, session_id=...)` kernel function: renames the calling session (no `session_id`) or a direct child selected by spawn handle, `list_subagents()` row, or session id — never by child name — reusing spawn-name validation and daemon-owned sibling uniqueness; the renamed session gets a `Session renamed `old` -> `new`` transcript notice (suffixed ` by parent` when a parent renamed it), and the kernel readiness check now requires a runtime with `rlm.rename`.
- Agents view: the rename affordance (ctrl+r / `/name`) now also applies to subagent rows, which carry the same renameable session identity as top-level agent rows.
1 change: 1 addition & 0 deletions .changes/session-id-path-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A session file whose header id is not a plain file name (for example `../x` or an absolute path) is now treated as an invalid session, so its artifacts can no longer be written outside the session-artifacts folder.
1 change: 1 addition & 0 deletions .changes/sse-done-marker-ends-stream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- openai-completions streams no longer hang forever when a server keeps the response body open past the `data: [DONE]` marker (a persistent SSE channel with no content length, chunked terminator, or half-close): the stream now ends at the marker like the TypeScript SDK, so the turn runs its tool call instead of waiting silently for an EOF that never comes.
1 change: 1 addition & 0 deletions .changes/supervisor-event-order.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The daemon now always delivers a turn's events before the reply that ends the turn, and ACP mode no longer waits up to 30 seconds after some turns before answering.
1 change: 1 addition & 0 deletions .changes/unstash-on-send.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A prompt stashed with ctrl+s now returns to the empty prompt box after you send another prompt, as it did in the TypeScript version.
1 change: 1 addition & 0 deletions .changes/update-installer-no-terminal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `/update` in the TUI no longer hangs on an installer prompt or swallows keystrokes: the installer now runs detached from the terminal.
1 change: 1 addition & 0 deletions .changes/windows-install-entry-point-publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The Windows one-liner is real again: the release pipeline publishes `install.ps1` (the stable-channel render, the channel's own base + fallback to beta when stable carries no Windows build) on every beta cut instead of waiting for a first Rust stable that has not been cut, and the README's PowerShell command points at the copy that actually serves (the merged repo file, the same route the Windows battery installs from) instead of the domain prefix that 404s.
1 change: 1 addition & 0 deletions .changes/worker-socket-closed-error-text.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- A request that a crashed session worker never answered now fails with "Daemon worker socket closed", the same error the TypeScript daemon reports.
16 changes: 16 additions & 0 deletions .cursor/BUGBOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
These rules mirror the repo standards in AGENTS.md - update both whenever
either changes.

## Repository identity

- Repository commits use only the ambient Git identity. Never configure or override author/committer names or emails for repository history. Missing identity is an error to report, not repair with configuration.
- Never add `Co-authored-by` or other assistant attribution trailers.

## Performance and the critical path

- First paint and user-visible frames must never await network, disk sync, telemetry delivery, or background bookkeeping. Hand work to its owning background worker and return.
- Telemetry delivery is fire-and-forget from startup, session creation, tab opening, and render paths. Timeout, retry, and ordering belong to the delivery worker.
- A changed fire-and-forget boundary needs a red-first test with a hanging sink. Offline or mocked delivery alone cannot prove paint stays unblocked. Keep `the_startup_flush_never_blocks_the_first_frame` as the launch-path guard.

## No legacy or migration scaffolding

- When a migration or refactor completes within a PR, its staging scaffolding must be deleted, not kept: no type aliases where two names point at one type, no re-exports "for compatibility" without a live external consumer, no migration-era vocabulary ("staged", "legacy", "new-style") surviving in names, comments, or test titles.
Expand Down Expand Up @@ -54,6 +65,11 @@ either changes.
- Every inline `#[allow(...)]` or lint exception states its reason in a comment next to it; flag unexplained or broad exceptions. Advisory ignores in `deny.toml` need a reason and a review date.
- New lint families land whole-site: enabling a family requires fixing every current site in the same change. Flag partial enablements.

## Branding and wire compatibility

- Brand user-visible docs, CLI help, errors, onboarding, TUI labels and quoted user-facing comments as Prime Agent, not pi/pi-mono/pi-ai or Prime Intellect.
- Preserve byte-compatible TS wire identifiers (`PI_PACKAGE_DIR`, settings/env keys, provider IDs such as `prime-inference`, and `ai.primeintellect.prime-agent` namespaces). Parity beats branding on the wire; require the PR to list preserved identifiers.

## Generated files

- The model catalog is hand-maintained data: `crates/pa-ai/src/models_generated.rs` mirrors the TS `packages/ai/src/models.generated.ts` object literal (no generator, no generated JSON — edit it by hand exactly like its TS source), and the parity fixture `crates/pa-models/tests/fixtures/catalog.v1.json` refreshes with `scripts/generate-catalog-fixture.py` from the real `PrimeIntellect-ai/prime-agent-catalog` snapshot. Flag edits that would reintroduce a generator or hand-tweak the fixture rows.
Expand Down
5 changes: 5 additions & 0 deletions .github/VOUCHED.td
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Trusted external contributors, one GitHub username per line without @.
# Maintainers, bots, and collaborators with write access are allowed automatically.
Arian-Urdu
DariusMatin
sirouk
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
Pull requests are accepted from maintainers and vouched contributors only.
If a maintainer has not invited this work, start with a GitHub Discussion:
https://github.com/PrimeIntellect-ai/prime-agent/discussions
-->

## Ownership compliance

<!-- Crate scope/non-goals/public API + dependency direction per AGENTS.md -->
Expand Down
Loading
Loading