Skip to content

Add runtime-extensible Cordis MCP server - #32

Merged
simeonwarren merged 1 commit into
masterfrom
t3code/runtime-modifiable-plugin
Aug 30, 2026
Merged

Add runtime-extensible Cordis MCP server#32
simeonwarren merged 1 commit into
masterfrom
t3code/runtime-modifiable-plugin

Conversation

@simeonwarrenbot

@simeonwarrenbot simeonwarrenbot commented Aug 30, 2026

Copy link
Copy Markdown
Member

Replace the custom worker/version-store prototype with a standalone stdio MCP
that uses official Cordis Loader, Include, HMR, and Timer packages. Runtime
entries are normal ESM modules backed by standard cordis.yaml: reusable
modules live under projects/mcp_cordis/plugins, while disposable modules live
under ignored out/mcp_cordis storage.

The MCP exposes fixed discovery, lifecycle, invocation, promotion, and bounded
execution gateways. It includes repository, Git worktree, and network starter
modules, plus lifecycle, HMR rollback, restart, stdio isolation, timeout, and
process-tree regression coverage. This branch also incorporates PR 24's scoped
projects/agents skill changes.

Final hosted-review corrections bind repository and Git operations to verified
file or directory handles, bound permanent process-inspection failures, and
make timeout cleanup coverage startup-safe. Regex search now fails closed when
ripgrep is unavailable, avoiding unsafe backtracking and incompatible fallback
semantics while retaining bounded fixed-string fallback search.
Fixed-string fallback also fails closed for invalid UTF-8 so replacement
decoding cannot corrupt raw byte offsets.

Verification:

  • affected tests, skill links, and Buildifier: 12/12 passed
  • affected build: 29/29 targets passed
  • exact-current git diff --check: passed
  • exact-current Buildifier test: passed
  • exact-current //projects/mcp_cordis:docs build: passed
  • independent whole-diff review: accepted with no actionable findings

LLM-disclaimer: This pull request was generated by an LLM.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 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-30T20:32:19.781243Z e1ed4d4 Manual request
ℹ️ 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: 7cfef07190

ℹ️ 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 projects/mcp_cordis/src/package_worker.mjs Outdated
Comment thread projects/mcp_cordis/src/runtime.mjs Outdated
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from 7cfef07 to deaa2dc Compare August 30, 2026 12:42
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: deaa2dcd54

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs
Comment thread projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/plugins/network_probe.mjs Outdated
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from deaa2dc to 5081759 Compare August 30, 2026 12:50
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: 9c1fabb520

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/src/runtime.mjs Outdated
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: 36ffe26f54

ℹ️ 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 projects/mcp_cordis/internal/runtime.mjs
Comment thread projects/mcp_cordis/plugins/repo_context.mjs Outdated
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: b41e5b472f

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: cfab0fb562

ℹ️ 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 projects/mcp_cordis/src/mcp.mjs Outdated
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

@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: bc4e5ae97e

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/plugins/repo_context.mjs
simeonwarrenbot added a commit that referenced this pull request Aug 30, 2026
Replace mandatory alternatives with conditional, concrete improvements that
identify a real issue and provide useful wording. Give flow and tone questions
a direct, fidelity-preserving assessment and require behavioral coverage to
include an actual revision.

Add the decision-review skill from PR #32 with validation and discovery, and
require delivery to wait for a started remote review of the exact final head
before reporting completion.

LLM-disclaimer: This commit was generated by an LLM.
simeonwarrenbot added a commit that referenced this pull request Aug 30, 2026
Replace mandatory alternatives with conditional, concrete improvements that
identify a real issue and provide useful wording. Give flow and tone questions
a direct, fidelity-preserving assessment and require behavioral coverage to
include an actual revision.

Add the decision-review skill from PR #32 with validation and discovery, and
require delivery to wait for a started remote review of the exact final head
before reporting completion.

LLM-disclaimer: This commit was generated by an LLM.
simeonwarrenbot added a commit that referenced this pull request Aug 30, 2026
Replace mandatory alternatives with conditional, concrete improvements that
identify a real issue and provide useful wording. Give flow and tone questions
a direct, fidelity-preserving assessment and require behavioral coverage to
include an actual revision.

Add the decision-review skill from PR #32 with validation and discovery, and
require delivery to wait for a started remote review of the exact final head
before reporting completion.

