Loading...
Loading...
Run an arbitrary autonomous task end-to-end and ship it as a PR against the configured base branch. Drafts a Progress-tracked execution plan, commits on a fresh worktree branch, implements phase-by-phase, runs the configured validation gate, applies pipeline labels. Long plans hand off to om-auto-create-pr-loop automatically. Resumable via om-auto-continue-pr.
npx skill4agent add open-mercato/skills om-auto-create-pr{brief}--spec <ref>om-auto-implement-spec$SPECS_DIRSource doc:--skill-url <url>--slug <kebab-case>--loopom-auto-create-pr-loopreferences/engine-selection.md--forceom-auto-write-specom-auto-continue-prPR:Issue:om-auto-review-prom-auto-qa-prom-open-prom-auto-review-prom-auto-continue-prreferences/agentic-setup.md.ai/agentic.config.jsonom-setup-agent-pipelineBASE_BRANCHRUNS_DIRLOOP_STEP_THRESHOLDengine.loopStepThresholdLABELS_ENABLEDQA_GATEvalidation.commandsapply_labelCURRENT_USERDATE=$(date +%Y-%m-%d)
SLUG="{slug-or-derived}"
PLAN_PATH="${RUNS_DIR}/${DATE}-${SLUG}.md"
BRANCH_PREFIX="{fix for bugfix/remediation work; otherwise feat}"
BRANCH="${BRANCH_PREFIX}/${SLUG}"fix/${SLUG}feat/${SLUG}$PLAN_PATHorigin/$BASE_BRANCHorigin/${BRANCH}$PLAN_PATH| State | | Action |
|---|---|---|
| Nothing exists | — | Claim and proceed. |
| Branch/plan exists, current user owns it | — | Treat as re-entry; hand off to |
| Branch/plan exists, someone else owns it | no | STOP. Ask the user: "Plan/branch for |
| Branch/plan exists, someone else owns it | yes | Pick a new dated slug ( |
om-auto-continue-pr {prNumber}om-auto-continue-pr-loop--forcereferences/claim-pr.md--loopreferences/engine-selection.mdom-auto-create-pr-loop--spec--slug--skill-url--forceEngine:— brief: <path>om-brainstorm--skill-urlreferences/external-skill-urls.mdAGENTS.mdCLAUDE.mdCONTRIBUTING.mdSource doc: {path}om-auto-continue-pr## Progress
> Convention: `- [ ]` pending, `- [x]` done. Append ` — <commit sha>` when a step lands. Do not rename step titles.
### Phase 1: {name}
- [ ] 1.1 {step title}
- [ ] 1.2 {step title}
### Phase 2: {name}
- [ ] 2.1 {step title}references/engine-selection.mdLOOP_STEP_THRESHOLDom-auto-create-pr-loop--loop${RUNS_DIR}/${DATE}-${SLUG}.mdEngine: om-auto-create-pr (steps: <N>, --loop: no)origin/$BASE_BRANCH$BRANCHCREATED_WORKTREEtrapreferences/worktree-setup.mdmkdir -p "$RUNS_DIR"
git add "$PLAN_PATH"
git commit -m "docs(runs): add execution plan for ${SLUG}"
git push -u origin "$BRANCH"om-auto-continue-prTracking plan:Status: in-progressPR_URLPR_NUMBERreferences/pr-finalize.mdvalidation.commands- [ ]- [x]git commit -m "docs(runs): mark ${SLUG} Phase N step X complete"om-auto-continue-prvalidation.commandsreferences/pr-finalize.mdreferences/pr-body-template.mdTracking plan:reviewapply_labelom-open-prom-auto-review-prom-auto-review-pr {prNumber} --autofixin-progressStatus: in-progressreferences/review-report.mdreferences/summary-comment-template.mdStatus:complete- [x]in-progressgit worktree remove --forcegit worktree prunereferences/worktree-setup.mdCREATED_WORKTREE1PR: #{n}## Progressreferences/claim-pr.mdreferences/report-templates.mdStatus: in-progressom-auto-continue-pr {prNumber}PR: #<number> (link: <full PR URL>)Issue: #<issue number> (link: <full issue URL>)references/rules.mdin-progressci-monitoringci.maxWaitMinutesom-auto-review-pr--loopengine.loopStepThresholdom-auto-create-pr-loopreferences/engine-selection.mdfeat/fix/om-auto-continue-prbaseBranchvalidation.commandsom-auto-review-prom-code-reviewStatus: in-progress🤖 `om-auto-create-pr` — verificationreviewskip-qaneeds-qa--skill-urlStatus:in-progressom-auto-continue-pr {prNumber}