Skip to content

fix(test): repair the three upstream #797 review findings - #12

Open
dinakarjs wants to merge 1 commit into
review/797-base-36b29ddfrom
fix/cb-can-review-797
Open

dinakarjs wants to merge 1 commit into
review/797-base-36b29ddfrom
fix/cb-can-review-797

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

What

Repair the three reproduced review findings on upstream agentrust-io/cmcp#797, based directly on its current head 36b29dd13a29ac67fdb14f430641b5ae003805fc.

  • CAN-01/action compares the witness with the captured request method.
  • Repeated operand names are unavailable to both operand and joint-context checks, regardless of order or whether the witnesses agree.
  • Native listen and acknowledged notification both require JSON-RPC 2.0.

Only the existing test-fixture oracle, its tests and its README change. The acknowledged task list remains separate from subscriber authority. No production runtime or wire protocol changes.

Adoption

This is a companion for the original author to cherry-pick into agentrust-io#797, not a competing upstream PR. Its base branch preserves the exact reviewed snapshot so the three-file repair is directly reviewable.

Cherry-pick fb107c788432e73a789a687e34beef580e3d9d62, rerun current-head CI, then obtain independent re-review. I contributed this repair and cannot provide independent approval of it.

Evidence

Fresh hash-locked repository development environment, Python 3.12.14:

  • Focused suite: 403 passed (360 existing + 43 added cases).
  • Same tests with the original fixture implementation in a separate checkout: 30 failed, 373 passed.
  • Full unit suite: 2,892 passed, 8 skipped.
  • Repository Ruff, mypy over 64 source files, configured Bandit, pip check and diff whitespace checks pass.

The initial full run had nine failures from the workspace's SOCKS proxy configuration and one from missing local package metadata. Installing the local package with --no-deps -e . and removing process-local ALL_PROXY overrides while setting loopback NO_PROXY produced the full passing run above. No dependency locks or repository network controls were changed.

Limits

Synthetic keys and role authority remain fixture premises. This does not establish production callback authentication, terminal effects or complete traffic capture and does not close agentrust-io#567. Upstream hosted checks and maintainer acceptance remain separate.

Prepared and validated with OpenAI Codex. DCO signed.

Signed-off-by: Srinivasa Dinakar Jainti <dinakarjs@gmail.com>
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor check flagged MEDIUM risk label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant