Repository navigation
chore(#497): commit codex provisioning so worktree phases inherit skills and hooks - #1072
Merged
Merged
Conversation
…lls and hooks Worktrees are created from main, so untracked .agents/ and .codex/ never reach an exec or qa phase: codex would load no hooks there and discover no skills, and the #1060 gate's hook-deny question would pass for the wrong reason. The symlink is relative, so it resolves the same in every worktree. Written by hand rather than by sequant init --agent codex, which would have overwritten the tuned .sequant/settings.json (#1071). Entire-Checkpoint: c0c03b0ea6ef
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commits the Codex provisioning #1059 added support for, so it actually reaches the phases that need it:
.agents/skills→../.claude/skills(relative, mode 120000 — resolves identically in every worktree).codex/config.toml— the hook wrapper, copied verbatim fromtemplates/codex/config.tomlWhy
Worktrees are created from
main. Untracked files never reach them, so with these two paths uncommitted anexecorqaphase running under--agent codexwould discover no skills and load no hooks — and #1060's G-5 (a deliberategit push --forcemust be refused) would "pass" without a hook ever running.Note
Written by hand rather than through
sequant init --agent codex, because on an already-initialized repo that command overwrites.sequant/settings.jsonwith defaults and would have discarded this repo's tuned phase policy (spec=sonnet, exec=sonnet/medium, qa=opus, timeout 5400). Filed as #1071.No source changes; nothing to test beyond CI.
Prerequisite for the #1060 gate run on #1064.