Skip to content

Project tool observability into reviewer transcripts#1809

Merged
chubes4 merged 1 commit into
mainfrom
feat/agents-api-tool-observability-v2
Jul 15, 2026
Merged

Project tool observability into reviewer transcripts#1809
chubes4 merged 1 commit into
mainfrom
feat/agents-api-tool-observability-v2

Conversation

@chubes4

@chubes4 chubes4 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Project canonical Agents API tool lifecycle summaries into sanitized WP Codebox reviewer evidence.

What changed

  • Added strict versioned normalization for ordered tool calls, safe identifiers, redacted argument key summaries, fixed error messages, and canonical result shapes.
  • Removed raw tool observability before staging and records only the sanitized projection and digest in reviewer artifacts.

How to test

  1. Run npm run build; expect TypeScript compilation and CLI executable validation succeed..
  2. Run npm run test:agent-task-contracts; expect Agent-task, workflow interface, runtime materialization, privacy, malformed-input, and result-shape contracts pass..
  3. Run npm run test:browser-runner-template; expect The generated browser runner template contract passes..

Compatibility

Additive reviewer-evidence behavior only. Existing agent-task result fields, artifact privacy rules, optional-artifact behavior, and no-op semantics are preserved. Unsupported or malformed observability is omitted.

Evidence

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode
  • Model: openai/gpt-5.6-terra
  • Used for: Implemented the canonical observability projection, corrected result-shape handling, hardened identifier privacy, added regression coverage, and verified reviewer artifact staging; Chris reviewed and owns the change.

Source relationships

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.

Project Agents API tool observability into reviewer transcripts

1 participant