Skip to content

chore(#497): commit codex provisioning so worktree phases inherit skills and hooks - #1072

Merged
admarble merged 1 commit into
mainfrom
chore/codex-provisioning
Sep 16, 2026
Merged

admarble merged 1 commit into
mainfrom
chore/codex-provisioning

Conversation

@admarble

Copy link
Copy Markdown
Contributor

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 from templates/codex/config.toml

Why

Worktrees are created from main. Untracked files never reach them, so with these two paths uncommitted an exec or qa phase running under --agent codex would discover no skills and load no hooks — and #1060's G-5 (a deliberate git push --force must 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.json with 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.

…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
@admarble
admarble merged commit 3527b96 into main Sep 16, 2026
6 checks passed
@admarble
admarble deleted the chore/codex-provisioning branch September 16, 2026 06:03
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.

1 participant