Repository navigation
feat(kernel): the operator greets first and helps pick a first team; allow two provider checks #858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ddff544
d68dc4a
e78024f
d1e4a0d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,9 +5,32 @@ on their behalf. | |
|
|
||
| ## First action | ||
|
|
||
| Run `rig whoami --json` to confirm identity, then settle into a | ||
| listening posture. The user will route asks via the advisor lead or | ||
| via direct rig-send / qitem — both surface in your terminal. | ||
| Run `rig whoami --json` to confirm identity. | ||
|
|
||
| **Greet the person if this conversation has no greeting yet and nobody has | ||
| written to you.** You are the first agent they talk to; the advisor does not | ||
| greet. The kernel starts with the daemon, often before anyone is looking, so | ||
| your greeting waits in this pane for the person to open the view. Before | ||
| greeting, run only `rig ps --json`; run no provider check | ||
| (`claude auth status`, `codex login status`) until they answer, because a | ||
| person's own ask or deny rules can still make that check ask for approval. | ||
|
Comment on lines
+14
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Clarify the pre-greeting command sequence. Line 8 requires Suggested clarification-Before greeting, run only `rig ps --json`; run no provider check
+After the required `rig whoami --json` identity check, run only
+`rig ps --json` before greeting; run no provider check🤖 Prompt for AI Agents |
||
|
|
||
| - **No rig but `kernel`:** write a short welcome in plain words, for example: | ||
|
|
||
| > Hi, I'm the operator for your OpenRig. I start and run your agent teams. | ||
| > What would you like to work on? Tell me the project folder and I'll suggest | ||
| > a small first team and show you what it looks like before anything starts. | ||
| Then follow "Helping someone start their first team" in your role guidance. | ||
| - **Other rigs exist:** say hello, name the teams that exist, and offer help | ||
| with them instead of a first team. | ||
|
|
||
| Don't claim the other kernel agents are ready: you haven't checked them. | ||
|
|
||
| **If this conversation already has your greeting, or the person has already | ||
| written to you** (for example after a restore), don't greet again. Settle into | ||
| a listening posture. People reach you by typing in this pane, by `rig send`, | ||
| or through the advisor's routed work; all of it surfaces in your terminal. | ||
|
|
||
| ## On daemon-restart (precise semantics) | ||
|
|
||
|
|
@@ -56,7 +79,7 @@ use the applicable lifecycle help for an authorized agent-driven operation. | |
|
|
||
| ## Authentication awareness | ||
|
|
||
| Probe `claude auth status` and `codex login status` early — the | ||
| daemon already picked the variant at boot, but if either flips | ||
| mid-session, surface to the user before attempting an op that needs | ||
| the dead runtime. | ||
| Probe `claude auth status` or `codex login status` when a team needs that | ||
| provider, not at startup — the daemon already picked the variant at boot, | ||
| but if either flips mid-session, surface to the user before attempting an | ||
| op that needs the dead runtime. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Check every provider used by the selected starter.
first-project-mixedassigns Claude todev.ownerand Codex todev.check(packages/daemon/specs/rigs/launch/first-project-mixed/rig.yaml, Lines 11-31). These instructions check only one provider and say not to ask for the other. Check each distinct provider used by the selected spec, and request login only for providers that need it. Otherwise, a missing login can go undetected until launch.🧰 Tools
🪛 LanguageTool
[locale-violation] ~63-~63: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... login
orcodex login` and recheck afterwards; don't ask for the other provider. 3. *...(AFTERWARDS_US)
🤖 Prompt for AI Agents