mirror of
https://github.com/mindfold-ai/Trellis.git
synced 2026-04-25 01:55:54 +03:00
[PR #46] [CLOSED] feat(codex): add notify hook auto-injection templates #55
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Trellis#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mindfold-ai/Trellis/pull/46
Author: @lapse12
Created: 2/25/2026
Status: ❌ Closed
Base:
main← Head:codex/codex-hook-auto-inject📝 Commits (1)
6a8c88cfeat(codex): inject notify hook and project config templates📊 Changes
12 files changed (+322 additions, -13 deletions)
View changed files
📝
scripts/copy-templates.js(+1 -1)📝
src/configurators/codex.ts(+23 -1)📝
src/configurators/index.ts(+23 -3)➕
src/templates/codex/config.toml(+6 -0)➕
src/templates/codex/hooks/notify.py(+169 -0)📝
src/templates/codex/index.ts(+36 -2)📝
src/templates/markdown/agents.md(+2 -0)📝
src/types/ai-tools.ts(+4 -1)📝
test/commands/init.integration.test.ts(+2 -0)📝
test/configurators/index.test.ts(+17 -4)📝
test/configurators/platforms.test.ts(+15 -0)📝
test/templates/codex.test.ts(+24 -1)📄 Description
Summary
.codex/:.codex/config.toml.codex/hooks/notify.py.agents/skills/*) and hook/config templates (.codex/*).codexin Trellis managed directories for update tracking and path protection.codex/context/trellis-context.mdwhen presentDocs Cross-check
notifycommand config and passes JSON payload to the command:.codex/config.tomland repo root fallback):Validation
pnpm testpnpm lintpnpm typecheckpnpm buildpython3 .codex/hooks/notify.py '<payload-json>'.codex/context/trellis-context.md.codex/context/last-notify-event.json🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.