@ouro.bot/cli 0.1.0-alpha.460 → 0.1.0-alpha.462
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/changelog.json +16 -0
- package/dist/mind/prompt.js +8 -2
- package/dist/repertoire/tools-mail.js +6 -1
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.462",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Agent Mail prompt guidance now explicitly separates golden paths from supporting diagnostics, so agents do not answer a golden-path question with `ouro status`, `ouro doctor`, or mail tool names.",
|
|
8
|
+
"The golden-path contract now appears before diagnostic checks in the sense guidance, making HEY-to-work-object, native Screener mail, cross-sense reaction, and Outlook audit the dominant validation story.",
|
|
9
|
+
"Empty Mailroom tool output now says diagnostics help verify the four golden paths but are not substitutes for them."
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"version": "0.1.0-alpha.461",
|
|
14
|
+
"changes": [
|
|
15
|
+
"Agent Mail golden paths are now an explicit numbered system-prompt contract, so agents can name and validate HEY archive import, native Screener mail, cross-sense reaction, and Ouro Outlook audit instead of collapsing them into generic diagnostics.",
|
|
16
|
+
"Empty Mailroom tool guidance now repeats that same four-path checklist before claiming setup works, including the HEY-to-work-object path that catches unimported travel mail.",
|
|
17
|
+
"Prompt and Mailroom tests now lock the canonical golden-path language so future agents keep the setup conversation oriented without asking the human to remember the checklist."
|
|
18
|
+
]
|
|
19
|
+
},
|
|
4
20
|
{
|
|
5
21
|
"version": "0.1.0-alpha.460",
|
|
6
22
|
"changes": [
|
package/dist/mind/prompt.js
CHANGED
|
@@ -469,8 +469,14 @@ function senseRuntimeGuidance(channel, preReadStatusLines) {
|
|
|
469
469
|
lines.push("mail setup truth: Agent Mail uses Mailroom, not HEY OAuth/IMAP. For the full work substrate account, the agent-runnable command is `ouro account ensure --agent <agent> --owner-email <email> --source hey`; use `ouro connect mail --agent <agent> --owner-email <email> --source hey` for mail-only repair/provisioning, or `--no-delegated-source` for native-only mail. The detailed runbook is `docs/agent-mail-setup.md`.");
|
|
470
470
|
lines.push("mail setup truth: HEY archive bootstrap is human-exported MBOX only. I ask for the browser-downloaded MBOX path, then I run `ouro mail import-mbox --file <path> --owner-email <email> --source hey --agent <agent>` myself and verify the import.");
|
|
471
471
|
lines.push("mail setup truth: an empty Mailroom result is not proof the human's HEY inbox is empty. If `mail_recent`/`mail_search` reports no visible mail or no delegated mail, I treat onboarding/import/forwarding as unverified and guide the setup/import flow before reasoning from the absence of messages.");
|
|
472
|
-
lines.push("mail
|
|
473
|
-
lines.push("
|
|
472
|
+
lines.push("mail validation contract: when a human asks for Agent Mail golden paths, I mean these exact four checks before claiming setup works:");
|
|
473
|
+
lines.push("- golden path 1, HEY archive to work object: import the human-provided HEY MBOX and use delegated mail to update a real work object, such as travel plans.");
|
|
474
|
+
lines.push("- golden path 2, native mail and Screener: send and receive agent-native mail, confirm unknown senders enter Screener, get family authorization for allow/discard, verify sender policy, and confirm discarded mail is recoverable.");
|
|
475
|
+
lines.push(channel === "mcp"
|
|
476
|
+
? "- golden path 3, cross-sense reaction: use a mail-derived update or decision to trigger another configured sense when available."
|
|
477
|
+
: "- golden path 3, cross-sense reaction: use a mail-derived update or decision to trigger another configured sense, such as texting the family member on iMessage when BlueBubbles is available.");
|
|
478
|
+
lines.push("- golden path 4, Ouro Outlook audit: inspect the read-only mailbox UI for imported mail, native inbound, Screener decisions, outbound draft/send records, and mail access logs.");
|
|
479
|
+
lines.push("mail validation distinction: `ouro status`, `ouro doctor`, bounded mail tools (`mail_recent`, `mail_search`, `mail_thread`, `mail_access_log`), and the read-only Outlook Mailbox tab are supporting diagnostics, not the golden paths. If asked to name golden paths, do not substitute diagnostic commands for the four paths above. `ouro doctor` is installation-wide; do not invent `ouro doctor --agent <agent>`.");
|
|
474
480
|
lines.push("mail setup boundaries: do not invent `ouro auth verify --provider mail`, HEY OAuth, HEY IMAP, `ouro mcp call mail ...`, policy flags, autonomous sending, destructive mail actions, or production MX/DNS/forwarding changes. HEY export, HEY forwarding, DNS, MX cutover, sending, and destructive actions require explicit human confirmation.");
|
|
475
481
|
if (channel === "cli") {
|
|
476
482
|
lines.push("cli is interactive: it is available when the user opens it, not something `ouro up` daemonizes.");
|
|
@@ -166,7 +166,12 @@ async function renderEmptyMailResult(input) {
|
|
|
166
166
|
...renderSourceGrantStatus(input.config, input.agentId),
|
|
167
167
|
"interpretation: this is not evidence that the human's HEY inbox is empty; Agent Mail has not yet received or imported mail visible to this agent.",
|
|
168
168
|
`agent next move: guide setup from docs/agent-mail-setup.md. If HEY mail is needed, ensure the delegated hey alias exists, ask the human for the exported MBOX file path, run ouro mail import-mbox --agent ${input.agentId} --owner-email <human-email> --source hey --file <mbox-path>, then verify with mail_recent/mail_search/Ouro Outlook.`,
|
|
169
|
-
"validation golden paths
|
|
169
|
+
"validation golden paths before claiming setup works:",
|
|
170
|
+
"1. HEY archive to work object: import the human-provided HEY MBOX and use delegated mail to update a real work object, such as travel plans.",
|
|
171
|
+
"2. Native mail and Screener: send and receive agent-native mail, confirm unknown senders enter Screener, get family authorization for allow/discard, verify sender policy, and confirm discarded mail is recoverable.",
|
|
172
|
+
"3. Cross-sense reaction: use a mail-derived update or decision to trigger another configured sense, such as texting the family member on iMessage when BlueBubbles is available.",
|
|
173
|
+
"4. Ouro Outlook audit: inspect the read-only mailbox UI for imported mail, native inbound, Screener decisions, outbound draft/send records, and mail access logs.",
|
|
174
|
+
"supporting diagnostics are separate: ouro status, ouro doctor, bounded mail tools, and Outlook inspection help verify the paths but are not substitutes for them.",
|
|
170
175
|
].join("\n");
|
|
171
176
|
}
|
|
172
177
|
if (input.scope === "delegated" || input.source) {
|