fix: backport managed MCP http_headers to stable #1
Loading…
Reference in a new issue
No description provided.
Delete branch "HOM-65-stable-mcp-http-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Thinking Path
Linked Issues or Issue Description
What happened?
The stable writer emits
headers. Runtime MCP tools can fail to become available to Codex.Expected behavior
The writer emits
http_headersand keeps the same URL and bearer value.Steps to reproduce
d2c614c18ce39ee8dfa57524742662dede8597eb.f00ed1fb846e66ec94a7d12635e31fd6237d06f8.replaces the managed MCP blockincodex-home.test.ts.headers.Paperclip version or commit
Base:
d2c614c18ce39ee8dfa57524742662dede8597eb. Source of the change:f00ed1fb846e66ec94a7d12635e31fd6237d06f8.What Changed
headerstohttp_headers.http_headers. Reject the old top-level key.Verification
pnpm exec vitest run --config packages/adapters/codex-local/vitest.config.ts packages/adapters/codex-local/src/server/codex-home.test.ts: 53 tests pass.pnpm --filter @paperclipai/adapter-codex-local typecheck: passes.node --test scripts/release-package-map.test.mjs scripts/acpx-patch-packaging.test.mjs: 28 tests pass.src/server/index.ts. A synthetictsxfixture loadscodex-home.tsthrough its.jsimport and writes the correct key. The fixture makes no network request.git diff --check: passes.Risks
distinstead of source. The operator must confirm the live export and loader before using a source overlay.Model Used
OpenAI GPT-6, acting as Codex, with tool use and code execution. The runtime does not expose a more specific model identifier or context window size.
Checklist
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.