Skip to content

Add workflow event inspection for agent diagnostics - #24

Merged
ANcpLua merged 4 commits into
mainfrom
agent/agent-diagnostic-snapshots
Aug 14, 2026
Merged

Add workflow event inspection for agent diagnostics#24
ANcpLua merged 4 commits into
mainfrom
agent/agent-diagnostic-snapshots

Conversation

@ANcpLua

@ANcpLua ANcpLua commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add the model-visible, read-only inspect_workflow_events tool for immutable workflow journal inspection.
  • Use the dedicated InspectWorkflowEventsInput/Output contract from @ancplua/qyl-api-schema@7.1.0: immediate bounded reads with no graph cursors or long-poll controls.
  • Return safe content_captured summaries first and retrieve protected evidence only through an explicit listed content_ref.
  • Release qyl-mcp-server 1.2.0, align workspace consumers, and regenerate the tool manifest at contract revision sha256:72545708596baccd.

Stack

Validation

  • npm ci
  • npm run build
  • npm test --workspace server — 68/68 passed.
  • npm run smoke --workspace server
  • npm run verify:pins against merged qyl main — 7.1.0 pins agree.
  • npm run smoke:otlp against merged qyl main — official OTLP persistence, exact trace evidence, redaction, and the live content_captured summary → explicit protected-content round trip passed in 18 seconds.
  • No retry or timeout limits were increased.

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (17)
  • dashboard/package.json is excluded by none and included by none
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json and included by none
  • package.json is excluded by none and included by none
  • server/README.md is excluded by none and included by none
  • server/package.json is excluded by none and included by none
  • server/smoke-test.mjs is excluded by none and included by none
  • server/src/contract-validation.ts is excluded by none and included by none
  • server/src/contracts.test.ts is excluded by none and included by none
  • server/src/tool-annotations.test.ts is excluded by none and included by none
  • server/src/workflow-data.test.ts is excluded by none and included by none
  • server/src/workflow-data.ts is excluded by none and included by none
  • server/src/workflow-tools.test.ts is excluded by none and included by none
  • server/src/workflow-tools.ts is excluded by none and included by none
  • server/tool-manifest.snapshot.json is excluded by none and included by none
  • workbench/package.json is excluded by none and included by none
  • workbench/smoke.mjs is excluded by none and included by none
  • workbench/telemetry-smoke.mjs is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 3247ea2f-b35e-46be-a69f-a76547206556

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ANcpLua

ANcpLua commented Aug 9, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: c6c03eec02

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ANcpLua
ANcpLua force-pushed the agent/agent-diagnostic-snapshots branch from 1e71dfe to f448cc7 Compare August 14, 2026 19:08
@ANcpLua
ANcpLua marked this pull request as ready for review August 14, 2026 19:08
@ANcpLua
ANcpLua merged commit 1dbe037 into main Aug 14, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f448cc76c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"@types/node": "26.2.0",
"qyl-mcp-dashboard": "^1.1.1",
"qyl-mcp-server": "^1.1.1",
"qyl-mcp-server": "^1.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Regenerate the Bun lockfile with the contract bump

In environments that install with the repository-declared Bun package manager, bun.lock still records qyl-mcp-server 1.1.x and @ancplua/qyl-api-schema 7.0.0 for every workspace, even though these manifests now require 1.2.0/7.1.0. This makes the committed dependency graph non-reproducible and causes frozen Bun installs to reject it—bun install --help defines --frozen-lockfile as “Disallow changes to lockfile”—rather than installing the generated contracts needed by the new tool. Regenerate and commit bun.lock alongside package-lock.json.

AGENTS.md reference: AGENTS.md:L7-L7

Useful? React with 👍 / 👎.

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