LLM-disclaimer: This commit was generated by an LLM.
simeonwarren pushed a commit that referenced this pull request Aug 30, 2026
Replace mandatory alternatives with conditional, concrete improvements that
identify a real issue and provide useful wording. Give flow and tone questions
a direct, fidelity-preserving assessment and require behavioral coverage to
include an actual revision.

Add the decision-review skill from PR #32 with validation and discovery, and
require delivery to wait for a started remote review of the exact final head
before reporting completion.

LLM-disclaimer: This commit was generated by an LLM.
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch 2 times, most recently from b9ead54 to 968be9e Compare August 30, 2026 18:16
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head 968be9ec804579ff13056369789b67ca955cfa0f.

LLM-disclaimer: This comment was generated by an LLM.

@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: 968be9ec80

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/internal/process_supervisor.mjs Outdated
Comment thread projects/mcp_cordis/test/exec_test.mjs
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from 968be9e to 033470d Compare August 30, 2026 18:47
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head 033470de15c5588cfa6f35234e30d2835183d898.

LLM-disclaimer: This comment was generated by an LLM.

@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: 033470de15

ℹ️ 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 projects/mcp_cordis/plugins/git_worktree.mjs
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from 033470d to fb5c9ae Compare August 30, 2026 19:14
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head fb5c9ae17969084ada185466b17ede0c47be0bfe.

LLM-disclaimer: This comment was generated by an LLM.

@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: fb5c9ae179

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/plugins/repo_context.mjs Outdated
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from fb5c9ae to 6187a54 Compare August 30, 2026 19:33
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head 6187a5426d4791f2eedfd101ae079f897366ed4d.

LLM-disclaimer: This comment was generated by an LLM.

@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: 6187a5426d

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Comment thread projects/mcp_cordis/plugins/repo_context.mjs Outdated
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from 6187a54 to 8cc124b Compare August 30, 2026 20:00
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head 8cc124b79e3978496e95d1657267db060cb0d7d6.

LLM-disclaimer: This comment was generated by an LLM.

@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: 8cc124b79e

ℹ️ 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 projects/mcp_cordis/plugins/repo_context.mjs Outdated
Replace the custom worker/version-store prototype with a standalone stdio MCP
that uses official Cordis Loader, Include, HMR, and Timer packages. Runtime
entries are normal ESM modules backed by standard `cordis.yaml`: reusable
modules live under `projects/mcp_cordis/plugins`, while disposable modules live
under ignored `out/mcp_cordis` storage.

The MCP exposes fixed discovery, lifecycle, invocation, promotion, and bounded
execution gateways. It includes repository, Git worktree, and network starter
modules, plus lifecycle, HMR rollback, restart, stdio isolation, timeout, and
process-tree regression coverage. This branch also incorporates PR 24's scoped
`projects/agents` skill changes.

Final hosted-review corrections bind repository and Git operations to verified
file or directory handles, bound permanent process-inspection failures, and
make timeout cleanup coverage startup-safe. Regex search now fails closed when
ripgrep is unavailable, avoiding unsafe backtracking and incompatible fallback
semantics while retaining bounded fixed-string fallback search.
Fixed-string fallback also fails closed for invalid UTF-8 so replacement
decoding cannot corrupt raw byte offsets.

Verification:

- affected tests, skill links, and Buildifier: 12/12 passed
- affected build: 29/29 targets passed
- exact-current `git diff --check`: passed
- exact-current Buildifier test: passed
- exact-current `//projects/mcp_cordis:docs` build: passed
- independent whole-diff review: accepted with no actionable findings

LLM-disclaimer: This commit was generated by an LLM.
@simeonwarrenbot
simeonwarrenbot force-pushed the t3code/runtime-modifiable-plugin branch from 8cc124b to e1ed4d4 Compare August 30, 2026 20:21
@simeonwarrenbot

Copy link
Copy Markdown
Member Author

@codex review

Please review the exact current head e1ed4d4081008e0b668b4adef36d1c5522d6d6b1.

LLM-disclaimer: This comment was generated by an LLM.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: e1ed4d4081

ℹ️ 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".

@simeonwarren
simeonwarren merged commit 6f38c08 into master Aug 30, 2026
@simeonwarren
simeonwarren deleted the t3code/runtime-modifiable-plugin branch August 30, 2026 21:07
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.

2 participants