From ed987c8f71afb2b9a4ddea659ca7aa1436287f4a Mon Sep 17 00:00:00 2001 From: teernisse Date: Wed, 25 Feb 2026 10:02:31 -0500 Subject: [PATCH] docs: update robot-docs manifest and agent instructions for since-last-check Updates the `lore robot-docs` manifest with comprehensive documentation for the new since-last-check inbox feature, enabling AI agents to discover and use the functionality programmatically. robot-docs manifest additions: - since_last_check response schema with cursor_iso, groups, events - --reset-cursor flag documentation - Design notes: cursor persistence location, --project filter behavior - Example commands in personal_dashboard section Agent instruction updates (AGENTS.md, CLAUDE.md): - Added --mrs, --project, --user flags to command examples - Added --reset-cursor example - Aligned both files for consistency Co-Authored-By: Claude Opus 4.5 --- AGENTS.md | 4 ++++ CLAUDE.md | 4 ++++ src/main.rs | 19 +++++++++++++++---- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 9cf9830..2ce9088 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -626,8 +626,12 @@ lore --robot embed # Personal work dashboard lore --robot me lore --robot me --issues +lore --robot me --mrs lore --robot me --activity --since 7d +lore --robot me --project group/repo +lore --robot me --user jdoe lore --robot me --fields minimal +lore --robot me --reset-cursor # Agent self-discovery manifest (all commands, flags, exit codes, response schemas) lore robot-docs diff --git a/CLAUDE.md b/CLAUDE.md index e29edfb..52b440d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -645,8 +645,12 @@ lore --robot embed # Personal work dashboard lore --robot me lore --robot me --issues +lore --robot me --mrs lore --robot me --activity --since 7d +lore --robot me --project group/repo +lore --robot me --user jdoe lore --robot me --fields minimal +lore --robot me --reset-cursor # Agent self-discovery manifest (all commands, flags, exit codes, response schemas) lore robot-docs diff --git a/src/main.rs b/src/main.rs index fe60a97..2a6d29f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2956,8 +2956,8 @@ fn handle_robot_docs(robot_mode: bool, brief: bool) -> Result<(), Box", "-p/--project ", "--all", "--user ", "--fields "], + "description": "Personal work dashboard: open issues, authored/reviewing MRs, activity feed, and cursor-based since-last-check inbox with computed attention states", + "flags": ["--issues", "--mrs", "--activity", "--since ", "-p/--project ", "--all", "--user ", "--fields ", "--reset-cursor"], "example": "lore --robot me", "response_schema": { "ok": "bool", @@ -2965,6 +2965,7 @@ fn handle_robot_docs(robot_mode: bool, brief: bool) -> Result<(), Box Result<(), Box.json. --project filters display only for since-last-check; cursor still advances for all projects for that user." } }, "robot-docs": { @@ -3013,7 +3016,7 @@ fn handle_robot_docs(robot_mode: bool, brief: bool) -> Result<(), Box Result<(), Box