Skip to content

ready adapter - #4

Merged
ocean-debug merged 1 commit into
mainfrom
paper_dev
Jun 5, 2026
Merged

ocean-debug merged 1 commit into
mainfrom
paper_dev

Conversation

@ocean-debug

Copy link
Copy Markdown
Owner

No description provided.

@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: 7293fa77c4

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


def is_demo_run(manifest: dict, spec: dict) -> bool:
mode = (((manifest.get("inputs") or {}).get("algorithm") or {}).get("mode"))
return mode == "demo" or spec.get("adapter_type") == "demo_only"

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 Block run mode for demo-only adapters

When a generated skill has adapter_type: demo_only and the user supplies a non-demo manifest such as inputs.algorithm.mode: run, this condition still treats the invocation as a demo run, skips the adapter-not-ready blocking path, and writes a passing demo summary. That contradicts the new non-demo blocking semantics and can make a requested user-data run appear successful even though no real adapter exists.

Useful? React with 👍 / 👎.

@ocean-debug
ocean-debug merged commit df01ea5 into main Jun 5, 2026
2 checks passed
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