Skip to content

feat: add experimental acpx flows runtime and examples#179

Open
osolmaz wants to merge 18 commits intomainfrom
codex/acpx-flows-doc-plan
Open

feat: add experimental acpx flows runtime and examples#179
osolmaz wants to merge 18 commits intomainfrom
codex/acpx-flows-doc-plan

Conversation

@osolmaz
Copy link
Contributor

@osolmaz osolmaz commented Mar 25, 2026

Summary

  • add an experimental acpx/flows runtime and flow run <file> for TypeScript workflow modules
  • add generic flow primitives for ACP steps, local computation, checkpoints, and runtime-owned actions
  • add per-step cwd, live run state, timeouts, JSON helpers, and file-backed flow persistence under ~/.acpx/flows/runs
  • add shipped flow examples under examples/flows/, including a larger PR-triage example with a colocated written workflow description
  • refactor the flow, queue, and CLI internals so the new surface stays maintainable
  • document the flow model consistently across the README, CLI docs, architecture doc, examples, and skills/acpx/SKILL.md

Notes

  • the core flow surface stays generic; workload-specific behavior is shown as an example flow rather than being baked into the CLI
  • example workflows can perform real side effects if run against live repositories

Validation

  • pnpm run check
  • pnpm run check:docs
  • source and built smoke runs against the shipped flow examples during development

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

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: 0674e7d1a2

ℹ️ 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 on lines +613 to +615
- `profile: "codex"`
- `profile: "openclaw"`
- `profile: "claude"`

Choose a reason for hiding this comment

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

P1 Badge Reorder built-in agent examples to required precedence

AGENTS.md makes built-in agent ordering mandatory in examples (pi, openclaw, codex, claude, ...), but this new example lists codex before openclaw, which violates that required precedence. Because this ordering rule is a documented repo policy (not optional style), leaving it here will propagate inconsistent examples and should be corrected in this commit.

Useful? React with 👍 / 👎.

@osolmaz osolmaz changed the title docs: add acpx flows implementation plan feat: add experimental flow runner Mar 25, 2026
@osolmaz osolmaz changed the title feat: add experimental flow runner feat: add experimental acpx flows runtime Mar 26, 2026
@osolmaz osolmaz changed the title feat: add experimental acpx flows runtime feat: add experimental acpx flows runtime and examples Mar 26, 2026
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