agentleFS
OpenAIKnown publisheropenai/symphony/.codex/skills/land/SKILL.md

land

Skill28k starsChanged 9 months agoApache-2.0View on GitHub

- Ensure the PR is conflict-free with main. - Keep CI green and fix failures when they occur. - Squash-merge the PR once checks pass. - Do not yield to the user until the PR is merged; keep the watcher loop running unless blocked. - No need to delete remote branches after merge; the repo auto-deletes head branches. 1. Locate the PR for the current branch. 2. Confirm the full gauntlet is green locally before any push. 3. If the…

  • Deletes or force-pushes
  • Commits and pushes

7 other projects use a version of this.

Trending

Less talk lately.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 21 mentionsApr 2026: 3 mentionsMay 2026: 14 mentionsJun 2026: 4 mentionsJul 2026: 7 mentionsAug 2026: 5 mentionsSep 2026: 11 mentionsOct 2026: 6 mentionsNov 2026: 3 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the openai/symphony repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about openai/symphony

The biggest 5 of 74 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 74

Talked about on GitHub, Bluesky and Hacker News (74 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 16

11 more on Bluesky

On Hacker News · 8

3 more on Hacker News

Used with

Projects with it also use review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

37 rules. 0 are common, 28 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 28

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Ensure the PR is conflict-free with main.

    line 13
  2. Distinctive:

    Keep CI green and fix failures when they occur.

    line 14
  3. Distinctive:

    Do not yield to the user until the PR is merged.

    line 16
  4. Distinctive:

    No need to delete remote branches after merge.

    line 18
  5. Very specific:

    If the working tree has uncommitted changes, commit with the commit skill and push with the push skill before proceeding.

    line 30
  6. Distinctive:

    Check mergeability and conflicts against main.

    line 32
  7. Very specific:

    If conflicts exist, use the pull skill to fetch/merge origin/main and resolve conflicts, then use the push skill to publish the updated …

    line 33
  8. Distinctive:

    Ensure Codex review comments (if present) are acknowledged and any required fixes are handled before merging.

    line 35
  9. Very specific:

    If checks fail, pull logs, fix the issue, commit with the commit skill, push with the push skill, and re-run checks.

    line 38
  10. Distinctive:

    When all checks are green and review feedback is addressed, squash-merge and delete the branch using the PR title/body for the merge …

    line 40
  11. Distinctive:

    Context guard: Before implementing review feedback, confirm it does not conflict with the user’s stated intent or task context.

    line 42
  12. Distinctive:

    Pushback template: When disagreeing, reply inline with: acknowledge + rationale + offer alternative.

    line 45
  13. Distinctive:

    Ambiguity gate: When ambiguity blocks progress, use the clarification flow (assign PR to current GH user, mention them, wait for response).

    line 47
  14. Distinctive:

    If you are confident you know better than the reviewer, you may proceed without asking the user, but reply inline with your rationale.

    line 50
  15. Distinctive:

    Reply before change: Always respond with intended action before pushing code changes (inline for review comments, issue thread for Codex …

    line 55
  16. Very specific:

    If checks fail, pull details with gh pr checks and gh run view --log, then fix locally, commit with the commit skill, push with the push …

    line 118
  17. Distinctive:

    Use judgment to identify flaky failures.

    line 121
  18. Very specific:

    If CI pushes an auto-fix commit (authored by GitHub Actions), it does not trigger a fresh CI run.

    line 123
  19. Very specific:

    If all jobs fail with corrupted pnpm lockfile errors on the merge commit, the remediation is to fetch latest origin/main, merge, …

    line 127
  20. Very specific:

    If mergeability is UNKNOWN, wait and re-check.

    line 129
  21. Distinctive:

    Do not merge while review comments (human or Codex review) are outstanding.

    line 130
  22. Distinctive:

    Do not enable auto-merge; this repo has no required checks so auto-merge can skip tests.

    line 134
  23. Distinctive:

    If the remote PR branch advanced due to your own prior force-push or merge, avoid redundant merges.

    line 136
  24. Distinctive:

    If multiple reviewers comment in the same thread, respond to each comment (batching is fine) before closing the thread.

    line 148
  25. Distinctive:

    Use review comment endpoints (not issue comments) to find inline feedback:

    line 151
  26. Distinctive:

    If GraphQL review reply mutation is forbidden, use REST.

    line 168
  27. Very specific:

    All GitHub comments generated by this agent must be prefixed with [codex].

    line 171
  28. Distinctive:

    If feedback requires changes:

    line 175
  29. Distinctive:

    Only request a new Codex review when you need a rerun (e.g., after new commits).

    line 186
  30. Very specific:

    Before requesting a new Codex review, re-run the land watcher and ensure there are zero outstanding review comments (all have [codex] …

    line 188
  31. Distinctive:

    After pushing new commits, the Codex review workflow will rerun on PR synchronization (or you can re-run the workflow manually).

    line 191
  32. Distinctive:

    Only request a new review if there is at least one new commit since the previous request.

    line 200
  33. Distinctive:

    Wait for the next Codex review comment before merging.

    line 202
  34. Distinctive:

    If review feedback expands scope, decide whether to include it now or defer it.

    line 208
  35. Distinctive:

    When accepting feedback, include a one-line rationale in the root-level update.

    line 219
  36. Distinctive:

    When declining feedback, offer a brief alternative or follow-up trigger.

    line 221
  37. Distinctive:

    Prefer a single consolidated "review addressed" root-level comment after a batch of fixes instead of many small updates.

    line 222

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Land

Goals

  • Ensure the PR is conflict-free with main.
  • Keep CI green and fix failures when they occur.
  • Squash-merge the PR once checks pass.
  • Do not yield to the user until the PR is merged; keep the watcher loop running unless blocked.
  • No need to delete remote branches after merge; the repo auto-deletes head branches.

Preconditions

  • gh CLI is authenticated.
  • You are on the PR branch with a clean working tree.

Steps

  1. Locate the PR for the current branch.
  2. Confirm the full gauntlet is green locally before any push.
  3. If the working tree has uncommitted changes, commit with the commit skill and push with the push skill before proceeding.
  4. Check mergeability and conflicts against main.
  5. If conflicts exist, use the pull skill to fetch/merge origin/main and resolve conflicts, then use the push skill to publish the updated branch.
  6. Ensure Codex review comments (if present) are acknowledged and any required fixes are handled before merging.
  7. Watch checks until complete.
  8. If checks fail, pull logs, fix the issue, commit with the commit skill, push with the push skill, and re-run checks.
  9. When all checks are green and review feedback is addressed, squash-merge and delete the branch using the PR title/body for the merge subject/body.
  10. Context guard: Before implementing review feedback, confirm it does not conflict with the user’s stated intent or task context. If it conflicts, respond inline with a justification and ask the user before changing code.
  11. Pushback template: When disagreeing, reply inline with: acknowledge + rationale + offer alternative.
  12. Ambiguity gate: When ambiguity blocks progress, use the clarification flow (assign PR to current GH user, mention them, wait for response). Do not implement until ambiguity is resolved.
    • If you are confident you know better than the reviewer, you may proceed without asking the user, but reply inline with your rationale.
  13. Per-comment mode: For each review comment, choose one of: accept, clarify, or push back. Reply inline (or in the issue thread for Codex reviews) stating the mode before changing code.
  14. Reply before change: Always respond with intended action before pushing code changes (inline for review comments, issue thread for Codex reviews).

Commands

# Ensure branch and PR context
branch=$(git branch --show-current)
pr_number=$(gh pr view --json number -q .number)
pr_title=$(gh pr view --json title -q .title)
pr_body=$(gh pr view --json body -q .body)

# Check mergeability and conflicts
mergeable=$(gh pr view --json mergeable -q .mergeable)

if [ "$mergeable" = "CONFLICTING" ]; then
  # Run the `pull` skill to handle fetch + merge + conflict resolution.
  # Then run the `push` skill to publish the updated branch.
fi

# Preferred: use the Async Watch Helper below. The manual loop is a fallback
# when Python cannot run or the helper script is unavailable.
# Wait for review feedback: Codex reviews arrive as issue comments that start
# with "## Codex Review — <persona>". Treat them like reviewer feedback: reply
# with a `[codex]` issue comment acknowledging the findings and whether you're
# addressing or deferring them.
while true; do
  gh api repos/{owner}/{repo}/issues/"$pr_number"/comments \
    --jq '.[] | select(.body | startswith("## Codex Review")) | .id' | rg -q '.' \
    && break
  sleep 10
done

# Watch checks
if ! gh pr checks --watch; then
  gh pr checks
  # Identify failing run and inspect logs
  # gh run list --branch "$branch"
  # gh run view <run-id> --log
  exit 1
fi

# Squash-merge (remote branches auto-delete on merge in this repo)
gh pr merge --squash --subject "$pr_title" --body "$pr_body"

Async Watch Helper

Preferred: use the asyncio watcher to monitor review comments, CI, and head updates in parallel:

python3 .codex/skills/land/land_watch.py

Exit codes:

  • 2: Review comments detected (address feedback)
  • 3: CI checks failed
  • 4: PR head updated (autofix commit detected)

Failure Handling

  • If checks fail, pull details with gh pr checks and gh run view --log, then fix locally, commit with the commit skill, push with the push skill, and re-run the watch.
  • Use judgment to identify flaky failures. If a failure is a flake (e.g., a timeout on only one platform), you may proceed without fixing it.
  • If CI pushes an auto-fix commit (authored by GitHub Actions), it does not trigger a fresh CI run. Detect the updated PR head, pull locally, merge origin/main if needed, add a real author commit, and force-push to retrigger CI, then restart the checks loop.
  • If all jobs fail with corrupted pnpm lockfile errors on the merge commit, the remediation is to fetch latest origin/main, merge, force-push, and rerun CI.
  • If mergeability is UNKNOWN, wait and re-check.
  • Do not merge while review comments (human or Codex review) are outstanding.
  • Codex review jobs retry on failure and are non-blocking; use the presence of ## Codex Review — <persona> issue comments (not job status) as the signal that review feedback is available.
  • Do not enable auto-merge; this repo has no required checks so auto-merge can skip tests.
  • If the remote PR branch advanced due to your own prior force-push or merge, avoid redundant merges; re-run the formatter locally if needed and git push --force-with-lease.

Review Handling

  • Codex reviews now arrive as issue comments posted by GitHub Actions. They start with ## Codex Review — <persona> and include the reviewer’s methodology + guardrails used. Treat these as feedback that must be acknowledged before merge.
  • Human review comments are blocking and must be addressed (responded to and resolved) before requesting a new review or merging.
  • If multiple reviewers comment in the same thread, respond to each comment (batching is fine) before closing the thread.
  • Fetch review comments via gh api and reply with a prefixed comment.
  • Use review comment endpoints (not issue comments) to find inline feedback:
    • List PR review comments:
      gh api repos/{owner}/{repo}/pulls/<pr_number>/comments
    • PR issue comments (top-level discussion):
      gh api repos/{owner}/{repo}/issues/<pr_number>/comments
    • Reply to a specific review comment:
      gh api -X POST /repos/{owner}/{repo}/pulls/<pr_number>/comments \
        -f body='[codex] <response>' -F in_reply_to=<comment_id>
  • in_reply_to must be the numeric review comment id (e.g., 2710521800), not the GraphQL node id (e.g., PRRC_...), and the endpoint must include the PR number (/pulls/<pr_number>/comments).
  • If GraphQL review reply mutation is forbidden, use REST.
  • A 404 on reply typically means the wrong endpoint (missing PR number) or insufficient scope; verify by listing comments first.
  • All GitHub comments generated by this agent must be prefixed with [codex].
  • For Codex review issue comments, reply in the issue thread (not a review thread) with [codex] and state whether you will address the feedback now or defer it (include rationale).
  • If feedback requires changes:
    • For inline review comments (human), reply with intended fixes ([codex] ...) as an inline reply to the original review comment using the review comment endpoint and in_reply_to (do not use issue comments for this).
    • Implement fixes, commit, push.
    • Reply with the fix details and commit sha ([codex] ...) in the same place you acknowledged the feedback (issue comment for Codex reviews, inline reply for review comments).
    • The land watcher treats Codex review issue comments as unresolved until a newer [codex] issue comment is posted acknowledging the findings.
  • Only request a new Codex review when you need a rerun (e.g., after new commits). Do not request one without changes since the last review.
    • Before requesting a new Codex review, re-run the land watcher and ensure there are zero outstanding review comments (all have [codex] inline replies).
    • After pushing new commits, the Codex review workflow will rerun on PR synchronization (or you can re-run the workflow manually). Post a concise root-level summary comment so reviewers have the latest delta:
      [codex] Changes since last review:
      - <short bullets of deltas>
      Commits: <sha>, <sha>
      Tests: <commands run>
    • Only request a new review if there is at least one new commit since the previous request.
    • Wait for the next Codex review comment before merging.

Scope + PR Metadata

  • The PR title and description should reflect the full scope of the change, not just the most recent fix.
  • If review feedback expands scope, decide whether to include it now or defer it. You can accept, defer, or decline feedback. If deferring or declining, call it out in the root-level [codex] update with a brief reason (e.g., out-of-scope, conflicts with intent, unnecessary).
  • Correctness issues raised in review comments should be addressed. If you plan to defer or decline a correctness concern, validate first and explain why the concern does not apply.
  • Classify each review comment as one of: correctness, design, style, clarification, scope.
  • For correctness feedback, provide concrete validation (test, log, or reasoning) before closing it.
  • When accepting feedback, include a one-line rationale in the root-level update.
  • When declining feedback, offer a brief alternative or follow-up trigger.
  • Prefer a single consolidated "review addressed" root-level comment after a batch of fixes instead of many small updates.
  • For doc feedback, confirm the doc change matches behavior (no doc-only edits to appease review).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.