Skip to content

Commit e74491c

Browse files
Merge remote-tracking branch 'origin/main' into ref/remove-is-record
Co-Authored-By: Burak Yigit Kaya <[email protected]> # Conflicts: # tools/oxlint/junior/index.ts
2 parents d29956c + e18cc2c commit e74491c

584 files changed

Lines changed: 70203 additions & 4294 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.

‎.agents/skills/verify-junior/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: verify-junior
3-
description: Prove what Junior does by launching the local example app (`pnpm dev`) and driving it the way a user does, through the dashboard (Conversations, Inbox, Automations, System) with Playwright, and capturing the action, the resulting state, and the side effects. Use when asked to verify or prove a Junior behavior, to check a sub-feature such as `review-desk#waiting` or `guardian#decision-recorded`, or to collect live evidence for a PR. Do not use for writing tests or evals, or for Slack or GitHub behavior on a machine with no Slack workspace or GitHub App.
3+
description: Prove what Junior does by launching the local example app (`pnpm dev`) and driving it the way a user does, through the dashboard (Conversations, Inbox, Automations, System) with Playwright, and capturing the action, the resulting state, and the side effects. Use when asked to verify or prove a Junior behavior, to check a sub-feature such as `inbox#waiting` or `guardian#decision-recorded`, or to collect live evidence for a PR. Do not use for writing tests or evals, or for Slack or GitHub behavior on a machine with no Slack workspace or GitHub App.
44
---
55

66
# Verify Junior
77

8-
Users touch Junior in Slack (Turns and Review item cards), in the dashboard (Conversations, Inbox, Automations, System), and on GitHub (PRs, issues). The local example app (`apps/example`) serves the dashboard and runs real Turns, with a real model, in a queue worker. A message sent from the dashboard composer runs the same agent, tools, Guardian review, and Review desk as Slack. Slack and GitHub need their own credentials (see each feature's `Gotchas`).
8+
Users touch Junior in Slack (Turns and Review item cards), in the dashboard (Conversations, Inbox, Automations, System), and on GitHub (PRs, issues). The local example app (`apps/example`) serves the dashboard and runs real Turns, with a real model, in a queue worker. A message sent from the dashboard composer runs the same agent, tools, Guardian review, and Inbox as Slack. Slack and GitHub need their own credentials (see each feature's `Gotchas`).
99

1010
Helpers are Node scripts in `scripts/`. Run them from the repo root. The feature map is [features/README.md](features/README.md).
1111

@@ -93,4 +93,4 @@ It stops the `pnpm dev` process tree that `launch` recorded, never processes fou
9393

9494
## Map
9595

96-
Read [features/README.md](features/README.md). Cite a sub-feature as `<file>#<id>`, for example `review-desk#first-answer-closes`. Keep the map current with the `maintain-verification-skill` skill.
96+
Read [features/README.md](features/README.md). Cite a sub-feature as `<file>#<id>`, for example `inbox#first-answer-closes`. Keep the map current with the `maintain-verification-skill` skill.

‎.agents/skills/verify-junior/features/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Keep implementation details out of the map. Name only user paths, stable handles
4747
## Features
4848

4949
- [Composer](./composer.md) covers the message box under the transcript: sending, the queue (edit, delete, steer), `Stop`, drafts, files, quoting a reply, the `$` skill menu, and who sees the box.
50-
- [Review desk](./review-desk.md) covers asking a person, answering on the desk or in the composer, notices, taking, dedupe, and closing with a reason.
50+
- [Inbox](./inbox.md) covers asking a person, answering in the Inbox or in the composer, notices, taking, dedupe, and closing with a reason.
5151
- [Guardian](./guardian.md) covers action review: ordinary work that runs, risky actions that ask or stop, the recorded decision, and the System card.
5252
- [Background work](./background-work.md) covers one reply per message, a Turn that outlives its time limit, and a Turn whose worker is killed.
5353
- [Automations](./automations.md) covers Scheduled, Event, and channel-message Automations from Slack, and the Automations pages.

‎.agents/skills/verify-junior/features/background-work.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Preconditions:
2323
- `R='article:has-text("junior-example")'` matches a reply from Junior in the transcript.
2424

2525
- **One reply (`one-reply`).** Send two messages in one Conversation. Run `node $S/browse.mjs --out $E/one-reply --timeout 300000 --goto / --fill 'role=textbox[name="Start a conversation"]=Reply with exactly: pong' --press Enter --idle --expect "$R:has-text(\"pong\")" --absent "$R >> nth=1" --snap first --fill 'role=textbox[name="Continue this conversation"]=Reply with exactly: ping' --press Enter --idle --expect "$R:has-text(\"ping\")" --absent "$R >> nth=2" --snap second`. Each message gets one reply, and the second message is not held behind the first.
26-
- **Time limit (`host-limit`).** On the instance with `AGENT_TURN_TIMEOUT_MS=10000`, ask for work with several tool steps, as the first drive on that instance. Run `node $S/browse.mjs --out $E/host-limit --timeout 600000 --goto / --fill 'role=textbox[name="Start a conversation"]=Add five review desk notices for me, titled Slice 1 to Slice 5. Use one separate tool call per notice, never a batch or a script. They need no answer. Then reply with exactly: DONE' --press Enter --idle --expect "$R:has-text(\"DONE\")" --absent "$R >> nth=1" --snap reply --goto /review --fill 'role=searchbox[name="Search review items"]=Slice' --expect 'role=list[name="Search results"] >> role=link[name=/^Slice 5/]' --absent 'role=list[name="Search results"] >> role=link >> nth=5' --snap search`. The Turn outlives several 10-second slices. One reply says `DONE`, and search finds exactly five notices, so no step ran twice.
26+
- **Time limit (`host-limit`).** On the instance with `AGENT_TURN_TIMEOUT_MS=10000`, ask for work with several tool steps, as the first drive on that instance. Run `node $S/browse.mjs --out $E/host-limit --timeout 600000 --goto / --fill 'role=textbox[name="Start a conversation"]=Add five Inbox notices for me, titled Slice 1 to Slice 5. Use one separate tool call per notice, never a batch or a script. They need no answer. Then reply with exactly: DONE' --press Enter --idle --expect "$R:has-text(\"DONE\")" --absent "$R >> nth=1" --snap reply --goto /inbox --fill 'role=searchbox[name="Search review items"]=Slice' --expect 'role=list[name="Search results"] >> role=link[name=/^Slice 5/]' --absent 'role=list[name="Search results"] >> role=link >> nth=5' --snap search`. The Turn outlives several 10-second slices. One reply says `DONE`, and search finds exactly five notices, so no step ran twice.
2727
- **Killed worker (`worker-killed`).** Start a long Turn, and kill its worker while Junior is thinking. Run `mkdir -p $E/killed; node $S/browse.mjs --out $E/killed --timeout 600000 --goto / --fill 'role=textbox[name="Start a conversation"]=Write the numbers from 1 to 300 in words, one per line, and end with the line DONE.' --press Enter --expect 'text=is thinking…' --snap thinking --idle --expect "$R:has-text(\"DONE\")" --absent "$R >> nth=1" --snap reply & node $S/instance.mjs crash-worker $RUN_DIR --when $E/killed/thinking.url.txt > $E/killed/crash.log; wait`. `crash.log` names the killed and the new worker. One reply ends with `DONE`.
2828

2929
## Gotchas

0 commit comments

Comments
 (0)