Skip to content

docs: Linear-spawned issue contract for Codex in AGENTS.md#6

Open
Oba-One wants to merge 1 commit into
mainfrom
docs/codex-linear-contract
Open

docs: Linear-spawned issue contract for Codex in AGENTS.md#6
Oba-One wants to merge 1 commit into
mainfrom
docs/codex-linear-contract

Conversation

@Oba-One
Copy link
Copy Markdown
Member

@Oba-One Oba-One commented May 31, 2026

Adds a consistent Linear-Spawned Issue Contract to AGENTS.md so Codex operates reliably when delegated a Linear issue — part of a 3-repo rollout (green-goods, network, coop).

Core (same across all three):

  • The Linear issue is the spec — read it + this file + any .plans/<feature> lane it references.
  • Codex-ready gate — proceed only with acceptance criteria + named surface / package:* + validation; otherwise stop and comment, don't guess.
  • Executor, not orchestrator — cross-lane sequencing lives in .plans/status.json + the human.
  • Branch + PR — target the issue's integration branch; PR body links the issue (Closes PRD-NNN); never self-merge; contracts get extra review.
  • Run the repo's validation gate (and produce evidence) before opening the PR.

Tailored per repo to its actual commands and existing structure — green-goods' Validation Ladder; coop's Planning-OS *.codex.todo.md lanes; network had no Linear/lane model before this.

🤖 Generated with Claude Code

Codifies how Codex operates when delegated a Linear issue: the issue is the
spec; a Codex-ready gate (acceptance criteria + named surface + validation)
with ambiguity -> stop and comment; executor-not-orchestrator (cross-lane
sequencing stays in .plans/status.json + the human); target the issue's
integration branch; PR body links the issue (Closes PRD-NNN); never
self-merge. Tailored to this repo's commands and existing sections.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 31, 2026 06:03
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 31, 2026

Warning

Review limit reached

@Oba-One, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 46 minutes and 25 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 470b73c7-8af4-4d44-a20f-67b508e1c327

📥 Commits

Reviewing files that changed from the base of the PR and between 84152bd and 021f7a2.

📒 Files selected for processing (1)
  • AGENTS.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/codex-linear-contract

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

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

Adds Codex-specific guidance for handling Linear-dispatched issues in AGENTS.md, defining how Linear issues should be treated as specs and how Codex should validate, scope, branch, and open PRs for delegated work.

Changes:

  • Adds a new Linear-spawned issue contract for Codex.
  • Defines readiness requirements, scoped execution expectations, PR linkage, and validation evidence.
  • Connects Linear issue work to repo package surfaces and privacy constraints.

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

Comment thread AGENTS.md

Linear (workspace `greenpill-dev-guild`; teams Product `PRD` / Research `RESR`) is the durable backlog — never open GitHub Issues for backlog work. Codex work is labeled `agent:codex` (distinct from `agent:claude` interactive and `agent:routine` cron writes). The Linear MCP is wired into the Codex environment for read/query and state transitions.

When dispatched from a Linear issue, **that issue is your spec** — read it in full, plus this file and any `.plans/<feature>/` lane it references.
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.

2 participants