feat: v0.4.0-beta.8 — Shared Agent Skills layer + Codex .codex/ support#115
Merged
feat: v0.4.0-beta.8 — Shared Agent Skills layer + Codex .codex/ support#115
Conversation
CodeBuddy (Tencent) uses .codebuddy/commands/trellis/<name>.md structure, supporting nested directory namespacing (e.g. /trellis:start). Includes type registry, configurator, 12 command templates, CLI flag, and Python cli_adapter integration.
New codebuddy.test.ts, plus updates to extract, platforms, init integration, and regression tests for full platform coverage.
Add type: ignore[import-not-found] to dynamic imports from common.* that are resolved at runtime via sys.path. Prevents IDE false positives.
* feat(cli): add branch context to .trellis session and journal records (#106) (#108) * feat(codex): add latest codex support --------- Co-authored-by: Lemonadeccc <82374719+Lemonadeccc@users.noreply.github.com> Co-authored-by: RsBin <3029898592@qq.com> Co-authored-by: taosu <116145501+taosu0216@users.noreply.github.com>
- Add PR #112 post-merge cleanup items (iFlow revert, workspace cleanup) - Configure implement/check/debug context files
Architecture:
- Change codex configDir from ".agents/skills" to ".codex"
- Replace extraManagedPaths with supportsAgentSkills flag
- .agents/skills/ is now a shared layer (agentskills.io standard)
- Platform detection uses .codex/ only, not .agents/skills/
Codex platform (.codex/):
- .codex/config.toml — project config
- .codex/agents/{implement,research,check}.toml — custom agents
- .codex/skills/parallel/ — Codex-specific skills (--platform codex)
- .codex/hooks/session-start.py + hooks.json — SessionStart hook
Python CLI adapter:
- config_dir_name: codex → ".codex"
- detect_platform: .codex/ → codex (not .agents/skills/)
- New requires_agent_definition_file property (false for codex)
- supports_cli_agents: added codex
- get_agent_path: returns .toml for codex
Migration (0.4.0-beta.8):
- Legacy Codex auto-upgrade via template-hashes detection
- safe-file-delete for .agents/skills/parallel/ and trellis-* agents
Cleanup:
- Fix iFlow --agent regression from PR #112
- Fix agent TOML format (name + description + developer_instructions)
- Remove workspace/task artifacts from PR #112
- Remove unused test/scripts/ Python tests
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
.agents/skills/from Codex platform into a shared Agent Skills layer (agentskills.io open standard).codex/directory support: config, custom agents, platform-specific skills, SessionStart hookstrellis updateChanges
Architecture
.agents/skills/is now a shared layer used by 8+ agent CLIs (Codex, Kimi CLI, Amp, Cline, etc.).codex/is the Codex-specific directory:config.toml,agents/*.toml,skills/,hooks/configDirchanged from.agents/skillsto.codexextraManagedPathsreplaced withsupportsAgentSkillsflag.codex/only —.agents/skills/alone does NOT detect as codexCodex Hooks
features.codex_hooks = truein~/.codex/config.toml(Codex experimental feature)Migration
.agents/skills/tracked by Trellis without.codex/safe-file-deletefor.agents/skills/parallel/SKILL.mdand oldtrellis-*.tomlagentsFixes
--agentregression reverted (PR feat(codex): add latest codex support #112)name+description+developer_instructions)implement,research,check)Test plan
trellis init --codexcreates all expected directoriescollectPlatformTemplatestracks all.codex/files