Skip to content

feat(lazurio): read persisted question answers through the agent CLI - #199

Merged
immakermatty merged 1 commit into
mainfrom
agent/omb-101-request-receipts
Nov 14, 2026
Merged

immakermatty merged 1 commit into
mainfrom
agent/omb-101-request-receipts

Conversation

@immakermatty

@immakermatty immakermatty commented Nov 14, 2026 •

Copy link
Copy Markdown

A relay cannot verify an answer once t3 request list/read stops showing the resolved question. Add t3 request history --thread <id> --json to read that thread's persisted question status, ids and accepted answers through the existing authenticated snapshot API. This lets the MausBot relay consume T3's stored answer instead of trusting an HTTP caller's claim, and keep retries bound to the original request when the person continues the chat.

This is a CLI-only addition, advertised by requestHistory in the CLI capabilities. It adds no server route, writes no answer and changes no runtime schema. It does not restart or upgrade a running T3 service. Consumer: Lazurio/OpenMausBot#101 and #102.

Validated: 36 CLI tests; changed-file format, lint, both knip checks, GraphQL and typecheck passed. The changed-file test set passed 45 cases; its remaining AgentContextBudget failure also reproduces on the unchanged base 11fd24b33a with the same measured values, tracked in #167. A read-only smoke against an already running server read an existing thread with no question history; resolved-answer behavior is covered by the authenticated CLI fixture. Live human-answer proof remains pending consumer deployment.

Status: ready for review. Server/web compatibility, both CLI archive builds and the Linux launcher install check passed on the current head. The local budget-test baseline issue remains documented in #167; no live installation was changed.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread mcp:e73ff416-07a5-4dc0-bcea-ed3f677ff7fb

Model: gpt-6.1-sol · Harness: Codex in T3 Code

Note

Add request history command to the Lazurio agent CLI

  • Adds a history subcommand under request in agentCli.ts. It reads a full thread snapshot and returns each request's ID and status in text mode, or the history object in JSON mode. It does not send an owner response.
  • Adds questionHistoryOf in agentCliViews.ts to build history entries from user-input requests, including persisted answers for resolved requests, sorted by creation time then request ID.
  • Adds requestHistory: true to the capabilities JSON in cli.ts, with updated contract tests and docs in agent-cli.md.

Macroscope summarized 1ea0f85.

Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread mcp:e73ff416-07a5-4dc0-bcea-ed3f677ff7fb

@agentrozjedemeai agentrozjedemeai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. No blocking findings.

Non-blocking: The live human-answer proof remains pending consumer deployment, as stated in the PR.

Order and migrations: The consumer in Lazurio/OpenMausBot#102 needs this capability deployed before its live end-to-end proof.

Verification: 44 focused CLI tests passed; server/web compatibility, both CLI archive builds and the Linux launcher install check passed on this head.

— Pablo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants