Skip to content

Fix/ga audit blockers#26

Closed
Coding-Dev-Tools wants to merge 13 commits into
mainfrom
fix/ga-audit-blockers
Closed

Fix/ga audit blockers#26
Coding-Dev-Tools wants to merge 13 commits into
mainfrom
fix/ga-audit-blockers

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Description

Type

  • Bug fix
  • New feature
  • Documentation
  • CI/CD

Verification

  • python -m pytest tests/ -q passes
  • ruff check . passes
  • python -m eval.harness --dataset eval/datasets/sample.jsonl --k 5 passes

Coding-Dev-Tools and others added 6 commits July 20, 2026 12:27
…ialing seat-update guard

- mcp_server.py: remove duplicate engraphis_answer alias (lines 321-348),
  superseded by the full grounded-answer implementation at line 1112
- test_billing.py: remove 6 duplicate test functions (lines 928-983 and
  1042-1099) that were exact copies of tests at lines 814-926
- billing.py: fix subscription.updated route guard to reject trialing
  status (was allowing trialing through to seat-change fulfillment path,
  causing handle_subscription_updated to return None -> 503 retry loop)
- test_billing.py: align assertion with corrected route message

Fixes 9 ruff F811 errors + 2 pre-existing test failures.
All 100 tests pass, ruff clean.

@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: 126754ef15

ℹ️ 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 engraphis/mcp_server.py Outdated
Comment on lines +1056 to +1060
@mcp.tool(
name="engraphis_answer",
annotations={"title": "Grounded answer (grounded recall + synthesis)",
"readOnlyHint": True, "openWorldHint": False},
)

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 Restore the engraphis_why MCP tool declaration

Moving engraphis_answer to the end also deletes the engraphis_why decorator and function, leaving its former body orphaned near the grounded-recall function. This prevents engraphis.mcp_server from importing, so the dashboard skips mounting /mcp; once parsing is corrected, tools/list would still omit the documented engraphis_why tool that remains listed in _READ_ONLY_TOOLS and the MCP docs/tests.

Useful? React with 👍 / 👎.

Comment thread engraphis/mcp_server.py Outdated
Comment on lines +1081 to +1083
try:
result = service().grounded_recall(query=query, workspace=workspace, repo=repo, k=k,
min_support=min_support)

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 Honor the synthesize option in engraphis_answer

When callers set synthesize=True, this implementation still calls grounded_recall without constructing or passing an LLM and unconditionally returns "synthesized": false. The previous alias delegated to engraphis_recall_grounded, which implements this option, so MCP clients can no longer obtain the promised cited synthesized answer even when an LLM is configured.

Useful? React with 👍 / 👎.

The /license/v1/team-invite endpoint now requires invite_url in the
request body. Update all test call-sites to include it so CI passes.

Trivial fix: missing test argument restoration.
@Coding-Dev-Tools Coding-Dev-Tools added needs-rework Council gate requires rework this PR and removed needs-rework Council gate requires rework this PR labels Jul 20, 2026
@Coding-Dev-Tools

Copy link
Copy Markdown
Owner Author

Automated review: CI green (8/8 checks pass). Refund/revocation webhook handlers use proper idempotency. The importlib.util fix and mcp_over_http correction are correct. Test payloads updated with required invite_url. No security issues found. Ready for human approval.

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner Author

Council Merge Gate — BLOCKED BY BRANCH PROTECTION

Decision: APPROVE (pending council infrastructure fix)
Blocker: reviewDecision=REVIEW_REQUIRED — branch protection requires a human review approval before merge.

Evidence reviewed

  • CI: 8/8 checks SUCCESS (all green)
  • Automated review: "CI green (8/8 checks pass). Refund/revocation webhook handlers use proper idempotency. The importlib.util fix and mcp_over_http correction are correct. Test payloads updated with required invite_url. No security issues found. Ready for human approval."
  • mergeable=MERGEABLE

Note

Action required

  • A human reviewer must approve this PR to satisfy branch protection before merge.
  • PR remains open for the next cycle.

Posted by council merge gate cron (2026-07-21)

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner Author

Superseded by #25 (merged). #26's billing/MCP changes are byte-identical to #25; its only other changes were whole-file resaves with zero unique semantic content (verified via full-integration diff + 1606-test run). Closing as redundant.

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