Repository navigation
fix(codex): preserve ATC registry context in bundled MCP config - #5
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reached
This review includes 2 billable files and costs up to $0.50.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 6 minutes for your next included review. View limit detailsLimit details: You’ve used all 2 included reviews currently available. Your 54 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Essentials Run ID: 📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Essentials Run ID: 📒 Files selected for processing (8)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. WalkthroughThe GitKB plugin forwards additional ATC environment-variable names to its MCP process. Contract and startup tests check the packaged configuration and the child process environment. Make targets and CI run these checks. ChangesGitKB MCP context and launch validation
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant StartupTest
participant CodexAppServer
participant GitKBPlugin
participant FakeGitKB
StartupTest->>CodexAppServer: launch app-server with isolated environment
CodexAppServer->>GitKBPlugin: start installed MCP plugin
GitKBPlugin->>FakeGitKB: launch git-kb mcp with inherited environment
FakeGitKB->>StartupTest: return captured environment values
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change forwards the intended ATC context and documents the required plugin update and process restart. No concrete merge-blocking issue remains; merge after normal checks pass. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 2 files. (6 skipped: 6 unsupported.) ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
A rabbit checks the startup trail, Comment |
|
Addressed the docstring coverage warning in the follow-up test commit. All seven test/helper functions now have docstrings (verified via Python AST). Release checks and the actual Codex MCP startup regression still pass locally. There were no inline review threads to resolve. |
The bundled
0.1.1plugin already forwards session activity settings, but dropsATC_ROOTandATC_CONFIGat the Codex MCP launch boundary. With a custom registry, the activity sink can target a different registry from the shim. This also updates the bundled cache version alongside the standalone package's missing-forwarding repair.Forward the six
SESSION_ACTIVITY_*settings plusATC_ROOTandATC_CONFIGby name, without baking in a session ID or forwarding unrelated credentials. Both maintained plugin payloads now declare version0.1.2, giving the corrected launch configuration a distinct cache version. Document the required plugin update and new Codex/MCP process; installing the ATC or GitKB binary alone does not refresh a cached plugin.Validation:
make release-checkpasses.make test-integration CODEX_TEST_BINARY=...passes with both the native provider and npm@openai/codex@0.159.2launcher. It installs the actual package in a temporary Codex home, initializes MCP through app-server, and verifies two successive session contexts plus a launch without session context.Tracks
[[tasks/harmony-1991]]; follow-up to the merged ATC registry repair and GitKB Core export changes. The current live session still needs a supported plugin upgrade/restart and a real MCP mutation plus overlay/resume verification. Existing missing activity is not backfilled.Summary by CodeRabbit
Features
Documentation
Tests