Skip to content

Comments

Add Codex Task Runner community ability#118

Open
Ju-usc wants to merge 11 commits intoopenhome-dev:devfrom
Ju-usc:add-codex-task-runner
Open

Add Codex Task Runner community ability#118
Ju-usc wants to merge 11 commits intoopenhome-dev:devfrom
Ju-usc:add-codex-task-runner

Conversation

@Ju-usc
Copy link

@Ju-usc Ju-usc commented Feb 23, 2026

Summary

  • add a new community ability at community/codex-task-runner for voice-triggered Codex task execution via webhook
  • include confirmation/cancel flow, conversational spoken summaries, and placeholder-based webhook configuration
  • document setup, trigger words, and a minimal Codex-focused /run webhook example aligned with safer scoped execution

Validation

  • python3 -m py_compile community/codex-task-runner/main.py
  • python3 validate_ability.py community/codex-task-runner

Introduce a WebUI-compatible ability that relays coding tasks to a Codex webhook with confirmation/cancel flow and conversational summaries. Document setup, trigger words, and a minimal Codex-focused /run webhook contract for contributors.
Replace explicit register_capability boilerplate with the template register tag and remove raw open() usage so the ability matches updated validation requirements.
Copilot AI review requested due to automatic review settings February 23, 2026 05:40
@Ju-usc Ju-usc requested a review from a team as a code owner February 23, 2026 05:40
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

🔀 Branch Merge Check

PR direction: add-codex-task-runnerdev

Passedadd-codex-task-runnerdev is a valid merge direction

@github-actions github-actions bot added first-contribution First-time contributor community-ability Community-contributed ability labels Feb 23, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

✅ Ability Validation Passed

📋 Validating: community/codex-task-runner
  ✅ All checks passed!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/codex-task-runner/main.py

✅ Flake8 — Passed

✅ All checks passed!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new community ability called "Codex Task Runner" that enables voice-triggered execution of coding tasks via an external webhook. The ability implements a confirmation flow before executing tasks, provides conversational spoken summaries of results, and uses placeholder-based webhook configuration for easy deployment.

Changes:

  • New voice-controlled ability for remote Codex task execution with confirmation flow and spoken results
  • Comprehensive documentation including setup instructions, webhook API contract, and example server implementation
  • Configuration via inline constants (WEBHOOK_URL, WEBHOOK_TOKEN) for WebUI-friendly setup

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
community/codex-task-runner/main.py Core ability implementation with conversation flow, webhook calls, and summary generation
community/codex-task-runner/README.md Setup documentation and example webhook server implementation
community/codex-task-runner/init.py Empty package initialization file (standard Python package structure)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codermohsin
Copy link
Contributor

Hey
I ran your ability code but it give this error "[ERROR]
1771830995.2642982:Error in ability: github_abilities, Details: GithubAbilitiesCapability.register_capability() missing 1 required positional argument: 'cls'"

image "

How to fix:

# Do not change following tag of register capability
#{{register capability}}

Currently you added extra text before the register capability block like this -> "# register capability tag: #{{register capability}}"

 try this  

    #{{register capability}}

def call(self, worker: AgentWorker):
    """OpenHome SDK hook; starts async ability flow."""
    .
    .
   .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants