Skip to content

fix(cli): isolate local codex prompt migration and preserve descriptions#15

Merged
farnoodma merged 1 commit intomainfrom
agent/fix-local-sync-codex-migration
Feb 24, 2026
Merged

fix(cli): isolate local codex prompt migration and preserve descriptions#15
farnoodma merged 1 commit intomainfrom
agent/fix-local-sync-codex-migration

Conversation

@farnoodma
Copy link
Owner

Summary

This PR fixes two regressions in CLI sync/migration behavior and bumps the CLI package version.

What Changed

  • Prevent local agentloom sync from importing global Codex prompts (~/.codex/prompts) into repository-local canonical commands (.agents/commands).
  • Preserve long agent description values on a single YAML frontmatter line (disable YAML line folding in serialization).
  • Add regression tests for:
    • local-vs-global Codex command migration behavior
    • long description serialization in migration and provider sync paths
  • Bump packages/cli version from 0.1.4 to 0.1.5.

Validation

  • pnpm check (workspace)
  • Added/updated unit tests:
    • packages/cli/tests/unit/agents.test.ts
    • packages/cli/tests/unit/migration.test.ts
    • packages/cli/tests/unit/sync-agents.test.ts

User Impact

  • Running agentloom sync --local no longer seeds unrelated repository commands from global Codex prompts.
  • Long skill/agent descriptions no longer get wrapped into folded YAML lines during sync/migration writes.

- skip codex prompt migration into local canonical command state\n- disable YAML line wrapping for agent frontmatter descriptions\n- add regression tests for migration and sync serialization behavior\n- bump CLI version to 0.1.5\n\nCo-authored-by: Codex <noreply@openai.com>
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentloom Ready Ready Preview, Comment Feb 24, 2026 8:32am

@farnoodma farnoodma marked this pull request as ready for review February 24, 2026 08:33
@farnoodma farnoodma merged commit 41936dd into main Feb 24, 2026
4 checks passed
@farnoodma farnoodma deleted the agent/fix-local-sync-codex-migration branch February 24, 2026 08:33
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