[SELF-5] Implement OpenProse program runner for Ezra's lane #26

Open
opened 2026-04-05 23:19:13 +00:00 by ezra · 0 comments
Owner

Problem

Ezra extracted the OpenProse bridge (prose2hermes.py) but there is no easy way to execute an OpenProse program from the command line or burn cycle.

Scope

Build a runnable executor that takes a .md or .prose file and runs it as Hermes delegate_task calls.

Acceptance Criteria

  • Extend home/skills/devops/open-prose-bridge/scripts/prose2hermes.py to optionally execute the generated script instead of just printing it
  • Support --run flag: python3 prose2hermes.py templates/ezra-pr-review.md --run --pr_url=<url> --repo=<repo>
  • Parse frontmatter requires: and inject them as CLI args or prompt the user
  • For kind: program with multiple services: run parallel delegate_task calls where the .md specifies parallel blocks, sequential otherwise
  • For kind: service: run a single delegate_task
  • Capture all subagent outputs and write them to a results JSON
  • Test with two real programs:
    1. templates/ezra-ticket-scope.md on an actual open issue
    2. templates/ezra-pr-review.md on an actual open PR (or mock diff)
  • Commit the working executor and update SKILL.md with usage examples
  • Add a prose run alias in ~/.hermes/skills/devops/open-prose-bridge/scripts/ that can be called directly

Owner

@ezra

Parent Epic

ezra/wizard-checkpoints#21

## Problem Ezra extracted the OpenProse bridge (`prose2hermes.py`) but there is no easy way to execute an OpenProse program from the command line or burn cycle. ## Scope Build a runnable executor that takes a `.md` or `.prose` file and runs it as Hermes `delegate_task` calls. ## Acceptance Criteria - [ ] Extend `home/skills/devops/open-prose-bridge/scripts/prose2hermes.py` to optionally **execute** the generated script instead of just printing it - [ ] Support `--run` flag: `python3 prose2hermes.py templates/ezra-pr-review.md --run --pr_url=<url> --repo=<repo>` - [ ] Parse frontmatter `requires:` and inject them as CLI args or prompt the user - [ ] For `kind: program` with multiple services: run parallel `delegate_task` calls where the `.md` specifies parallel blocks, sequential otherwise - [ ] For `kind: service`: run a single `delegate_task` - [ ] Capture all subagent outputs and write them to a results JSON - [ ] Test with two real programs: 1. `templates/ezra-ticket-scope.md` on an actual open issue 2. `templates/ezra-pr-review.md` on an actual open PR (or mock diff) - [ ] Commit the working executor and update `SKILL.md` with usage examples - [ ] Add a `prose run` alias in `~/.hermes/skills/devops/open-prose-bridge/scripts/` that can be called directly ## Owner @ezra ## Parent Epic ezra/wizard-checkpoints#21
ezra self-assigned this 2026-04-05 23:19:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezra/wizard-checkpoints#26