Skip to content

Publish the embedded SDK boundary for ReviewBot - #115

Merged
tzhouam merged 2 commits into
mainfrom
consolidate/reviewbot-sdk-v1
Aug 31, 2026
Merged

tzhouam merged 2 commits into
mainfrom
consolidate/reviewbot-sdk-v1

Conversation

@tzhouam

@tzhouam tzhouam commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • publish the versioned Direct, Strict, and knowledge SDK used by ReviewBot
  • package a hermetic typed provider surface with capability/version handshakes
  • extend the ReviewBot evaluation harness and CI wheel smoke to cover the shipped boundary

Validation

  • isolated mcp<2 environment: SDK, contract, MCP, and thin-server tests pass
  • knowledge tree and wiki validators pass
  • ReviewBot full suite passes against this local provider source

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-31T04:02:29.974091Z 0e9ea95 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 0e9ea957e1

ℹ️ 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 on lines +457 to +461
page_text = self._document_path(page).read_text(
encoding="utf-8"
)
if self._rule_exists(page_text, rule_id):
reason = "rule_id already exists in the target page"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Reject synonymous rules, not only duplicate IDs

When model output restates an existing rule under a new valid rule_id, this check accepts it because _rule_exists compares only headings; apply() then appends the synonymous section. That directly bypasses the repository's union-first requirement and allows repeated curation runs to accumulate duplicate conclusions instead of merging them.

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

Useful? React with 👍 / 👎.

Comment on lines +47 to +50
_VALIDATOR_IDS: Final = (
"knowledge/tools/check_knowledge_tree.py",
"knowledge/tools/check_wiki_lint.py",
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Run the vLLM-Omni release audit before reporting success

For any accepted proposal targeting knowledge/repos/vllm-omni/, apply() runs only these two validators and can return success=True without the required tools/audit_vllm_omni_release.py enforce check. The two validators do not cover owner-document, SHA-pin, or upstream-source reconciliation, so the curator can approve a batch that later fails the mandatory PR audit.

AGENTS.md reference: AGENTS.md:L25-L29

Useful? React with 👍 / 👎.

Comment on lines +57 to +58
@lru_cache(maxsize=8)
def _resource_revision(knowledge_dir: str, adapters_dir: str) -> str:

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 Recompute resource revisions when validating a context

In an editable/source deployment, if knowledge or adapter files change after plan() issues a context, this path-keyed cache keeps returning the original digest indefinitely. Consequently the resource-drift check in DirectClient.validate() can still mark the review complete even though its referenced provider resources changed; the revision must be refreshed or the cache invalidated before that comparison.

Useful? React with 👍 / 👎.

@tzhouam
tzhouam merged commit c4f96aa into main Aug 31, 2026
2 checks passed
@tzhouam
tzhouam deleted the consolidate/reviewbot-sdk-v1 branch August 31, 2026 04:02
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.

1 participant