You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent epic: #273 · Spec gap discovered after #278 merge.
Context
Spec PR #278 (merged) names AGENTS.md as the mechanism by which the Codex GitHub App receives domain-specific review guidance. Open question raised post-merge: AGENTS.md is per-repo, but the Claude model (pr-review/action.yml's 696-line inline prompt) was effectively centralized — every consumer that added uses: glitchwerks/github-actions/.github/workflows/claude-pr-review.yml@v2 got that prompt's behavior applied to their PRs for free.
If the Codex pivot lands with only a github-actions-local AGENTS.md, consumer repos get whatever Codex defaults to — losing the shared review brain.
Whether environments are per-repo, per-org, or per-user
What commands/scripts run inside (setup, pre-review, etc.)
Whether an environment can pull files from a remote source (e.g., curl https://raw.githubusercontent.com/glitchwerks/github-actions/main/AGENTS.md) before review fires
Whether environment commands have access to the PR diff / repo context the review will use
AGENTS.md resolution order — does Codex look beyond the repo root? E.g., .codex/AGENTS.md, ~/AGENTS.md, env-var-pointed paths, App-config-pointed paths
App-level configuration — does the Codex App expose org-wide or App-install-wide configuration that applies a baseline prompt to all reviewed repos?
@codex review extra-instructions surface — can a comment-posting workflow inject canonical guidance per-PR (e.g., @codex review using the rules in <fenced block>)? Latency cost of this path?
Deliverable
Structured options report listing every plausible Codex-side mechanism for shared/preloaded review config, with:
Whether the option recovers the "central prompt" property of the Claude model
Effort cost on github-actions side
Effort cost on consumer side
Why this gates #A
If Codex environments (or any other mechanism) provide a way to preload shared config, #A's scope changes: AGENTS.md authoring becomes one input among several rather than the sole answer. The right approach may be a combination — local AGENTS.md plus an environment-side prep script that fetches additional rules.
Gating
Hard gate on #A (#279). Do not start AGENTS.md authoring until this issue lands with a recommendation.
🤖 Generated by Claude Code on behalf of @cbeaulieu-gt
Parent epic: #273 · Spec gap discovered after #278 merge.
Context
Spec PR #278 (merged) names
AGENTS.mdas the mechanism by which the Codex GitHub App receives domain-specific review guidance. Open question raised post-merge: AGENTS.md is per-repo, but the Claude model (pr-review/action.yml's 696-line inline prompt) was effectively centralized — every consumer that addeduses: glitchwerks/github-actions/.github/workflows/claude-pr-review.yml@v2got that prompt's behavior applied to their PRs for free.If the Codex pivot lands with only a
github-actions-localAGENTS.md, consumer repos get whatever Codex defaults to — losing the shared review brain.Investigation goals
https://chatgpt.com/codex/cloud/settings/environments, seen during PR docs: codex-pivot spec rev 2 — dual-surface (App + Action), shadow-mode phase #278 review attempt). Investigate:curl https://raw.githubusercontent.com/glitchwerks/github-actions/main/AGENTS.md) before review fires.codex/AGENTS.md,~/AGENTS.md, env-var-pointed paths, App-config-pointed paths@codex reviewextra-instructions surface — can a comment-posting workflow inject canonical guidance per-PR (e.g.,@codex review using the rules in <fenced block>)? Latency cost of this path?Deliverable
Structured options report listing every plausible Codex-side mechanism for shared/preloaded review config, with:
Why this gates #A
If Codex environments (or any other mechanism) provide a way to preload shared config, #A's scope changes: AGENTS.md authoring becomes one input among several rather than the sole answer. The right approach may be a combination — local AGENTS.md plus an environment-side prep script that fetches additional rules.
Gating
Hard gate on #A (#279). Do not start AGENTS.md authoring until this issue lands with a recommendation.
🤖 Generated by Claude Code on behalf of @cbeaulieu-gt